Home
last modified time | relevance | path

Searched refs:mappedPtr (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp102 uint8_t* mappedPtr = in createModel() local
104 CHECK(mappedPtr != nullptr); in createModel()
111 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp109 uint8_t* mappedPtr = in createModel() local
111 CHECK(mappedPtr != nullptr); in createModel()
118 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp142 uint8_t* mappedPtr = in createModel() local
144 CHECK(mappedPtr != nullptr); in createModel()
151 std::copy(begin, end, mappedPtr + operands[i].location.offset); in createModel()
/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.cpp1490 &info->mappedPtr); in allocExternalMemory()
1497 uint64_t mappedPtrPageOffset = reinterpret_cast<uint64_t>(info->mappedPtr) % kPageSize; in allocExternalMemory()
1579 if (info->mappedPtr != nullptr) { in freeExternalMemoryLocked()
1581 info->mappedPtr = nullptr; in freeExternalMemoryLocked()
1788 *outMappedPtr = info->memory.mappedPtr; in getColorBufferAllocationInfoLocked()
2125 infoPtr->memory.pageOffset = reinterpret_cast<uint64_t>(infoPtr->memory.mappedPtr) % kPageSize; in initializeVkColorBufferLocked()
2564 const auto* stagingBufferPtr = sVkEmulation->staging.memory.mappedPtr; in readColorBufferToBytesLocked()
2670 auto* stagingBufferPtr = sVkEmulation->staging.memory.mappedPtr; in updateColorBufferFromBytesLocked()
2878 if (!memoryInfoPtr->mappedPtr) { in mapGpaToBufferHandle()
2884 reinterpret_cast<uint8_t*>(memoryInfoPtr->mappedPtr) + memoryInfoPtr->bindOffset; in mapGpaToBufferHandle()
[all …]
DVkAndroidNativeBuffer.cpp371 auto mappedPtr = anbInfo->mappedStagingPtr; in teardownAndroidNativeBufferImage() local
377 if (mappedPtr) vk->vkUnmapMemory(device, stagingMemory); in teardownAndroidNativeBufferImage()
DVkCommonOperations.h242 void* mappedPtr = nullptr; member
DVkDecoderGlobalState.cpp4276 void* mappedPtr = nullptr; in on_vkAllocateMemory() local
4285 &colorBufferMemoryUsesDedicatedAlloc, &mappedPtr)) { in on_vkAllocateMemory()
4479 mappedPtr = sharedMemory->get(); in on_vkAllocateMemory()
4480 int mappedPtrAlignment = reinterpret_cast<uintptr_t>(mappedPtr) % kPageSizeforBlob; in on_vkAllocateMemory()
4489 .pHostPointer = mappedPtr}; in on_vkAllocateMemory()
4500 mappedPtr = privateMemory->getAddr(); in on_vkAllocateMemory()
4505 .pHostPointer = mappedPtr}; in on_vkAllocateMemory()
4578 if (!mappedPtr && needToMap) { in on_vkAllocateMemory()
4590 memoryInfo.ptr = mappedPtr; in on_vkAllocateMemory()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp305 uint8_t* mappedPtr = in createModel() local
307 CHECK(mappedPtr != nullptr); in createModel()
309 copyTestBuffers(constReferences, mappedPtr); in createModel()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp324 uint8_t* mappedPtr = static_cast<uint8_t*>(std::get<void*>(mappedMemory.pointer)); in createModel() local
325 CHECK(mappedPtr != nullptr); in createModel()
327 copyTestBuffers(constReferences, mappedPtr); in createModel()