Searched refs:anObject (Results 1 - 21 of 21) sorted by relevance

/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSOrderedSet.h373 * @param anObject The OSMetaClassBase-derived object to be added
376 * <code>true</code> if <code>anObject</code> was successfully
384 * If <code>anObject</code> is not already in the ordered set
388 * with arguments each existingObject, <code>anObject</code>,
393 * It then inserts <code>anObject</code> at the index of the existing object.
398 * that <code>anObject</code> is already present in the set,
406 virtual bool setObject(const OSMetaClassBase * anObject);
416 * @param anObject The OSMetaClassBase-derived object
419 * <code>true</code> if <code>anObject</code> was successfully added
431 * A <code>false</code> return value can mean either that <code>anObject</cod
[all...]
H A DOSArray.h434 * @param anObject The object to add to the OSArray instance.
437 * <code>true</code> if the addition of <code>anObject</code> was successful,
444 virtual bool setObject(const OSMetaClassBase * anObject);
456 * @param anObject The object to add to the array.
459 * <code>true</code> if the addition of <code>anObject</code>
482 const OSMetaClassBase * anObject);
512 * @param anObject The object to be placed into the array.
519 const OSMetaClassBase * anObject);
566 * @param anObject The object to be compared against the receiver.
577 virtual bool isEqualTo(const OSMetaClassBase * anObject) cons
[all...]
H A DOSSet.h510 * @param anObject The OSMetaClassBase-derived object to be added to the set.
513 * <code>true</code> if <code>anObject</code> was successfully
522 * that <code>anObject</code> is already present in the set,
528 virtual bool setObject(const OSMetaClassBase * anObject);
593 * @param anObject The OSMetaClassBase-derived object
599 virtual void removeObject(const OSMetaClassBase * anObject);
608 * @param anObject The OSMetaClassBase-derived object
612 * <code>true</code> if <code>anObject</code> is present within the set,
619 virtual bool containsObject(const OSMetaClassBase * anObject) const;
628 * @param anObject Th
[all...]
H A DOSDictionary.h563 * @param anObject The object to be stored in the dictionary.
575 const OSMetaClassBase * anObject);
585 * @param anObject The object to be stored in the dictionary.
598 const OSMetaClassBase * anObject);
609 * @param anObject The object to be stored in the dictionary.
622 const OSMetaClassBase * anObject);
823 * @param anObject An object to be compared against the receiver.
833 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSBoolean.h202 * @param anObject An object to be compared against the receiver.
212 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSNumber.h389 * @param anObject An object to be compared against the receiver.
399 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSString.h365 * @param anObject The object to be compared against the receiver.
376 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSSymbol.h356 * @param anObject The object to be compared against the receiver.
366 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSData.h633 * @param anObject The object to be compared against the receiver.
644 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
H A DOSMetaClass.h594 * @param anObject The object to copmare to the receiver.
605 * <code>true</code> if <code>anObject</code>
608 virtual bool isEqualTo(const OSMetaClassBase * anObject) const;
696 * @param anObject A pointer to the object to be cast.
701 * <code>anObject</code> if the object is derived
710 const OSMetaClassBase * anObject,
/darwin-on-arm/xnu/libkern/c++/
H A DOSOrderedSet.cpp167 bool OSOrderedSet::setObject(unsigned int index, const OSMetaClassBase *anObject) argument
172 if ((index > count) || !anObject)
175 if (containsObject(anObject))
187 array[index].obj = anObject;
189 anObject->taggedRetain(OSTypeID(OSCollection));
196 bool OSOrderedSet::setFirstObject(const OSMetaClassBase *anObject) argument
198 return( setObject(0, anObject));
201 bool OSOrderedSet::setLastObject(const OSMetaClassBase *anObject) argument
203 return( setObject( count, anObject));
210 bool OSOrderedSet::setObject(const OSMetaClassBase *anObject )
222 removeObject(const OSMetaClassBase *anObject) argument
[all...]
H A DOSSet.cpp197 bool OSSet::setObject(const OSMetaClassBase *anObject) argument
199 if (containsObject(anObject)) {
203 return members->setObject(anObject);
209 const OSMetaClassBase * anObject = 0; local
212 for (int i = 0; (anObject = array->getObject(i)); i++) {
217 if (containsObject(anObject)) {
220 if (!setObject(anObject)) {
233 void OSSet::removeObject(const OSMetaClassBase *anObject) argument
238 if (probeObject == anObject) {
246 bool OSSet::containsObject(const OSMetaClassBase *anObject) cons
[all...]
H A DOSArray.cpp227 bool OSArray::setObject(const OSMetaClassBase *anObject) argument
229 return setObject(count, anObject);
232 bool OSArray::setObject(unsigned int index, const OSMetaClassBase *anObject) argument
237 if ((index > count) || !anObject)
249 array[index] = anObject;
250 anObject->taggedRetain(OSTypeID(OSCollection));
280 replaceObject(unsigned int index, const OSMetaClassBase *anObject) argument
284 if ((index >= count) || !anObject)
289 array[index] = anObject;
290 anObject
358 getNextIndexOfObject(const OSMetaClassBase * anObject, unsigned int index) const argument
[all...]
H A DOSDictionary.cpp318 setObject(const OSSymbol *aKey, const OSMetaClassBase *anObject) argument
323 if (!anObject || !aKey)
340 anObject->taggedRetain(OSTypeID(OSCollection));
341 dictionary[i].value = anObject;
356 anObject->taggedRetain(OSTypeID(OSCollection));
358 dictionary[i].value = anObject;
474 bool OSDictionary::setObject(const OSString *aKey, const OSMetaClassBase *anObject)
475 OBJECT_WRAP_2(setObject, OSSymbol::withString(aKey), anObject)
476 bool OSDictionary::setObject(const char *aKey, const OSMetaClassBase *anObject)
477 OBJECT_WRAP_2(setObject, OSSymbol::withCString(aKey), anObject)
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIORegistryEntry.h280 @param anObject The property value.
283 virtual bool setProperty(const OSSymbol * aKey, OSObject * anObject);
289 @param anObject The property value.
292 virtual bool setProperty(const OSString * aKey, OSObject * anObject);
298 @param anObject The property value.
301 virtual bool setProperty(const char * aKey, OSObject * anObject);
H A DIOCPU.h83 virtual bool setProperty(const OSSymbol *aKey, OSObject *anObject);
H A DIONVRAM.h145 virtual bool setProperty(const OSSymbol *aKey, OSObject *anObject);
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/
H A DIOCPU.h83 virtual bool setProperty(const OSSymbol * aKey, OSObject * anObject);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIORegistryEntry.cpp541 IORegistryEntry::setProperty( const OSSymbol * aKey, OSObject * anObject) argument
548 OSCollection *coll = OSDynamicCast(OSCollection, anObject);
555 ret = getPropertyTable()->setObject( aKey, anObject );
559 if ( anObject && strcmp(kIOKitDiagnosticsKey, aKey->getCStringNoCopy()) != 0 ) {
560 if (ScanForAddrInObject(anObject, 0)) {
624 IORegistryEntry::setProperty( const OSString * aKey, OSObject * anObject) argument
627 bool ret = setProperty( tmpKey, anObject );
634 IORegistryEntry::setProperty( const char * aKey, OSObject * anObject) argument
637 bool ret = setProperty( tmpKey, anObject );
H A DIOCPU.cpp482 bool IOCPU::setProperty(const OSSymbol *aKey, OSObject *anObject) argument
487 stateStr = OSDynamicCast(OSString, anObject);
509 return super::setProperty(aKey, anObject);
H A DIONVRAM.cpp301 bool IODTNVRAM::setProperty(const OSSymbol *aKey, OSObject *anObject) argument
330 propObject = OSDynamicCast(OSBoolean, anObject);
334 propObject = OSDynamicCast(OSNumber, anObject);
338 propObject = OSDynamicCast(OSString, anObject);
342 propObject = OSDynamicCast(OSData, anObject);
344 tmpString = OSDynamicCast(OSString, anObject);

Completed in 173 milliseconds