HomeSort by: relevance | last modified time | path
    Searched defs:beg (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_report.h 25 uptr beg; member in struct:__asan::StackVarDescr
82 void ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end,
asan_interface_internal.h 50 uptr beg; // The address of the global. member in struct:__asan_global
125 uptr __asan_region_is_poisoned(uptr beg, uptr size);
asan_fake_stack.cc 118 uptr beg = reinterpret_cast<uptr>(GetFrame(stack_size_log, 0, 0)); local in function:__asan::FakeStack::AddrIsInFakeStack
120 if (ptr < beg || ptr >= end) return 0;
121 uptr class_id = (ptr - beg) >> stack_size_log;
122 uptr base = beg + (class_id << stack_size_log);
249 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
259 if (beg) *beg = reinterpret_cast<void*>(frame_beg);
asan_errors.h 302 uptr beg, end, old_mid, new_mid; member in struct:__asan::ErrorBadParamsToAnnotateContiguousContainer
305 // PS4: Do we want an AddressDescription for beg?
312 beg(beg_),
asan_poisoning.cc 114 ShadowSegmentEndpoint beg(beg_addr); local in function:__asan_poison_memory_region
116 if (beg.chunk == end.chunk) {
117 CHECK_LT(beg.offset, end.offset);
118 s8 value = beg.value;
123 if (beg.offset > 0) {
124 *beg.chunk = Min(value, beg.offset);
126 *beg.chunk = kAsanUserPoisonedMemoryMagic;
131 CHECK_LT(beg.chunk, end.chunk);
132 if (beg.offset > 0)
154 ShadowSegmentEndpoint beg(beg_addr); local in function:__asan_unpoison_memory_region
362 uptr beg = reinterpret_cast<uptr>(beg_p); local in function:__sanitizer_annotate_contiguous_container
410 uptr beg = reinterpret_cast<uptr>(beg_p); local in function:__sanitizer_contiguous_container_find_bad_address
    [all...]
asan_report.cc 97 uptr beg = (uptr)internal_simple_strtoll(p, &p, 10); local in function:__asan::ParseFrameDescription
100 if (beg == 0 || size == 0 || *p != ' ') {
111 StackVarDescr var = {beg, size, p, name_len, line};
336 void ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end,
341 GetCurrentTidOrInvalid(), stack, beg, end, old_mid, new_mid);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_tls_get_addr.h 38 // If beg == 0, the chunk is unused.
40 uptr beg, size; member in struct:__sanitizer::DTLS::DTV
sanitizer_file.cc 183 const char *beg = path; local in function:__sanitizer::FindPathToBinary
185 const char *end = internal_strchrnul(beg, kPathSeparator);
186 uptr prefix_len = end - beg;
188 internal_memcpy(buffer.data(), beg, prefix_len);
196 beg = end + 1;
sanitizer_allocator_secondary.h 227 uptr beg = 0, end = n - 1; local in function:LargeMmapAllocator::GetBlockBeginFastLocked
230 while (end - beg >= 2) {
231 uptr mid = (beg + end) / 2; // Invariant: mid >= beg + 1
235 beg = mid; // chunks_[mid] may still be what we want.
238 if (beg < end) {
239 CHECK_EQ(beg + 1, end);
242 beg = end;
245 Header *h = chunks_[beg];
sanitizer_allocator_primary32.h 138 void UnmapWithCallback(uptr beg, uptr size) {
139 MapUnmapCallback().OnUnmap(beg, size);
140 UnmapOrDie(reinterpret_cast<void *>(beg), size);
151 uptr beg = ComputeRegionBeg(mem); local in function:SizeClassAllocator32::GetMetaData
153 u32 offset = mem - beg;
155 uptr meta = (beg + kRegionSize) - (n + 1) * kMetadataSize;
197 uptr beg = ComputeRegionBeg(mem); local in function:SizeClassAllocator32::GetBlockBegin
199 u32 offset = mem - beg;
201 uptr res = beg + (n * (u32)size);
  /src/lib/libc/compat/gen/
compat_timezone.c 69 char *beg, local in function:timezone
72 if ((beg = getenv("TZNAME")) != NULL) { /* set in environment */
73 if ((end = strchr(beg, ',')) != NULL) { /* "PST,PDT" */
77 (void)strlcpy(czone, beg, sizeof(czone));
81 return(beg);
  /src/bin/ksh/
expand.h 11 char *end, *beg; /* end, begin of string */ member in struct:XString
22 (xs).beg = alloc((xs).len + X_EXTRA, (xs).areap); \
23 (xs).end = (xs).beg + (xs).len; \
24 xp = (xs).beg; \
42 #define Xfree(xs, xp) afree((void*) (xs).beg, (xs).areap)
45 #define Xclose(xs, xp) (char*) aresize((void*)(xs).beg, \
46 (size_t)((xp) - (xs).beg), (xs).areap)
48 #define Xstring(xs, xp) ((xs).beg)
51 #define Xlength(xs, xp) ((xp) - (xs).beg)
52 #define Xsize(xs, xp) ((xs).end - (xs).beg)
64 void **beg, **end; \/* begin, end of vector *\/ member in struct:XPtrV
    [all...]
  /src/usr.bin/whatis/
whatis.c 76 char *beg, *conffile, **p, *p_augment, *p_path; local in function:main
108 if ((beg = strrchr(*p, '/')))
109 *p = beg + 1;
  /src/common/dist/zlib/
inffast.c 57 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local in function:inflate_fast
84 beg = out - (start - strm->avail_out);
168 op = (unsigned)(out - beg); /* max distance in output */
deflate.c 938 * Update the header CRC with the bytes s->pending_buf[beg..s->pending - 1].
940 #define HCRC_UPDATE(beg) \
942 if (s->gzhead->hcrc && s->pending > (beg)) \
943 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
944 s->pending - (beg)); \
1086 ulg beg = s->pending; /* start of bytes to update crc */ local in function:deflate
1093 HCRC_UPDATE(beg);
1100 beg = 0;
1106 HCRC_UPDATE(beg);
1113 ulg beg = s->pending; /* start of bytes to update crc * local in function:deflate
1135 ulg beg = s->pending; \/* start of bytes to update crc *\/ local in function:deflate
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_poisoning.cc 48 uptr beg = d & ~3UL; local in function:__msan::CopyOrigin
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)
153 uptr beg = x & ~3UL; \/\/ align down. local in function:__msan::SetOrigin
    [all...]
msan_allocator.cc 249 const void *beg = allocator.GetBlockBegin(p); local in function:__msan::AllocationSize
250 if (beg != p) return 0;
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_interface_test.cc 333 for (size_t beg = 0; beg < size + rz; beg++) { local in function:TEST
334 for (size_t end = beg; end < size + rz; end++) {
335 void *first_poisoned = __asan_region_is_poisoned(p + beg, end - beg);
336 if (beg == end) {
338 } else if (beg < size && end <= size) {
340 } else if (beg >= size) {
341 EXPECT_EQ(p + beg, first_poisoned)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 47 for (size_t beg = 0; beg < size; beg++) { local in function:TEST
48 for (size_t end = beg; end < size; end++) {
49 // fprintf(stderr, "pos %zd beg %zd end %zd \n", pos, beg, end);
50 if (beg <= pos && pos < end)
51 EXPECT_FALSE(__sanitizer::mem_is_zero(x + beg, end - beg));
53 EXPECT_TRUE(__sanitizer::mem_is_zero(x + beg, end - beg))
    [all...]
  /src/sbin/scan_ffs/
scan_ffs.c 397 show_status(uintmax_t beg, uintmax_t total)
401 const uintmax_t done = blk - beg;
420 scan_disk(int fd, daddr_t beg, daddr_t end, int fflags)
436 const daddr_t total = end - beg;
437 for (blk = beg; blk <= end; blk += SBPASS) {
439 show_status(beg, total);
494 daddr_t end = -1, beg = 0; local in function:main
519 beg = atoi(optarg);
571 return scan_disk(fd, beg, end, flags);
  /src/sys/kern/
subr_log.c 464 long beg, end; local in function:sysctl_msgbuf
503 beg = msgbufp->msg_bufx;
508 len = MIN(end - beg, maxlen);
512 error = copyout(&msgbufp->msg_bufc[beg], where, len);
523 beg = 0;
  /src/lib/libc/nameser/
ns_name.c 1002 char *beg = dn, tc; local in function:decode_bitstring
1043 _DIAGASSERT(__type_fit(int, dn - beg));
1044 return (int)(dn - beg);
  /src/usr.bin/mail/
mime_codecs.c 534 unsigned char *beg; local in function:fput_quoted_line
540 beg = (unsigned char*)line;
541 end = beg + len;
554 if (p > beg && p[-1] == '\r') {
  /src/share/examples/refuse/ian/libfetch/
ftp.c 270 const char *beg, *end; local in function:_ftp_cwd
306 for (beg = file + i; beg < end && *beg == '/'; ++beg, ++i)
310 if (beg >= end)
314 e = _ftp_cmd(conn, "CWD %.*s", (int)(end - beg), beg);
320 for (beg = file + i; beg < end; beg = file + i + 1)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl.cc 294 uptr beg, end; local in function:__tsan::CheckShadowMapping
295 for (int i = 0; GetUserRegion(i, &beg, &end); i++) {
298 if (beg == end)
300 VPrintf(3, "checking shadow region %p-%p\n", beg, end);
302 for (uptr p0 = beg; p0 <= end; p0 += (end - beg) / 4) {
305 if (p < beg || p >= end)

Completed in 33 milliseconds

1 2