/external/compiler-rt/lib/asan/ |
asan_poisoning.cc | 87 ShadowSegmentEndpoint beg(beg_addr); 89 if (beg.chunk == end.chunk) { 90 CHECK(beg.offset < end.offset); 91 s8 value = beg.value; 96 if (beg.offset > 0) { 97 *beg.chunk = Min(value, beg.offset); 99 *beg.chunk = kAsanUserPoisonedMemoryMagic; 104 CHECK(beg.chunk < end.chunk); 105 if (beg.offset > 0) [all...] |
asan_globals.cc | 39 PoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, 44 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), 58 Report("Search Global: beg=%p size=%zu name=%s\n", 59 (void*)g.beg, g.size, (char*)g.name); 71 Report("Added Global: beg=%p size=%zu/%zu name=%s dyn.init=%zu\n", 72 (void*)g->beg, g->size, g->size_with_redzone, g->name, 75 CHECK(AddrIsInMem(g->beg)); 76 CHECK(AddrIsAlignedByGranularity(g->beg)); 95 CHECK(AddrIsInMem(g->beg)); 96 CHECK(AddrIsAlignedByGranularity(g->beg)); [all...] |
asan_report.cc | 186 for (uptr p = g.beg; p < g.beg + g.size - 1; p++) { 189 if (*(char*)(g.beg + g.size - 1) != 0) return; 190 Printf(" '%s' is ascii string '%s'\n", g.name, (char*)g.beg); 196 if (addr <= g.beg - kMinimalDistanceFromAnotherGlobal) return false; 197 if (addr >= g.beg + g.size_with_redzone) return false; 200 if (addr < g.beg) { 201 Printf("%p is located %zd bytes to the left", (void*)addr, g.beg - addr); 202 } else if (addr + size > g.beg + g.size) { 203 if (addr < g.beg + g.size 270 uptr beg, size; local [all...] |
asan_interface_internal.h | 33 uptr beg; // The address of the global. member in struct:__asan_global 86 uptr __asan_region_is_poisoned(uptr beg, uptr size)
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/ |
seekdir.pass.cpp | 14 // static const seekdir beg; 23 assert(std::ios_base::beg != std::ios_base::cur); 24 assert(std::ios_base::beg != std::ios_base::end);
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/ |
pubseekoff.pass.cpp | 32 assert(t.pubseekoff(0, std::ios_base::beg) == -1); 33 assert(t.pubseekoff(0, std::ios_base::beg, std::ios_base::app) == -1);
|
/external/v8/src/arm/ |
cpu-arm.cc | 74 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)
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DistinguishedNameParser.java | 32 private int beg; field in class:DistinguishedNameParser 60 beg = pos; 95 if ((end - beg > 4) && (chars[beg + 3] == '.') 96 && (chars[beg] == 'O' || chars[beg] == 'o') 97 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') 98 && (chars[beg + 2] == 'D' || chars[beg + 2] == 'd')) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
DNParser.java | 47 private int beg; field in class:DNParser 81 beg = pos; 118 if ((end - beg > 4) && (chars[beg + 3] == '.') 119 && (chars[beg] == 'O' || chars[beg] == 'o') 120 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') 121 && (chars[beg + 2] == 'D' || chars[beg + 2] == 'd')) [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 38 for (size_t beg = 0; beg < size; beg++) { 39 for (size_t end = beg; end < size; end++) { 40 // fprintf(stderr, "pos %zd beg %zd end %zd \n", pos, beg, end); 41 if (beg <= pos && pos < end) 42 EXPECT_FALSE(__sanitizer::mem_is_zero(x + beg, end - beg)); 44 EXPECT_TRUE(__sanitizer::mem_is_zero(x + beg, end - beg)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream.seeks/ |
seekp2.pass.cpp | 36 assert(way == std::ios_base::beg); 46 assert(&os.seekp(5, std::ios_base::beg) == &os); 52 assert(&os.seekp(10, std::ios_base::beg) == &os); 55 assert(&os.seekp(-1, std::ios_base::beg) == &os);
|
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
seekoff.pass.cpp | 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 41 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 44 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == 3); 47 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3);
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
PrivateCredentialPermission.java | 134 int beg = name.indexOf(' '); local 135 if (beg == -1) { 138 credentialClass = name.substring(0, beg); 141 beg++; 144 for (int i, j = 0; beg < nameLength; beg = j + 2, count++) { 145 i = name.indexOf(' ', beg); 158 beg = name.indexOf(' '); 159 beg++; 166 for (int index = 0, i, j; index < count; beg = j + 2, index++) [all...] |
/ndk/sources/host-tools/make-3.81/ |
expand.c | 248 register char *beg = p + 1; 265 end = strchr (beg, closeparen); 269 p1 = lindex (beg, end, '$'); 272 /* BEG now points past the opening paren or brace. 275 for (p = beg; *p != '\0'; ++p) 287 beg = expand_argument (beg, p); /* Expand the name. */ 288 free_beg = 1; /* Remember to free BEG when finished. */ 289 end = strchr (beg, '\0'); 302 colon = lindex (beg, end, ':') 246 register char *beg = p + 1; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
seekoff.pass.cpp | 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 40 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == -1); 43 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == -1); 46 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3); 58 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); 64 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == 3); 73 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3); 85 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1) [all...] |
/external/oprofile/include/ |
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) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.h | 84 void addAddressRange(uptr beg, uptr end); 92 uptr beg; member in struct:__sanitizer::LoadedModule::AddressRange
|
sanitizer_libc.cc | 208 bool mem_is_zero(const char *beg, uptr size) { 210 const char *end = beg + size; 211 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); 215 for (const char *mem = beg; mem < (char*)aligned_beg && mem < end; mem++) 221 if ((char*)aligned_end >= beg)
|
/external/srec/portable/src/ |
LCHAR.c | 160 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);
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf.assign/ |
member_swap.pass.cpp | 30 f.pubseekoff(1, std::ios_base::beg); 45 f.pubseekoff(1, std::ios_base::beg);
|
move_assign.pass.cpp | 31 f.pubseekoff(1, std::ios_base::beg); 46 f.pubseekoff(1, std::ios_base::beg);
|
nonmember_swap.pass.cpp | 32 f.pubseekoff(1, std::ios_base::beg); 47 f.pubseekoff(1, std::ios_base::beg);
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf.cons/ |
move.pass.cpp | 31 f.pubseekoff(1, std::ios_base::beg); 45 f.pubseekoff(1, std::ios_base::beg);
|
/development/ide/emacs/ |
android-compile.el | 117 (let ((beg (car android-compile-context)) 120 (goto-char beg)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_linux.cc | 149 static void ProtectRange(uptr beg, uptr end) { 151 CHECK_LE(beg, end); 152 if (beg == end) 154 if (beg != (uptr)Mprotect(beg, end - beg)) { 155 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end);
|