/freebsd-11-stable/sys/i386/i386/ |
H A D | sys_machdep.c | 74 static int i386_set_ldt_data(struct thread *, int start, int num, 358 if (uap->start > uap->start + uap->length || 359 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) 362 for (i = uap->start; i < uap->start + uap->length; i++) { 379 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) 389 i = uap->start; 394 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { 533 printf("i386_get_ldt: start 710 i386_set_ldt_data(struct thread *td, int start, int num, union descriptor *descs) argument [all...] |
/freebsd-11-stable/contrib/diff/src/ |
H A D | context.c | 390 find_hunk (struct change *start) 406 top0 = start->line0 + start->deleted; 407 top1 = start->line1 + start->inserted; 408 prev = start; 409 start = start->link; 410 thresh = (prev->ignore || (start && start 384 find_hunk(struct change *start) argument [all...] |
/freebsd-11-stable/contrib/apr/strings/ |
H A D | apr_strings.c | 364 char *start = buf + BUFFER_SIZE - 1; local 373 *start = 0; 375 *--start = '0' + (n % 10); 379 *--start = '-'; 381 return start; 388 char *start = buf + BUFFER_SIZE - 1; local 397 *start = 0; 399 *--start = (char)('0' + (n % 10)); 403 *--start = '-'; 405 return start; 412 char *start = buf + BUFFER_SIZE - 1; local [all...] |
/freebsd-11-stable/tools/regression/zfs/ |
H A D | misc.sh | 269 start=0 271 start=${ndisks} 273 ndisks=$((start+$1)) 274 n=$((ndisks-$start)) 280 for i in `nums $n $start`; do 328 start=0 330 start=${nfiles} 332 nfiles=$((start+$1)) 333 n=$((nfiles-$start)) 339 for i in `nums $n $start`; d [all...] |
/freebsd-11-stable/tests/sys/kqueue/libkqueue/ |
H A D | timer.c | 220 long start; local 229 start = now(); 244 elapsed = now() - start; 265 long start; local 281 start = now(); 290 elapsed = now() - start; 309 long start; local 325 start = now(); 334 elapsed = now() - start; 360 long start; local 418 long start; local [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | sys_machdep.c | 350 if (uap->start > uap->start + uap->length || 351 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) 383 for (i = uap->start; i < uap->start + uap->length; i++) { 400 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) 409 i = uap->start; 414 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { 564 printf("amd64_get_ldt: start=%u num=%u descs=%p\n", 565 uap->start, ua 738 amd64_set_ldt_data(struct thread *td, int start, int num, struct user_segment_descriptor *descs) argument [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | gen-protos.c | 67 parse_fn_proto (char *start, char *end, struct fn_decl *fn) argument 77 fprintf (stderr, "Funny input line: %s\n", start); 83 fprintf (stderr, "Funny input line: %s\n", start); 104 progname, start); 117 decl_start = start;
|
/freebsd-11-stable/contrib/apr-util/buckets/ |
H A D | apr_buckets_simple.c | 41 b->start += point; 51 *str = (char *)b->data + b->start; 62 b->start = 0; 91 b = apr_bucket_heap_make(b, (char *)b->data + b->start, b->length, NULL); 104 b->start = 0;
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | pl310.c | 258 pl310_wbinv_range(vm_paddr_t start, vm_size_t size) argument 265 if (start & g_l2cache_align_mask) { 266 size += start & g_l2cache_align_mask; 267 start &= ~g_l2cache_align_mask; 287 pl310_write4(pl310_softc, PL310_CLEAN_LINE_PA, start); 288 pl310_write4(pl310_softc, PL310_INV_LINE_PA, start); 292 start); 293 start += g_l2cache_line_size; 305 pl310_wb_range(vm_paddr_t start, vm_size_t size) argument 312 if (start 333 pl310_inv_range(vm_paddr_t start, vm_size_t size) argument [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | mktemp.c | 111 char *start, *trv, *suffp, *carryp; local 144 start = trv + 1; 147 memcpy(carrybuf, start, suffp - start); 186 for (trv = start, carryp = carrybuf;;) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_memcpy.c | 49 unsigned char *start[BLOCKTYPES] = { variable 93 start[2] = auto1; 94 start[3] = auto2; 109 runTest(start[i], start[j]);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cpp | 132 if (IsAppMem(segment.start)) continue; 133 if (segment.start >= HeapMemEnd() && segment.start < HeapEnd()) continue; 136 if (segment.start >= VdsoBeg()) // vdso 139 segment.start, segment.end);
|
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_ranges.c | 35 Dwarf_Unsigned start, end; local 41 start = dbg->read(ds->ds_data, &off, cu->cu_pointer_size); 45 rg[i].dwr_addr1 = start; 47 if (start == 0 && end == 0) 49 else if ((start == ~0U && cu->cu_pointer_size == 4) || 50 (start == ~0ULL && cu->cu_pointer_size == 8)) 58 if (start == 0 && end == 0)
|
/freebsd-11-stable/crypto/heimdal/lib/wind/ |
H A D | gen-normalize.py | 177 start = 0 variable 178 while start < 16 and l[start] == None: 179 start += 1 181 while end > start and l[end - 1] == None: 183 tableStart[k] = start 186 for i in range(start, end):
|
/freebsd-11-stable/sys/powerpc/psim/ |
H A D | ata_iobus.c | 139 rman_res_t start, rman_res_t end, rman_res_t count, 149 * The reg array for the PSIM ata device has 6 start/size entries: 164 start = ofw_regs[4]; 165 end = start + ATA_IOSIZE - 1; 169 start, end, count, flags); 174 start = ofw_regs[10]; 175 end = start + ATA_CTLIOSIZE - 1; 179 start, end, count, flags); 138 ata_iobus_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_open_memory.c | 44 const unsigned char *start; member in struct:read_memory_data 78 mine->start = mine->p = (const unsigned char *)buff; 79 mine->end = mine->start + size; 154 mine->p = mine->start + offset; 165 if (mine->p < mine->start) { 166 mine->p = mine->start; 173 return (mine->p - mine->start);
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | read_open_memory.c | 42 const unsigned char *start; member in struct:read_memory_data 106 mine->start = mine->p = (const unsigned char *)buff; 107 mine->end = mine->start + size; 190 mine->p = mine->start + offset; 199 if (mine->p < mine->start) { 200 mine->p = mine->start; 207 return (mine->p - mine->start);
|
/freebsd-11-stable/sys/mips/nlm/ |
H A D | xlp_simplebus.c | 168 rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) 186 isdefault = RMAN_IS_DEFAULT_RANGE(start, end); 193 start = rle->start; 195 end = ulmax(rle->end, start + count - 1); 200 if (start >= sc->ranges[j].bus && end < 202 start -= sc->ranges[j].bus; 203 start += sc->ranges[j].host; 212 "%#jx-%#jx\n", start, end); 226 if (start > 167 xlp_simplebus_alloc_resource(device_t bus, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument [all...] |
/freebsd-11-stable/usr.sbin/makefs/ |
H A D | makefs.c | 96 struct timeval start; local 119 ch = gettimeofday(&start, NULL); 120 start_time.tv_sec = start.tv_sec; 121 start_time.tv_nsec = start.tv_usec * 1000; 274 printf("start time: %ld.%ld, %s", 299 TIMER_START(start); 301 TIMER_RESULTS(start, "walk_dir"); 305 TIMER_START(start); 307 TIMER_RESULTS(start, "manifest"); 320 TIMER_START(start); [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_parse.c | 105 const char *s, int *off, const u_char *start, 111 int index, const u_char *start, u_char *buf, 114 const u_char *start, const u_char *buf, 185 const char *s, int *off, const u_char *const start, 188 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); 200 const u_char *const start, u_char *buf, int *buflen) 205 "{}", &off, start, buf, buflen, CT_STRUCT); 239 const char *s, int *off, const u_char *const start, 243 s, off, start, buf, buflen, CT_FIXEDARRAY); 256 const u_char *const start, u_cha 184 ng_struct_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 199 ng_struct_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 238 ng_fixedarray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 255 ng_fixedarray_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 287 ng_array_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 302 ng_array_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 334 ng_int8_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 385 ng_int8_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 429 ng_int16_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 481 ng_int16_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 525 ng_int32_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 580 ng_int32_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 624 ng_int64_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 675 ng_int64_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 719 ng_string_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 756 ng_string_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 782 ng_fixedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 819 ng_fixedstring_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 886 ng_sizedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 929 ng_sizedstring_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 954 ng_ipaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 991 ng_ipaddr_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 1018 ng_enaddr_parse(const struct ng_parse_type *type, const char *s, int *const off, const u_char *const start, u_char *const buf, int *const buflen) argument 1075 ng_parse_bytearray_subtype_getLength(const struct ng_parse_type *type, const u_char *start, const u_char *buf) argument 1095 ng_bytearray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 1144 ng_bytearray_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 1170 ng_parse_ng_mesg_getLength(const struct ng_parse_type *type, const u_char *start, const u_char *buf) argument 1201 ng_parse_composite(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen, const enum comptype ctype) argument 1471 ng_get_composite_elem_default(const struct ng_parse_type *type, int index, const u_char *const start, u_char *buf, int *buflen, const enum comptype ctype) argument 1517 ng_get_composite_len(const struct ng_parse_type *type, const u_char *const start, const u_char *buf, const enum comptype ctype) argument 1732 int start, off; local [all...] |
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_pci.c | 230 pcib_is_isa_range(struct pcib_softc *sc, rman_res_t start, rman_res_t end, argument 239 if (start + count - 1 != end) 243 if (start >= 65536) 247 if (start < 0x100) 251 * If the start address is an alias, the range is an alias. 252 * Otherwise, compute the start of the next alias range and 255 if ((start & 0x300) != 0) 257 next_alias = (start & ~0x3fful) | 0x100; 265 "I/O range %#jx-%#jx overlaps with an ISA alias\n", start, 294 typedef void (nonisa_callback)(rman_res_t start, rman_res_ 297 pcib_walk_nonisa_ranges(rman_res_t start, rman_res_t end, nonisa_callback *cb, void *arg) argument 328 count_ranges(rman_res_t start, rman_res_t end, void *arg) argument 343 alloc_ranges(rman_res_t start, rman_res_t end, void *arg) argument 367 pcib_alloc_nonisa_ranges(struct pcib_softc *sc, rman_res_t start, rman_res_t end) argument 681 pcib_suballoc_bus(struct pcib_secbus *bus, device_t child, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 730 pcib_alloc_subbus(struct pcib_secbus *bus, device_t child, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 1844 pcib_suballoc_resource(struct pcib_softc *sc, struct pcib_window *w, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 1882 pcib_alloc_new_window(struct pcib_softc *sc, struct pcib_window *w, int type, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 2053 pcib_grow_window(struct pcib_softc *sc, struct pcib_window *w, int type, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 2220 pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 2309 pcib_adjust_resource(device_t bus, device_t child, int type, struct resource *r, rman_res_t start, rman_res_t end) argument 2344 pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | eqn.c | 312 ep->data = ep->start = ep->end = NULL; 342 ep->defs[i].keysz, ep->start, ep->toksz)) 350 * MODE_QUOTED: Use *ep->start as the delimiter; the token ends 353 * MODE_QUOTED when *ep->start is '"'. 354 * MODE_NOSUB: If *ep->start is a curly brace, the token ends after it; 364 * a token match, *ep->start is set to an allocated string that the 374 size_t start; local 385 ep->start = ep->end; 388 switch (*ep->start) { 399 ep->end = strchr(ep->start [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | tncc.c | 606 static int tncc_get_type(char *start, unsigned int *type) argument 608 char *pos = os_strstr(start, "<Type>"); 617 static unsigned char * tncc_get_base64(char *start, size_t *decoded_len) argument 622 pos = os_strstr(start, "<Base64>"); 643 static enum tncc_process_res tncc_get_recommendation(char *start) argument 648 pos = os_strstr(start, "<TNCCS-Recommendation "); 689 char *buf, *start, *end, *pos, *pos2, *payload; local 702 start = os_strstr(buf, "<TNCCS-Batch "); 704 if (start == NULL || end == NULL || start > en 1005 tncc_parse_imc(char *start, char *end, int *error) argument [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | pmap_dispatch.c | 98 pmap_advise(pmap_t pmap, vm_offset_t start, vm_offset_t end, int advice) argument 101 CTR5(KTR_PMAP, "%s(%p, %#x, %#x, %d)", __func__, pmap, start, end, 103 MMU_ADVISE(mmu_obj, pmap, start, end, advice); 153 pmap_enter_object(pmap_t pmap, vm_offset_t start, vm_offset_t end, argument 157 CTR6(KTR_PMAP, "%s(%p, %#x, %#x, %p, %#x)", __func__, pmap, start, 159 MMU_ENTER_OBJECT(mmu_obj, pmap, start, end, m_start, prot); 235 pmap_map(vm_offset_t *virt, vm_paddr_t start, vm_paddr_t end, int prot) argument 238 CTR5(KTR_PMAP, "%s(%p, %#x, %#x, %#x)", __func__, virt, start, end, 240 return (MMU_MAP(mmu_obj, virt, start, end, prot)); 295 pmap_protect(pmap_t pmap, vm_offset_t start, vm_offset_ argument 304 pmap_qenter(vm_offset_t start, vm_page_t *m, int count) argument 312 pmap_qremove(vm_offset_t start, int count) argument 328 pmap_remove(pmap_t pmap, vm_offset_t start, vm_offset_t end) argument 360 pmap_unwire(pmap_t pmap, vm_offset_t start, vm_offset_t end) argument 433 pmap_bootstrap(vm_offset_t start, vm_offset_t end) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | mergeinfo.c | 73 if (in1->start <= in2->end && in2->start <= in1->end) 79 output->start = MIN(in1->start, in2->start); 126 * Note: The smallest valid value of RANGE->start is 0 because it is an 131 (SVN_IS_VALID_REVNUM((range)->start) && ((range)->start < (range)->end)) 165 if (!(r1->start <= r2->end && r2->start < 862 svn_revnum_t start, end; member in struct:rangelist_interval_t 2017 svn_mergeinfo_inheritable2(svn_mergeinfo_t *output, svn_mergeinfo_t mergeinfo, const char *path, svn_revnum_t start, svn_revnum_t end, svn_boolean_t inheritable, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 2058 svn_rangelist_inheritable2(svn_rangelist_t **inheritable_rangelist, const svn_rangelist_t *rangelist, svn_revnum_t start, svn_revnum_t end, svn_boolean_t inheritable, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument 2521 svn_rangelist__initialize(svn_revnum_t start, svn_revnum_t end, svn_boolean_t inheritable, apr_pool_t *result_pool) argument [all...] |