Searched refs:BackRefIdx (Results 1 – 6 of 6) sorted by relevance
303 class BackRefIdx { // composite index to backreference array312 BackRefIdx() : main(invalid), largeObj(0), offset(0) {}321 BackRefIdx dereference(const BackRefIdx* ptr) {322 BackRefIdx idx;330 BackRefIdx dereference(const BackRefIdx* ptr) {336 static BackRefIdx newBackRef(bool largeObj);364 BackRefIdx backRefIdx; // cached here, used copy is in LargeObjectHdr636 BackRefIdx backRefIdx;744 void removeBackRef(BackRefIdx backRefIdx);745 void setBackRef(BackRefIdx backRefIdx, void *newPtr);[all …]
35 BackRefIdx::main_t myNum; // the index in the main47 MALLOC_ASSERT(!(num >> CHAR_BIT*sizeof(BackRefIdx::main_t)), in BackRefBlock()236 void *getBackRef(BackRefIdx backRefIdx) in getBackRef()253 void setBackRef(BackRefIdx backRefIdx, void *newPtr) in setBackRef()261 BackRefIdx BackRefIdx::newBackRef(bool largeObj) in newBackRef()265 BackRefIdx res; in newBackRef()272 return BackRefIdx(); in newBackRef()320 void removeBackRef(BackRefIdx backRefIdx) in removeBackRef()
337 BackRefIdx backRefIdx;382 const BackRefIdx *getBackRefIdx() const { return &backRefIdx; } in getBackRefIdx()1017 BackRefIdx backRefIdx[Backend::numOfSlabAllocOnMiss]; in getEmptyBlock()1040 new (&b->backRefIdx) BackRefIdx(); in getEmptyBlock()1852 BackRefIdx backRefIdx = BackRefIdx::newBackRef(/*largeObj=*/false); in getBlock()2345 header->backRefIdx = BackRefIdx(); in putToLLOCache()2478 static inline BackRefIdx safer_dereference (const BackRefIdx *ptr) in safer_dereference()2480 BackRefIdx id; in safer_dereference()2488 id = BackRefIdx(); in safer_dereference()2500 BackRefIdx idx = (memOrigin == unknownMem) ? in isLargeObject()[all …]
988 BackRefIdx backRefIdx = BackRefIdx::newBackRef(/*largeObj=*/true); in mallocLargeObject()
136 class BackRefIdx { // composite index to backreference array class142 BackRefIdx() : main((uint16_t)-1) {} in BackRefIdx() function in BackRefIdx149 static BackRefIdx newBackRef(bool largeObj);169 BackRefIdx backRefIdx; // cached here, used copy is in LargeObjectHdr179 BackRefIdx backRefIdx;
232 BackRefIdx idx;234 TestBlock(BackRefIdx idx_) : idx(idx_) {} in TestBlock()245 BackRefIdx idx = BackRefIdx::newBackRef(/*largeObj=*/false); in operator ()()567 REQUIRE_MESSAGE(sizeof(BackRefIdx)==sizeof(uintptr_t), "Unexpected size of BackRefIdx"); in TestObjectRecognition()585 headerLO->backRefIdx = BackRefIdx::newBackRef(/*largeObj=*/true); in TestObjectRecognition()592 BackRefIdx idxs[NUM_OF_IDX]; in TestObjectRecognition()619 idxs[i] = BackRefIdx::newBackRef(/*largeObj=*/false); in TestObjectRecognition()637 BackRefIdx idx;