| /freebsd-13.1/usr.sbin/bluetooth/sdpcontrol/ |
| H A D | search.c | 81 if (end - start < 2) { in print_service_class_id_list() 87 SDP_GET8(type, start); in print_service_class_id_list() 114 while (start < end) { in print_service_class_id_list() 270 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 278 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 286 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 294 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 302 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 310 for (; start < end && len > 0; start ++, len --) in print_protocol_descriptor() 390 print_protocol_descriptor(start, start + len); in print_protocol_descriptor_list() [all …]
|
| /freebsd-13.1/lib/libsdp/ |
| H A D | util.c | 303 while (start < end) { in sdp_print() 307 SDP_GET8(type, start); in sdp_print() 382 start += value.uint8; in sdp_print() 403 sdp_print(level + 1, start, start + value.uint8); in sdp_print() 404 start += value.uint8; in sdp_print() 409 sdp_print(level + 1, start, start + value.uint16); in sdp_print() 415 sdp_print(level + 1, start, start + value.uint32); in sdp_print() 422 sdp_print(level + 1, start, start + value.uint8); in sdp_print() 423 start += value.uint8; in sdp_print() 428 sdp_print(level + 1, start, start + value.uint16); in sdp_print() [all …]
|
| /freebsd-13.1/contrib/mandoc/ |
| H A D | mandoc.c | 107 if (NULL == start) in mandoc_escape() 127 *start = ++*end; in mandoc_escape() 152 *start = ++*end; in mandoc_escape() 245 *start = ++*end; in mandoc_escape() 267 term = **start; in mandoc_escape() 268 *start = ++*end; in mandoc_escape() 298 term = **start; in mandoc_escape() 299 *start = ++*end; in mandoc_escape() 314 (*start)++; in mandoc_escape() 437 *start += 4; in mandoc_escape() [all …]
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_sack.c | 195 start = tp->sackblks[i].start; in tcp_update_dsack_list() 218 head_blk.start = start; in tcp_update_dsack_list() 221 mid_blk.start = SEQ_MIN(mid_blk.start, start); in tcp_update_dsack_list() 223 if ((mid_blk.start == start) && in tcp_update_dsack_list() 241 saved_blks[n].start = mid_blk.start; in tcp_update_dsack_list() 325 head_blk.start = start; in tcp_update_sack_list() 331 start = head_blk.start; in tcp_update_sack_list() 339 if ((head_blk.start != start) || in tcp_update_sack_list() 426 saved_blks[num_saved].start = start; in tcp_clean_dsack_blocks() 472 hole->start = start; in tcp_sackhole_alloc() [all …]
|
| /freebsd-13.1/usr.bin/primes/ |
| H A D | primes.c | 120 start = 0; in main() 168 if (start > stop) in main() 170 primes(start, stop); in main() 223 if (start < 3) { in primes() 224 start = (ubig)2; in primes() 229 if (stop <= start) { in primes() 236 if (start != 2 && (start&0x1) == 0) { in primes() 237 ++start; in primes() 258 start = *pr_limit+2; in primes() 265 while (start < stop) { in primes() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | LockFileBase.cpp | 26 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) { in WriteLock() argument 27 return DoLock([&](const uint64_t start, in WriteLock() 29 start, len); in WriteLock() 33 return DoLock([&](const uint64_t start, in TryWriteLock() 35 start, len); in TryWriteLock() 39 return DoLock([&](const uint64_t start, in ReadLock() 41 start, len); in ReadLock() 45 return DoLock([&](const uint64_t start, in TryReadLock() 47 start, len); in TryReadLock() 73 const auto error = locker(start, len); in DoLock() [all …]
|
| /freebsd-13.1/tests/sys/file/ |
| H A D | closefrom_test.c | 153 if (start == -1) in main() 159 if (start != fd) in main() 166 if (fd != start) in main() 278 start = fd - 7; in main() 281 close_range(start + 3, start + 5, 0); in main() 282 for (i = start + 3; i < start + 6; ++i) { in main() 290 start + 3, start + 6); in main() 294 close_range(start + 4, start + 6, 0); in main() 306 close_range(start, start + 4, 0); in main() 341 for (i = start + 1; i <= start + 4; i++) { in main() [all …]
|
| /freebsd-13.1/sys/dev/iommu/ |
| H A D | iommu_gas.c | 129 KASSERT(a->end <= b->start || b->end <= a->start || in iommu_gas_cmp_entries() 130 a->end == a->start || b->end == b->start, in iommu_gas_cmp_entries() 232 begin->start = 0; in iommu_gas_init_domain() 334 a->entry->start = start; in iommu_gas_match_one() 646 iommu_gaddr_t start; in iommu_gas_map_region() local 654 start = entry->start; in iommu_gas_map_region() 667 entry->end - entry->start, ma + OFF_TO_IDX(start - entry->start), in iommu_gas_map_region() 687 entry->start = start; in iommu_gas_reserve_region_locked() 728 while (start < end) { in iommu_gas_reserve_region_extend() 734 key.start = key.end = start; in iommu_gas_reserve_region_extend() [all …]
|
| /freebsd-13.1/contrib/wpa/src/wps/ |
| H A D | wps_er_ssdp.c | 59 for (start = buf; start && *start; start = pos) { in wps_er_ssdp_rx() 60 pos = os_strchr(start, '\n'); in wps_er_ssdp_rx() 73 start += 9; in wps_er_ssdp_rx() 74 while (*start == ' ') in wps_er_ssdp_rx() 75 start++; in wps_er_ssdp_rx() 76 location = start; in wps_er_ssdp_rx() 78 if (os_strstr(start, "ssdp:byebye")) in wps_er_ssdp_rx() 81 start += 14; in wps_er_ssdp_rx() 82 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx() 88 start += 4; in wps_er_ssdp_rx() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | clear_cache.c | 61 void __clear_cache(void *start, void *end) { in __clear_cache() argument 66 FlushInstructionCache(GetCurrentProcess(), start, end - start); in __clear_cache() 71 arg.addr = (uintptr_t)start; in __clear_cache() 72 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache() 95 const uintptr_t start_int = (uintptr_t)start; in __clear_cache() 99 cacheflush(start, (uintptr_t)end - (uintptr_t)start, BCACHE); in __clear_cache() 101 uint64_t xstart = (uint64_t)(uintptr_t)start; in __clear_cache() 163 register void *start_reg __asm("a0") = start; in __clear_cache() 175 arg.addr = (uintptr_t)start; in __clear_cache() 176 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache() [all …]
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | str.h | 44 const char *start; member 113 sub.start = start; in Substring_Init() 127 return (size_t)(sub.end - sub.start); in Substring_Length() 133 return sub.start == sub.end; in Substring_IsEmpty() 149 memcmp(sub.start, str.start, len) == 0; in Substring_Eq() 157 return Substring_Init(sub.start + start, sub.start + end); in Substring_Sub() 164 memcmp(sub.start, prefix.start, Substring_Length(prefix)) == 0; in Substring_HasPrefix() 189 for (p = sub.start; p != sub.end; p++) in Substring_SkipFirst() 192 return sub.start; in Substring_SkipFirst() 281 for (p = start; p != end; p++) in LazyBuf_AddBytesBetween() [all …]
|
| /freebsd-13.1/sys/x86/x86/ |
| H A D | mptable_pci.c | 84 if ((start & 0xfc00) != (end & 0xfc00)) in mptable_is_isa_range() 86 start &= ~0xfc00; in mptable_is_isa_range() 88 return (start >= 0x100 && end <= 0x3ff); in mptable_is_isa_range() 96 if ((start & 0xfc00) != (end & 0xfc00)) in mptable_is_vga_range() 98 start &= ~0xfc00; in mptable_is_vga_range() 100 return (pci_is_vga_ioport_range(start, end)); in mptable_is_vga_range() 116 if (mptable_is_isa_range(start, end)) { in mptable_hostb_alloc_resource() 122 type, rid, start, end, count, flags)); in mptable_hostb_alloc_resource() 127 if (mptable_is_vga_range(start, end)) { in mptable_hostb_alloc_resource() 133 type, rid, start, end, count, flags)); in mptable_hostb_alloc_resource() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | range_tree.c | 290 ASSERT3U(start + size, >, start); in range_tree_add_impl() 325 start = MIN(start, rstart); in range_tree_add_impl() 441 ASSERT3U(start + size, >, start); in range_tree_remove_impl() 592 ASSERT3U(start + size, >, start); in range_tree_find() 626 ASSERT3U(start + size, >, start); in range_tree_find_in() 663 ASSERT3U(start + size, >, start); in range_tree_clear() 840 range_tree_add(addto, start, end - start); in range_tree_remove_xor_add_segment() 845 start); in range_tree_remove_xor_add_segment() 856 range_tree_add(addto, start, overlap_start - start); in range_tree_remove_xor_add_segment() 871 ASSERT(start == end || start == rs_get_end(&rs, in range_tree_remove_xor_add_segment() [all …]
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_acl.c | 1180 field[fields].start = start; in archive_acl_from_text_w() 1379 tag, id, name.start, name.end - name.start); in archive_acl_from_text_w() 1405 if (*start < L'0' || *start > L'9') in isint_w() 1414 start++; in isint_w() 1432 p = start; in ismode_w() 1663 field[fields].start = start; in archive_acl_from_text_l() 1869 tag, id, name.start, name.end - name.start, sc); in archive_acl_from_text_l() 1895 if (*start < '0' || *start > '9') in isint() 1904 start++; in isint() 1922 p = start; in ismode() [all …]
|
| /freebsd-13.1/sys/dev/cardbus/ |
| H A D | cardbus_cis.c | 106 uint32_t *start, int *rid); 174 start, off, info, argp); in decode_tuple_linktarget() 389 loc = start + *off; in cardbus_read_tuple_conf() 419 *tupleid = bus_read_1(res, start + *off); in cardbus_read_tuple_mem() 420 *len = bus_read_1(res, start + *off + 1); in cardbus_read_tuple_mem() 456 space = *start & PCIM_CIS_ASI_MASK; in cardbus_read_tuple_init() 553 *start = imagebase + (*start & PCIM_CIS_ADDR_MASK); in cardbus_read_tuple_init() 555 *start = *start & PCIM_CIS_ADDR_MASK; in cardbus_read_tuple_init() 578 tupledata, start, off, NULL, argp)); in decode_tuple() 589 uint32_t start, off; in cardbus_parse_cis() local [all …]
|
| /freebsd-13.1/sys/isa/ |
| H A D | isahint.c | 45 int sensitive, start, count; in isa_hinted_child() local 62 start = 0; in isa_hinted_child() 64 resource_int_value(name, unit, "port", &start); in isa_hinted_child() 66 if (start > 0 || count > 0) in isa_hinted_child() 69 start = 0; in isa_hinted_child() 71 resource_int_value(name, unit, "maddr", &start); in isa_hinted_child() 73 if (start > 0 || count > 0) in isa_hinted_child() 76 if (resource_int_value(name, unit, "irq", &start) == 0 && start > 0) in isa_hinted_child() 77 bus_set_resource(child, SYS_RES_IRQ, 0, start, 1); in isa_hinted_child() 79 if (resource_int_value(name, unit, "drq", &start) == 0 && start >= 0) in isa_hinted_child() [all …]
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
| H A D | tst.schrock.ksh | 46 self->start = vtimestamp; 50 /self->start/ 52 trace(vtimestamp - self->start); 56 /self->start/ 58 trace(vtimestamp - self->start); 62 /self->start/ 64 self->start = 0; 69 /self->start/ 71 trace(vtimestamp - self->start); 75 /self->start/ [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_physmem.c | 169 start = hwp->addr; in regions_to_avail() 170 end = hwp->size + start; in regions_to_avail() 185 if (xend <= start) in regions_to_avail() 198 start = xend; in regions_to_avail() 217 if (xstart <= start) in regions_to_avail() 228 start = xend; in regions_to_avail() 236 if (xstart <= start) in regions_to_avail() 237 start = xend; in regions_to_avail() 245 if (end > start) { in regions_to_avail() 250 if (end <= start) in regions_to_avail() [all …]
|
| /freebsd-13.1/contrib/ntp/sntp/libopts/compat/ |
| H A D | pathfind.c | 162 int i, start; in canonicalize_pathname() local 178 start = i++; in canonicalize_pathname() 183 if (!result[start]) in canonicalize_pathname() 191 if ((start + 1) != i) in canonicalize_pathname() 193 if ((start + 1) != i && (start != 0 || i != 2)) in canonicalize_pathname() 197 i = start + 1; in canonicalize_pathname() 201 if (start > 0 && result[start - 1] == '\\') in canonicalize_pathname() 205 if ((start && !result[i]) in canonicalize_pathname() 216 i = (start < 0) ? 0 : start; in canonicalize_pathname() 223 while (--start > -1 && result[start] != '/') in canonicalize_pathname() [all …]
|
| /freebsd-13.1/lib/libpmc/pmu-events/ |
| H A D | jsmn.c | 51 int start, int end) in jsmn_fill_token() argument 54 token->start = start; in jsmn_fill_token() 67 int start; in jsmn_parse_primitive() local 69 start = parser->pos; in jsmn_parse_primitive() 92 parser->pos = start; in jsmn_parse_primitive() 101 parser->pos = start; in jsmn_parse_primitive() 108 parser->pos = start; in jsmn_parse_primitive() 124 int start = parser->pos; in jsmn_parse_string() local 136 parser->pos = start; in jsmn_parse_string() 164 parser->pos = start; in jsmn_parse_string() [all …]
|
| /freebsd-13.1/contrib/ntp/libjsmn/example/ |
| H A D | simple.c | 15 if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start && in jsoneq() 16 strncmp(json + tok->start, s, tok->end - tok->start) == 0) { in jsoneq() 45 printf("- User: %.*s\n", t[i+1].end-t[i+1].start, in main() 46 JSON_STRING + t[i+1].start); in main() 50 printf("- Admin: %.*s\n", t[i+1].end-t[i+1].start, in main() 51 JSON_STRING + t[i+1].start); in main() 55 printf("- UID: %.*s\n", t[i+1].end-t[i+1].start, in main() 56 JSON_STRING + t[i+1].start); in main() 66 printf(" * %.*s\n", g->end - g->start, JSON_STRING + g->start); in main() 70 printf("Unexpected key: %.*s\n", t[i].end-t[i].start, in main() [all …]
|
| /freebsd-13.1/sys/netinet/tcp_stacks/ |
| H A D | sack_filter.c | 163 if (SEQ_LEQ(sf->sf_blks[i].start, b->start) && in is_sack_on_board() 198 if (SEQ_LEQ(sf->sf_blks[i].start, b->start)) { in is_sack_on_board() 231 sf->sf_blks[i].start = b->start; in is_sack_on_board() 381 SEQ_LEQ(sf->sf_blks[i].start, sb->start)) { in sack_blocks_overlap_or_meet() 397 SEQ_GEQ(sf->sf_blks[i].start, sb->start) && in sack_blocks_overlap_or_meet() 424 if (SEQ_LT(sf->sf_blks[src].start, sf->sf_blks[into].start)) { in sack_collapse() 426 sf->sf_blks[into].start = sf->sf_blks[src].start; in sack_collapse() 585 if (SEQ_GT(in->start, sf->sf_blks[i].start)) in sack_filter_reject() 600 if (sf->sf_blks[i].start == in->start) { in sack_filter_reject() 741 uint32_t start; in main() local [all …]
|
| /freebsd-13.1/sys/contrib/dev/iwlwifi/fw/ |
| H A D | dbg.c | 310 u32 start, end; member 314 { .start = 0x00a00000, .end = 0x00a00000 }, 315 { .start = 0x00a0000c, .end = 0x00a00024 }, 316 { .start = 0x00a0002c, .end = 0x00a0003c }, 317 { .start = 0x00a00410, .end = 0x00a00418 }, 318 { .start = 0x00a00420, .end = 0x00a00420 }, 319 { .start = 0x00a00428, .end = 0x00a00428 }, 320 { .start = 0x00a00430, .end = 0x00a0043c }, 544 iwl_prph_dump_addr[i].start + 4; in iwl_dump_prph() 555 iwl_prph_dump_addr[i].start + 4, in iwl_dump_prph() [all …]
|
| /freebsd-13.1/usr.bin/bluetooth/rfcomm_sppd/ |
| H A D | rfcomm_sdp.c | 182 while (start < end) { in rfcomm_proto_list_parse() 198 if (end - start < 1) in rfcomm_proto_list_parse() 201 SDP_GET8(type, start); in rfcomm_proto_list_parse() 204 SDP_GET8(len, start); in rfcomm_proto_list_parse() 208 SDP_GET16(len, start); in rfcomm_proto_list_parse() 212 SDP_GET32(len, start); in rfcomm_proto_list_parse() 221 if (end - start < 3) in rfcomm_proto_list_parse() 246 if (end - start < 2) in rfcomm_proto_list_parse() 249 SDP_GET8(type, start); in rfcomm_proto_list_parse() 253 SDP_GET8(*channel, start); in rfcomm_proto_list_parse() [all …]
|
| /freebsd-13.1/sys/vm/ |
| H A D | vm_map.c | 1022 if (prior->right->start < entry->start) { in vm_map_entry_pred() 1406 } else if (entry->start == root->start) { in vm_map_entry_link() 1465 rlist->start = root->start; in vm_map_entry_unlink() 1791 new_entry->start = start; in vm_map_insert() 1865 start = MAX(start, vm_map_min(map)); in vm_map_findspace() 3058 if (entry->start < start) { in vm_map_madvise() 3192 start = MAX(in_start, in_entry->start); in vm_map_entry_in_transition() 3706 start = first_entry->start; in vm_map_sync() 4036 if (start < entry->start) in vm_map_check_protection() 4428 new_entry->start = old_entry->start; in vmspace_fork() [all …]
|