| /xnu-11215/libkdd/ |
| H A D | kcdata_core.m | 130 knownTypes = [[NSMutableDictionary alloc] init]; 137 knownTypes[type] = [[KCDEmbeddedBufferDescription alloc] init]; 144 knownTypes[type] = [[KCDBasicTypeDescription alloc] createDefaultForType:typeID]; 161 knownTypes = [[NSMutableDictionary alloc] init]; 202 NSMutableDictionary * retval = [[NSMutableDictionary alloc] initWithCapacity:1]; 203 NSMutableArray * arr = [[NSMutableArray alloc] initWithCapacity:count]; 236 NSMutableDictionary * sub_containers = [[NSMutableDictionary alloc] init]; 237 NSMutableDictionary * retval = [[NSMutableDictionary alloc] init]; 238 NSMutableDictionary * container = [[NSMutableDictionary alloc] init]; 284 sub_containers[k] = [[NSMutableDictionary alloc] init]; [all …]
|
| H A D | KCDStructTypeDescription.m | 57 _fields = [[NSMutableArray alloc] init]; category 76 NSMutableDictionary * retval = [[NSMutableDictionary alloc] init]; category 93 …KCDBasicTypeDescription * tmpdsc = [[KCDBasicTypeDescription alloc] initWithKCTypeDesc:&fields_dsc… category
|
| H A D | kdd_main.m | 74 NSMutableData *inflated = [[NSMutableData alloc] init]; 96 …NSData *decoded = [[NSData alloc] initWithBase64EncodedData:data options:NSDataBase64DecodingIgnor…
|
| H A D | KCDBasicTypeDescription.m | 121 NSMutableDictionary * retval = [[NSMutableDictionary alloc] init]; category
|
| /xnu-11215/osfmk/corecrypto/ |
| H A D | cc_memory.h | 60 cc_unit *(*CC_SPTR(cc_ws, alloc))(cc_ws_t ws, cc_size n); 155 #define CC_ALLOC_WS(ws, n) ws->alloc(ws, n)
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSMetaClass.h | 330 #define OSTypeAlloc(type) ((type *) ((type::metaClass)->alloc())) 1795 virtual OSObject * alloc() const = 0; 1848 virtual OSObject *alloc() const APPLE_KEXT_OVERRIDE; \ 2053 OSObject * className ::MetaClass::alloc() const { return NULL; } 2072 OSObject * className ::MetaClass::alloc() const \
|
| H A D | OSValueObject.h | 339 alloc() const APPLE_KEXT_OVERRIDE in alloc() function
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_voucher.c | 2542 user_data_element_t alloc = NULL; in user_data_dedup() local 2571 if (NULL != alloc) { in user_data_dedup() 2572 user_data_value_element_free(alloc); in user_data_dedup() 2579 if (NULL == alloc) { in user_data_dedup() 2582 alloc = kalloc_type(struct user_data_value_element, in user_data_dedup() 2584 alloc->e_made = 1; in user_data_dedup() 2585 alloc->e_size = content_size; in user_data_dedup() 2586 alloc->e_sum = sum; in user_data_dedup() 2587 alloc->e_hash = hash; in user_data_dedup() 2589 memcpy(alloc->e_data, content, content_size); in user_data_dedup() [all …]
|
| H A D | ipc_importance.c | 2716 ipc_importance_inherit_t alloc = III_NULL; in ipc_importance_inherit_from_kmsg() local 2816 if (III_NULL != alloc) { in ipc_importance_inherit_from_kmsg() 2822 alloc = (ipc_importance_inherit_t) in ipc_importance_inherit_from_kmsg() 2858 inherit = alloc; in ipc_importance_inherit_from_kmsg() 2927 if (III_NULL != alloc) { in ipc_importance_inherit_from_kmsg() 2928 zfree(ipc_importance_inherit_zone, alloc); in ipc_importance_inherit_from_kmsg() 2984 ipc_importance_inherit_t alloc = III_NULL; in ipc_importance_inherit_from_task() local 3024 if (III_NULL != alloc) { in ipc_importance_inherit_from_task() 3030 alloc = (ipc_importance_inherit_t) in ipc_importance_inherit_from_task() 3063 inherit = alloc; in ipc_importance_inherit_from_task() [all …]
|
| /xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/ |
| H A D | Runtime.h | 101 const CERuntimeMalloc alloc; member
|
| /xnu-11215/tests/ |
| H A D | test_sysctl_kern_procargs_25397314.m | 105 current = [[NSString alloc] initWithBytes:cursor length:currentLen encoding:NSUTF8StringEncoding]; 123 current = [[NSString alloc] initWithBytes:cursor length:currentLen encoding:NSUTF8StringEncoding]; 164 NSMutableString *line = [[NSMutableString alloc] initWithCapacity:0]; 165 NSMutableString *text = [[NSMutableString alloc] initWithCapacity:0];
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IODeviceTreeSupport.cpp | 64 unsigned int alloc; member 171 gIODTResolvers->alloc = 2; in IODeviceTreeAlloc() 172 gIODTResolvers->resolvers = IONewZero(IODTPersistent, gIODTResolvers->alloc); in IODeviceTreeAlloc() 1104 if (gIODTResolvers->alloc == gIODTResolvers->count) { in IODTSetResolving() 1105 if (__improbable(os_mul_overflow(gIODTResolvers->alloc, 2, in IODTSetResolving() 1106 &gIODTResolvers->alloc))) { in IODTSetResolving() 1110 newResolvers = IONewZero(IODTPersistent, gIODTResolvers->alloc); in IODTSetResolving()
|
| H A D | IOKitKernelInternal.h | 197 extern "C" uintptr_t iopa_alloc(iopa_t * a, iopa_proc_t alloc, kalloc_heap_t kheap,
|
| H A D | IOLib.cpp | 1334 iopa_proc_t alloc, in iopa_alloc() argument 1379 addr = alloc(kheap, a); in iopa_alloc()
|
| H A D | IOMemoryDescriptor.cpp | 4514 kern_allocation_name_t alloc; in dmaMapRecord() local 4517 if ((alloc = mapper->fAllocName) /* && mapper != IOMapper::gSystem */) { in dmaMapRecord() 4526 if (alloc && (VM_KERN_MEMORY_NONE != _kernelTag)) { in dmaMapRecord() 4527 _mapName = alloc; in dmaMapRecord() 4529 kern_allocation_update_subtotal(alloc, _kernelTag, mapLength); in dmaMapRecord() 4546 kern_allocation_name_t alloc; in dmaUnmap() local 4568 if ((alloc = mapper->fAllocName)) { in dmaUnmap() 4569 kern_allocation_update_size(alloc, -mapLength, NULL); in dmaUnmap()
|
| H A D | IOUserServer.cpp | 1279 obj = actionMetaClass->alloc(); in OSActionCreateWithTypeNameInternal() 2756 vm_size_t alloc; in copyInStringArray() local 2765 if (os_add_overflow(sizeof(IOPStrings), userSize, &alloc)) { in copyInStringArray() 2769 if (alloc > 16384) { in copyInStringArray() 2773 array = (typeof(array))IOMallocData(alloc); in copyInStringArray() 2792 IOFreeData(array, alloc); in copyInStringArray()
|
| /xnu-11215/libkern/c++/ |
| H A D | OSMetaClass.cpp | 436 OSObject * alloc() const; 443 OSMetaClassMeta::alloc() const in alloc() function in OSMetaClassMeta 1293 result = meta->alloc(); in allocClassWithName()
|
| H A D | OSObject.cpp | 65 OSObject::MetaClass::alloc() const in alloc() function in OSObject::MetaClass
|
| /xnu-11215/tools/tests/perf_index/PerfIndex_COPS_Module/ |
| H A D | PITest.m | 19 instance = [[PITest alloc] init];
|
| /xnu-11215/osfmk/console/art/ |
| H A D | progress.m | 75 NSBitmapImageRep* bitmapImageRep = [[NSBitmapImageRep alloc] initWithData:fileData];
|
| /xnu-11215/osfmk/kern/ |
| H A D | exclaves_upcalls.c | 112 .alloc = ^(const uint32_t npages, xnuupcalls_pagekind_s kind, 324 .alloc = ^(const uint32_t npages, xnuupcallsv2_pagekind_s kind,
|
| H A D | thread_call.c | 1574 bool alloc = call->tc_flags & THREAD_CALL_ALLOC; in thread_call_finish() local 1578 if (!signal && alloc) { in thread_call_finish() 1590 if ((!alloc || call->tc_refs != 0) && in thread_call_finish() 1620 if (!signal && alloc && call->tc_refs == 0) { in thread_call_finish()
|
| H A D | lock_mtx.c | 264 #pragma mark lck_mtx_t: alloc/init/destroy/free
|
| /xnu-11215/bsd/kern/ |
| H A D | uipc_mbuf.c | 3059 mcl_audit_mbuf(mca, list, FALSE, alloc); in mbuf_slab_audit() 3063 alloc, TRUE); in mbuf_slab_audit() 3071 if (alloc) { in mbuf_slab_audit() 3588 mcl_audit_mbuf(mca, m, TRUE, alloc); in mbuf_cslab_audit() 3593 if (alloc) { in mbuf_cslab_audit() 3604 if (!alloc && mclverify) { in mbuf_cslab_audit() 3638 if (alloc) { in mbuf_cslab_audit() 8798 boolean_t alloc) argument 8810 if (!alloc) { 8872 if (!alloc) { [all …]
|
| H A D | mcache.c | 1049 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) in mcache_slab_audit() argument 1067 if (!alloc) { in mcache_slab_audit()
|