Home
last modified time | relevance | path

Searched refs:SIZE_OF_RELJUMP (Results 1 – 2 of 2) sorted by relevance

/oneTBB/src/tbbmalloc_proxy/
H A Dfunction_replacement.cpp320 size_t bytesToMove = SIZE_OF_RELJUMP; in InsertTrampoline32()
333 __TBB_ASSERT_RELEASE( bytesToMove >= SIZE_OF_RELJUMP, "Incorrect bytecode pattern?" ); in InsertTrampoline32()
347 offset32 -= SIZE_OF_RELJUMP; in InsertTrampoline32()
354 offset = tgtAddr - srcAddr - SIZE_OF_RELJUMP; in InsertTrampoline32()
361 for( unsigned i=SIZE_OF_RELJUMP; i<bytesToMove; i++ ){ in InsertTrampoline32()
365 return SIZE_OF_RELJUMP; in InsertTrampoline32()
409 offset32 -= SIZE_OF_RELJUMP; in InsertTrampoline64()
450 *origFunc = (void*)(Ptr2Addrint(inpAddr) + offsetInJmp + SIZE_OF_RELJUMP); in InsertTrampoline()
H A Dfunction_replacement.h59 const unsigned SIZE_OF_RELJUMP = 5; variable
69 const unsigned MAX_PATTERN_SIZE = MAX_PROBE_SIZE - SIZE_OF_RELJUMP + 1;