Searched refs:keys (Results 1 - 10 of 10) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSDictionary.h48 @abstract A collection class whose instances maintain a list of object references. Objects in the collection are acquired with unique associative keys.
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.
91 @param keys A static array of OSSymbol keys.
97 const OSSymbol *keys[],
104 @param keys A static array of OSString keys.
110 const OSString *keys[],
132 @abstract A member function to initialize an instance of OSDictionary and populate it with the provided objects and keys.
134 @param keys
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSDictionary.cpp86 const OSSymbol *keys[],
92 if (!objects || !keys)
108 if (!newObject || !keys[i] || !setObject(keys[i], newObject))
116 const OSString *keys[],
122 if (!objects || !keys)
136 const OSSymbol *key = OSSymbol::withString(*keys++);
196 const OSSymbol *keys[],
202 if (me && !me->initWithObjects(objects, keys, count, capacity)) {
211 const OSString *keys[],
85 initWithObjects(const OSObject *objects[], const OSSymbol *keys[], unsigned int theCount, unsigned int theCapacity) argument
115 initWithObjects(const OSObject *objects[], const OSString *keys[], unsigned int theCount, unsigned int theCapacity) argument
195 withObjects(const OSObject *objects[], const OSSymbol *keys[], unsigned int count, unsigned int capacity) argument
210 withObjects(const OSObject *objects[], const OSString *keys[], unsigned int count, unsigned int capacity) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIODeviceTreeSupport.h60 const char * keys );
71 IOOptionBits options, const char * keys );
H A DIOService.h705 * they add keys to an existing dictionary, or create one. */
810 @discussion This is a helper function to aid in implementing @link matchPropertyTable matchPropertyTable@/link. A collection of dictionary keys specifies properties in a matching dictionary to be compared, with <code>compareProperty</code>, with an IOService object's property table, if <code>compareProperty</code> returns <code>true</code> for each key, success is returned; otherwise failure.
812 @param keys A collection (eg. OSSet, OSArray, OSDictionary) which should contain OSStrings (or OSSymbols) that specify the property keys to be compared.
816 OSCollection * keys );
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIORegistryEntry.cpp85 const OSSymbol * keys[ kNumSetIndex ]; member in class:IORegistryPlane
210 plane->keys[ kParentSetIndex ] = parentKey;
211 plane->keys[ kChildSetIndex ] = childKey;
317 old->registryTable()->removeObject( plane->keys[ kParentSetIndex ] );
318 old->registryTable()->removeObject( plane->keys[ kChildSetIndex ] );
1285 registryTable()->getObject( plane->keys[ relation ] ))) {
1296 result = registryTable()->setObject( plane->keys[ relation ],
1313 registryTable()->getObject( plane->keys[ relation ]))) {
1318 registryTable()->removeObject( plane->keys[ relation ]);
1329 plane->keys[ kParentSetInde
[all...]
H A DIODeviceTreeSupport.cpp837 const char * keys )
842 obj = OSUnserialize( keys, 0 );
849 else IOLog("Couldn't unserialize %s\n", keys );
856 IOOptionBits options, const char * keys )
885 if( keys) {
886 cmp = IODTMatchNubWithKeys( next, keys );
H A DIOMemoryDescriptor.cpp3664 OSSymbol const *keys[2];
3685 keys[0] = OSSymbol::withCString("address");
3686 keys[1] = OSSymbol::withCString("length");
3727 OSDictionary *dict = OSDictionary::withObjects((const OSObject **)values, (const OSSymbol **)keys, 2);
3749 if (keys[0])
3750 keys[0]->release();
3751 if (keys[1])
3752 keys[1]->release();
3773 char const *keys[3] = {"offset", "length", "parent"};
3789 !s->addString(keys[
[all...]
H A DIOService.cpp3899 OSCollection * keys )
3905 if( !matching || !keys)
3908 iter = OSCollectionIterator::withCollection( keys );
3916 keys->release(); // !! consume a ref !!
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dskiplists.s391 bgt-- cr5,mapSkipListPanic ; die if keys are out of order
474 bgt- cr0,mapSkipListPanic ; die if keys are out of order
H A Dhw_vm.s3994 hpfFoundIt: lwz r12,pmapFlags(r28) ; Get the pmap flags so we can find the keys for this segment
4126 rlwinm r6,r12,19,1,3 ; Insert the keys and N bit
4161 or r10,r10,r12 ; Move in low part and keys
4478 rldimi r24,r2,0,52 ; Insert the keys, WIMG, RC, etc.
5224 lwz r9,pmapFlags(r3) ; Get the flags for the keys now
5360 rlwimi r8,r9,28,1,3 ; Insert the keys and N bit
5581 rlwinm r8,r7,19,1,3 ; Insert the keys and N bit

Completed in 142 milliseconds