/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_fake_stack.cpp | 118 uptr beg = reinterpret_cast<uptr>(GetFrame(stack_size_log, 0, 0)); local 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); 293 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, argument 303 if (beg) *beg = reinterpret_cast<void*>(frame_beg);
|
H A D | asan_debugging.cpp | 37 if (offset <= vars[i].beg + vars[i].size) { 43 *region_address = addr - (offset - vars[i].beg); 118 region_address = g.beg;
|
H A D | asan_report.h | 24 uptr beg; member in struct:__asan::StackVarDescr 84 void ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end,
|
H A D | asan_interceptors.cpp | 157 const uptr beg = reinterpret_cast<uptr>(res); local 158 DCHECK(IsAligned(beg, GetPageSize())); 161 if (AddrIsInMem(beg) && AddrIsInMem(beg + rounded_length - 1)) 162 PoisonShadow(beg, RoundUpTo(length, GetPageSize()), 0); 171 const uptr beg = reinterpret_cast<uptr>(addr); local 172 if (length && IsAligned(beg, GetPageSize())) { 175 if (AddrIsInMem(beg) && AddrIsInMem(beg + rounded_length - 1)) 176 PoisonShadow(beg, rounded_lengt [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary32.h | 146 void UnmapWithCallback(uptr beg, uptr size) { argument 147 MapUnmapCallback().OnUnmap(beg, size); 148 UnmapOrDie(reinterpret_cast<void *>(beg), size); 160 uptr beg = ComputeRegionBeg(mem); local 162 u32 offset = mem - beg; 164 uptr meta = (beg + kRegionSize) - (n + 1) * kMetadataSize; 209 uptr beg = ComputeRegionBeg(mem); local 211 u32 offset = mem - beg; 213 uptr res = beg + (n * (u32)size);
|
H A D | sanitizer_allocator_secondary.h | 230 uptr beg = 0, end = n - 1; 233 while (end - beg >= 2) { 234 uptr mid = (beg + end) / 2; // Invariant: mid >= beg + 1 238 beg = mid; // chunks[mid] may still be what we want. 241 if (beg < end) { 242 CHECK_EQ(beg + 1, end); 245 beg = end; 248 const Header *h = AddressSpaceView::Load(chunks[beg]); 249 Header *h_ptr = chunks[beg]; [all...] |
H A D | sanitizer_file.cpp | 214 const char *beg = path; local 216 const char *end = internal_strchrnul(beg, kPathSeparator); 217 uptr prefix_len = end - beg; 219 internal_memcpy(buffer.data(), beg, prefix_len); 227 beg = end + 1;
|
H A D | sanitizer_symbolizer_markup.cpp | 120 // range.beg == dlpi_addr + p_vaddr 121 // relative address == p_vaddr == range.beg - module.base_address 122 buffer->AppendF(kFormatMmap, reinterpret_cast<void *>(range.beg), 123 range.end - range.beg, static_cast<int>(moduleId), 124 accessBuffer.data(), range.beg - module.base_address());
|
H A D | sanitizer_allocator_primary64.h | 266 uptr beg = chunk_idx * size; local 267 uptr next_beg = beg + size; 270 return reinterpret_cast<void*>(reg_beg + beg); 710 bool MapWithCallback(uptr beg, uptr size, const char *name) { 712 return beg >= NonConstSpaceBeg && 713 beg + size <= NonConstSpaceBeg + kSpaceSize; 714 uptr mapped = address_range.Map(beg, size, name); 717 CHECK_EQ(beg, mapped); 718 MapUnmapCallback().OnMap(beg, size); 722 void MapWithCallbackOrDie(uptr beg, upt [all...] |
H A D | sanitizer_libc.cpp | 298 bool mem_is_zero(const char *beg, uptr size) { argument 300 const char *end = beg + size; 301 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); 305 for (const char *mem = beg; mem < (char*)aligned_beg && mem < end; mem++) 311 if ((char *)aligned_end >= beg) {
|
H A D | sanitizer_tls_get_addr.cpp | 119 if (!dtv || dtv->beg) 148 dtv->beg = tls_beg;
|
H A D | sanitizer_linux.h | 127 // Releases memory pages entirely within the [beg, end] address range. 130 inline void ReleaseMemoryPagesToOSAndZeroFill(uptr beg, uptr end) { argument 135 ReleaseMemoryPagesToOS(beg, end);
|
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_monitor.c | 593 u_int beg, end, i; local 607 beg = kring->nr_hwtail + 1; 613 beg = kring->nr_hwcur; 617 rel_slots = end - beg; 645 beg += (rel_slots - free_slots); 648 if (unlikely(beg >= kring->nkr_num_slots)) 649 beg -= kring->nkr_num_slots; 653 struct netmap_slot *s = &ring->slot[beg]; 660 nm_prdis(5, "beg %d buf_idx %d", beg, tm 737 u_int i, mlim, beg; local [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_allocator.cpp | 184 void *beg = allocator.GetBlockBegin(p); local 185 if (!beg) 187 Metadata *b = (Metadata *)allocator.GetMetaData(beg); 192 return (const void *)beg; 198 const void *beg = allocator.GetBlockBegin(p); local 199 if (beg != p)
|
/freebsd-current/contrib/mandoc/ |
H A D | out.c | 440 const char *beg; /* Beginning of the current line. */ local 450 for (beg = str; beg != NULL && *beg != '\0'; beg = end) { 451 end = mw ? strchr(beg, ' ') : NULL; 457 wsz = (*tbl->slen)(beg, tbl->arg);
|
/freebsd-current/contrib/atf/atf-c/detail/ |
H A D | dynstr.c | 247 size_t beg, size_t end) 249 if (beg > src->m_length) 250 beg = src->m_length; 255 return atf_dynstr_init_raw(ad, src->m_data + beg, end - beg); 246 atf_dynstr_init_substr(atf_dynstr_t *ad, const atf_dynstr_t *src, size_t beg, size_t end) argument
|
/freebsd-current/lib/libfetch/ |
H A D | ftp.c | 272 const char *beg, *end; local 308 for (beg = file + i; beg < end && *beg == '/'; ++beg, ++i) 312 if (beg >= end) 316 e = ftp_cmd(conn, "CWD %.*s", (int)(end - beg), beg); 322 for (beg = file + i; beg < en [all...] |
/freebsd-current/contrib/tcsh/ |
H A D | csh-mode.el | 509 (let ((beg (point))) 511 (delete-region beg (point))) 777 (beg (unwind-protect 783 (pattern (buffer-substring beg end)) 789 (goto-char beg) 832 (delete-region beg end)
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_allocator.cpp | 306 void *beg = allocator.GetBlockBegin(p); local 307 if (!beg) 309 Metadata *b = (Metadata *)allocator.GetMetaData(beg); 315 return (const void *)beg; 320 const void *beg = allocator.GetBlockBegin(p); local 321 if (beg != p) return 0;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan_abi/ |
H A D | asan_abi.cpp | 72 void *__asan_abi_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, argument
|
H A D | asan_abi.h | 77 void *__asan_abi_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
|
/freebsd-current/sys/contrib/zlib/ |
H A D | inffast.c | 55 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local 82 beg = out - (start - strm->avail_out); 166 op = (unsigned)(out - beg); /* max distance in output */
|
/freebsd-current/contrib/libucl/src/ |
H A D | ucl_parser.c | 137 const unsigned char *p, *beg = NULL; local 147 beg = p; 152 ucl_save_comment (parser, beg, p - beg); 153 beg = NULL; 166 beg = p; 183 ucl_save_comment (parser, beg, p - beg + 1); 184 beg = NULL; 211 if (beg 1586 ucl_parse_multiline_string(struct ucl_parser *parser, struct ucl_chunk *chunk, const unsigned char *term, int term_len, unsigned char const **beg, bool *var_expand) argument [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.cpp | 419 const void *beg = allocator.GetBlockBegin(untagged_ptr); local 420 if (!beg) 423 Metadata *b = (Metadata *)allocator.GetMetaData(beg); 428 return (const void *)AddTagToPointer((uptr)beg, tag); 434 const void *beg = allocator.GetBlockBegin(untagged_ptr); local 435 if (!beg) 437 Metadata *b = (Metadata *)allocator.GetMetaData(beg);
|
/freebsd-current/contrib/nvi/vi/ |
H A D | vi.c | 1034 size_t beg, end, len; local 1057 beg = sp->cno; beg < len && ISSPACE(p[beg]); moved = 1, ++beg); 1058 if (beg >= len) { 1063 sp->cno = beg; 1074 for (end = beg; ++end < len && inword(p[end]);); 1077 vip->klen = len = (end - beg); 1079 MEMMOVE(vip->keyw, p + beg, le [all...] |