/frameworks/native/vulkan/libvulkan/ |
D | debug_report.cpp | 25 const VkAllocationCallbacks& allocator) { in AddCallback() argument 26 void* mem = allocator.pfnAllocation(allocator.pUserData, sizeof(Node), in AddCallback() 42 const VkAllocationCallbacks& allocator) { in RemoveCallback() argument 53 allocator.pfnFree(allocator.pUserData, node); in RemoveCallback() 120 const VkAllocationCallbacks* allocator, in CreateDebugReportCallbackEXT() argument 126 instance, create_info, allocator, &driver_handle); in CreateDebugReportCallbackEXT() 134 (allocator) ? *allocator : GetData(instance).allocator); in CreateDebugReportCallbackEXT() 138 allocator); in CreateDebugReportCallbackEXT() 151 const VkAllocationCallbacks* allocator) { in DestroyDebugReportCallbackEXT() argument 160 node, (allocator) ? *allocator : GetData(instance).allocator); in DestroyDebugReportCallbackEXT() [all …]
|
D | api.cpp | 55 OverrideLayerNames(bool is_instance, const VkAllocationCallbacks& allocator) in OverrideLayerNames() argument 57 allocator_(allocator), in OverrideLayerNames() 334 const VkAllocationCallbacks& allocator) in OverrideExtensionNames() argument 336 allocator_(allocator), in OverrideExtensionNames() 406 const VkAllocationCallbacks* allocator, 411 const VkAllocationCallbacks* allocator, 415 const VkAllocationCallbacks* allocator); 418 const VkAllocationCallbacks* allocator); 426 const VkAllocationCallbacks& allocator); 447 const VkAllocationCallbacks* allocator, [all …]
|
D | swapchain.cpp | 520 const VkAllocationCallbacks* allocator, in CreateAndroidSurfaceKHR() argument 524 if (!allocator) in CreateAndroidSurfaceKHR() 525 allocator = &GetData(instance).allocator; in CreateAndroidSurfaceKHR() 526 void* mem = allocator->pfnAllocation(allocator->pUserData, sizeof(Surface), in CreateAndroidSurfaceKHR() 541 allocator->pfnFree(allocator->pUserData, surface); in CreateAndroidSurfaceKHR() 554 allocator->pfnFree(allocator->pUserData, surface); in CreateAndroidSurfaceKHR() 565 const VkAllocationCallbacks* allocator) { in DestroySurfaceKHR() argument 578 if (!allocator) in DestroySurfaceKHR() 579 allocator = &GetData(instance).allocator; in DestroySurfaceKHR() 580 allocator->pfnFree(allocator->pUserData, surface); in DestroySurfaceKHR() [all …]
|
D | driver.cpp | 102 const VkAllocationCallbacks& allocator); 105 const VkAllocationCallbacks& allocator); 332 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument 334 allocator_(allocator), in CreateInfoWrapper() 348 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument 350 allocator_(allocator), in CreateInfoWrapper() 723 InstanceData* AllocateInstanceData(const VkAllocationCallbacks& allocator) { in AllocateInstanceData() argument 724 void* data_mem = allocator.pfnAllocation( in AllocateInstanceData() 725 allocator.pUserData, sizeof(InstanceData), alignof(InstanceData), in AllocateInstanceData() 730 return new (data_mem) InstanceData(allocator); in AllocateInstanceData() [all …]
|
D | swapchain.h | 26 …kAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* allocator, VkSurfaceKHR* s… 27 …stroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* allocator); 35 …nst VkSwapchainCreateInfoKHR* create_info, const VkAllocationCallbacks* allocator, VkSwapchainKHR*… 36 …chainKHR(VkDevice device, VkSwapchainKHR swapchain_handle, const VkAllocationCallbacks* allocator);
|
D | driver.h | 68 allocator(alloc), in InstanceData() 74 const VkAllocationCallbacks allocator; member 88 allocator(alloc), in DeviceData() 94 const VkAllocationCallbacks allocator; member
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.cpp | 40 VkAllocationCallbacks allocator; member 100 VkAllocationCallbacks allocator; member 293 const VkAllocationCallbacks* allocator, in CreateInstance() argument 295 if (!allocator) in CreateInstance() 296 allocator = &kDefaultAllocCallbacks; in CreateInstance() 299 static_cast<VkInstance_T*>(allocator->pfnAllocation( in CreateInstance() 300 allocator->pUserData, sizeof(VkInstance_T), alignof(VkInstance_T), in CreateInstance() 306 instance->allocator = *allocator; in CreateInstance() 344 instance->allocator.pfnFree(instance->allocator.pUserData, instance); in DestroyInstance() 662 const VkAllocationCallbacks* allocator, in CreateDevice() argument [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 62 id_t id, std::shared_ptr<C2Allocator> *const allocator) override; 98 id_t id, std::shared_ptr<C2Allocator> *const allocator) { in fetchAllocator() argument 99 allocator->reset(); in fetchAllocator() 104 *allocator = fetchIonAllocator(); in fetchAllocator() 109 *allocator = fetchGrallocAllocator(); in fetchAllocator() 113 *allocator = fetchBufferQueueAllocator(); in fetchAllocator() 119 C2PlatformStorePluginLoader::GetInstance()->createAllocator(id, allocator); in fetchAllocator() 125 if (*allocator == nullptr) { in fetchAllocator() 137 const std::shared_ptr<C2AllocatorIon> allocator, in UseComponentStoreForIonAllocator() argument 186 allocator->setUsageMapper(mapper, minUsage, maxUsage, blockSize); in UseComponentStoreForIonAllocator() [all …]
|
D | C2PlatformStorePluginLoader.cpp | 77 ::C2Allocator::id_t allocatorId, std::shared_ptr<C2Allocator>* const allocator) { in createAllocator() argument 84 allocator->reset(mCreateAllocator(allocatorId, &res)); in createAllocator() 87 allocator->reset(); in createAllocator()
|
/frameworks/native/libs/binder/ndk/ |
D | parcel.cpp | 110 ContiguousArrayAllocator<T> allocator) { in ReadArray() argument 120 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray() 139 ContiguousArrayAllocator<char16_t> allocator) { in ReadArray() argument 149 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray() 187 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, ArrayAllocator<T> allocator, in ReadArray() argument 197 if (!allocator(arrayData, length)) return STATUS_NO_MEMORY; in ReadArray() 326 AParcel_stringAllocator allocator) { in AParcel_readString() argument 331 if (allocator(stringData, -1, nullptr)) { in AParcel_readString() 352 bool success = allocator(stringData, len8, &str8); in AParcel_readString() 399 AParcel_stringArrayAllocator allocator, in AParcel_readStringArray() argument [all …]
|
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_parcel.h | 521 AParcel_stringAllocator allocator) __INTRODUCED_IN(29); 567 AParcel_stringArrayAllocator allocator, 605 AParcel_parcelableArrayAllocator allocator, 972 AParcel_int32ArrayAllocator allocator) __INTRODUCED_IN(29); 990 AParcel_uint32ArrayAllocator allocator) __INTRODUCED_IN(29); 1008 AParcel_int64ArrayAllocator allocator) __INTRODUCED_IN(29); 1026 AParcel_uint64ArrayAllocator allocator) __INTRODUCED_IN(29); 1044 AParcel_floatArrayAllocator allocator) __INTRODUCED_IN(29); 1062 AParcel_doubleArrayAllocator allocator) __INTRODUCED_IN(29); 1081 AParcel_boolArrayAllocator allocator, [all …]
|
/frameworks/ml/nn/common/ |
D | MemoryUtils.cpp | 25 using ::android::hidl::allocator::V1_0::IAllocator; 32 static sp<IAllocator> allocator = IAllocator::getService(type); in allocateSharedMemory() local 37 allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in allocateSharedMemory()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | TvApp.cpp | 52 explicit TvApp(BitmapAllocationTestUtils::BitmapAllocator allocator) in TvApp() argument 53 : TestScene(), mAllocator(allocator) {} in TvApp() 236 …it TvAppNoRoundedCorner(BitmapAllocationTestUtils::BitmapAllocator allocator) : TvApp(allocator) {} in TvAppNoRoundedCorner() argument 244 …plicit TvAppColorFilter(BitmapAllocationTestUtils::BitmapAllocator allocator) : TvApp(allocator) {} in TvAppColorFilter() argument 252 explicit TvAppNoRoundedCornerColorFilter(BitmapAllocationTestUtils::BitmapAllocator allocator) in TvAppNoRoundedCornerColorFilter() argument 253 : TvApp(allocator) {} in TvAppNoRoundedCornerColorFilter()
|
D | BitmapShaders.cpp | 29 explicit BitmapShaders(BitmapAllocationTestUtils::BitmapAllocator allocator) in BitmapShaders() argument 30 : TestScene(), mAllocator(allocator) {} in BitmapShaders()
|
/frameworks/native/services/surfaceflinger/ |
D | Android.bp | 26 "android.hardware.graphics.allocator@2.0", 27 "android.hardware.graphics.allocator@3.0", 78 "android.hardware.graphics.allocator@2.0", 79 "android.hardware.graphics.allocator@3.0", 190 "android.hardware.graphics.allocator@2.0", 191 "android.hardware.graphics.allocator@3.0",
|
D | main_surfaceflinger.cpp | 46 android::hardware::graphics::allocator::V3_0::IAllocator>(); in startGraphicsAllocatorService() 52 android::hardware::graphics::allocator::V2_0::IAllocator>(); in startGraphicsAllocatorService()
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.h | 160 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {} in LinearStdAllocator() argument 200 explicit LsaVector(const LinearStdAllocator<T>& allocator) in LsaVector() argument 201 : std::vector<T, LinearStdAllocator<T>>(allocator) {} in LsaVector()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 47 size_t getUsedSize() { return allocator.usedSize() + mDisplayList.usedSize(); } in getUsedSize() 73 return allocator.create<T>(std::forward<Params>(params)...); in allocateDrawable() 144 LinearAllocator allocator; variable
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | buffer_wrapper.h | 114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper() argument 115 : buffer_(buffer, allocator) {} in BufferWrapper() 117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) in BufferWrapper() argument 118 : buffer_(std::move(buffer), allocator) {} in BufferWrapper() 166 template <typename T, typename Allocator = std::allocator<T>>
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2BufferPriv.h | 27 explicit C2BasicLinearBlockPool(const std::shared_ptr<C2Allocator> &allocator); 52 explicit C2BasicGraphicBlockPool(const std::shared_ptr<C2Allocator> &allocator); 77 C2PooledBlockPool(const std::shared_ptr<C2Allocator> &allocator, const local_id_t localId);
|
/frameworks/base/core/jni/android/graphics/ |
D | ImageDecoder.cpp | 206 jboolean requireMutable, jint allocator, in ImageDecoder_nDecodeBitmap() argument 253 if (allocator != ImageDecoder::kHardware_Allocator && in ImageDecoder_nDecodeBitmap() 254 (allocator != ImageDecoder::kDefault_Allocator || requireMutable)) { in ImageDecoder_nDecodeBitmap() 266 && (allocator == ImageDecoder::kDefault_Allocator || in ImageDecoder_nDecodeBitmap() 267 allocator == ImageDecoder::kHardware_Allocator) in ImageDecoder_nDecodeBitmap() 293 if (allocator == ImageDecoder::kSharedMemory_Allocator && !scale && !jsubset) { in ImageDecoder_nDecodeBitmap() 390 if (allocator == ImageDecoder::kSharedMemory_Allocator) { in ImageDecoder_nDecodeBitmap() 475 if (allocator == ImageDecoder::kHardware_Allocator) { in ImageDecoder_nDecodeBitmap()
|
D | BitmapRegionDecoder.cpp | 177 SkBRDAllocator* allocator = nullptr; in nativeDecodeRegion() local 181 allocator = &recycleAlloc; in nativeDecodeRegion() 185 allocator = &heapAlloc; in nativeDecodeRegion() 194 if (!brd->decodeRegion(&bitmap, allocator, subset, sampleSize, in nativeDecodeRegion()
|
/frameworks/base/libs/hwui/tests/common/ |
D | BitmapAllocationTestUtils.h | 52 template <class T, BitmapAllocator allocator> 54 return new T(allocator); in createBitmapAllocationScene()
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | Android.bp | 21 "allocator.cpp", 39 "allocator.cpp",
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | Android.bp | 21 "allocator.cpp", 39 "allocator.cpp",
|