Searched refs:kShadowCnt (Results 1 – 5 of 5) sorted by relevance
588 ^ Mapping::kAppMemXor) * kShadowCnt; in MemToShadowImpl()591 return ((x & ~(kShadowCell - 1)) * kShadowCnt) | Mapping::kShadowBeg; in MemToShadowImpl()593 return ((x & ~(kShadowCell - 1)) * kShadowCnt) + Mapping::kShadowBeg; in MemToShadowImpl()657 return (s / kShadowCnt) ^ Mapping::kAppMemXor; in ShadowToMemImpl()661 return ((s / kShadowCnt) ^ Mapping::kAppMemXor) + Mapping::kMidShadowOff; in ShadowToMemImpl()664 return ((s / kShadowCnt) ^ Mapping::kAppMemXor) | Mapping::kAppMemMsk; in ShadowToMemImpl()667 return (s & ~Mapping::kShadowBeg) / kShadowCnt; in ShadowToMemImpl()669 return (s - Mapping::kShadowBeg) / kShadowCnt; in ShadowToMemImpl()
343 if (!IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))) { in MemoryAccessRange()345 shadow_mem + size * kShadowCnt / 8 - 1, addr + size - 1); in MemoryAccessRange()346 DCHECK(IsShadowMem((uptr)(shadow_mem + size * kShadowCnt / 8 - 1))); in MemoryAccessRange()379 shadow_mem += kShadowCnt; in MemoryAccessRange()388 shadow_mem += kShadowCnt; in MemoryAccessRange()
63 const uptr kShadowCnt = 4; variable72 const uptr kShadowMultiplier = kShadowSize * kShadowCnt / kShadowCell;
628 StoreShadow(shadow_mem + (cur.epoch() % kShadowCnt), store_word); in MemoryAccessImpl1()660 for (uptr i = 0; i < kShadowCnt; i++) { in ContainsSameAccessSlow()855 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); in MemoryRangeSet()857 for (uptr i = 0; i < size / kShadowCell * kShadowCnt;) { in MemoryRangeSet()859 for (uptr j = 1; j < kShadowCnt; j++) in MemoryRangeSet()866 u64 *end = begin + size / kShadowCell * kShadowCnt; in MemoryRangeSet()871 for (uptr j = 1; j < kShadowCnt; j++) in MemoryRangeSet()882 for (uptr j = 1; j < kShadowCnt; j++) in MemoryRangeSet()
73 CHECK_EQ(s0 + kShadowSize*kShadowCnt, MemToShadow((uptr)&data[i])); in TEST()75 CHECK_EQ(s0 + 2*kShadowSize*kShadowCnt, MemToShadow((uptr)&data[i])); in TEST()