Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 19 of 19) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dcompact_id.c154 void **arr = table->cidt_array[idx]; in compact_id_get_locked() local
156 if (arr == NULL) { in compact_id_get_locked()
172 assert(arr[cid] == NULL); in compact_id_get_locked()
173 arr[cid] = value; in compact_id_get_locked()
200 void **arr = table->cidt_array[idx]; in compact_id_put() local
204 value = arr[cid]; in compact_id_put()
205 arr[cid] = NULL; in compact_id_put()
227 void **arr = table->cidt_array[sidx]; variable
231 if (arr == NULL) {
235 if (arr[cid] == NULL) {
[all …]
H A Dzalloc.c4216 struct zone_page_metadata *arr[ZONE_CHUNK_ALLOC_SIZE / 4096]; in zone_scramble_va_and_unlock() local
4219 arr[run] = meta + n; in zone_scramble_va_and_unlock()
4236 meta = arr[j]; in zone_scramble_va_and_unlock()
4237 arr[j] = arr[i]; in zone_scramble_va_and_unlock()
4238 arr[i] = meta; in zone_scramble_va_and_unlock()
4244 zone_meta_queue_push(z, &z->z_pageq_va, arr[i]); in zone_scramble_va_and_unlock()
H A Dkern_stackshot.c3084 struct ipc_service_port_label **arr = plh->plh_array; in kdp_stackshot_plh_record_locked() local
3088 struct ipc_service_port_label *ispl = arr[idx]; in kdp_stackshot_plh_record_locked()
/xnu-11215/libkern/kxld/
H A DWKdmDecompress.c151 WK_word *arr = (src_buf + TAGS_AREA_OFFSET + (PAGE_SIZE_IN_WORDS / 16)); in WKdm_decompress() local
155 printf(" %d", arr[i]); in WKdm_decompress()
166 char* arr = (char *) tempTagsArray; in WKdm_decompress() local
170 printf(" %d", arr[i]); in WKdm_decompress()
181 char* arr = (char *) tempQPosArray; in WKdm_decompress() local
185 printf(" %d", arr[i]); in WKdm_decompress()
H A DWKdmCompress.c188 WK_word *arr = (dest_buf + TAGS_AREA_OFFSET + (num_input_words / 16)); in WKdm_compress() local
192 printf(" %d", arr[i]); in WKdm_compress()
215 char* arr = (char *) tempTagsArray; in WKdm_compress() local
219 printf(" %d", arr[i]); in WKdm_compress()
259 char *arr = (char *) tempQPosArray; in WKdm_compress() local
262 printf(" %d", arr[i]); in WKdm_compress()
/xnu-11215/tests/vm/
H A Dmmap.c25 uint32_t arr[batch]; in make_temp_fd() local
28 arr[j] = i + j; in make_temp_fd()
30 T_QUIET; T_ASSERT_EQ(write(fd, arr, sizeof(arr)), sizeof(arr), "write"); in make_temp_fd()
/xnu-11215/tools/lldbmacros/kmemory/
H A Dbtlog.py266 arr = btll.chkGetValueForExpressionPath('.btll_entries[0]')
268 base = arr.GetLoadAddress()
269 ty = arr.GetType()
272 target.xReadBytes(arr.GetLoadAddress(), count * tysz)
288 arr.chkCreateValueFromAddress('e', base + idx * tysz, ty),
/xnu-11215/bsd/netinet/
H A Ddhcp_options.c126 const void **arr; in ptrlist_grow() local
141 arr = krealloc_type(const void *, list->size, new_size, list->array, Z_WAITOK); in ptrlist_grow()
142 if (arr == NULL) { in ptrlist_grow()
147 list->array = arr; in ptrlist_grow()
/xnu-11215/tools/lldbmacros/
H A Duserspace.py313 arr = user_lib_rex.findall(entry[3])
315 if len(arr) == 0 :
317 usertask_lib_info.append([int(arr[0][0],16), int(arr[0][1],16), str(arr[0][2]).strip()])
H A Dkext.py143 arr = hdr.GetValueForExpressionPath('.summaries[0]')
146 for kext in (core.value(e.AddressOf()) for e in arr.xIterSiblings(0, total)):
H A Dioreg.py1432 def GetArray(arr): argument
1437 count = unsigned(arr.count)
1440 obj = arr.array[idx]
1443 if idx < unsigned(arr.count):
H A Dmemory.py941 (i, arr, j, ref)
942 for i, arr in enumerate(kmem.iter_addresses(target.xIterAsULong(
946 arr, kmemory.BTLibrary.BTL_HASH_COUNT
951 for i, arr, j, ref in loop:
952 print(O.format("{:#20x} {:6d} {:6d}", arr, i, j))
/xnu-11215/libkdd/
H A Dkcdata_core.m203 NSMutableArray * arr = [[NSMutableArray alloc] initWithCapacity:count];
204 retval[[datatype name]] = arr;
215 [arr addObject: [tmpdict allValues][0]];
217 [arr addObject:tmpdict];
/xnu-11215/security/
H A Dmac_base.c572 struct mac_module_data_list *arr, *dict; in mac_policy_fixup_mmd_list() local
584 arr = (struct mac_module_data_list *)ele->value; in mac_policy_fixup_mmd_list()
585 DPRINTF(("fixup_mmd: array @%p\n", arr)); in mac_policy_fixup_mmd_list()
586 for (j = 0; j < arr->count; j++) { in mac_policy_fixup_mmd_list()
587 aele = &(arr->list[j]); in mac_policy_fixup_mmd_list()
592 if (arr->type == MAC_DATA_TYPE_DICT) { in mac_policy_fixup_mmd_list()
/xnu-11215/iokit/Kernel/
H A DIOCatalogue.cpp149 OSArray * arr; in addPersonality() local
155 arr = (OSArray *) personalities->getObject(sym); in addPersonality()
156 if (arr) { in addPersonality()
157 arr->setObject(dict); in addPersonality()
/xnu-11215/bsd/nfs/
H A Dnfs_socket.c113 is_error_in_range(const nfserr_info_t *arr, int arr_size, int error) in is_error_in_range() argument
118 return error >= arr[0].nei_error && error <= arr[arr_size - 1].nei_error; in is_error_in_range()
/xnu-11215/bsd/kern/
H A Dkern_guarded.c1576 #define ACOUNT(arr) ((unsigned)(sizeof (arr) / sizeof (arr[0]))) argument
/xnu-11215/tests/
H A Dkevent_qos.c32 #define ARRAYLEN(arr) (sizeof(arr) / sizeof(arr[0])) argument
/xnu-11215/libkern/c++/
H A DOSKext.cpp1692 OSSharedPtr<OSArray> arr = OSArray::withCapacity(1); in resetAfterUserspaceReboot() local
1693 IOService::updateConsoleUsers(arr.get(), 0, true /* after_userspace_reboot */); in resetAfterUserspaceReboot()