Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 37) sorted by relevance

12

/xnu-11215/tools/lldbmacros/tests/lldbmock/
H A Dmemorymock.py174 def __set__(self, instance, value): argument
185 def __get__(self, instance, owner = None): argument
190 def __delete__(self, instance): argument
264 def __set__(self, instance, value): argument
273 barr = BitArray(instance._buf)
285 def __get__(self, instance, owner = None): argument
288 barrb = BitArray(instance._buf)
352 def __set__(self, instance, value): argument
358 def __get__(self, instance, owner = None): argument
364 def __delete__(self, instance): argument
[all …]
/xnu-11215/iokit/Kernel/
H A DIOKitDebug.cpp908 IOTracking * instance; in IOTrackingAddressCompare() local
912 instance = (typeof(instance))INSTANCE_GET(inst); in IOTrackingAddressCompare()
916 laddr = (uintptr_t) (instance + 1); in IOTrackingAddressCompare()
920 instance = (typeof(instance))(inst & ~kInstanceFlags); in IOTrackingAddressCompare()
924 raddr = (uintptr_t) (instance + 1); in IOTrackingAddressCompare()
987 IOTracking * instance; in IOTrackingLeakScan() local
1043 instance = (typeof(instance))INSTANCE_GET(inst); in IOTrackingLeakScan()
1126 IOTracking * instance; in IOTrackingLeaks() local
1162 instance = (typeof(instance))INSTANCE_GET(inst); in IOTrackingLeaks()
1163 site = instance->site; in IOTrackingLeaks()
[all …]
/xnu-11215/tools/tests/perf_index/PerfIndex_COPS_Module/
H A DPITest.m17 PITest *instance = nil;
18 if(instance == nil)
19 instance = [[PITest alloc] init];
20 [instance setTestName:[options objectForKey:@"name"]];
21 return instance;
/xnu-11215/san/tools/
H A Dkstksz17 local instance = {
28 return setmetatable(instance, ksancov.Event)
44 local instance = {
51 local self = setmetatable(instance, ksancov.Session)
/xnu-11215/libkern/c++/
H A DOSSymbol.cpp151 inline static OSSymbolPool &instance() __pure2;
187 OSSymbolPool::instance() in instance() function in OSSymbolPool
440 auto &pool = OSSymbolPool::instance(); in withCString()
498 auto &pool = OSSymbolPool::instance(); in withCStringNoCopy()
547 return OSSymbolPool::instance().findSymbol(key); in existingSymbolForString()
557 return OSSymbolPool::instance().findSymbol(key); in existingSymbolForCString()
563 OSSymbolPool::instance().checkForPageUnload(startAddr, endAddr); in checkForPageUnload()
648 OSSymbolPool::instance().removeSymbol(this); in free()
H A DOSMetaClass.cpp1045 OSMetaClass::addInstance(const OSObject * instance, bool super) const in addInstance() argument
1057 reserved->instances->setLastObject(instance); in addInstance()
1072 reserved->instances->removeObject(instance); in removeInstance()
1571 OSMetaClass::trackedDelete(void * instance, size_t size) in trackedDelete() argument
1573 IOTracking * mem = (typeof(mem))instance; mem--; in trackedDelete()
1582 OSMetaClass::trackedInstance(OSObject * instance) const in trackedInstance()
1584 IOTracking * mem = (typeof(mem))instance; mem--; in trackedInstance()
1590 OSMetaClass::trackedFree(OSObject * instance) const in trackedFree()
1592 IOTracking * mem = (typeof(mem))instance; mem--; in trackedFree()
1598 OSMetaClass::trackedAccumSize(OSObject * instance, size_t size) const in trackedAccumSize() argument
[all …]
/xnu-11215/iokit/DriverKit/
H A DIOUserClient.iig94 * the data to be returned, and the OSData instance will be released by the OS.
165 * to the IOService::NewUserClient API to create an instance representing the connection.
217 …n IOConnectAsyncMethod calls from the owner of the connection come will pass an OSAction instance.
234 …* an IOMemoryDescriptor instance for shared memory. For a given IOUserClient instance
235 … CopyClientMemoryForType() with a given type, should return the same IOMemoryDescriptor instance.
238 …* @param memory An instance of IOMemoryDescriptor on success. One reference will be consumed…
H A DOSAction.iig48 * Methods to allocate an OSAction instance are generated for each method defined in a class with
66 * @brief Create an instance of OSAction.
67 …* @discussion Methods to allocate an OSAction instance are generated for each method defined in a…
132 …* An OSAction instance only supports one waiter and WillWait() will return an error i…
H A DIODMACommand.iig82 * The IODMACommand instance represents the mapping and should be kept prepared for the
101 * @brief Create an IODMACommand instance.
102 * @param device The device (typically an IOPCIDevice instance that will be
H A DIODataQueueDispatchSource.iig73 …* @param action OSAction instance specifying the callback method. The OSAction object will b…
85 …* @param action OSAction instance specifying the callback method. The OSAction object will b…
H A DIOServiceNotificationDispatchSource.iig96 …* @param action OSAction instance specifying the callback method. The OSAction object will b…
/xnu-11215/libkern/libkern/c++/
H A DOSMetaClass.h952 typedef bool (*OSMetaClassInstanceApplierFunction)(const OSObject * instance,
1799 void addInstance(const OSObject * instance, bool super = false) const;
1800 void removeInstance(const OSObject * instance, bool super = false) const;
2605 void trackedInstance(OSObject * instance) const;
2606 void trackedFree(OSObject * instance) const;
2607 void trackedAccumSize(OSObject * instance, size_t size) const;
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation_kern.c1639 #define IMPL_MAP_FN_START_SIZE(map_fn, instance) \ argument
1641 call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start, mach_vm_size_t size) \
1643 return call_map_fn__ ## instance(map_fn, map, start, size); \
1646 #define IMPL_MAP_FN_HINT_SIZE(map_fn, instance) … argument
1648 … call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start_hint, mach_vm_size_t size) \
1650 return call_map_fn__ ## instance(map_fn, map, start_hint, size); \
1667 #define IMPL_MAP_FN_START_SIZE_FLAGS(map_fn, instance) … argument
1671 …return call_map_fn__ ## instance ## __flags(map_fn, map, start, size, flags); …
1674 #define IMPL_MAP_FN_PROT_PAIRS(map_fn, instance) \ argument
1676 call_ ## map_fn ## __ ## instance ## __prot_pairs(MAP_T map, vm_prot_t cur, vm_prot_t max) \
[all …]
H A Dvm_parameter_validation.h3882 #define IMPL_REMAP_FN_HELPER(remap_fn, instance, type, ...) … argument
3884 …call_ ## remap_fn ## __ ## instance ## __ ## type(MAP_T map DROP_COMMAS(__VA_ARGS__)) …
3886 return call_remap_fn__ ## instance ## __ ## type(remap_fn, map DROP_TYPES(__VA_ARGS__)); \
3889 #define IMPL_REMAP_FN_SRC_SIZE(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance, src_siz… argument
3890 #define IMPL_REMAP_FN_DST_SIZE(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance, dst_siz… argument
3891 #define IMPL_REMAP_FN_SRC_DST_SIZE(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance, src… argument
3892 #define IMPL_REMAP_FN_SRC_SIZE_INHERIT(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance,… argument
3893 #define IMPL_REMAP_FN_SRC_SIZE_FLAGS(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance, f… argument
3894 #define IMPL_REMAP_FN_PROT_PAIRS(remap_fn, instance) IMPL_REMAP_FN_HELPER(remap_fn, instance, prot_… argument
/xnu-11215/doc/primitives/
H A Dstring-handling.md73 instance, the following code is buggy:
92 instance. However, it creates new problems:
131 in a trap. For instance:
168 a character array such that you get a NUL-terminated view of it. For instance,
194 `p_nul` is a pointer to the NUL character in that string.) For instance, if you
214 seem like they all do the trick. For instance:
/xnu-11215/bsd/net/
H A Dif_media.h331 #define IFM_MAKEWORD(type, subtype, options, instance) \ argument
332 ((type) | (subtype) | (options) | ((instance) << IFM_ISHIFT))
H A Dif_headless.c942 uuid_t * provider, uuid_t * instance) in create_netif_provider_and_instance() argument
1001 instance, in create_netif_provider_and_instance()
1041 detach_provider_and_instance(uuid_t provider, uuid_t instance) in detach_provider_and_instance() argument
1046 if (!uuid_is_null(instance)) { in detach_provider_and_instance()
1048 instance); in detach_provider_and_instance()
1053 uuid_clear(instance); in detach_provider_and_instance()
H A Dif_redirect.c1030 uuid_t *provider, uuid_t *instance) in create_netif_provider_and_instance() argument
1086 *provider, rd, NULL, instance, &net_init, ifp); in create_netif_provider_and_instance()
1120 detach_provider_and_instance(uuid_t provider, uuid_t instance) in detach_provider_and_instance() argument
1125 if (!uuid_is_null(instance)) { in detach_provider_and_instance()
1127 instance); in detach_provider_and_instance()
1131 uuid_clear(instance); in detach_provider_and_instance()
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c955 #define IMPL_MAP_FN_START_SIZE(map_fn, instance) \ argument
957 call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start, mach_vm_size_t size) \
959 return call_map_fn__ ## instance(map_fn, map, start, size); \
962 #define IMPL_MAP_FN_HINT_SIZE(map_fn, instance) … argument
964 … call_ ## map_fn ## __ ## instance (MAP_T map, mach_vm_address_t start_hint, mach_vm_size_t size) \
966 return call_map_fn__ ## instance(map_fn, map, start_hint, size); \
983 #define IMPL_MAP_FN_START_SIZE_FLAGS(map_fn, instance) … argument
987 …return call_map_fn__ ## instance ## __flags(map_fn, map, start, size, flags); …
990 #define IMPL_MAP_FN_PROT_PAIRS(map_fn, instance) \ argument
992 call_ ## map_fn ## __ ## instance ## __prot_pairs(MAP_T map, vm_prot_t cur, vm_prot_t max) \
[all …]
/xnu-11215/libsyscall/mach/
H A Dvm_map.defs31 * really just a second instance of the "wide" Mach VM interfaces.
H A Derr_libkern.sub54 "(libkern/metaclass) can't find superclass during instance creation", /* 9 */
/xnu-11215/doc/building/
H A Dbound_checks.md18 system's configuration `files` under each kernel component. For instance, one of
47 and make inferences based on register values. For instance, if we look at one
140 certain conditions can still result in an un-livable kernel (for instance,
/xnu-11215/makedefs/
H A DMakeInc.dir8 # For instance, a makefile need only define the special variable SETUP_SUBDIRS
/xnu-11215/doc/debugging/
H A Dmacro_testing.md60 A very simple mocking designed for replacing a `value` class instance or
/xnu-11215/osfmk/mach/machine/
H A Dmachine_types.defs66 * For instance, the IPC system represents

12