/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...] |
/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:__anon3524 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; 146 CHECK(AddrIsInMem(g->beg)); 147 CHECK(AddrIsAlignedByGranularity(g->beg)); [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A 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);
|
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/opencv3/modules/cudev/include/opencv2/cudev/block/ |
H A D | block.hpp | 75 __device__ __forceinline__ static void blockFill(It beg, It end, const T& value) argument 78 It t = beg + Block::threadLineId(); 85 __device__ __forceinline__ static void blockYota(OutIt beg, OutIt end, T value) argument 91 for(OutIt t = beg + tid; t < end; t += STRIDE, value += STRIDE) 96 __device__ __forceinline__ static void blockCopy(InIt beg, InIt end, OutIt out) argument 99 InIt t = beg + Block::threadLineId(); 100 OutIt o = out + (t - beg); 107 __device__ __forceinline__ static void blockTransfrom(InIt beg, InIt end, OutIt out, const UnOp& op) argument 110 InIt t = beg + Block::threadLineId(); 111 OutIt o = out + (t - beg); [all...] |
/external/autotest/client/virt/tests/ |
H A 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/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/include/sanitizer/ |
H A D | 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 [all...] |
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/ |
H A D | 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 [all...] |
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
H A D | warp.hpp | 72 static __device__ __forceinline__ void fill(It beg, It end, const T& value) argument 74 for(It t = beg + laneId(); t < end; t += STRIDE) 79 static __device__ __forceinline__ OutIt copy(InIt beg, InIt end, OutIt out) argument 81 for(InIt t = beg + laneId(); t < end; t += STRIDE, out += STRIDE) 87 static __device__ __forceinline__ OutIt transform(InIt beg, InIt end, OutIt out, UnOp op) argument 89 for(InIt t = beg + laneId(); t < end; t += STRIDE, out += STRIDE) 126 static __device__ __forceinline__ void yota(OutIt beg, OutIt end, T value) argument 131 for(OutIt t = beg + lane; t < end; t += STRIDE, value += STRIDE)
|
/external/opencv3/modules/cudev/include/opencv2/cudev/warp/ |
H A D | warp.hpp | 79 __device__ __forceinline__ void warpFill(It beg, It end, const T& value) argument 81 for(It t = beg + Warp::laneId(); t < end; t += WARP_SIZE) 86 __device__ __forceinline__ OutIt warpCopy(InIt beg, InIt end, OutIt out) argument 88 for(InIt t = beg + Warp::laneId(); t < end; t += WARP_SIZE, out += WARP_SIZE) 94 __device__ __forceinline__ OutIt warpTransform(InIt beg, InIt end, OutIt out, const UnOp& op) argument 96 for(InIt t = beg + Warp::laneId(); t < end; t += WARP_SIZE, out += WARP_SIZE) 114 __device__ __forceinline__ void warpYota(OutIt beg, OutIt end, T value) argument 119 for(OutIt t = beg + lane; t < end; t += WARP_SIZE, value += WARP_SIZE)
|
/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 = MmapNoAccess(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)MmapNoAccess(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/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...] |