/freebsd-11.0-release/contrib/ncurses/ncurses/base/ |
H A D | lib_redrawln.c | 45 wredrawln(WINDOW *win, int beg, int num) argument 52 T((T_CALLED("wredrawln(%p,%d,%d)"), (void *) win, beg, num)); 59 if (beg < 0) 60 beg = 0; 62 if (touchline(win, beg, num) == ERR) 65 if (touchline(CurScreen(sp), beg + win->_begy, num) == ERR) 68 end = beg + num; 79 for (i = beg; i < end; i++) {
|
/freebsd-11.0-release/contrib/nvi/vi/ |
H A D | v_increment.c | 58 size_t beg, blen, end, len, nlen, wlen; local 93 for (beg = vp->m_start.cno; beg < len && ISSPACE(p[beg]); ++beg); 94 if (beg >= len) 96 if (beg != vp->m_start.cno) { 97 sp->cno = beg; 112 wlen = len - beg; 113 if (p[beg] [all...] |
/freebsd-11.0-release/contrib/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...] |
H A D | asan_report.cc | 262 for (uptr p = g.beg; p < g.beg + g.size - 1; p++) { 266 if (*(char*)(g.beg + g.size - 1) != '\0') return; 268 (char *)g.beg); 296 if (addr < g.beg) { 298 g.beg - addr); 299 } else if (addr + size > g.beg + g.size) { 300 if (addr < g.beg + g.size) 301 addr = g.beg + g.size; 303 addr - (g.beg 433 uptr beg = (uptr)internal_simple_strtoll(p, &p, 10); local 913 ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end, uptr old_mid, uptr new_mid, BufferedStackTrace *stack) argument [all...] |
H A D | asan_fake_stack.cc | 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); 249 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, argument 259 if (beg) *beg = reinterpret_cast<void*>(frame_beg);
|
H A D | asan_report.h | 22 uptr beg; member in struct:__asan::StackVarDescr 72 void ReportBadParamsToAnnotateContiguousContainer(uptr beg, uptr end,
|
/freebsd-11.0-release/gnu/usr.bin/grep/ |
H A D | search.c | 327 register char const *buflim, *beg, *end; local 364 for (beg = end = buf; end < buflim; beg = end) 382 offset = kwsexec (kwset, beg, buflim - beg, &kwsm); 391 size_t mlen = mbrlen (beg, bytes_left, &mbs); 393 last_char = beg; 398 beg++; 408 beg += mlen; 414 beg 680 char const *beg, *lim, *err; local 891 register char const *beg, *try, *end; local [all...] |
H A D | grep.c | 562 char const *beg; local 563 for (beg = lastnl; beg != lim; beg = memchr (beg, eolbyte, lim - beg), beg++) 588 prline (char const *beg, char const *lim, int sep) argument 594 nlscan (beg); 601 uintmax_t pos = add_count (totalcc, beg 686 prtext(char const *beg, char const *lim, int *nlinesp) argument 751 grepbuf(char const *beg, char const *lim) argument 809 char *beg; local [all...] |
/freebsd-11.0-release/contrib/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
|
H A D | sanitizer_common.cc | 351 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable) { argument 353 AddressRange *r = new(mem) AddressRange(beg, end, executable); 360 if (r->beg <= address && address < r->end) 432 const char *beg = path; local 434 const char *end = internal_strchrnul(beg, kPathSeparator); 435 uptr prefix_len = end - beg; 437 internal_memcpy(buffer.data(), beg, prefix_len); 445 beg = end + 1;
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | timezone.c | 58 char *beg, local 61 if ( (beg = getenv("TZNAME")) ) { /* set in environment */ 62 if ((end = strchr(beg, ','))) { /* "PST,PDT" */ 66 (void)strncpy(czone,beg,sizeof(czone) - 1); 71 return(beg);
|
/freebsd-11.0-release/contrib/gcc/config/ |
H A D | svr3.h | 144 func_ptr *p, *beg = alloca (0); \ 145 for (p = beg; *p; p++) \ 147 while (p != beg) \ 156 func_ptr *p, *beg = alloca (0); \ 157 for (p = beg; *p; ) \
|
/freebsd-11.0-release/contrib/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...] |
H A D | asan_interface.h | 58 // If at least one byte in [beg, beg+size) is poisoned, return the address 60 void *__asan_region_is_poisoned(void *beg, size_t size); 139 // the fake frame and sets beg/end to the boundaries of this fake frame. 140 // Otherwise returns NULL and does not touch beg/end. 141 // If beg/end are NULL, they are not touched. 144 void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
|
/freebsd-11.0-release/contrib/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...] |
/freebsd-11.0-release/contrib/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);
|
/freebsd-11.0-release/crypto/heimdal/appl/push/ |
H A D | push.c | 315 char *beg, *p; local 336 beg = in_buf; 339 && (p = strstr(beg, "\r\n")) != NULL) { 341 char *copy = beg; 351 if (beg[0] == '.' && beg[1] == '\r' && beg[2] == '\n') { 362 rem -= p - beg + 2; 363 beg = p + 2; 365 char *copy = beg; [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFAttribute.cpp | 28 collection::const_iterator beg = m_infos.begin(); local 30 for (pos = beg; pos != end; ++pos) 33 return std::distance(beg, pos);
|
/freebsd-11.0-release/usr.bin/mail/ |
H A D | list.c | 118 int tok, beg, mc, star, other, valdot, colmod, colresult; local 131 beg = 0; 142 if (beg != 0) { 145 for (i = beg; i <= lexnumber; i++) 148 beg = 0; 151 beg = lexnumber; 152 if (check(beg, f)) 157 mark(beg); 158 beg = 0; 163 if (beg ! [all...] |
/freebsd-11.0-release/sys/dev/netmap/ |
H A D | netmap_monitor.c | 404 u_int beg, end, i; local 417 beg = kring->nr_hwtail; 423 beg = kring->nr_hwcur; 427 rel_slots = end - beg; 455 beg += (rel_slots - free_slots); 456 if (beg >= kring->nkr_num_slots) 457 beg -= kring->nkr_num_slots; 463 struct netmap_slot *s = &ring->slot[beg]; 470 ND(5, "beg %d buf_idx %d", beg, tm 548 u_int i, mlim, beg; local [all...] |
/freebsd-11.0-release/usr.sbin/pmcstudy/ |
H A D | eval_expr.c | 211 walk_back_and_insert_paren(struct expression **beg, struct expression *frm) argument 225 if (at == *beg) { 230 *beg = ex; 242 /* Skip through until we reach beg or all ( closes */ 257 if (at == *beg) { 318 add_precendence(struct expression **beg, struct expression *start, struct expression *end) argument 341 walk_back_and_insert_paren(beg, at); 353 set_math_precidence(struct expression **beg, struct expression *exp, struct expression **stopped) argument 372 add_precendence(beg, start, end); 377 set_math_precidence(beg, a [all...] |
/freebsd-11.0-release/usr.bin/split/ |
H A D | split.c | 345 char beg, end; local 359 beg = '0'; 363 beg = 'a'; 366 pattlen = end - beg + 1; 382 fpnt[i] = tfnum % pattlen + beg;
|