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

12

/external/compiler-rt/lib/asan/
H A Dasan_poisoning.cc84 ShadowSegmentEndpoint beg(beg_addr);
86 if (beg.chunk == end.chunk) {
87 CHECK(beg.offset < end.offset);
88 int8_t value = beg.value;
93 if (beg.offset > 0) {
94 *beg.chunk = Min(value, beg.offset);
96 *beg.chunk = kAsanUserPoisonedMemoryMagic;
101 CHECK(beg.chunk < end.chunk);
102 if (beg
[all...]
H A Dasan_globals.cc44 PoisonShadow(g.beg + g_aligned_size,
51 PoisonShadowPartialRightRedzone(g.beg + g_aligned_down_size,
65 for (size_t p = g.beg; p < g.beg + g.size - 1; p++) {
68 if (*(char*)(g.beg + g.size - 1) != 0) return;
69 Printf(" '%s' is ascii string '%s'\n", g.name, g.beg);
73 if (addr < g.beg - kGlobalAndStackRedzone) return false;
74 if (addr >= g.beg + g.size_with_redzone) return false;
76 if (addr < g.beg) {
77 Printf("%zd bytes to the left", g.beg
[all...]
H A Dasan_rtl.cc139 // Reserve memory range [beg, end].
140 static void ReserveShadowMemoryRange(uintptr_t beg, uintptr_t end) { argument
141 CHECK((beg % kPageSize) == 0);
143 size_t size = end - beg + 1;
144 void *res = AsanMmapFixedNoReserve(beg, size);
145 CHECK(res == (void*)beg && "ReserveShadowMemoryRange failed");
194 size_t beg, size; local
196 beg = internal_simple_strtoll(p, &p, 10);
199 if (beg <= 0 || size <= 0 || len < 0 || *p != ' ') {
208 Printf(" [%zu, %zu) '%s'\n", beg, be
[all...]
H A Dasan_allocator.cc162 uint32_t offset; // User-visible memory starts at this+offset (beg()).
168 uintptr_t beg() { return (uintptr_t)this + offset; }
192 if (addr >= beg() && (addr + access_size) <= (beg() + used_size)) {
193 *offset = addr - beg();
200 if (addr < beg()) {
201 *offset = beg() - addr;
208 if (addr + access_size >= beg() + used_size) {
209 if (addr <= beg() + used_size)
212 *offset = addr - (beg()
296 uintptr_t beg; member in struct:__asan::PageGroup
420 int beg = 0, end = n; local
[all...]
H A Dasan_interface.h43 size_t beg; // The address of the global. member in struct:__asan_global
/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/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/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) {}
H A Dsstream_test.cpp391 s.seekg( 6, ios::beg );
398 is.seekg( 6, ios::beg );
414 s.seekp( 0, ios::beg );
431 ss.seekg( 0, ios::beg );
H A Dfstream_test.cpp164 f.seekg( 0, ios_base::beg );
200 f.seekg( 0, ios_base::beg );
254 is.seekg( p, ios_base::beg );
349 ss.seekg( 0, ios_base::beg );
476 off = s.rdbuf()->pubseekoff(0, ios_base::beg);
496 ss.seekg( 0, ios_base::beg );
892 f.seekg( 0, ios_base::beg );
/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/
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);
H A Dstdio_streambuf.cpp80 case ios_base::beg:
/external/zlib/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.h409 static PrintfSpecifier Parse(const char *beg, const char *end);
582 static ScanfSpecifier Parse(const char *beg, const char *end);
645 const char *beg, const char *end, const LangOptions &LO);
648 const char *beg, const char *end, const LangOptions &LO);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h287 template <typename CB> CB scanReachableSymbols(const SVal *beg,
291 scanReachableSymbols(const MemRegion * const *beg,
751 CB ProgramState::scanReachableSymbols(const SVal *beg, const SVal *end) const { argument
753 scanReachableSymbols(beg, end, cb);
758 CB ProgramState::scanReachableSymbols(const MemRegion * const *beg, argument
761 scanReachableSymbols(beg, end, cb);

Completed in 3911 milliseconds

12