Lines Matching refs:chunk
41 u8 *chunk;
43 s8 value; // = *chunk;
46 chunk = (u8*)MemToShadow(address);
48 value = *chunk;
77 if (beg.chunk == end.chunk) {
85 *beg.chunk = Min(value, beg.offset);
87 *beg.chunk = kAsanUserPoisonedMemoryMagic;
92 CHECK(beg.chunk < end.chunk);
96 *beg.chunk = beg.offset;
98 *beg.chunk = Min(beg.value, beg.offset);
100 beg.chunk++;
102 REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk);
105 *end.chunk = kAsanUserPoisonedMemoryMagic;
119 if (beg.chunk == end.chunk) {
126 *beg.chunk = Max(value, end.offset);
130 CHECK(beg.chunk < end.chunk);
132 *beg.chunk = 0;
133 beg.chunk++;
135 REAL(memset)(beg.chunk, 0, end.chunk - beg.chunk);
137 *end.chunk = Max(end.value, end.offset);