Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/libkern/zlib/
H A Dzutil.c240 zcalloc(voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
243 ulg bsize = (ulg)items*size; in zcalloc()
301 zcalloc(voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
304 return _halloc((long)items, size); in zcalloc()
323 extern voidp calloc OF((uInt items, uInt size));
328 zcalloc(voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
330 if (opaque) items += size - size; /* make compiler happy */ in zcalloc()
335 voidpf p = malloc(items * size); in zcalloc()
336 bzero(p, items * size); in zcalloc()
339 return (voidpf)calloc(items, size); in zcalloc()
H A Dzutil.h304 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
308 #define ZALLOC(strm, items, size) \ argument
309 (*((strm)->zalloc))((strm)->opaque, (items), (size))
/xnu-11215/tools/
H A Dformat_vm_parameter_validation.py160 for k, v in errno_return_values.items():
226 for k, v in kern_return_values.items():
251 for code, name in known_return_values.items():
397 for k, result_list in map_of_results.items():
/xnu-11215/tools/lldbmacros/kmemory/
H A Dkmem.py331 return (item[1] for items in self.items())
333 def items(self): member in PERCPUValue
H A Dbtlog.py254 for ref, d_ref in d.items()
255 for op, v in d_ref.items()
/xnu-11215/tools/lldbmacros/
H A Dmbufdefines.py25 reverse = dict((value, key) for key, value in enums.items())
H A Dkcdata.py187 kcdata_type_def_rev = dict((v, k) for k, v in iter(kcdata_type_def.items()))
658 for (k, v) in self.obj_container_dict.items():
664 for (k, v) in self.obj_nested_objs.items():
2152 for pid,piddata in sorted(ssplist.items()):
2192 ttsnap = { key[1:] : value for key,value in ttsnap.items() }
2223 for tid,thdata in sorted(thlist.items()):
2609 for key, value in data.items():
2706 for (n, t) in KNOWN_TYPES_COLLECTION.items():
H A Dprocess.py279 for ast, char in _AST_CHARS.items():
1523 for next_func_name, next_node in cur_node.callers.items():
1602 for call_chain, threads in call_chains.copy().items():
1611 list(call_chains.items()),
H A Dioreg.py1080 for address, metaclass in metaclasses_by_address.items():
1096 for idx, (_, metaclass) in enumerate(metaclasses_by_address.items()):
H A Dkasan.py802 for cpu, q in kmem.PERCPUValue('kasan_quarantine').items():
/xnu-11215/iokit/IOKit/
H A DIOServiceStateNotificationEventSource.h91 OSArray * items,
/xnu-11215/tools/lldbmacros/tests/lldbmock/
H A Dmemorymock.py434 for k, v in members.items():
533 for k, v in members.items():
832 for prop, value in mock_class.__dict__.items():
856 in mock_class.__dict__.items()
/xnu-11215/osfmk/kdp/output_stages/
H A Dout_zlib.c57 zlib_alloc(void *opaque, u_int items, u_int size) in zlib_alloc() argument
64 data->allocation_offset += ROUND_32B(items * size); // 32b align for vector crc in zlib_alloc()
/xnu-11215/iokit/DriverKit/
H A DIOServiceStateNotificationDispatchSource.iig50 * @param items Array of state item names to be notified about.
58 …Create(IOService * service, OSArray * items, IODispatchQueue * queue, IOServiceStateNotificationDi…
/xnu-11215/tools/lldbmacros/tests/lldb_tests/
H A Dtest_process.py115 aststr = ''.join(char for _, char in tst_process._AST_CHARS.items())
/xnu-11215/bsd/miscfs/nullfs/
H A Dnull_vnops.c741 int items = 0; in nullfs_special_readdir() local
763 items++; in nullfs_special_readdir()
775 items++; in nullfs_special_readdir()
807 items++; in nullfs_special_readdir()
820 *ap->a_numdirent = items; in nullfs_special_readdir()
/xnu-11215/osfmk/kern/
H A Dkern_cdata.c442 kcdata_compress_zalloc(void *opaque, u_int items, u_int size) in kcdata_compress_zalloc() argument
446 int alloc_size = ~31L & (31 + (items * size)); in kcdata_compress_zalloc()
455 kcdata_debug_printf("%s: %d * %d = %d => %p\n", __func__, items, size, items * size, result); in kcdata_compress_zalloc()
/xnu-11215/tools/lldbmacros/tests/lldbtest/
H A Dunittest.py59 for name, value in frame.locals.items():
/xnu-11215/tools/lldbmacros/core/
H A Dcaching.py354 key += tuple(kwd.items())
H A Diterators.py594 for sz, n in stats.items():
/xnu-11215/libkern/libkern/
H A Dzlib.h104 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
/xnu-11215/osfmk/mach/
H A Dhost_priv.defs295 * JMM - Keep all processor_set related items at the end for easy
/xnu-11215/iokit/Tests/
H A DTests.cpp222 TestZLib_alloc(void * __unused opaque, u_int items, u_int size) in TestZLib_alloc() argument
228 round_page(items * size) + ptoa(2), in TestZLib_alloc()
/xnu-11215/bsd/man/man2/
H A Dgetdirentriesattr.247 iterates over the items in a directory like
/xnu-11215/iokit/Kernel/
H A DIOUserServer.cpp6752 IOServiceStateNotificationDispatchSource::Create_Impl(IOService * service, OSArray * items, in Create_Impl() argument
6762 kr = service->stateNotificationListenerAdd(items, &source->ivars->fListener, ^kern_return_t () { in Create_Impl()
6897 OSArray * items, in serviceStateNotificationEventSource() argument
6913 kr = service->stateNotificationListenerAdd(items, &source->fListener, ^kern_return_t () { in serviceStateNotificationEventSource()
7265 IOService::stateNotificationListenerAdd(OSArray * items, in stateNotificationListenerAdd() argument
7279 items->iterateObjects(^bool (OSObject * object) { in stateNotificationListenerAdd()

12