Searched refs:objects (Results 1 - 10 of 10) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSDictionary.h | 50 An instance of OSDictionary is a mutable container which contains a list of OSMetaClassBase derived object references and these objects are identified and acquired by unique associative keys. When an object is placed into a dictionary, a unique identifier or key must provided to identify the object within the collection. The key then must be provided to find the object within the collection. If an object is not found within the collection, a 0 is returned. Placing an object into a dictionary for a key, which already identifies an object within that dictionary, will replace the current object with the new object. 52 Objects placed into a dictionary are automatically retained and objects removed or replaced are automatically released. All objects are released when the collection is freed. 89 @abstract A static constructor function to create and initialize an instance of OSDictionary and populate it with objects provided. 90 @param objects A static array of OSMetaClassBase derived objects. 96 static OSDictionary *withObjects(const OSObject *objects[], 102 @abstract A static constructor function to create and initialize an instance of OSDictionary and populate it with objects provided. 103 @param objects A static array of OSMetaClassBase derived objects [all...] |
H A D | OSArray.h | 42 An instance of an OSArray is a mutable collection which maintains a list of references to OSMetaClassBase derived objects. Objects are referenced by index, where the index is an integer with a value of 0 to N-1 where N is the number of objects contained within the array. 44 Objects placed into an array are automatically retained and objects removed or replaced are automatically released. All objects are released when the array is freed. 82 @abstract A static constructor function to create and initialize a new instance of OSArray and populates it with a list of objects provided. 83 @param objects A static array of references to OSMetaClassBase derived objects. 84 @param count The number of objects provided. 88 static OSArray *withObjects(const OSObject *objects[], 110 @abstract A member function which initializes an instance of OSArray and populates it with the given list of objects [all...] |
H A D | OSSet.h | 40 @abstract A collection class for storing OSMetaClassBase derived objects. 42 Instances of OSSet store unique OSMetaClassBase derived objects in a non-ordered manner. 69 @param capacity The initial capacity of the collection. The capacity is the total number of objects that can be stored in the collection. 75 @abstract A static constructor function to create and initialize an instance of OSSet and populate it with the objects provided. 76 @param objects A static array of OSMetaClassBase derived objects which are used to populate the collection. 77 @param count The number of objects passed to the collection. 78 @param capacity The initial storage size of the collection. The capacity is the total number of objects that can be stored in the collection. This value must be equal to or larger than the count parameter. 81 static OSSet *withObjects(const OSObject *objects[], 86 @abstract A static constructor function to create and initialize an instance of OSSet and populate it with the objects fro [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/ |
H A D | OSDictionary.cpp | 85 bool OSDictionary::initWithObjects(const OSObject *objects[], argument 92 if (!objects || !keys) 106 const OSMetaClassBase *newObject = *objects++; 115 bool OSDictionary::initWithObjects(const OSObject *objects[], argument 122 if (!objects || !keys) 137 const OSMetaClassBase *newObject = *objects++; 195 OSDictionary *OSDictionary::withObjects(const OSObject *objects[], argument 202 if (me && !me->initWithObjects(objects, keys, count, capacity)) { 210 OSDictionary *OSDictionary::withObjects(const OSObject *objects[], argument 217 if (me && !me->initWithObjects(objects, key [all...] |
H A D | OSArray.cpp | 83 bool OSArray::initWithObjects(const OSObject *objects[], argument 96 if (!objects || !initWithCapacity(initCapacity)) 100 const OSMetaClassBase *newObject = *objects++; 134 OSArray *OSArray::withObjects(const OSObject *objects[], argument 140 if (me && !me->initWithObjects(objects, count, capacity)) {
|
H A D | OSSet.cpp | 116 OSSet *OSSet::withObjects(const OSObject *objects[], argument 122 if (me && !me->initWithObjects(objects, count, capacity)) {
|
H A D | OSUnserializeXML.cpp | 35 // parser for unserializing OSContainer objects serialized to XML 166 // this is the internal struct used to hold objects on parser stack 167 // it represents objects both before and after they have been created 187 object_t *objects; // internal objects in use member in struct:parser_state 188 object_t *freeObjects; // internal objects that are free 441 /* Copy COUNT objects from FROM to TO. The source and destination do 2443 o->free = state->objects; 2444 state->objects = o; 2460 object_t *t, *o = state->objects; [all...] |
H A D | OSUnserializeXML.y | 35 // parser for unserializing OSContainer objects serialized to XML 71 // this is the internal struct used to hold objects on parser stack 72 // it represents objects both before and after they have been created 92 object_t *objects; // internal objects in use 93 object_t *freeObjects; // internal objects that are free 831 o->free = state->objects; 832 state->objects = o; 848 object_t *t, *o = state->objects; 1073 state->objects [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/ |
H A D | dp_memory_object.c | 83 * when abstract memory objects must be scanned 467 /* based on a performance bottleneck with large memory objects */ 814 * Handle requests for memory objects from the 891 vm_offset_t oaddr = 0; /* memory for objects */ 893 default_pager_object_t * objects; local 929 osize = round_page(actual * sizeof * objects); 930 opotential = osize / sizeof * objects; 936 objects = (default_pager_object_t *)oaddr; 956 * we will only miss recent objects, 989 objects[num_object [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_kmsg.c | 560 ipc_object_t *objects; local 565 objects = (ipc_object_t *) dsc->address; 571 assert(objects != (ipc_object_t *) 0); 576 ipc_object_t object = objects[j]; 1754 ipc_object_t *objects; local 1820 objects = (ipc_object_t *) data; 1824 mach_port_name_t port = (mach_port_name_t) objects[j]; 1836 object = objects[k]; 1852 objects[j] = object; 2051 ipc_object_t *objects; local 2716 mach_port_name_t *objects; local [all...] |
Completed in 57 milliseconds