/external/compiler-rt/lib/asan/ |
D | asan_poisoning.cc | 85 ShadowSegmentEndpoint beg(beg_addr); in __asan_poison_memory_region() local 87 if (beg.chunk == end.chunk) { in __asan_poison_memory_region() 88 CHECK(beg.offset < end.offset); in __asan_poison_memory_region() 89 s8 value = beg.value; in __asan_poison_memory_region() 94 if (beg.offset > 0) { in __asan_poison_memory_region() 95 *beg.chunk = Min(value, beg.offset); in __asan_poison_memory_region() 97 *beg.chunk = kAsanUserPoisonedMemoryMagic; in __asan_poison_memory_region() 102 CHECK(beg.chunk < end.chunk); in __asan_poison_memory_region() 103 if (beg.offset > 0) { in __asan_poison_memory_region() 105 if (beg.value == 0) { in __asan_poison_memory_region() [all …]
|
D | asan_globals.cc | 44 PoisonShadow(g.beg + g_aligned_size, in PoisonRedZones() 51 PoisonShadowPartialRightRedzone(g.beg + g_aligned_down_size, in PoisonRedZones() 71 (void*)g.beg, g.size, (char*)g.name); in DescribeAddressIfGlobal() 84 (void*)g->beg, g->size, g->size_with_redzone, g->name, in RegisterGlobal() 87 CHECK(AddrIsInMem(g->beg)); in RegisterGlobal() 88 CHECK(AddrIsAlignedByGranularity(g->beg)); in RegisterGlobal() 107 CHECK(AddrIsInMem(g->beg)); in UnregisterGlobal() 108 CHECK(AddrIsAlignedByGranularity(g->beg)); in UnregisterGlobal() 110 PoisonShadow(g->beg, g->size_with_redzone, 0); in UnregisterGlobal() 120 CHECK(AddrIsInMem(g->beg)); in PoisonGlobalAndRedzones() [all …]
|
D | asan_report.cc | 95 for (uptr p = g.beg; p < g.beg + g.size - 1; p++) { in PrintGlobalNameIfASCII() 98 if (*(char*)(g.beg + g.size - 1) != 0) return; in PrintGlobalNameIfASCII() 99 Printf(" '%s' is ascii string '%s'\n", g.name, (char*)g.beg); in PrintGlobalNameIfASCII() 103 if (addr < g.beg - kGlobalAndStackRedzone) return false; in DescribeAddressRelativeToGlobal() 104 if (addr >= g.beg + g.size_with_redzone) return false; in DescribeAddressRelativeToGlobal() 106 if (addr < g.beg) { in DescribeAddressRelativeToGlobal() 107 Printf("%zd bytes to the left", g.beg - addr); in DescribeAddressRelativeToGlobal() 108 } else if (addr >= g.beg + g.size) { in DescribeAddressRelativeToGlobal() 109 Printf("%zd bytes to the right", addr - (g.beg + g.size)); in DescribeAddressRelativeToGlobal() 111 Printf("%zd bytes inside", addr - g.beg); // Can it happen? in DescribeAddressRelativeToGlobal() [all …]
|
D | asan_rtl.cc | 170 static void ReserveShadowMemoryRange(uptr beg, uptr end) { in ReserveShadowMemoryRange() argument 171 CHECK((beg % kPageSize) == 0); in ReserveShadowMemoryRange() 173 uptr size = end - beg + 1; in ReserveShadowMemoryRange() 174 void *res = MmapFixedNoReserve(beg, size); in ReserveShadowMemoryRange() 175 if (res != (void*)beg) { in ReserveShadowMemoryRange()
|
D | asan_allocator.cc | 308 uptr beg; member 313 return addr >= beg && addr < end; in InRange() 432 int beg = 0, end = n; in FindPageGroupUnlocked() local 433 while (beg < end) { in FindPageGroupUnlocked() 434 int med = (beg + end) / 2; in FindPageGroupUnlocked() 439 beg = med + 1; in FindPageGroupUnlocked() 445 if (beg >= n) in FindPageGroupUnlocked() 447 PageGroup *g = page_groups_[beg]; in FindPageGroupUnlocked() 477 uptr offset_from_beg = addr - g->beg; in FindChunkByAddr() 478 uptr this_chunk_addr = g->beg + in FindChunkByAddr() [all …]
|
/external/v8/src/arm/ |
D | cpu-arm.cc | 74 register uint32_t beg asm("a1") = reinterpret_cast<uint32_t>(start); in FlushICache() 83 : "=r" (beg) in FlushICache() 84 : "0" (beg), "r" (end), "r" (flg), "r" (scno)); in FlushICache() 102 : "=r" (beg) in FlushICache() 103 : "0" (beg), "r" (end), "r" (flg), "r" (__ARM_NR_cacheflush) in FlushICache()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cc | 88 static void ProtectRange(uptr beg, uptr end) { in ProtectRange() argument 90 CHECK_LE(beg, end); in ProtectRange() 91 if (beg == end) in ProtectRange() 93 if (beg != (uptr)Mprotect(beg, end - beg)) { in ProtectRange() 94 TsanPrintf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
|
/external/srec/portable/src/ |
D | LCHAR.c | 160 LCHAR *beg, *end; in LCHARGetInt() local 165 for (beg = text; *beg != L('\0') && LISSPACE(*beg); ++beg); in LCHARGetInt() 166 if (beg == NULL) in LCHARGetInt() 169 for (end = beg; *end != L('\0') && !LISSPACE(*end); ++end); in LCHARGetInt() 175 rc = lstrtoi(beg, value, 10); in LCHARGetInt()
|
/external/oprofile/include/ |
D | sstream | 150 char_type* beg = stream; 169 if (way == ios::beg) 171 newoffi = beg - curi; 172 newoffo = beg - curo; 180 if (testin && newoffi + off + curi - beg >= 0 && 181 endi - beg >= newoffi + off + curi - beg) 186 if (testout && newoffo + off + curo - beg >= 0 && 187 endo - beg >= newoffo + off + curo - beg) 199 pos_type ret = seekoff(sp, ios::beg, which);
|
/external/mksh/src/ |
D | sh.h | 1274 char *end, *beg; /* end, begin of string */ member 1285 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \ 1286 (xs).end = (xs).beg + (xs).len; \ 1290 (xp) = (xs).beg; \ 1307 #define Xfree(xs, xp) afree((xs).beg, (xs).areap) 1310 #define Xclose(xs, xp) aresize((xs).beg, (xp) - (xs).beg, (xs).areap) 1313 #define Xstring(xs, xp) ((xs).beg) 1316 #define Xlength(xs, xp) ((xp) - (xs).beg) 1317 #define Xsize(xs, xp) ((xs).end - (xs).beg) 1318 #define Xsavepos(xs, xp) ((xp) - (xs).beg) [all …]
|
D | eval.c | 341 char *beg, *end, *str; in expand() local 345 end = (beg = wdcopy(sp, ATEMP)) + in expand() 348 if (end < wdscan(beg, EOS)) in expand() 350 str = snptreef(NULL, 64, "%S", beg); in expand() 351 afree(beg, ATEMP); in expand() 382 char *beg, *mid, *end, *stg; in expand() local 385 beg = wdcopy(sp, ATEMP); in expand() 386 mid = beg + (wdscan(sp, ADELIM) - sp); in expand() 387 stg = beg + (wdscan(sp, CSUBST) - sp); in expand() 392 sp += mid - beg - 1; in expand() [all …]
|
/external/qemu/distrib/zlib-1.2.3/ |
D | deflate.c | 654 uInt beg = s->pending; /* start of bytes to update crc */ local 658 if (s->gzhead->hcrc && s->pending > beg) 659 strm->adler = crc32(strm->adler, s->pending_buf + beg, 660 s->pending - beg); 662 beg = s->pending; 669 if (s->gzhead->hcrc && s->pending > beg) 670 strm->adler = crc32(strm->adler, s->pending_buf + beg, 671 s->pending - beg); 682 uInt beg = s->pending; /* start of bytes to update crc */ local 687 if (s->gzhead->hcrc && s->pending > beg) [all …]
|
D | inffast.c | 75 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local 102 beg = out - (start - strm->avail_out); 186 op = (unsigned)(out - beg); /* max distance in output */
|
/external/stlport/test/unit/ |
D | stack_allocator.h | 33 State(char *beg, char *end) in State() 34 : m_beg(beg), m_end(end), m_cur(m_beg), m_isOk(true), m_swaped(false), m_nbAlloc(0), in State() 68 StackAllocator(char *beg, char *end) in StackAllocator() 69 : m_state(beg, end) {} in StackAllocator()
|
D | fstream_test.cpp | 164 f.seekg( 0, ios_base::beg ); in io() 200 f.seekg( 0, ios_base::beg ); in err() 254 is.seekg( p, ios_base::beg ); in tellg() 349 ss.seekg( 0, ios_base::beg ); in buf() 476 off = s.rdbuf()->pubseekoff(0, ios_base::beg); in seek() 496 ss.seekg( 0, ios_base::beg ); in rdbuf() 892 f.seekg( 0, ios_base::beg ); in null_buf()
|
D | sstream_test.cpp | 391 s.seekg( 6, ios::beg ); in seek() 398 is.seekg( 6, ios::beg ); in seek() 414 s.seekp( 0, ios::beg ); in seekp() 431 ss.seekg( 0, ios::beg ); in seek_gp()
|
/external/zlib/src/ |
D | deflate.c | 765 uInt beg = s->pending; /* start of bytes to update crc */ local 769 if (s->gzhead->hcrc && s->pending > beg) 770 strm->adler = crc32(strm->adler, s->pending_buf + beg, 771 s->pending - beg); 773 beg = s->pending; 780 if (s->gzhead->hcrc && s->pending > beg) 781 strm->adler = crc32(strm->adler, s->pending_buf + beg, 782 s->pending - beg); 793 uInt beg = s->pending; /* start of bytes to update crc */ local 798 if (s->gzhead->hcrc && s->pending > beg) [all …]
|
D | inffast.c | 75 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local 102 beg = out - (start - strm->avail_out); 186 op = (unsigned)(out - beg); /* max distance in output */
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer.h | 69 void addAddressRange(uptr beg, uptr end); 77 uptr beg; member
|
D | sanitizer_symbolizer.cc | 34 void LoadedModule::addAddressRange(uptr beg, uptr end) { in addAddressRange() argument 36 ranges_[n_ranges_].beg = beg; in addAddressRange() 43 if (ranges_[i].beg <= address && address < ranges_[i].end) in containsAddress()
|
/external/zlib/src/contrib/masmx64/ |
D | inffas8664.c | 89 /* 40 20 */ unsigned char FAR *beg; /* inflate()'s init next_out */ member 130 ar.beg = ar.out - (start - strm->avail_out);
|
/external/stlport/src/ |
D | num_put.cpp | 128 char* beg = __write_integer_backward(bufend, flags, x); in __write_integer() local 129 return copy(beg, bufend, buf); in __write_integer()
|
/external/hyphenation/ |
D | substrings.pl | 33 $beg = $3; 43 $replbeg{$pat} = $beg - 1;
|
/external/astl/include/ |
D | streambuf | 110 void setp(char_type* beg, char_type* end) { 111 if (end >= beg) { 112 mPutBeg = mPutCurr = beg;
|
/external/clang/include/clang/Analysis/Analyses/ |
D | FormatString.h | 419 static PrintfSpecifier Parse(const char *beg, const char *end); 568 static ScanfSpecifier Parse(const char *beg, const char *end); 631 const char *beg, const char *end, const LangOptions &LO); 634 const char *beg, const char *end, const LangOptions &LO);
|