Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 2658) sorted by relevance

12345678910>>...107

/freebsd/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c81 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/lib/libsdp/
H A Dutil.c302 while (start < end) { in sdp_print()
306 SDP_GET8(type, start); in sdp_print()
381 start += value.uint8; in sdp_print()
402 sdp_print(level + 1, start, start + value.uint8); in sdp_print()
403 start += value.uint8; in sdp_print()
408 sdp_print(level + 1, start, start + value.uint16); in sdp_print()
414 sdp_print(level + 1, start, start + value.uint32); in sdp_print()
421 sdp_print(level + 1, start, start + value.uint8); in sdp_print()
422 start += value.uint8; in sdp_print()
427 sdp_print(level + 1, start, start + value.uint16); in sdp_print()
[all …]
/freebsd/contrib/mandoc/
H A Dmandoc.c107 if (NULL == start) in mandoc_escape()
127 *start = ++*end; in mandoc_escape()
152 *start = ++*end; in mandoc_escape()
271 term = **start; in mandoc_escape()
272 *start = ++*end; in mandoc_escape()
302 term = **start; in mandoc_escape()
303 *start = ++*end; in mandoc_escape()
318 (*start)++; in mandoc_escape()
441 *start += 4; in mandoc_escape()
455 if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0')) in mandoc_escape()
[all …]
/freebsd/sys/netinet/
H A Dtcp_sack.c197 start = tp->sackblks[i].start; in tcp_update_dsack_list()
220 head_blk.start = start; in tcp_update_dsack_list()
223 mid_blk.start = SEQ_MIN(mid_blk.start, start); in tcp_update_dsack_list()
225 if ((mid_blk.start == start) && in tcp_update_dsack_list()
243 saved_blks[n].start = mid_blk.start; in tcp_update_dsack_list()
327 head_blk.start = start; in tcp_update_sack_list()
333 start = head_blk.start; in tcp_update_sack_list()
341 if ((head_blk.start != start) || in tcp_update_sack_list()
428 saved_blks[num_saved].start = start; in tcp_clean_dsack_blocks()
474 hole->start = start; in tcp_sackhole_alloc()
[all …]
/freebsd/stand/kboot/kboot/
H A Dseg.c69 segs[nr_seg].start = start; in add_avail()
101 s->start = end + 1; in remove_avail()
123 if (s->start == start) { in remove_avail()
132 s->start = start; in remove_avail()
143 s->end = start - 1; in remove_avail()
144 s[1].start = start; in remove_avail()
153 s->end = start - 1; in remove_avail()
154 s[1].start = start; in remove_avail()
227 uint64_t start, end; in parse_line() local
249 *startp = start; in parse_line()
[all …]
/freebsd/usr.bin/primes/
H A Dprimes.c106 start = 0; in main()
154 if (start > stop) in main()
156 primes(start, stop); in main()
209 if (start < 3) { in primes()
210 start = (ubig)2; in primes()
215 if (stop <= start) { in primes()
222 if (start != 2 && (start&0x1) == 0) { in primes()
223 ++start; in primes()
244 start = *pr_limit+2; in primes()
251 while (start < stop) { in primes()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DLockFileBase.cpp23 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) { in WriteLock() argument
24 return DoLock([&](const uint64_t start, in WriteLock()
26 start, len); in WriteLock()
30 return DoLock([&](const uint64_t start, in TryWriteLock()
32 start, len); in TryWriteLock()
36 return DoLock([&](const uint64_t start, in ReadLock()
38 start, len); in ReadLock()
42 return DoLock([&](const uint64_t start, in TryReadLock()
44 start, len); in TryReadLock()
70 const auto error = locker(start, len); in DoLock()
[all …]
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dload_addr.c34 uint64_t start; member
61 uint64_t start, end; in kboot_get_phys_load_segment() local
126 if (rsvd_reg[b].start > rsvd_reg[b + 1].start) { in kboot_get_phys_load_segment()
138 if ((rsvd_reg[a + 1].start >= rsvd_reg[a].start) && in kboot_get_phys_load_segment()
153 start = 0; in kboot_get_phys_load_segment()
154 end = rsvd_reg[0].start; in kboot_get_phys_load_segment()
156 if ((start >= rsvd_reg[a].start) && in kboot_get_phys_load_segment()
164 if (start != end) { in kboot_get_phys_load_segment()
168 start = (start + align - 1UL) & ~(align - 1UL); in kboot_get_phys_load_segment()
171 if (start < end) in kboot_get_phys_load_segment()
[all …]
/freebsd/tests/sys/file/
H A Dclosefrom_test.c151 if (start == -1) in main()
157 if (start != fd) in main()
164 if (fd != start) in main()
276 start = fd - 7; in main()
279 close_range(start + 3, start + 5, 0); in main()
280 for (i = start + 3; i < start + 6; ++i) { in main()
288 start + 3, start + 6); in main()
292 close_range(start + 4, start + 6, 0); in main()
304 close_range(start, start + 4, 0); in main()
339 for (i = start + 1; i <= start + 4; i++) { in main()
[all …]
/freebsd/sys/dev/iommu/
H A Diommu_gas.c128 a->end == a->start || b->end == b->start, in iommu_gas_cmp_entries()
366 entry->start = start; in iommu_gas_match_one()
654 fentry.start = start + 1; in iommu_gas_remove_clip_left()
659 if (entry->start >= start || in iommu_gas_remove_clip_left()
666 res->start = entry->end = start; in iommu_gas_remove_clip_left()
721 KASSERT(start <= entry->start, in iommu_gas_remove_locked()
723 entry->start, entry->end, start)); in iommu_gas_remove_locked()
859 start = entry->start; in iommu_gas_map_region()
872 entry->end - entry->start, ma + OFF_TO_IDX(start - entry->start), in iommu_gas_map_region()
893 entry->start = start; in iommu_gas_reserve_region_locked()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dwps_er_ssdp.c59 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/sys/contrib/openzfs/module/zfs/
H A Drange_tree.c303 ASSERT3U(start + size, >, start); in range_tree_add_impl()
338 start = MIN(start, rstart); in range_tree_add_impl()
455 ASSERT3U(start + size, >, start); in range_tree_remove_impl()
606 ASSERT3U(start + size, >, start); in range_tree_find()
640 ASSERT3U(start + size, >, start); in range_tree_find_in()
677 ASSERT3U(start + size, >, start); in range_tree_clear()
786 range_tree_add(addto, start, end - start); in range_tree_remove_xor_add_segment()
791 start); in range_tree_remove_xor_add_segment()
802 range_tree_add(addto, start, overlap_start - start); in range_tree_remove_xor_add_segment()
817 ASSERT(start == end || start == rs_get_end(&rs, in range_tree_remove_xor_add_segment()
[all …]
/freebsd/sys/x86/x86/
H A Dmptable_pci.c81 if ((start & 0xfc00) != (end & 0xfc00)) in mptable_is_isa_range()
83 start &= ~0xfc00; in mptable_is_isa_range()
85 return (start >= 0x100 && end <= 0x3ff); in mptable_is_isa_range()
93 if ((start & 0xfc00) != (end & 0xfc00)) in mptable_is_vga_range()
95 start &= ~0xfc00; in mptable_is_vga_range()
97 return (pci_is_vga_ioport_range(start, end)); in mptable_is_vga_range()
113 if (mptable_is_isa_range(start, end)) { in mptable_hostb_alloc_resource()
119 type, rid, start, end, count, flags)); in mptable_hostb_alloc_resource()
124 if (mptable_is_vga_range(start, end)) { in mptable_hostb_alloc_resource()
130 type, rid, start, end, count, flags)); in mptable_hostb_alloc_resource()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_acl.c1179 field[fields].start = start; in archive_acl_from_text_w()
1378 tag, id, name.start, name.end - name.start); in archive_acl_from_text_w()
1404 if (*start < L'0' || *start > L'9') in isint_w()
1413 start++; in isint_w()
1431 p = start; in ismode_w()
1662 field[fields].start = start; in archive_acl_from_text_l()
1868 tag, id, name.start, name.end - name.start, sc); in archive_acl_from_text_l()
1894 if (*start < '0' || *start > '9') in isint()
1903 start++; in isint()
1921 p = start; in ismode()
[all …]
/freebsd/sys/dev/cardbus/
H A Dcardbus_cis.c104 uint32_t *start, int *rid);
172 start, off, info, argp); in decode_tuple_linktarget()
387 loc = start + *off; in cardbus_read_tuple_conf()
417 *tupleid = bus_read_1(res, start + *off); in cardbus_read_tuple_mem()
418 *len = bus_read_1(res, start + *off + 1); in cardbus_read_tuple_mem()
454 space = *start & PCIM_CIS_ASI_MASK; in cardbus_read_tuple_init()
551 *start = imagebase + (*start & PCIM_CIS_ADDR_MASK); in cardbus_read_tuple_init()
553 *start = *start & PCIM_CIS_ADDR_MASK; in cardbus_read_tuple_init()
576 tupledata, start, off, NULL, argp)); in decode_tuple()
587 uint32_t start, off; in cardbus_parse_cis() local
[all …]
/freebsd/sys/isa/
H A Disahint.c42 int sensitive, start, count; in isa_hinted_child() local
59 start = 0; in isa_hinted_child()
61 resource_int_value(name, unit, "port", &start); in isa_hinted_child()
63 if (start > 0 || count > 0) in isa_hinted_child()
66 start = 0; in isa_hinted_child()
68 resource_int_value(name, unit, "maddr", &start); in isa_hinted_child()
70 if (start > 0 || count > 0) in isa_hinted_child()
73 if (resource_int_value(name, unit, "irq", &start) == 0 && start > 0) in isa_hinted_child()
74 bus_set_resource(child, SYS_RES_IRQ, 0, start, 1); in isa_hinted_child()
76 if (resource_int_value(name, unit, "drq", &start) == 0 && start >= 0) in isa_hinted_child()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/
H A Dtst.schrock.ksh46 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/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c153 int i, start; in canonicalize_pathname() local
167 start = i++; in canonicalize_pathname()
172 if (!result[start]) in canonicalize_pathname()
180 if ((start + 1) != i) in canonicalize_pathname()
182 if ((start + 1) != i && (start != 0 || i != 2)) in canonicalize_pathname()
186 i = start + 1; in canonicalize_pathname()
190 if (start > 0 && result[start - 1] == '\\') in canonicalize_pathname()
194 if ((start && !result[i]) in canonicalize_pathname()
205 i = (start < 0) ? 0 : start; in canonicalize_pathname()
212 while (--start > -1 && result[start] != '/') in canonicalize_pathname()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dclear_cache.c61 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()
97 const uintptr_t start_int = (uintptr_t)start; in __clear_cache()
116 _flush_cache(start, end_int - start_int, BCACHE); in __clear_cache()
124 uint64_t xstart = (uint64_t)(uintptr_t)start; in __clear_cache()
186 register void *start_reg __asm("a0") = start; in __clear_cache()
198 arg.addr = (uintptr_t)start; in __clear_cache()
199 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache()
[all …]
/freebsd/contrib/ntp/libjsmn/example/
H A Dsimple.c15 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/contrib/bmake/
H A Dstr.h44 const char *start; member
115 sub.start = start; in Substring_Init()
129 return (size_t)(sub.end - sub.start); in Substring_Length()
135 return sub.start == sub.end; in Substring_IsEmpty()
151 memcmp(sub.start, str.start, len) == 0; in Substring_Eq()
158 memcmp(sub.start, prefix.start, Substring_Length(prefix)) == 0; in Substring_HasPrefix()
183 for (p = sub.start; p != sub.end; p++) in Substring_SkipFirst()
186 return sub.start; in Substring_SkipFirst()
194 for (p = sub.end; p != sub.start; p--) in Substring_FindLast()
275 for (p = sub.start; p != sub.end; p++) in LazyBuf_AddSubstring()
[all …]
/freebsd/sys/netinet/tcp_stacks/
H A Dsack_filter.c164 if (SEQ_LEQ(sf->sf_blks[i].start, b->start) && in is_sack_on_board()
199 if (SEQ_LEQ(sf->sf_blks[i].start, b->start)) { in is_sack_on_board()
232 sf->sf_blks[i].start = b->start; in is_sack_on_board()
382 SEQ_LEQ(sf->sf_blks[i].start, sb->start)) { in sack_blocks_overlap_or_meet()
398 SEQ_GEQ(sf->sf_blks[i].start, sb->start) && in sack_blocks_overlap_or_meet()
425 if (SEQ_LT(sf->sf_blks[src].start, sf->sf_blks[into].start)) { in sack_collapse()
427 sf->sf_blks[into].start = sf->sf_blks[src].start; in sack_collapse()
586 if (SEQ_GT(in->start, sf->sf_blks[i].start)) in sack_filter_reject()
601 if (sf->sf_blks[i].start == in->start) { in sack_filter_reject()
742 uint32_t start; in main() local
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dcoredump.c815 .start = 0x0,
830 .start = 0x27000,
856 .start = 0xa0000,
866 .start = 0x800,
889 .start = 0xa0000,
919 .start = 0x800,
942 .start = 0xa0000,
952 .start = 0x800,
997 .start = 0x4000,
1007 .start = 0x8000,
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_mm.h52 unsigned long start; member
113 unsigned long start,
132 unsigned long start, in drm_mm_get_block_range() argument
136 start, end, 0); in drm_mm_get_block_range()
143 unsigned long start, in drm_mm_get_color_block_range() argument
147 start, end, 0); in drm_mm_get_color_block_range()
153 unsigned long start, in drm_mm_get_block_atomic_range() argument
157 start, end, 1); in drm_mm_get_block_atomic_range()
195 unsigned long start,
209 unsigned long start, in drm_mm_search_free_in_range() argument
[all …]
/freebsd/lib/libpmc/pmu-events/
H A Djsmn.c50 int start, int end) in jsmn_fill_token() argument
53 token->start = start; in jsmn_fill_token()
66 int start; in jsmn_parse_primitive() local
68 start = parser->pos; in jsmn_parse_primitive()
91 parser->pos = start; in jsmn_parse_primitive()
100 parser->pos = start; in jsmn_parse_primitive()
107 parser->pos = start; in jsmn_parse_primitive()
123 int start = parser->pos; in jsmn_parse_string() local
135 parser->pos = start; in jsmn_parse_string()
163 parser->pos = start; in jsmn_parse_string()
[all …]

12345678910>>...107