Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 259) sorted by relevance

1234567891011

/xnu-11215/bsd/netinet/
H A Dtcp_sack.c155 tcp_seq end = tp->sackblks[i].end; in tcp_update_sack_list() local
169 if (SEQ_LT(head_blk.end, end)) { in tcp_update_sack_list()
170 head_blk.end = end; in tcp_update_sack_list()
177 saved_blks[num_saved].end = end; in tcp_update_sack_list()
256 hole->end = end; in tcp_sackhole_alloc()
458 sack.end = ntohl(sack.end); in tcp_sack_doack()
598 if (SEQ_GEQ(sblkp->end, cur->end)) { in tcp_sack_doack()
622 if (SEQ_GEQ(sblkp->end, cur->end)) { in tcp_sack_doack()
902 first_sack.end = ntohl(first_sack.end); in tcp_sack_process_dsack()
908 second_sack.end = ntohl(second_sack.end); in tcp_sack_process_dsack()
[all …]
/xnu-11215/tests/bounded_ptr_src/
H A Darith.difference.cpp28 test_bounded_ptr<Left> const a(array.begin(), array.begin(), array.end()); in tests()
29 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
35 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
41 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
47 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
53 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
58 test_bounded_ptr<Left> const a(array.end(), array.begin(), array.end()); in tests()
59 test_bounded_ptr<Right> const b(array.begin(), array.begin(), array.end()); in tests()
66 test_bounded_ptr<Left> const a(array.begin(), array.begin(), array.end()); in tests()
72 test_bounded_ptr<Left> const a(array.begin(), array.begin(), array.end()); in tests()
[all …]
H A Dcompare.equal.cpp59 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
60 test_bounded_ptr<TQual> const b(array.begin(), array.begin(), array.end()); in tests()
64 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
65 test_bounded_ptr<TQual> const b(array.begin() + 1, array.begin(), array.end()); in tests()
69 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
74 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
75 test_bounded_ptr<TQual> const b(array.end(), array.begin(), array.end()); in tests()
79 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end()); in tests()
80 test_bounded_ptr<TQual> const b(array.end(), array.begin(), array.end()); in tests()
87 test_bounded_ptr<TQual> const b(array.begin(), array.begin(), array.end()); in tests()
[all …]
H A Dcompare.order.cpp75 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
76 test_bounded_ptr<TQual> const b(array.begin(), array.begin(), array.end()); in tests()
80 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
81 test_bounded_ptr<TQual> const b(array.begin() + 1, array.begin(), array.end()); in tests()
85 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
90 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
91 test_bounded_ptr<TQual> const b(array.end(), array.begin(), array.end()); in tests()
95 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end()); in tests()
96 test_bounded_ptr<TQual> const b(array.end(), array.begin(), array.end()); in tests()
103 test_bounded_ptr<TQual> const b(array.begin(), array.begin(), array.end()); in tests()
[all …]
H A Darith.add_assign.cpp43 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
49 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
55 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
76 _assert(ptr == array.end()); in tests()
85 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
88 _assert(ptr == array.end()); in tests()
91 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
97 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
103 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
109 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
[all …]
H A Darith.subtract_assign.cpp40 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
43 _assert(ptr == array.end()); in tests()
46 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
52 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
58 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
64 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
70 test_bounded_ptr<QualT> ptr(array.end(), array.begin(), array.end()); in tests()
82 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
88 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
94 test_bounded_ptr<QualT> ptr(array.begin(), array.begin(), array.end()); in tests()
[all …]
H A Dcompare.order.raw.cpp78 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
96 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
105 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end()); in tests()
106 TQual* b = array.end(); in tests()
134 test_bounded_ptr<TQual> const a(array.end() - 1, array.begin(), array.end() - 2); in tests()
135 TQual* b = array.end() - 1; in tests()
143 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end() - 1); in tests()
144 TQual* b = array.end(); in tests()
152 test_bounded_ptr<TQual> const a(array.end() - 1, array.begin(), array.end() - 2); in tests()
153 TQual* b = array.end(); in tests()
[all …]
H A Dcompare.equal.raw.cpp56 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
74 test_bounded_ptr<TQual> const a(array.begin(), array.begin(), array.end()); in tests()
83 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end()); in tests()
84 TQual* b = array.end(); in tests()
112 test_bounded_ptr<TQual> const a(array.end() - 1, array.begin(), array.end() - 2); in tests()
113 TQual* b = array.end() - 1; in tests()
121 test_bounded_ptr<TQual> const a(array.end(), array.begin(), array.end() - 1); in tests()
122 TQual* b = array.end(); in tests()
130 test_bounded_ptr<TQual> const a(array.end() - 1, array.begin(), array.end() - 2); in tests()
131 TQual* b = array.end(); in tests()
[all …]
H A Dunsafe_discard_bounds.cpp42 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests()
51 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests()
60 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests()
69 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests()
78 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests()
80 _assert(raw == array.end()); in tests()
87 test_bounded_ptr<QualT> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests()
96 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests()
105 test_bounded_ptr<QualT> ptr(array.begin(), array.begin() + 1, array.end()); in tests()
H A Dctor.begin_end.cpp29 test_bounded_ptr<QualT> p(array.begin() + 0, array.begin(), array.end()); in tests()
33 test_bounded_ptr<QualT> p(array.begin() + 1, array.begin(), array.end()); in tests()
37 test_bounded_ptr<QualT> p(array.begin() + 2, array.begin(), array.end()); in tests()
41 test_bounded_ptr<QualT> p(array.begin() + 3, array.begin(), array.end()); in tests()
45 test_bounded_ptr<QualT> p(array.begin() + 4, array.begin(), array.end()); in tests()
56 test_bounded_ptr<QualT> p(array.begin() + 1, array.begin() + 3, array.end()); in tests()
72 test_bounded_ptr<QualT> p(array.end(), array.begin(), array.end()); in tests()
73 _assert(p.unsafe_discard_bounds() == array.end()); in tests()
97 static_cast<Derived*>(array.end()));
H A Ddiscard_bounds.cpp39 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests()
48 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests()
57 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests()
66 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests()
76 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests()
89 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests()
99 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end()); in tests()
111 …tr<QualT, tracking_policy> ptr(reinterpret_cast<QualT*>(just_off), array.begin(), array.end() - 1); in tests()
H A Darith.add.cpp33 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests()
57 _assert(res == array.end()); in tests()
67 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests()
71 _assert(res == array.end()); in tests()
97 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests()
105 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests()
110 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests()
115 test_bounded_ptr<QualT> const ptr(array.begin() + 3, array.begin(), array.end()); in tests()
H A Dderef.cpp47 test_bounded_ptr<QualT> ptr(array.begin() + 0, array.begin(), array.end()); in tests()
60 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests()
73 test_bounded_ptr<QualT> ptr(array.begin() + 2, array.begin(), array.end()); in tests()
86 test_bounded_ptr<QualT> ptr(array.begin() + 4, array.begin(), array.end()); in tests()
101 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin() + 1, array.begin(), array.end()); in tests()
115 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests()
130 libkern::bounded_ptr<QualT, tracking_policy> ptr(array.begin(), array.begin() + 1, array.end()); in tests()
147 …tr<QualT, tracking_policy> ptr(reinterpret_cast<QualT*>(just_off), array.begin(), array.end() - 1); in tests()
/xnu-11215/tests/safe_allocation_src/
H A Dbegin_end.cpp30 test_bounded_ptr<T> end = array.end(); in tests() local
32 CHECK(end.unsafe_discard_bounds() == data + 10); in tests()
38 test_bounded_ptr<T const> end = array.end(); in tests() local
40 CHECK(end.unsafe_discard_bounds() == data + 10); in tests()
47 test_bounded_ptr<T> end = array.end(); in tests() local
49 CHECK(end.unsafe_discard_bounds() == nullptr); in tests()
50 CHECK(begin == end); in tests()
55 test_bounded_ptr<T const> end = array.end(); in tests() local
57 CHECK(end.unsafe_discard_bounds() == nullptr); in tests()
58 CHECK(begin == end); in tests()
/xnu-11215/tests/bounded_array_src/
H A Dbegin_end.cpp25 test_bounded_ptr<T> end = array.end(); in tests() local
27 CHECK(end.unsafe_discard_bounds() == array.data() + 5); in tests()
32 test_bounded_ptr<T const> end = array.end(); in tests() local
34 CHECK(end.unsafe_discard_bounds() == array.data() + 5); in tests()
41 test_bounded_ptr<T> end = array.end(); in tests() local
43 CHECK(end.unsafe_discard_bounds() == array.data()); in tests()
48 test_bounded_ptr<T const> end = array.end(); in tests() local
50 CHECK(end.unsafe_discard_bounds() == array.data()); in tests()
H A Dctor.default.cpp30 T* end = array.data() + array.size(); in tests() local
31 for (auto it = array.data(); it != end; ++it) { in tests()
38 T* end = array.data() + array.size(); in tests() local
39 for (auto it = array.data(); it != end; ++it) { in tests()
46 T* end = array.data() + array.size(); in tests() local
47 for (auto it = array.data(); it != end; ++it) { in tests()
54 T* end = array.data() + array.size(); in tests() local
55 for (auto it = array.data(); it != end; ++it) { in tests()
/xnu-11215/osfmk/arm64/
H A Dtlb.h153 end = (end + 0x3ULL) & ~0x3ULL; in flush_mmu_tlb_allentries_async()
157 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_allentries_async()
168 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_allentries_async()
214 end = (end + 0x3ULL) & ~0x3ULL; in flush_mmu_tlb_entries_async()
225 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_entries_async()
229 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_entries_async()
236 end = end | (1ULL << TLBI_ASID_SHIFT); in flush_mmu_tlb_entries_async()
238 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_entries_async()
245 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_entries_async()
254 for (; start < end; start += (pmap_page_size / 4096)) { in flush_mmu_tlb_entries_async()
[all …]
/xnu-11215/iokit/Kernel/
H A DIORangeAllocator.cpp54 IORangeScalar end; member
221 thisEnd = elements[index].end; in allocate()
230 elements[index++].end = data - 1; in allocate()
232 elements[index].end = thisEnd; in allocate()
237 elements[index].end = data - 1; in allocate()
280 thisEnd = elements[index].end; in allocateRange()
294 elements[index].end = thisEnd; in allocateRange()
297 elements[index].end = data - 1; in allocateRange()
337 elements[index - 1].end = elements[index].end; in deallocate()
340 elements[index - 1].end = dataEnd; in deallocate()
[all …]
H A DIOTimerEventSource.cpp443 AbsoluteTime end; in setTimeout() local
446 return wakeAtTime(end); in setTimeout()
453 AbsoluteTime end, nsecs; in setTimeout() local
461 return wakeAtTime(end); in setTimeout()
468 AbsoluteTime end; in setTimeout() local
470 return wakeAtTime(end); in setTimeout()
477 AbsoluteTime end; in setTimeout() local
508 AbsoluteTime end; in wakeAtTime() local
511 return wakeAtTime(end); in wakeAtTime()
518 AbsoluteTime end, nsecs; in wakeAtTime() local
[all …]
/xnu-11215/tests/bounded_array_ref_src/
H A Dbegin_end.cpp25 test_bounded_ptr<T> end = view.end(); in tests() local
27 CHECK(end.unsafe_discard_bounds() == &array[5]); in tests()
34 test_bounded_ptr<T> end = view.end(); in tests() local
36 CHECK(end.unsafe_discard_bounds() == nullptr); in tests()
H A Dctor.bounded_ptr.cpp25 T* const end = &array[5]; in tests() local
34 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests()
51 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests()
66 test_bounded_ptr<T> ptr(&array[3], begin, end); in tests()
75 test_bounded_ptr<T> ptr(&array[0], begin, end); in tests()
87 test_bounded_ptr<T> ptr(end, begin, end); in tests()
93 test_bounded_ptr<T> ptr(begin, begin, end); in tests()
/xnu-11215/osfmk/console/
H A Dvideo_scroll.c33 video_scroll_up(void * start, void * end, void * dest) in video_scroll_up() argument
35 bcopy(start, dest, ((char *)end - (char *)start) << 2); in video_scroll_up()
40 void * end, /* LOW addr */ in video_scroll_down() argument
43 bcopy(end, dest, ((char *)start - (char *)end) << 2); in video_scroll_down()
/xnu-11215/osfmk/vm/
H A Dvm_map_store.c316 vm_map_offset_t end, in vm_map_store_find_space_backwards() argument
349 if (entry->vme_end < end) { in vm_map_store_find_space_backwards()
350 end = entry->vme_end; in vm_map_store_find_space_backwards()
353 if (map->max_offset <= end) { in vm_map_store_find_space_backwards()
355 end = map->max_offset; in vm_map_store_find_space_backwards()
357 end = entry->vme_start; in vm_map_store_find_space_backwards()
368 end = vm_map_trunc_page(end, map_mask); in vm_map_store_find_space_backwards()
371 end = start + size; in vm_map_store_find_space_backwards()
399 end = entry->vme_end; in vm_map_store_find_space_backwards()
419 end = entry->vme_start; in vm_map_store_find_space_backwards()
[all …]
/xnu-11215/osfmk/kern/
H A Dtest_mpsc_queue.c44 uint64_t *count, *end; member
61 *q->end = mach_absolute_time(); in mpsc_test_pingpong_invoke()
107 uint64_t n = count, start, end; in mpsc_test_pingpong() local
109 ping.end = pong.end = &end; in mpsc_test_pingpong()
131 absolutetime_to_nanoseconds(end - start, out); in mpsc_test_pingpong()
/xnu-11215/tools/cocci/
H A Dvm-param-swap.cocci3 expression offset, vms_caller, addr, end, offset_u;
6 - kr = vm_sanitize_offset(&offset, vms_caller, addr, end, offset_u);
7 + kr = vm_sanitize_offset(offset_u, vms_caller, addr, end, &offset);
75 expression addr, end, size, vms_caller, pgmask, flags, addr_u, size_u;
78 - kr = vm_sanitize_addr_size(&addr, &end, &size, vms_caller, pgmask, flags, addr_u, size_u);
79 + kr = vm_sanitize_addr_size(addr_u, size_u, vms_caller, pgmask, flags, &addr, &end, &size);
83 expression start, end, size, vms_caller, map, flags, addr_u, end_u;
86 - kr = vm_sanitize_addr_end(&start, &end, &size, vms_caller, map, flags, addr_u, end_u);
87 + kr = vm_sanitize_addr_end(addr_u, end_u, vms_caller, map, flags, &start, &end, &size);

1234567891011