Searched refs:beg (Results 1 - 25 of 47) sorted by relevance

12

/external/compiler-rt/lib/asan/
H A Dasan_poisoning.cc85 ShadowSegmentEndpoint beg(beg_addr);
87 if (beg.chunk == end.chunk) {
88 CHECK(beg.offset < end.offset);
89 s8 value = beg.value;
94 if (beg.offset > 0) {
95 *beg.chunk = Min(value, beg.offset);
97 *beg.chunk = kAsanUserPoisonedMemoryMagic;
102 CHECK(beg.chunk < end.chunk);
103 if (beg
[all...]
H A Dasan_globals.cc44 PoisonShadow(g.beg + g_aligned_size,
51 PoisonShadowPartialRightRedzone(g.beg + g_aligned_down_size,
70 Report("Search Global: beg=%p size=%zu name=%s\n",
71 (void*)g.beg, g.size, (char*)g.name);
83 Report("Added Global: beg=%p size=%zu/%zu name=%s dyn.init=%zu\n",
84 (void*)g->beg, g->size, g->size_with_redzone, g->name,
87 CHECK(AddrIsInMem(g->beg));
88 CHECK(AddrIsAlignedByGranularity(g->beg));
107 CHECK(AddrIsInMem(g->beg));
108 CHECK(AddrIsAlignedByGranularity(g->beg));
[all...]
H A Dasan_report.cc95 for (uptr p = g.beg; p < g.beg + g.size - 1; p++) {
98 if (*(char*)(g.beg + g.size - 1) != 0) return;
99 Printf(" '%s' is ascii string '%s'\n", g.name, (char*)g.beg);
103 if (addr < g.beg - kGlobalAndStackRedzone) return false;
104 if (addr >= g.beg + g.size_with_redzone) return false;
106 if (addr < g.beg) {
107 Printf("%zd bytes to the left", g.beg - addr);
108 } else if (addr >= g.beg + g.size) {
109 Printf("%zd bytes to the right", addr - (g.beg
168 uptr beg, size; local
[all...]
H A Dasan_rtl.cc169 // Reserve memory range [beg, end].
170 static void ReserveShadowMemoryRange(uptr beg, uptr end) { argument
171 CHECK((beg % kPageSize) == 0);
173 uptr size = end - beg + 1;
174 void *res = MmapFixedNoReserve(beg, size);
175 if (res != (void*)beg) {
H A Dasan_allocator.cc308 uptr beg; member in struct:__asan::PageGroup
313 return addr >= beg && addr < end;
432 int beg = 0, end = n; local
433 while (beg < end) {
434 int med = (beg + end) / 2;
439 beg = med + 1;
445 if (beg >= n)
447 PageGroup *g = page_groups_[beg];
477 uptr offset_from_beg = addr - g->beg;
478 uptr this_chunk_addr = g->beg
[all...]
/external/v8/src/arm/
H A Dcpu-arm.cc74 register uint32_t beg asm("a1") = reinterpret_cast<uint32_t>(start);
83 : "=r" (beg)
84 : "0" (beg), "r" (end), "r" (flg), "r" (scno));
102 : "=r" (beg)
103 : "0" (beg), "r" (end), "r" (flg), "r" (__ARM_NR_cacheflush)
/external/astl/include/
H A Dstreambuf110 void setp(char_type* beg, char_type* end) {
111 if (end >= beg) {
112 mPutBeg = mPutCurr = beg;
/external/oprofile/include/
H A Dsstream150 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)
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer.h69 void addAddressRange(uptr beg, uptr end);
77 uptr beg; member in struct:__sanitizer::LoadedModule::AddressRange
H A Dsanitizer_symbolizer.cc34 void LoadedModule::addAddressRange(uptr beg, uptr end) { argument
36 ranges_[n_ranges_].beg = beg;
43 if (ranges_[i].beg <= address && address < ranges_[i].end)
/external/srec/portable/src/
H A DLCHAR.c160 LCHAR *beg, *end; local
165 for (beg = text; *beg != L('\0') && LISSPACE(*beg); ++beg);
166 if (beg == NULL)
169 for (end = beg; *end != L('\0') && !LISSPACE(*end); ++end);
175 rc = lstrtoi(beg, value, 10);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cc88 static void ProtectRange(uptr beg, uptr end) { argument
90 CHECK_LE(beg, end);
91 if (beg == end)
93 if (beg != (uptr)Mprotect(beg, end - beg)) {
94 TsanPrintf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end);
/external/stlport/test/unit/
H A Dstack_allocator.h33 State(char *beg, char *end) argument
34 : m_beg(beg), m_end(end), m_cur(m_beg), m_isOk(true), m_swaped(false), m_nbAlloc(0),
68 StackAllocator(char *beg, char *end) argument
69 : m_state(beg, end) {}
/external/mksh/src/
H A Deval.c341 char *beg, *end, *str; local
345 end = (beg = wdcopy(sp, ATEMP)) +
348 if (end < wdscan(beg, EOS))
350 str = snptreef(NULL, 64, "%S", beg);
351 afree(beg, ATEMP);
382 char *beg, *mid, *end, *stg; local
385 beg = wdcopy(sp, ATEMP);
386 mid = beg + (wdscan(sp, ADELIM) - sp);
387 stg = beg + (wdscan(sp, CSUBST) - sp);
392 sp += mid - beg
[all...]
H A Dsh.h1274 char *end, *beg; /* end, begin of string */ member in struct:XString
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)
1329 void **beg, **end; /* begin, end of vector */ member in struct:XPtrV
[all...]
/external/qemu/distrib/zlib-1.2.3/
H A Ddeflate.c654 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)
713 uInt beg = s->pending; /* start of bytes to update crc */ local
[all...]
H A Dinffast.c75 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/zlib/src/
H A Ddeflate.c765 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)
824 uInt beg = s->pending; /* start of bytes to update crc */ local
[all...]
H A Dinffast.c75 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/hyphenation/
H A Dsubstrings.pl33 $beg = $3;
43 $replbeg{$pat} = $beg - 1;
/external/stlport/src/
H A Dnum_put.cpp128 char* beg = __write_integer_backward(bufend, flags, x); local
129 return copy(beg, bufend, buf);
H A Dstrstream.cpp199 (dir == ios_base::beg || dir == ios_base::end))
216 case ios_base::beg:
257 return seekoff(pos - pos_type(off_type(0)), ios_base::beg, mode);
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c89 /* 40 20 */ unsigned char FAR *beg; /* inflate()'s init next_out */ member in struct:inffast_ar
130 ar.beg = ar.out - (start - strm->avail_out);
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h419 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);
/external/compiler-rt/include/sanitizer/
H A Dasan_interface.h38 uptr beg; // The address of the global. member in struct:__asan_global

Completed in 551 milliseconds

12