| /xnu-11215/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 59 long long left; in test_file_read_setup() local 76 while (left > 0) { in test_file_read_setup() 77 writelen = sizeof(readbuff) < left ? sizeof(readbuff) : left; in test_file_read_setup() 80 left -= writelen; in test_file_read_setup() 89 long long left; in test_file_read() local 107 for (left = length; left > 0;) { in test_file_read() 108 readlen = sizeof(readbuff) < left ? sizeof(readbuff) : left; in test_file_read() 120 left -= readlen; in test_file_read() 168 long long left; in test_file_write() local 178 for (left = length; left > 0;) { in test_file_write() [all …]
|
| H A D | perfindex-memory.c | 62 long long left = length; variable 74 while (left > 0) { 75 copy_len = region_len < left ? region_len : left; 77 left -= copy_len;
|
| H A D | md5.c | 143 int left = len % 64; in md5_hash() local 144 memcpy(byteptr, message + len - left, left); in md5_hash() 146 byteptr[left] = 0x80; in md5_hash() 147 left++; in md5_hash() 148 if (64 - left >= 8) { in md5_hash() 149 bzero(byteptr + left, 56 - left); in md5_hash() 151 memset(byteptr + left, 0, 64 - left); in md5_hash()
|
| H A D | test_fault_helper.c | 65 long long left = length; in test_fault_helper() local 70 left--; in test_fault_helper() 71 if (left == 0) { in test_fault_helper() 76 if (left == 0) { in test_fault_helper()
|
| /xnu-11215/libkern/zlib/ |
| H A D | inftrees.c | 70 int left; /* number of prefix codes available */ in inflate_table() local 155 left = 1; in inflate_table() 157 left <<= 1; in inflate_table() 158 left -= count[len]; in inflate_table() 159 if (left < 0) return -1; /* over-subscribed */ in inflate_table() 161 if (left > 0 && (type == CODES || max != 1)) in inflate_table() 292 left = (int)(1 << curr); in inflate_table() 294 left -= count[curr + drop]; in inflate_table() 295 if (left <= 0) break; in inflate_table() 297 left <<= 1; in inflate_table()
|
| H A D | infback.c | 149 left = strm->avail_out; \ 160 strm->avail_out = left; \ 230 if (left == 0) { \ 232 left = state->wsize; \ 233 state->whave = left; \ 302 left = state->wsize; in inflateBack() 361 if (copy > left) copy = left; in inflateBack() 365 left -= copy; in inflateBack() 526 left--; in inflateBack() 603 copy = left; in inflateBack() [all …]
|
| H A D | inflate.c | 430 left = strm->avail_out; \ 441 strm->avail_out = left; \ 608 out = left; in inflate() 860 if (copy > left) copy = left; in inflate() 865 left -= copy; in inflate() 1091 copy = out - left; in inflate() 1106 if (copy > left) copy = left; in inflate() 1107 left -= copy; in inflate() 1117 left--; in inflate() 1123 out -= left; in inflate() [all …]
|
| /xnu-11215/bsd/dev/ |
| H A D | memdev.c | 260 unsigned int left, lop, csize; in mdevstrategy() local 309 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy() 310 …while (left) { /* Go until it is all cop… in mdevstrategy() 312 csize = min(lop, left); /* Don't move more than we need to */ in mdevstrategy() 322 left = left - csize; /* Calculate what is left */ in mdevstrategy() 332 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy() 333 …while (left) { /* Go until it is all cop… in mdevstrategy() 335 csize = min(lop, left); /* Don't move more than we need to */ in mdevstrategy() 345 left = left - csize; /* Calculate what is left */ in mdevstrategy()
|
| /xnu-11215/san/memory/ |
| H A D | kasan-report.c | 77 char *left = " "; in kasan_dump_shadow() local 85 left = "["; in kasan_dump_shadow() 91 n += scnprintf(buf + n, len - n, "%s%02x%s", left, (unsigned)*x, right); in kasan_dump_shadow() 92 left = ""; in kasan_dump_shadow()
|
| /xnu-11215/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccrng_schedule.h | 96 ccrng_schedule_ctx_t *left; member 101 ccrng_schedule_ctx_t *left,
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IODeviceTreeSupport.h | 85 (UInt32 cellCount, UInt32 left[], UInt32 right[]); 88 (UInt32 cellCount, UInt32 left[], UInt32 right[]);
|
| /xnu-11215/libkern/libkern/ |
| H A D | tree.h | 136 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 137 SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \ 620 struct type *__single left; \ 622 while ((left = RB_LEFT(elm, field)) != NULL) \ 623 elm = left; \ 652 left = parent; \ 654 RB_AUGMENT(left); \ 655 } while ((left = name##_RB_GETPARENT(left)) != NULL); \
|
| /xnu-11215/tests/skywalk/ |
| H A D | skt_reass.c | 148 struct timeval start, now, elapsed, left; in reass_interface_send_rece() local 164 left = *allowed; in reass_interface_send_rece() 172 retval = select(utun_fd + 1, &readfds, NULL, &errorfds, &left); in reass_interface_send_rece() 205 timersub(allowed, &elapsed, &left); in reass_interface_send_rece()
|
| /xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/ |
| H A D | der_vm.h | 269 int CEBuffer_cmp(const CEBuffer left, const CEBuffer right);
|
| /xnu-11215/tools/lldbmacros/kmemory/ |
| H A D | kmem.py | 84 left = range_v.xGetIntegerByName('min_address') 86 return MemoryRange(left, right)
|
| /xnu-11215/libkern/kmod/ |
| H A D | README | 18 # If any static constructors are used .constructors_used will be left as
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IODeviceTreeSupport.cpp | 1139 DefaultCompare( UInt32 cellCount, UInt32 left[], UInt32 right[] ) in DefaultCompare() argument 1144 diff = IOPhysical32(left[1], left[0]) - IOPhysical32(right[1], right[0]); in DefaultCompare() 1146 diff = (left[0] - right[0]); in DefaultCompare() 1155 DefaultCompare( UInt32 cellCount, UInt32 left[], UInt32 right[] ) in DefaultCompare() argument 1158 return left[cellCount] - right[cellCount]; in DefaultCompare()
|
| H A D | IOKitDebug.cpp | 891 IOTrackingCallSiteInfoCompare(const void * left, const void * right) in IOTrackingCallSiteInfoCompare() argument 893 IOTrackingCallSiteInfo * l = (typeof(l))left; in IOTrackingCallSiteInfoCompare() 906 IOTrackingAddressCompare(const void * left, const void * right) in IOTrackingAddressCompare() argument 911 inst = ((typeof(inst) *)left)[0]; in IOTrackingAddressCompare() 932 IOTrackingZoneElementCompare(const void * left, const void * right) in IOTrackingZoneElementCompare() argument 936 inst = ((typeof(inst) *)left)[0]; in IOTrackingZoneElementCompare()
|
| /xnu-11215/bsd/nfs/ |
| H A D | nfs_subs.c | 595 size_t mblen, cplen, need, left; in nfsm_chain_get_opaque_pointer_f() local 626 left = nmc->nmc_left; in nfsm_chain_get_opaque_pointer_f() 627 need = len - left; in nfsm_chain_get_opaque_pointer_f() 648 bcopy(nmc->nmc_ptr, ptr, left); in nfsm_chain_get_opaque_pointer_f() 649 ptr += left; in nfsm_chain_get_opaque_pointer_f() 650 mbuf_setlen(mb, left); in nfsm_chain_get_opaque_pointer_f() 663 mbuf_setlen(mbcur, mbuf_len(mbcur) - left); in nfsm_chain_get_opaque_pointer_f() 682 nmc->nmc_ptr += left; in nfsm_chain_get_opaque_pointer_f()
|
| /xnu-11215/tests/ |
| H A D | net_bridge.c | 667 u_int left; in ethernet_frame_get_udp4_payload() local 674 left = buf_len; in ethernet_frame_get_udp4_payload() 680 left -= sizeof(*eh_p); in ethernet_frame_get_udp4_payload() 683 T_ASSERT_GE(left, ip_len, NULL); in ethernet_frame_get_udp4_payload() 715 u_int left; in ethernet_frame_get_udp6_payload() local 722 left = buf_len; in ethernet_frame_get_udp6_payload() 728 left -= sizeof(*eh_p); in ethernet_frame_get_udp6_payload() 731 T_ASSERT_GE(left, ip6_len + (u_int)sizeof(struct ip6_hdr), NULL); in ethernet_frame_get_udp6_payload()
|
| /xnu-11215/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 202 struct symbol * left = (struct symbol *) _left; in qsort_cmp() local 205 return strcmp(left->name, right->name); in qsort_cmp()
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_kern.sub | 128 "(os/unix) no space is left on device",
|
| H A D | err_iokit.sub | 75 "(iokit/common) no DMA channels left", // 0x2da
|
| /xnu-11215/bsd/crypto/doc/ |
| H A D | KernelCrypto.txt | 37 * The word 'cryptographic' can be left out if the rouines from the library
|
| /xnu-11215/osfmk/tests/ |
| H A D | vm_parameter_validation.h | 753 unsigned left = 0, right = count - 1; in binary_search() local 754 while (left <= right) { in binary_search() 755 unsigned mid = left + (right - left) / 2; in binary_search() 760 left = mid + 1; in binary_search()
|