/external/compiler-rt/test/asan/TestCases/ |
contiguous_container.cc | 12 char *beg = new char[capacity]; local 13 char *end = beg + capacity; 14 char *mid = beg + capacity; 21 mid = beg + size; 22 __sanitizer_annotate_contiguous_container(beg, end, old_mid, mid); 25 assert(!__asan_address_is_poisoned(beg + idx)); 27 assert(__asan_address_is_poisoned(beg + idx)); 28 assert(__sanitizer_verify_contiguous_container(beg, mid, end)); 29 if (mid != beg) 30 assert(!__sanitizer_verify_contiguous_container(beg, mid - 1, end)) [all...] |
gc-test.cc | 24 void *beg, *end; local 26 __asan_addr_is_in_fake_stack(fake_stack, &var[0], &beg, &end); 28 assert((char*)beg <= (char*)&var[0]); 36 assert(beg == beg1);
|
/external/libcxx/test/std/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);
|
/external/libcxx/test/std/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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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);
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DistinguishedNameParser.java | 35 private int beg; field in class:DistinguishedNameParser 63 beg = pos; 98 if ((end - beg > 4) && (chars[beg + 3] == '.') 99 && (chars[beg] == 'O' || chars[beg] == 'o') 100 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') 101 && (chars[beg + 2] == 'D' || chars[beg + 2] == 'd')) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
DistinguishedNameParser.java | 30 private int beg; field in class:DistinguishedNameParser 58 beg = pos; 93 if ((end - beg > 4) && (chars[beg + 3] == '.') 94 && (chars[beg] == 'O' || chars[beg] == 'o') 95 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') 96 && (chars[beg + 2] == 'D' || chars[beg + 2] == 'd')) [all...] |
/external/compiler-rt/lib/asan/ |
asan_poisoning.cc | 117 ShadowSegmentEndpoint beg(beg_addr); 119 if (beg.chunk == end.chunk) { 120 CHECK(beg.offset < end.offset); 121 s8 value = beg.value; 126 if (beg.offset > 0) { 127 *beg.chunk = Min(value, beg.offset); 129 *beg.chunk = kAsanUserPoisonedMemoryMagic; 134 CHECK(beg.chunk < end.chunk); 135 if (beg.offset > 0) 334 uptr beg = reinterpret_cast<uptr>(beg_p); local [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/v8/src/arm/ |
cpu-arm.cc | 42 register uint32_t beg asm("r0") = reinterpret_cast<uint32_t>(start); 43 register uint32_t end asm("r1") = beg + size; 52 // r0 = beg 60 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_interface_internal.h | 49 void __sanitizer_annotate_contiguous_container(const void *beg, 54 int __sanitizer_verify_contiguous_container(const void *beg, const void *mid,
|
sanitizer_tls_get_addr.h | 38 // If beg == 0, the chunk is unused. 40 uptr beg, size; member in struct:__sanitizer::DTLS::DTV
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/ |
io.hpp | 40 char_type const* const beg = reinterpret_cast<char_type const* const>( str.begin() ); local 42 os << std::basic_string<char_type>( beg, end - beg ); 53 CharT1 const* const beg = reinterpret_cast<CharT1 const*>( str.begin() ); // !! 55 os << std::basic_string<CharT1,Tr>( beg, end - beg );
|
/external/compiler-rt/include/sanitizer/ |
common_interface_defs.h | 69 // [beg, end); the memory [beg, mid) is used to store the current elements 71 // beg <= mid <= end. For example, in "std::vector<> v" 72 // beg = &v[0]; 73 // end = beg + v.capacity() * sizeof(v[0]); 74 // mid = beg + v.size() * sizeof(v[0]); 85 // For AddressSanitizer, 'beg' should be 8-aligned and 'end' should 89 // char *beg = (char *)&x[0]; 90 // char *end = beg + 12; // Not 8 aligned, not the end of the buffer. 93 // char *beg = (char*)&x[0] [all...] |
/prebuilts/clang/linux-x86/host/3.6/lib/clang/3.6/include/sanitizer/ |
common_interface_defs.h | 69 // [beg, end); the memory [beg, mid) is used to store the current elements 71 // beg <= mid <= end. For example, in "std::vector<> v" 72 // beg = &v[0]; 73 // end = beg + v.capacity() * sizeof(v[0]); 74 // mid = beg + v.size() * sizeof(v[0]); 85 // For AddressSanitizer, 'beg' should be 8-aligned and 'end' should 89 // char *beg = (char *)&x[0]; 90 // char *end = beg + 12; // Not 8 aligned, not the end of the buffer. 93 // char *beg = (char*)&x[0] [all...] |
/external/compiler-rt/lib/msan/ |
msan_poisoning.cc | 48 uptr beg = d & ~3UL; local 50 if (beg < d) { 51 u32 o = GetOriginIfPoisoned((uptr)src, d - beg); 54 *(u32 *)MEM_TO_ORIGIN(beg) = o; 56 beg += 4; 61 if (end < beg) return; 72 if (beg < end) { 79 u32 *src_end = (u32 *)MEM_TO_ORIGIN(s + (end - beg)); 80 u32 *dst = (u32 *)MEM_TO_ORIGIN(beg); 92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s) 152 uptr beg = x & ~3UL; \/\/ align down. local [all...] |
/external/libcxx/test/std/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++/libcxx/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);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 40 for (size_t beg = 0; beg < size; beg++) { 41 for (size_t end = beg; end < size; end++) { 42 // fprintf(stderr, "pos %zd beg %zd end %zd \n", pos, beg, end); 43 if (beg <= pos && pos < end) 44 EXPECT_FALSE(__sanitizer::mem_is_zero(x + beg, end - beg)); 46 EXPECT_TRUE(__sanitizer::mem_is_zero(x + beg, end - beg)) [all...] |
/external/libcxx/test/std/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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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/strace/ |
xlate.el | 38 (defun grab-xlate (beg end) 43 (goto-char beg)
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/ |
throw_allocator.h | 192 const_iterator beg = map_alloc().begin(); local 194 while (beg != end) 196 if (beg->second.first == label) 197 log_to_string(found, *beg); 198 ++beg; 204 auto beg = map_construct().begin(); local 206 while (beg != end) 208 if (beg->second == label) 209 log_to_string(found, *beg); 210 ++beg; 229 const_iterator beg = map_alloc().begin(); local 240 auto beg = map_construct().begin(); local 275 auto beg = map_construct().begin(); local 380 base_type::const_iterator beg = __b.map_alloc().begin(); local 387 auto beg = __b.map_construct().begin(); local [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...] |