| /xnu-11215/iokit/Tests/ |
| H A D | TestContainers.cpp | 147 TEST_ASSERT('d', "1d", !test1->getBytesNoCopy()); in testData() 148 TEST_ASSERT('d', "1e", !test1->getBytesNoCopy(10, DATA_SIZE_1 - 10)); in testData() 152 TEST_ASSERT('d', "1i", !test1->getBytesNoCopy()); in testData() 163 TEST_ASSERT('d', "2c", !test1->getBytesNoCopy()); in testData() 166 TEST_ASSERT('d', "2f", test1->getBytesNoCopy()); in testData() 167 cp = (unsigned short *) test1->getBytesNoCopy(); in testData() 174 TEST_ASSERT('d', "2h", test1->getBytesNoCopy(10, DATA_SIZE_1 - 10)); in testData() 175 cp = (unsigned short *) test1->getBytesNoCopy(10, DATA_SIZE_1 - 10); in testData() 194 TEST_ASSERT('d', "3d", test1->getBytesNoCopy()); in testData() 199 TEST_ASSERT('d', "3i", test1->getBytesNoCopy()); in testData() [all …]
|
| H A D | TestIOMemoryDescriptor.cpp | 196 ((uint32_t*) bmd->getBytesNoCopy())[0] = 0x53535300 | dir; in IODMACommandForceDoubleBufferTest() 218 data = ((uint32_t*) bmd->getBytesNoCopy())[0]; in IODMACommandForceDoubleBufferTest() 232 data = ((uint32_t*) bmd->getBytesNoCopy())[0]; in IODMACommandForceDoubleBufferTest() 550 p = (typeof(p))bmd->getBytesNoCopy(); in IOMemoryMapTest() 722 addr = iobmd->getBytesNoCopy(); in IOGuardPageMDTest()
|
| H A D | Tests.cpp | 1320 assert(test->getBytesNoCopy()); in OSDefineValueObjectForDependentType() 1321 assert(test->getBytesNoCopy() == test->getMutableBytesNoCopy()); in OSDefineValueObjectForDependentType() 1332 const auto *const bytes = reinterpret_cast<const uint8_t*>(test->getBytesNoCopy()); in OSDefineValueObjectForDependentType()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOExtensiblePaniclog.cpp | 168 memcpy(&uuid_copy, uuid->getBytesNoCopy(), uuid->getLength()); in Create_Impl() 185 data_id->getCStringNoCopy(), max_len, inst->iomd->getBytesNoCopy(), in Create_Impl() 224 void *addr = (void *)data->getBytesNoCopy(); in InsertData_Impl() 240 void *addr = (void *)data->getBytesNoCopy(); in AppendData_Impl()
|
| H A D | IODMAController.cpp | 64 dmaParentName = createControllerName(*(UInt32 *)dmaParentData->getBytesNoCopy()); in getController() 69 …dmaParentName = createControllerName(*(UInt32 *)dmaParentData->getBytesNoCopy(dmaIndex * sizeof(UI… in getController() 105 _dmaControllerName = createControllerName(*(UInt32 *)phandleData->getBytesNoCopy()); in registerDMAController()
|
| H A D | IOInterruptController.cpp | 76 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in registerInterrupt() 239 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in unregisterInterrupt() 287 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in getInterruptType() 305 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in enableInterrupt() 346 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in disableInterrupt() 372 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in causeInterrupt() 745 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in enableInterrupt() 778 vectorNumber = *(IOInterruptVectorNumber *)vectorData->getBytesNoCopy(); in disableInterrupt()
|
| H A D | IOPlatformExpert.cpp | 861 buffer = (char *)((OSData *)inObj)->getBytesNoCopy(); in getCStringForObject() 1023 timeout = *((uint32_t *) data->getBytesNoCopy()); in PEHaltRestartInternal() 1203 memcpy((void *) value, data->getBytesNoCopy(), vlen); in PEReadNVRAMProperty() 1495 UInt8 *panicWatchdogEnabled = (UInt8 *) data->getBytesNoCopy(); in registerNVRAMController() 1667 char *device_type = (char *)tmpData->getBytesNoCopy(); in createNubs() 1677 uint32_t phys_id = *(UInt32 *)tmpData->getBytesNoCopy(); in createNubs() 1786 str = (const char *) prop->getBytesNoCopy(); in getModelName() 1834 strlcpy( name, (const char *) prop->getBytesNoCopy(), maxLength ); in getMachineName() 1859 strlcpy( name, (const char *)prop->getBytesNoCopy(), maxLength ); in getTargetName() 2023 serialNumber = (UInt8*)(myProperty->getBytesNoCopy()); in createSystemSerialNumberString() [all …]
|
| H A D | IODeviceTreeSupport.cpp | 343 propPtr = (dtptr_t *)propObj->getBytesNoCopy(); in IODTGetLoaderInfo() 527 if (phandle == *((UInt32 *)data->getBytesNoCopy())) { in FindPHandle() 551 *value = *((UInt32 *) data->getBytesNoCopy()); in GetUInt32() 638 addrCmp = (UInt32 *) data->getBytesNoCopy(); in IODTMapOneInterrupt() 669 map = (UInt32 *) data->getBytesNoCopy(); in IODTMapOneInterrupt() 673 maskCmp = (UInt32 *) data->getBytesNoCopy(); in IODTMapOneInterrupt() 822 localBits = (UInt32 *) local->getBytesNoCopy(); in IODTMapInterruptsSharing() 937 names = (const char *) data->getBytesNoCopy(); in CompareKey() 1273 startRange = (UInt32 *) prop->getBytesNoCopy(); in IODTResolveAddressCell() 1401 reg = (UInt32 *) addressProperty->getBytesNoCopy(); in IODTResolveAddressing() [all …]
|
| H A D | IOHibernateIO.cpp | 287 uint8_t *copyDest = (uint8_t *)vars->handoffBuffer->getBytesNoCopy(); in HibernationCopyHandoffRegionFromPageArray() 863 data->getBytesNoCopy(), data->getLength(), &kprintf); in IOHibernateSystemSleep() 909 data->getBytesNoCopy(), data->getLength(), &kprintf); in IOSetBootImageNVRAM() 940 fileExtents = (typeof(fileExtents))vars->fileExtents->getBytesNoCopy(); in IOWriteExtentsToFile() 1143 UInt32 flags = *((UInt32 *)data->getBytesNoCopy()); in IOHibernateSystemHasSlept() 1414 bcopy(data->getBytesNoCopy(), &gIOHibernateBridgeBootSessionUUIDString[0], in IOHibernateDone() 1491 ret = ((uint32_t *)data->getBytesNoCopy())[0]; in IOHibernateWasScreenLocked() 1562 uint8_t *bytes = (uint8_t *)md->getBytesNoCopy(); 2009 src = (uint8_t *) vars->srcBuffer->getBytesNoCopy(); in hibernate_write_image() 2564 uint8_t * src = (uint8_t *) vars->srcBuffer->getBytesNoCopy(); in hibernate_machine_init() [all …]
|
| H A D | IONVRAMV3Handler.cpp | 330 _rawController = *((uint32_t*)data->getBytesNoCopy()); in getNVRAMProperties() 435 v3Entry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in reloadInternal() 563 v3Entry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in findExistingEntry() 669 ephDM = *((uint32_t *)data->getBytesNoCopy()); in handleEphDM() 1063 varEntry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in reclaim() 1120 varEntry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in getAppendSize() 1166 varEntry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in syncRaw() 1290 varEntry = (struct nvram_v3_var_entry *)entryContainer->getBytesNoCopy(); in syncBlock() 1472 bcopy(tmpData->getBytesNoCopy(), buffer, offset); in convertObjectToProp()
|
| H A D | IOBufferMemoryDescriptor.cpp | 853 IOBufferMemoryDescriptor::getBytesNoCopy() in getBytesNoCopy() function in IOBufferMemoryDescriptor 869 IOBufferMemoryDescriptor::getBytesNoCopy(vm_size_t start, vm_size_t withLength) in getBytesNoCopy() function in IOBufferMemoryDescriptor 894 void * bytes = getBytesNoCopy(offset, 0); in getVirtualSegment()
|
| H A D | IONVRAM.cpp | 820 memcpy(&hibernateState, data->getBytesNoCopy(), sizeof(hibernateState)); in hibernateState() 1224 _bankSize = *((uint32_t *)data->getBytesNoCopy()); in getNVRAMProperties() 1232 _bankCount = *((uint32_t *)data->getBytesNoCopy()); in getNVRAMProperties() 1240 _currentBank = *((uint32_t *)data->getBytesNoCopy()); in getNVRAMProperties() 1431 size = *((uint32_t*)data->getBytesNoCopy()); in initImageFormat() 1441 image = (const uint8_t *)data->getBytesNoCopy(); in initImageFormat()
|
| H A D | IOMapper.cpp | 195 data = OSData::withValueNoCopy(*((UInt32 *)data->getBytesNoCopy() + index)); in copyMapperForDeviceWithIndex()
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSValueObject.h | 174 const T * getBytesNoCopy() const; 453 if (!inValueObject || !inValueObject->getBytesNoCopy()) { in withValueObject() 508 OSValueObject<T>::getBytesNoCopy() const in getBytesNoCopy() function
|
| H A D | OSData.h | 779 virtual const void * getBytesNoCopy() const; 809 virtual const void * getBytesNoCopy(
|
| /xnu-11215/iokit/bsddev/ |
| H A D | IOKitBSDInit.cpp | 442 memcpy(uuid, uuid_data->getBytesNoCopy(), length); in IOGetBootUUID() 471 memcpy(uuid, uuid_data->getBytesNoCopy(), length); in IOGetApfsPrebootUUID() 501 memcpy(uuid, uuid_data->getBytesNoCopy(), length); in IOGetAssociatedApfsVolgroupUUID() 531 memcpy(path_prefix, path_prefix_data->getBytesNoCopy(), length); in IOGetBootObjectsPath() 561 memcpy(hash_data, manifest_hash_data->getBytesNoCopy(), length); in IOGetBootManifestHash() 736 unserializedContainer = OSUnserializeXML((char *)data->getBytesNoCopy()); in IOFindBSDRoot() 746 uuidStr = (const char*)data->getBytesNoCopy(); in IOFindBSDRoot() 778 … ramdParms = (uintptr_t *)data->getBytesNoCopy(); /* Point to the ram disk base and size */ in IOFindBSDRoot() 1090 return data->getBytesNoCopy(); in IOBSDRegistryEntryGetData()
|
| H A D | DINetBootHook.cpp | 375 dmgSize = *(uint64_t *) data->getBytesNoCopy(); in di_root_ramfile() 391 extentList = (IOAddressRange *) extentData->getBytesNoCopy(); in di_root_ramfile()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOBufferMemoryDescriptor.h | 334 virtual void *getBytesNoCopy(); 342 virtual void *getBytesNoCopy(vm_size_t start, vm_size_t withLength);
|
| /xnu-11215/libkern/c++/ |
| H A D | OSData.cpp | 154 const void *localData = inData->getBytesNoCopy(start, inLength); in initWithData() 399 OSData::getBytesNoCopy() const in getBytesNoCopy() function in OSData 409 OSData::getBytesNoCopy(unsigned int start, in getBytesNoCopy() function in OSData
|
| H A D | OSKext.cpp | 3382 mkextHeader = (mkext_header *)mkextData->getBytesNoCopy(); in readMkextArchive() 3461 mkextHeader = (mkext2_header *)mkextData->getBytesNoCopy(); in readMkext2Archive() 3534 mkextPlistUncompressedData->getBytesNoCopy(); in readMkext2Archive() 5036 mkextExecutableRef->getBytesNoCopy(); in getExecutable() 5363 char *uid = (char*) dextUniqueID->getBytesNoCopy(); in getDextUniqueIDCString() 7370 (u_char *)theExecutable->getBytesNoCopy(), in loadExecutable() 11147 memcpy(uuid, uuid_data->getBytesNoCopy(), sizeof(uuid)); 12046 linkedExecutable->getBytesNoCopy(); 12062 headerData->getBytesNoCopy(); 14341 dataPtr = dataObj->getBytesNoCopy(); [all …]
|
| H A D | OSString.cpp | 334 const char * dataPtr = (const char *) obj->getBytesNoCopy(); in isEqualTo()
|
| H A D | OSSerializeBinary.cpp | 230 tagIdx = ((const uint32_t *)indexData->getBytesNoCopy())[tagIdx]; in binarySerializeInternal() 320 ok = addBinaryObject(o, key, ldata->getBytesNoCopy(), len, NULL); in binarySerializeInternal()
|
| /xnu-11215/libsa/ |
| H A D | bootstrap.cpp | 306 …memcpy((void *)&kernelcache_uuid, (const void *)loaded_kcUUID->getBytesNoCopy(), loaded_kcUUID->ge… in readPrelinkedExtensions() 310 …memcpy((void *)&auxkc_uuid, (const void *)loaded_kcUUID->getBytesNoCopy(), loaded_kcUUID->getLengt… in readPrelinkedExtensions() 447 deviceTreeEntry->getBytesNoCopy(0, sizeof(deviceTreeBuffer)); in readBooterExtensions()
|
| /xnu-11215/iokit/Exclaves/ |
| H A D | Exclaves.cpp | 144 mach_endpoint = ((uint32_t *)data->getBytesNoCopy())[0]; in exclaveStart() 150 const char *exclave_service = (const char *) data->getBytesNoCopy(); in exclaveStart() 166 edk_mach_endpoint = ((uint32_t *)data->getBytesNoCopy())[0]; in exclaveStart() 172 const char *exclave_edk_service = (const char *) data->getBytesNoCopy(); in exclaveStart()
|
| /xnu-11215/iokit/bsddev/skywalk/ |
| H A D | IOSkywalkSupport.cpp | 80 virtual void * getBytesNoCopy( void ) APPLE_KEXT_OVERRIDE; 82 virtual void * getBytesNoCopy(vm_size_t start, vm_size_t withLength) APPLE_KEXT_OVERRIDE; 1338 fKernelAddr = super::getBytesNoCopy(); in OSDefineMetaClassAndFinalStructorsWithZone() 1397 IOSKMemoryBuffer::getBytesNoCopy( void ) in getBytesNoCopy() function in IOSKMemoryBuffer 1403 IOSKMemoryBuffer::getBytesNoCopy( vm_size_t start, vm_size_t withLength ) in getBytesNoCopy() function in IOSKMemoryBuffer
|