/external/compiler-rt/test/asan/TestCases/ |
H A D | 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)); 30 __sanitizer_contiguous_container_find_bad_address(beg, mid, end)); 31 if (mid != beg) { [all...] |
H A D | contiguous_container_crash.cc | 13 void __sanitizer_annotate_contiguous_container(const void *beg, const void *end, 40 // CHECK-BAD-ALIGNMENT: ERROR: beg is not aligned by 8
|
/external/curl/lib/ |
H A D | x509asn1.c | 109 const char * beg, const char * end) 115 /* Get a single ASN.1 element into `elem', parse ASN.1 string at `beg' 120 if(beg >= end || !*beg) 124 elem->header = beg; 125 b = (unsigned char) *beg++; 134 if(beg >= end) 136 b = (unsigned char) *beg++; 144 elem->beg = beg; 108 Curl_getASN1Element(curl_asn1Element * elem, const char * beg, const char * end) argument 187 bool2str(const char * beg, const char * end) argument 198 octet2str(const char * beg, const char * end) argument 213 bit2str(const char * beg, const char * end) argument 223 int2str(const char * beg, const char * end) argument 338 string2str(int type, const char * beg, const char * end) argument 370 encodeOID(char * buf, int n, const char * beg, const char * end) argument 409 OID2str(const char * beg, const char * end, bool symbolic) argument 439 GTime2str(const char * beg, const char * end) argument 502 UTime2str(const char * beg, const char * end) argument 672 Curl_parseX509(curl_X509certificate * cert, const char * beg, const char * end) argument 771 dumpAlgo(curl_asn1Element * param, const char * beg, const char * end) argument 868 Curl_extract_certinfo(struct connectdata * conn, int certnum, const char * beg, const char * end) argument 1032 checkOID(const char * beg, const char * end, const char * oid) argument 1056 Curl_verifyhost(struct connectdata * conn, const char * beg, const char * end) argument [all...] |
H A D | x509asn1.h | 81 const char * beg; /* Pointer to element data. */ member in struct:__anon3642 121 const char * beg, const char * end); 125 const char * beg, const char * end); 127 const char * beg, const char * end); 129 const char * beg, const char * end);
|
/external/v8/src/arm/ |
H A D | cpu-arm.cc | 28 register uint32_t beg asm("r0") = reinterpret_cast<uint32_t>(start); 29 register uint32_t end asm("r1") = beg + size; 39 : "r"(beg), "r"(end), "r"(flg), "r"(scno) 50 // r0 = beg 58 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush)
|
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_seekdir/ |
H A D | 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/ |
H A D | 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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
H A D | 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 [all...] |
/external/compiler-rt/lib/asan/ |
H A D | 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 185 __asan_region_is_poisoned(uptr beg, uptr size) argument 334 uptr beg = reinterpret_cast<uptr>(beg_p); local [all...] |
H A D | asan_globals.cc | 60 FastPoisonShadow(g->beg, g->size_with_redzone, value); 65 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, 69 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), 79 if (addr <= g.beg - kMinimalDistanceFromAnotherGlobal) return false; 80 if (addr >= g.beg + g.size_with_redzone) return false; 85 Report("%s Global[%p]: beg=%p size=%zu/%zu name=%s module=%s dyn_init=%zu\n", 86 prefix, &g, (void *)g.beg, g.size, g.size_with_redzone, g.name, 130 descr->region_address = g.beg; 167 if (__asan_region_is_poisoned(g->beg, g->size_with_redzone)) { 171 if (g->beg [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_interface_internal.h | 53 void __sanitizer_annotate_contiguous_container(const void *beg, 58 int __sanitizer_verify_contiguous_container(const void *beg, const void *mid, 62 const void *beg, const void *mid, const void *end);
|
H A D | sanitizer_tls_get_addr.h | 38 // If beg == 0, the chunk is unused. 40 uptr beg, size; member in struct:__sanitizer::DTLS::DTV
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.seeks/ |
H A D | seekp2.pass.cpp | 36 assert(way == std::ios_base::beg); 47 assert(&os.seekp(5, std::ios_base::beg) == &os); 54 assert(&os.seekp(10, std::ios_base::beg) == &os); 57 assert(&os.seekp(-1, std::ios_base::beg) == &os); 66 assert(&os.seekp(10, std::ios_base::beg) == &os);
|
/external/compiler-rt/lib/msan/ |
H A D | 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), (voi 152 uptr beg = x & ~3UL; // align down. local [all...] |
H A D | msan_linux.cc | 38 void ReportMapRange(const char *descr, uptr beg, uptr size) { argument 40 uptr end = beg + size - 1; 41 VPrintf(1, "%s : %p - %p\n", descr, beg, end); 45 static bool CheckMemoryRangeAvailability(uptr beg, uptr size) { argument 47 uptr end = beg + size - 1; 48 if (!MemoryRangeIsAvailable(beg, end)) { 49 Printf("FATAL: Memory range %p - %p is not available.\n", beg, end); 56 static bool ProtectMemoryRange(uptr beg, uptr size, const char *name) { argument 58 void *addr = MmapFixedNoAccess(beg, size, name); 59 if (beg [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | 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/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cc | 104 static void ProtectRange(uptr beg, uptr end) { argument 105 CHECK_LE(beg, end); 106 if (beg == end) 108 if (beg != (uptr)MmapFixedNoAccess(beg, end - beg)) { 109 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
H A D | 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/ |
H A D | xlate.el | 38 (defun grab-xlate (beg end) 43 (goto-char beg)
|
/external/compiler-rt/include/sanitizer/ |
H A D | common_interface_defs.h | 72 // [beg, end); the memory [beg, mid) is used to store the current elements 74 // beg <= mid <= end. For example, in "std::vector<> v" 75 // beg = &v[0]; 76 // end = beg + v.capacity() * sizeof(v[0]); 77 // mid = beg + v.size() * sizeof(v[0]); 88 // For AddressSanitizer, 'beg' should be 8-aligned and 'end' should 92 // char *beg = (char *)&x[0]; 93 // char *end = beg + 12; // Not 8 aligned, not the end of the buffer. 96 // char *beg [all...] |
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
H A D | 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, st [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.hpp | 138 inline void fillBits (IterT beg, const IterT end, const deUint8 pattern = 0xdeu) argument 140 for (; beg < end; ++beg) 141 deMemset(&(*beg), static_cast<int>(pattern), sizeof(*beg)); 146 bool checkBits (IterT beg, const IterT end, const deUint8 pattern = 0xdeu) argument 148 for (; beg < end; ++beg) 150 const deUint8* elementBytes = reinterpret_cast<const deUint8*>(&(*beg)); 151 for (std::size_t i = 0u; i < sizeof(*beg); [all...] |
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
H A D | seekg_off.pass.cpp | 60 is.seekg(-1, std::ios_base::beg); 70 is.seekg(-1, std::ios_base::beg); 79 is.seekg(5, std::ios_base::beg);
|
/external/libcxx/test/std/input.output/string.streams/stringstream.cons/ |
H A D | move2.pass.cpp | 34 vecis[n].seekg(0, std::ios_base::beg);
|
/external/libcxx/test/support/ |
H A D | asan_testing.h | 17 ( const void *beg, const void *mid, const void *end );
|