/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/ |
H A D | allocator.h | 29 } Allocator; typedef 31 extern const Allocator MEM_MALLOC; 32 extern const Allocator MEM_CALLOC;
|
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_memory.h | 44 struct Allocator { struct 45 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_ADDR) : memoryType(type) {} in Allocator() function 46 virtual ~Allocator() = default; 125 explicit Memory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr, 152 std::shared_ptr<Allocator> allocator;
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_memory.h | 34 struct Allocator { struct 35 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_MEMORY) : memoryType(type) {} in Allocator() function 36 virtual ~Allocator() = default; 115 explicit Memory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr, 142 std::shared_ptr<Allocator> allocator;
|
H A D | plugin_buffer.h | 60 static std::shared_ptr<Buffer> CreateDefaultBuffer(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr, 67 std::shared_ptr<Memory> AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t align = 1);
|
/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | type_define.h | 31 using Allocator = Plugin::Allocator;
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | allocator.c | 26 const Allocator MEM_MALLOC = { 30 const Allocator MEM_CALLOC = {
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestPluginCommon.cpp | 29 std::shared_ptr<Allocator>(), 1); in HWTEST() 44 std::shared_ptr<Allocator>(), 1); in HWTEST()
|
/foundation/multimedia/media_foundation/test/unittest/plugins/ |
H A D | UtSourceTest2.cpp | 75 std::shared_ptr<Allocator> UtSourceTest2::GetAllocator() in GetAllocator() 77 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtCodecTest1.cpp | 58 std::shared_ptr<Allocator> UtCodecTest1::GetAllocator() in GetAllocator() 60 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtCodecTest2.cpp | 58 std::shared_ptr<Allocator> UtCodecTest2::GetAllocator() in GetAllocator() 60 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtDemuxerTest2.cpp | 84 std::shared_ptr<Allocator> UtDemuxerTest2::GetAllocator() in GetAllocator() 86 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtSourceTest1.cpp | 76 std::shared_ptr<Allocator> UtSourceTest1::GetAllocator() in GetAllocator() 78 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtDemuxerTest1.cpp | 92 std::shared_ptr<Allocator> UtDemuxerTest1::GetAllocator() in GetAllocator() 94 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtAudioSinkTest2.cpp | 107 std::shared_ptr<Allocator> UtAudioSinkTest2::GetAllocator() in GetAllocator() 109 return std::shared_ptr<Allocator>(); in GetAllocator()
|
H A D | UtAudioSinkTest1.cpp | 107 std::shared_ptr<Allocator> UtAudioSinkTest1::GetAllocator() in GetAllocator() 109 return std::shared_ptr<Allocator>(); in GetAllocator()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_demuxer_plugin.h | 50 std::shared_ptr<Allocator> GetAllocator() override; 63 class DemuxerPluginAllocator : public Allocator { 109 std::shared_ptr<Allocator> allocator_;
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | file_source_plugin.h | 29 class FileSourceAllocator : public Allocator { 57 std::shared_ptr<Allocator> GetAllocator();
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/file_source/ |
H A D | file_source_plugin.h | 27 class FileSourceAllocator : public Allocator { 47 std::shared_ptr<Allocator> GetAllocator() override;
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/ |
H A D | http_lite_source_plugin.h | 27 class HttpSourceAllocator : public Allocator {
47 std::shared_ptr<Allocator> GetAllocator() override;
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/recovery/ |
H A D | app_recovery_parcel_allocator.h | 23 class AppRecoveryParcelAllocator : public OHOS::Allocator {
|
/foundation/multimedia/media_foundation/src/common/ |
H A D | share_allocator.cpp | 27 : Allocator(MemoryType::SHARED_MEMORY), shareMemType_(shareMemType) in ShareAllocator()
|
H A D | share_allocator.h | 36 class ShareAllocator : public Allocator {
|
/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | share_allocator.cpp | 27 : Allocator(MemoryType::SHARE_MEMORY), shareMemType_(shareMemType) in ShareAllocator()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | parcel.h | 21 * Including class Parcel, Parcelable and related memory Allocator. 118 class Allocator { class 120 virtual ~Allocator() = default; 130 * @brief Default implement of Allocator. 132 * @note Allocator defined by user for a parcel need be specified manually. 134 class DefaultAllocator : public Allocator { 174 * @brief Construct a new Parcel object with specified Allocator. 176 * @param allocator Specified Allocator. 178 explicit Parcel(Allocator *allocator); 247 * @note Corresponding Allocator wil [all...] |
/foundation/multimedia/media_foundation/src/plugin/ |
H A D | plugin_buffer.cpp | 28 Memory::Memory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align, MemoryType type, bool allocMem) in Memory() 132 std::shared_ptr<Buffer> Buffer::CreateDefaultBuffer(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in CreateDefaultBuffer() 156 std::shared_ptr<Memory> Buffer::AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t align) in AllocMemory()
|