Home
last modified time | relevance | path

Searched refs:withBytes (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/libkern/libkern/c++/
H A DOSData.h171 static OSPtr<OSData> withBytes(
201 return withBytes(&value, sizeof(T)); in withValue()
H A DOSUnserializeXMLSharedImplementation.h2973 data = OSData::withBytes(o->data, o->size); in buildData()
/xnu-11215/iokit/Kernel/
H A DIOHistogramReporter.cpp285 tmpConfigData = OSData::withBytes(_histogramSegmentsConfig, in handleCreateLegend()
415 tmpConfigData = OSData::withBytes(config, in createLegend()
H A DIONVRAMV3Handler.cpp778 entryContainer = OSData::withBytes(v3Entry, (uint32_t)nvram_v3_var_container_size(header)); in unserializeVariables()
784 entryContainer = OSData::withBytes(v3Entry, (uint32_t)nvram_v3_var_container_size(header)); in unserializeVariables()
910 newContainer = OSData::withBytes(newV3Entry, (uint32_t)newEntrySize); in setVariableInternal()
913 newContainer = OSData::withBytes(newV3Entry, (uint32_t)newEntrySize); in setVariableInternal()
1529 tmpObject = OSData::withBytes(propData, propDataLength); in convertPropToObject()
H A DIOBufferMemoryDescriptor.cpp641 IOBufferMemoryDescriptor::withBytes(const void * inBytes, in withBytes() function in IOBufferMemoryDescriptor
H A DIOPolledInterface.cpp741 data = OSData::withBytes(str2, (unsigned int) strlen(str2)); in IOPolledFileOpen()
H A DIOHibernateIO.cpp1382 md = IOBufferMemoryDescriptor::withBytes(data, handoff->bytecount, kIODirectionOutIn); in IOHibernateDone()
1398 bmd = IOBufferMemoryDescriptor::withBytes(&vars->volumeCryptKey[0], in IOHibernateDone()
H A DIODeviceTreeSupport.cpp455 data = OSData::withBytes(prop, propSize); in MakeReferenceTable()
H A DIOPlatformExpert.cpp1304 data = OSData::withBytes((void *) value, len); in PEWriteNVRAMPropertyInternal()
H A DIONVRAM.cpp1891 propObject = OSData::withBytes(tmpString->getCStringNoCopy(), in setPropertyWithGUIDAndName()
H A DIORegistryEntry.cpp938 OSData * data = OSData::withBytes( bytes, length ); in setProperty()
/xnu-11215/iokit/IOKit/
H A DIOBufferMemoryDescriptor.h294 static OSPtr<IOBufferMemoryDescriptor> withBytes(
/xnu-11215/libkern/c++/
H A DOSData.cpp176 OSData::withBytes(const void *bytes, unsigned int inLength) in withBytes() function in OSData
H A DOSUnserialize.y612 d = OSData::withBytes(o->object, o->size); in buildOSData()
H A DOSSerializeBinary.cpp510 o = OSData::withBytes(next, len); in OSUnserializeBinary()
H A DOSUnserializeXML.y1362 data = OSData::withBytes(o->data, o->size); in buildData()
H A DOSUnserialize.cpp2262 d = OSData::withBytes(o->object, o->size); in buildOSData()
H A DOSKext.cpp3818 uncompressedData = OSData::withBytes(data, fullSize); in extractMkext2FileData()
12054 headerData = OSData::withBytes(kext_mach_hdr,
/xnu-11215/iokit/Tests/
H A DTestContainers.cpp189 test1 = OSData::withBytes(testData, sizeof(testData)); in testData()
/xnu-11215/iokit/System/
H A DOSUnserializeXMLSharedImplementation.h2973 data = OSData::withBytes(o->data, o->size); in buildData()