Home
last modified time | relevance | path

Searched refs:OSPtr (Results 1 – 25 of 63) sorted by relevance

123

/xnu-11215/libkern/libkern/c++/
H A DOSUnserialize.h71 extern "C++" OSPtr<OSObject> OSUnserializeXML(
75 extern "C++" OSPtr<OSObject> OSUnserializeXML(
101 extern "C++" OSPtr<OSObject> OSUnserializeXML(
106 extern "C++" OSPtr<OSObject> OSUnserializeXML(
111 extern "C++" OSPtr<OSObject>
114 extern "C++" OSPtr<OSObject>
118 extern OSPtr<OSObject> OSUnserialize(const char *buffer, OSString * *errorString = NULL);
120 extern OSPtr<OSObject> OSUnserialize(const char *buffer, OSSharedPtr<OSString>& errorString);
H A DOSKext.h206 OSPtr<OSArray> crashes;
309 OSPtr<OSDictionary> infoDict;
311 OSPtr<const OSSymbol> bundleID;
331 OSPtr<OSData> linkedExecutable;
337 OSPtr<OSData> interfaceUUID;
338 OSPtr<OSData> driverKitUUID;
379 OSPtr<OSArray> savedMutableSegments;
381 OSPtr<OSData> dextUniqueID;
430 static OSPtr<OSKext> withBooterData(
475 static OSPtr<OSKext> withMkext2Info(
[all …]
H A DOSSet.h99 OSPtr<OSArray> members;
104 OSPtr<OSArray> members;
143 static OSPtr<OSSet> withCapacity(unsigned int capacity);
177 static OSPtr<OSSet> withObjects(
215 static OSPtr<OSSet> withArray(
251 static OSPtr<OSSet> withSet(const OSSet * set,
786 OSPtr<OSCollection> copyCollection(OSDictionary *cycleDict = NULL) APPLE_KEXT_OVERRIDE;
H A DOSData.h148 static OSPtr<OSData> withCapacity(unsigned int capacity __xnu_data_size);
171 static OSPtr<OSData> withBytes(
197 static OSPtr<OSData>
234 static OSPtr<OSData> withBytesNoCopy(
267 static OSPtr<OSData>
278 static OSPtr<OSData> withValueNoCopy(T&& value) = delete;
302 static OSPtr<OSData> withData(const OSData * inData);
327 static OSPtr<OSData> withData(
H A DOSSymbol.h270 static OSPtr<const OSSymbol> withString(const OSString * aString);
297 static OSPtr<const OSSymbol> withCString(const char * cString);
327 static OSPtr<const OSSymbol> withCStringNoCopy(const char * cString);
346 static OSPtr<const OSSymbol> existingSymbolForString(const OSString *aString);
365 static OSPtr<const OSSymbol> existingSymbolForCString(const char *aCString);
H A DOSSerialize.h103 OSPtr<OSArray> tags; // tags for all objects seen
120 OSPtr<OSData> indexData;
147 static OSPtr<OSSerialize> withCapacity(unsigned int capacity);
149 …static OSPtr<OSSerialize> binaryWithCapacity(unsigned int inCapacity, Editor editor = NULL, void *…
345 static OSPtr<OSSerializer> forTarget(
351 static OSPtr<OSSerializer> withBlock(
H A DOSValueObject.h99 static OSPtr<OSValueObject> create();
115 static OSPtr<OSValueObject> withValue(const T& value);
131 static OSPtr<OSValueObject> withValueObject(const OSValueObject * inValueObject);
411 OSPtr<OSValueObject<T> > OSValueObjectWithValue(const T& value);
417 OSPtr<OSValueObject<T> >
435 OSPtr<OSValueObject<T> >
450 OSPtr<OSValueObject<T> >
572 OSPtr<OSValueObject<T> >
H A DOSNumber.h140 static OSPtr<OSNumber> withNumber(
151 static OSPtr<OSNumber> withDouble(
159 static OSPtr<OSNumber> withFloat(
193 static OSPtr<OSNumber> withNumber(
H A DOSDictionary.h188 static OSPtr<OSDictionary> withCapacity(unsigned int capacity);
223 static OSPtr<OSDictionary> withObjects(
261 static OSPtr<OSDictionary> withObjects(
302 static OSPtr<OSDictionary> withDictionary(
945 OSPtr<OSCollection> copyCollection(OSDictionary * cycleDict = NULL) APPLE_KEXT_OVERRIDE;
950 OSPtr<OSArray> copyKeys(void);
H A DOSString.h159 static OSPtr<OSString> withString(const OSString * aString);
176 static OSPtr<OSString> withCString(const char * cString);
205 static OSPtr<OSString> withCStringNoCopy(const char * cString);
224 static OSPtr<OSString> withCString(const char *cString, size_t length);
H A DOSArray.h151 static OSPtr<OSArray> withCapacity(unsigned int capacity);
179 static OSPtr<OSArray> withObjects(
217 static OSPtr<OSArray> withArray(
744 OSPtr<OSCollection> copyCollection(OSDictionary * cycleDict = NULL) APPLE_KEXT_OVERRIDE;
/xnu-11215/iokit/IOKit/pwr_mgt/
H A DRootDomain.h344 virtual OSPtr<IONotifier> registerInterest(
630 OSPtr<IOService> wrangler;
637 OSPtr<OSArray> allowedPMSettings;
639 OSPtr<PMTraceWorker> pmTracer;
644 OSPtr<OSDictionary> settingsCallbacks;
645 OSPtr<OSDictionary> fPMSettingsDict;
648 OSPtr<const OSSymbol> _statsNameKey;
649 OSPtr<const OSSymbol> _statsPIDKey;
650 OSPtr<const OSSymbol> _statsTimeMSKey;
834 OSPtr<OSObject> notifierObject;
[all …]
/xnu-11215/iokit/IOKit/
H A DIOCatalogue.h51 extern OSPtr<const OSSymbol> gIOModuleIdentifierKey;
52 extern OSPtr<const OSSymbol> gIOModuleIdentifierKernelKey;
67 OSPtr<OSDictionary> personalities;
98 OSPtr<OSOrderedSet> findDrivers( IOService * service, SInt32 * generationCount );
107 OSPtr<OSOrderedSet> findDrivers( OSDictionary * matching, SInt32 * generationCount );
264 extern OSPtr<const OSSymbol> gIOClassKey;
265 extern OSPtr<const OSSymbol> gIOProbeScoreKey;
266 extern OSPtr<IOCatalogue> gIOCatalogue;
H A DIORegistryEntry.h115 virtual OSPtr<OSObject> copyProperty( const char * aKey,
129 virtual OSPtr<OSObject> copyProperty( const OSString * aKey,
143 virtual OSPtr<OSObject> copyProperty( const OSSymbol * aKey,
610 virtual OSPtr<OSObject> copyProperty( const OSSymbol * aKey) const;
626 virtual OSPtr<OSObject> copyProperty( const char * aKey) const;
695 OSPtr<OSArray> copyPropertyKeys(void) const;
820 virtual OSPtr<const OSSymbol> copyName(
877 virtual OSPtr<const OSSymbol> copyLocation(
923 static OSPtr<IORegistryEntry> fromPath( const char * path,
938 virtual OSPtr<IORegistryEntry> childFromPath( const char * path,
[all …]
H A DIOKernelReporters.h207 OSPtr<IOReportLegendEntry> createLegend(void);
568 virtual OSPtr<IOReportLegendEntry> handleCreateLegend(void);
731 static OSPtr<IOReportLegendEntry> legendWith(const uint64_t *channelIDs,
752 OSPtr<OSArray> copyChannelIDs(void);
773 static OSPtr<IOReportLegendEntry> legendWith(OSArray *channelIDs,
789 OSPtr<OSArray> _channelNames;
842 static OSPtr<IOSimpleReporter> with(IOService *reportingService,
960 static OSPtr<IOStateReporter> with(IOService *reportingService,
1563 static OSPtr<IOHistogramReporter> with(IOService *reportingService,
1742 static OSPtr<IOReportLegend> with(OSArray *legend);
[all …]
H A DIOBufferMemoryDescriptor.h134 static OSPtr<IOBufferMemoryDescriptor> inTaskWithGuardPages(
185 static OSPtr<IOBufferMemoryDescriptor> withCopy(
192 static OSPtr<IOBufferMemoryDescriptor> withOptions( IOOptionBits options,
214 static OSPtr<IOBufferMemoryDescriptor> inTaskWithOptions(
240 static OSPtr<IOBufferMemoryDescriptor> inTaskWithOptions(
264 static OSPtr<IOBufferMemoryDescriptor> inTaskWithPhysicalMask(
277 static OSPtr<IOBufferMemoryDescriptor> withCapacity(
294 static OSPtr<IOBufferMemoryDescriptor> withBytes(
H A DIOCommandPool.h85 OSPtr<IOCommandGate> fSerializer; /* command gate used for serializing pool access */
140 static OSPtr<IOCommandPool> withWorkLoop(IOWorkLoop *inWorkLoop);
154 static OSPtr<IOCommandPool> commandPool(IOService *inOwner,
172 virtual OSPtr<IOCommand> getCommand(
H A DIOMemoryDescriptor.h296 OSPtr<OSSet> _mappings;
545 static OSPtr<IOMemoryDescriptor> withAddressRange(
562 static OSPtr<IOMemoryDescriptor> withAddressRanges(
618 static OSPtr<IOMemoryDescriptor>
760 OSPtr<IOMemoryMap> createMappingInTask(
768 virtual OSPtr<IOMemoryMap> map(
782 virtual OSPtr<IOMemoryMap> map(
793 virtual OSPtr<IOMemoryMap> setMapping(
886 OSPtr<IOMemoryDescriptor> fMemory;
887 OSPtr<IOMemoryMap> fSuperMap;
[all …]
H A DIODeviceMemory.h70 static OSPtr<OSArray> arrayFromList(
81 static OSPtr<IODeviceMemory> withRange(
93 static OSPtr<IODeviceMemory> withSubRange(
H A DIOService.h899 static OSPtr<IONotifier> addNotification(
1034 static OSPtr<OSDictionary> nameMatching( const char * name,
1056 static OSPtr<OSDictionary> nameMatching( const OSString* name,
1238 virtual OSPtr<OSIterator> getProviderIterator( void ) const;
1259 virtual OSPtr<OSIterator> getClientIterator( void ) const;
1266 virtual OSPtr<OSIterator> getOpenClientIterator( void ) const;
1691 static OSPtr<IONotifier> installNotification(
1698 static OSPtr<IONotifier> installNotification(
1756 static OSPtr<IONotifier> setNotification(
1762 static OSPtr<IONotifier> doInstallNotification(
[all …]
H A DIODataQueue.h100 static OSPtr<IODataQueue> withCapacity(UInt32 size __xnu_data_size);
110 static OSPtr<IODataQueue> withEntries(UInt32 numEntries, UInt32 entrySize __xnu_data_size);
155 virtual OSPtr<IOMemoryDescriptor> getMemoryDescriptor();
H A DIOSharedDataQueue.h91 static OSPtr<IOSharedDataQueue> withCapacity(UInt32 size __xnu_data_size);
101 static OSPtr<IOSharedDataQueue> withEntries(UInt32 numEntries, UInt32 entrySize __xnu_data_size);
118 virtual OSPtr<IOMemoryDescriptor> getMemoryDescriptor() APPLE_KEXT_OVERRIDE;
H A DIODMACommand.h219 static OSPtr<IODMACommand>
259 static OSPtr<IODMACommand>
273 static OSPtr<IODMACommand> withRefCon(void * refCon);
281 virtual OSPtr<IODMACommand> cloneCommand(void *refCon = NULL);
540 OSPtr<IOBufferMemoryDescriptor> createCopyBuffer(IODirection direction, UInt64 length);
578 OSPtr<IOMapper> fMapper;
582 OSPtr<IOMemoryDescriptor> fMemory;
H A DIOMemoryCursor.h115 static OSPtr<IOMemoryCursor>
191 static OSPtr<IONaturalMemoryCursor>
267 static OSPtr<IOBigMemoryCursor>
343 static OSPtr<IOLittleMemoryCursor>
H A DIONVRAM.h98 OSPtr<OSDictionary> _varDict;
129 virtual OSPtr<OSDictionary> dictionaryWithProperties(void) const APPLE_KEXT_OVERRIDE;
130 virtual OSPtr<OSObject> copyProperty(const OSSymbol *aKey) const APPLE_KEXT_OVERRIDE;
131 virtual OSPtr<OSObject> copyProperty(const char *aKey) const APPLE_KEXT_OVERRIDE;

123