/external/curl/lib/ |
D | x509asn1.c | 109 const char * beg, const char * end) in Curl_getASN1Element() argument 120 if(beg >= end || !*beg) in Curl_getASN1Element() 124 elem->header = beg; in Curl_getASN1Element() 125 b = (unsigned char) *beg++; in Curl_getASN1Element() 134 if(beg >= end) in Curl_getASN1Element() 136 b = (unsigned char) *beg++; in Curl_getASN1Element() 144 elem->beg = beg; in Curl_getASN1Element() 145 while(beg < end && *beg) { in Curl_getASN1Element() 146 beg = Curl_getASN1Element(&lelem, beg, end); in Curl_getASN1Element() 147 if(!beg) in Curl_getASN1Element() [all …]
|
D | x509asn1.h | 81 const char * beg; /* Pointer to element data. */ member 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/compiler-rt/lib/asan/ |
D | asan_poisoning.cc | 117 ShadowSegmentEndpoint beg(beg_addr); in __asan_poison_memory_region() local 119 if (beg.chunk == end.chunk) { in __asan_poison_memory_region() 120 CHECK(beg.offset < end.offset); in __asan_poison_memory_region() 121 s8 value = beg.value; in __asan_poison_memory_region() 126 if (beg.offset > 0) { in __asan_poison_memory_region() 127 *beg.chunk = Min(value, beg.offset); in __asan_poison_memory_region() 129 *beg.chunk = kAsanUserPoisonedMemoryMagic; in __asan_poison_memory_region() 134 CHECK(beg.chunk < end.chunk); in __asan_poison_memory_region() 135 if (beg.offset > 0) { in __asan_poison_memory_region() 137 if (beg.value == 0) { in __asan_poison_memory_region() [all …]
|
D | asan_globals.cc | 60 FastPoisonShadow(g->beg, g->size_with_redzone, value); in PoisonShadowForGlobal() 65 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones() 69 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), in PoisonRedZones() 79 if (addr <= g.beg - kMinimalDistanceFromAnotherGlobal) return false; in IsAddressNearGlobal() 80 if (addr >= g.beg + g.size_with_redzone) return false; in IsAddressNearGlobal() 86 prefix, &g, (void *)g.beg, g.size, g.size_with_redzone, g.name, in ReportGlobal() 130 descr->region_address = g.beg; in GetInfoForAddressIfGlobal() 146 CHECK(AddrIsInMem(g->beg)); in RegisterGlobal() 147 CHECK(AddrIsAlignedByGranularity(g->beg)); in RegisterGlobal() 152 if (__asan_region_is_poisoned(g->beg, g->size_with_redzone)) { in RegisterGlobal() [all …]
|
D | asan_report.cc | 262 for (uptr p = g.beg; p < g.beg + g.size - 1; p++) { in PrintGlobalNameIfASCII() 266 if (*(char*)(g.beg + g.size - 1) != '\0') return; in PrintGlobalNameIfASCII() 268 (char *)g.beg); in PrintGlobalNameIfASCII() 296 if (addr < g.beg) { in DescribeAddressRelativeToGlobal() 298 g.beg - addr); in DescribeAddressRelativeToGlobal() 299 } else if (addr + size > g.beg + g.size) { in DescribeAddressRelativeToGlobal() 300 if (addr < g.beg + g.size) in DescribeAddressRelativeToGlobal() 301 addr = g.beg + g.size; in DescribeAddressRelativeToGlobal() 303 addr - (g.beg + g.size)); in DescribeAddressRelativeToGlobal() 306 str.append("%p is located %zd bytes inside", (void *)addr, addr - g.beg); in DescribeAddressRelativeToGlobal() [all …]
|
D | asan_fake_stack.cc | 118 uptr beg = reinterpret_cast<uptr>(GetFrame(stack_size_log, 0, 0)); in AddrIsInFakeStack() local 120 if (ptr < beg || ptr >= end) return 0; in AddrIsInFakeStack() 121 uptr class_id = (ptr - beg) >> stack_size_log; in AddrIsInFakeStack() 122 uptr base = beg + (class_id << stack_size_log); in AddrIsInFakeStack() 249 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, in __asan_addr_is_in_fake_stack() argument 259 if (beg) *beg = reinterpret_cast<void*>(frame_beg); in __asan_addr_is_in_fake_stack()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | DistinguishedNameParser.java | 30 private int beg; field in DistinguishedNameParser 58 beg = pos; in nextAT() 93 if ((end - beg > 4) && (chars[beg + 3] == '.') in nextAT() 94 && (chars[beg] == 'O' || chars[beg] == 'o') in nextAT() 95 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') in nextAT() 96 && (chars[beg + 2] == 'D' || chars[beg + 2] == 'd')) { in nextAT() 97 beg += 4; in nextAT() 100 return new String(chars, beg, end - beg); in nextAT() 106 beg = pos; in quotedAV() 107 end = beg; in quotedAV() [all …]
|
/external/compiler-rt/test/asan/TestCases/ |
D | contiguous_container.cc | 12 char *beg = new char[capacity]; in TestContainer() local 13 char *end = beg + capacity; in TestContainer() 14 char *mid = beg + capacity; in TestContainer() 21 mid = beg + size; in TestContainer() 22 __sanitizer_annotate_contiguous_container(beg, end, old_mid, mid); in TestContainer() 25 assert(!__asan_address_is_poisoned(beg + idx)); in TestContainer() 27 assert(__asan_address_is_poisoned(beg + idx)); in TestContainer() 28 assert(__sanitizer_verify_contiguous_container(beg, mid, end)); in TestContainer() 30 __sanitizer_contiguous_container_find_bad_address(beg, mid, end)); in TestContainer() 31 if (mid != beg) { in TestContainer() [all …]
|
/external/compiler-rt/lib/msan/ |
D | msan_linux.cc | 38 void ReportMapRange(const char *descr, uptr beg, uptr size) { in ReportMapRange() argument 40 uptr end = beg + size - 1; in ReportMapRange() 41 VPrintf(1, "%s : %p - %p\n", descr, beg, end); in ReportMapRange() 45 static bool CheckMemoryRangeAvailability(uptr beg, uptr size) { in CheckMemoryRangeAvailability() argument 47 uptr end = beg + size - 1; in CheckMemoryRangeAvailability() 48 if (!MemoryRangeIsAvailable(beg, end)) { in CheckMemoryRangeAvailability() 49 Printf("FATAL: Memory range %p - %p is not available.\n", beg, end); in CheckMemoryRangeAvailability() 56 static bool ProtectMemoryRange(uptr beg, uptr size, const char *name) { in ProtectMemoryRange() argument 58 void *addr = MmapNoAccess(beg, size, name); in ProtectMemoryRange() 59 if (beg == 0 && addr) { in ProtectMemoryRange() [all …]
|
D | msan_poisoning.cc | 48 uptr beg = d & ~3UL; in CopyOrigin() local 50 if (beg < d) { in CopyOrigin() 51 u32 o = GetOriginIfPoisoned((uptr)src, d - beg); in CopyOrigin() 54 *(u32 *)MEM_TO_ORIGIN(beg) = o; in CopyOrigin() 56 beg += 4; in CopyOrigin() 61 if (end < beg) return; in CopyOrigin() 72 if (beg < end) { in CopyOrigin() 79 u32 *src_end = (u32 *)MEM_TO_ORIGIN(s + (end - beg)); in CopyOrigin() 80 u32 *dst = (u32 *)MEM_TO_ORIGIN(beg); in CopyOrigin() 92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s), in CopyOrigin() [all …]
|
/external/autotest/client/virt/tests/ |
D | iofuzz.py | 108 for (beg, end, name) in devices: 109 ports[(int(beg, base=16), int(end, base=16))] = name.strip() 111 for (beg, end) in ports.keys(): 112 name = ports[(beg, end)] 117 logging.info("Fuzzing %s, port range 0x%x-0x%x", name, beg, end) 121 for port in range(beg, end + 1): 125 for port in range(beg, end + 1): 129 for seq in range(fuzz_count * (end - beg + 1)): 131 [r.randint(beg, end), r.randint(0,255)]))
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.virtuals/ |
D | seekoff.pass.cpp | 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); in main() 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); in main() 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); in main() 40 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == -1); in main() 43 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == -1); in main() 46 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3); in main() 58 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); in main() 64 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == 3); in main() 73 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3); in main() 85 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); in main() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_posix.cc | 104 static void ProtectRange(uptr beg, uptr end) { in ProtectRange() argument 105 CHECK_LE(beg, end); in ProtectRange() 106 if (beg == end) in ProtectRange() 108 if (beg != (uptr)MmapNoAccess(beg, end - beg)) { in ProtectRange() 109 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.seeks/ |
D | seekp2.pass.cpp | 36 assert(way == std::ios_base::beg); in seekoff() 47 assert(&os.seekp(5, std::ios_base::beg) == &os); in main() 54 assert(&os.seekp(10, std::ios_base::beg) == &os); in main() 57 assert(&os.seekp(-1, std::ios_base::beg) == &os); in main() 66 assert(&os.seekp(10, std::ios_base::beg) == &os); in main()
|
/external/v8/src/arm/ |
D | cpu-arm.cc | 28 register uint32_t beg asm("r0") = reinterpret_cast<uint32_t>(start); in FlushICache() 29 register uint32_t end asm("r1") = beg + size; in FlushICache() 39 : "r"(beg), "r"(end), "r"(flg), "r"(scno) in FlushICache() 58 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush) in FlushICache()
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
D | seekoff.pass.cpp | 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); in main() 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std::ios_base::out) == -1); in main() 31 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); in main() 41 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in) == 3); in main() 44 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out | std::ios_base::in) == 3); in main() 47 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == 3); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 43 for (size_t beg = 0; beg < size; beg++) { in TEST() local 44 for (size_t end = beg; end < size; end++) { in TEST() 46 if (beg <= pos && pos < end) in TEST() 47 EXPECT_FALSE(__sanitizer::mem_is_zero(x + beg, end - beg)); in TEST() 49 EXPECT_TRUE(__sanitizer::mem_is_zero(x + beg, end - beg)); in TEST()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | gc-test.cc | 24 void *beg, *end; in Thread() local 26 __asan_addr_is_in_fake_stack(fake_stack, &var[0], &beg, &end); in Thread() 28 assert((char*)beg <= (char*)&var[0]); in Thread() 36 assert(beg == beg1); in Thread()
|
/external/llvm/test/CodeGen/X86/ |
D | inalloca-invoke.ll | 21 %beg = getelementptr %frame.reverse, %frame.reverse* %rev_args, i32 0, i32 0 25 ; CHECK: movl %esp, %[[beg:[^ ]*]] 26 ; CHECK: leal 12(%[[beg]]), %[[end:[^ ]*]] 39 call void @begin(%Iter* sret %beg) 41 ; CHECK: pushl %[[beg]]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | 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, 58 const void *beg, const void *mid, const void *end);
|
D | sanitizer_allocator.h | 330 void MapWithCallback(uptr beg, uptr size) { in MapWithCallback() argument 331 CHECK_EQ(beg, reinterpret_cast<uptr>(MmapFixedOrDie(beg, size))); in MapWithCallback() 332 MapUnmapCallback().OnMap(beg, size); in MapWithCallback() 335 void UnmapWithCallback(uptr beg, uptr size) { in UnmapWithCallback() argument 336 MapUnmapCallback().OnUnmap(beg, size); in UnmapWithCallback() 337 UnmapOrDie(reinterpret_cast<void *>(beg), size); in UnmapWithCallback() 377 uptr beg = chunk_idx * size; in GetBlockBegin() local 378 uptr next_beg = beg + size; in GetBlockBegin() 382 return reinterpret_cast<void*>(reg_beg + beg); in GetBlockBegin() 709 void UnmapWithCallback(uptr beg, uptr size) { in UnmapWithCallback() argument [all …]
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_interface_test.cc | 325 for (size_t beg = 0; beg < size + rz; beg++) { in TEST() local 326 for (size_t end = beg; end < size + rz; end++) { in TEST() 327 void *first_poisoned = __asan_region_is_poisoned(p + beg, end - beg); in TEST() 328 if (beg == end) { in TEST() 330 } else if (beg < size && end <= size) { in TEST() 332 } else if (beg >= size) { in TEST() 333 EXPECT_EQ(p + beg, first_poisoned); in TEST()
|
/external/compiler-rt/include/sanitizer/ |
D | common_interface_defs.h | 95 void __sanitizer_annotate_contiguous_container(const void *beg, 105 int __sanitizer_verify_contiguous_container(const void *beg, const void *mid, 112 const void *beg, const void *mid, const void *end);
|
/external/pdfium/third_party/libtiff/ |
D | tif_luv.c | 426 tmsize_t beg; in LogL16Encode() local 453 for (beg = i; beg < npixels; beg += rc) { in LogL16Encode() 454 b = (int16) (tp[beg] & mask); in LogL16Encode() 456 while (rc < 127+2 && beg+rc < npixels && in LogL16Encode() 457 (tp[beg+rc] & mask) == b) in LogL16Encode() 462 if (beg-i > 1 && beg-i < MINRUN) { in LogL16Encode() 466 if (j == beg) { in LogL16Encode() 470 i = beg; in LogL16Encode() 474 while (i < beg) { /* write out non-run */ in LogL16Encode() 475 if ((j = beg-i) > 127) j = 127; in LogL16Encode() [all …]
|
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/ |
D | common_interface_defs.h | 95 void __sanitizer_annotate_contiguous_container(const void *beg, 105 int __sanitizer_verify_contiguous_container(const void *beg, const void *mid, 112 const void *beg, const void *mid, const void *end);
|