Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 - 25 of 124) sorted by relevance

12345

/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/include/mpd_parser/
H A Dmpd_parser_def.h27 template <typename T, typename Alloc = std::allocator<T>>
28 using DashVector = std::vector<T, Alloc>;
30 template <typename T, typename Alloc = std::allocator<T>>
31 using DashList = std::list<T, Alloc>;
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v2_test/
H A Dfscrypt_key_v2_test.cpp85 g_testKeyV2.keyInfo_.key.Alloc(FSCRYPT_MAX_KEY_SIZE + 1); in HWTEST_F()
90 g_testKeyV2.keyInfo_.key.Alloc(FSCRYPT_MAX_KEY_SIZE); in HWTEST_F()
95 g_testKeyV2.keyInfo_.key.Alloc(FSCRYPT_MAX_KEY_SIZE); in HWTEST_F()
96 g_testKeyV2.keyInfo_.keyId.Alloc(FSCRYPT_KEY_IDENTIFIER_SIZE + 1); in HWTEST_F()
101 g_testKeyV2.keyInfo_.key.Alloc(FSCRYPT_MAX_KEY_SIZE); in HWTEST_F()
102 g_testKeyV2.keyInfo_.keyId.Alloc(FSCRYPT_KEY_IDENTIFIER_SIZE); in HWTEST_F()
119 g_testKeyV2.keyInfo_.keyId.Alloc(FSCRYPT_KEY_IDENTIFIER_SIZE + 1); in HWTEST_F()
123 g_testKeyV2.keyInfo_.keyId.Alloc(FSCRYPT_KEY_IDENTIFIER_SIZE); in HWTEST_F()
434 g_testKeyV2.keyContext_.rndEnc.Alloc(5); in HWTEST_F()
435 g_testKeyV2.keyContext_.shield.Alloc( in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/interfaces/inner_api/native/memory/
H A Deffect_memory.h45 virtual std::shared_ptr<MemoryData> Alloc(MemoryInfo &memoryInfo) = 0;
61 std::shared_ptr<MemoryData> Alloc(MemoryInfo &memoryInfo) override;
79 std::shared_ptr<MemoryData> Alloc(MemoryInfo &memoryInfo) override;
98 std::shared_ptr<MemoryData> Alloc(MemoryInfo &memoryInfo) override;
/foundation/resourceschedule/ffrt/src/tm/
H A Dtask_factory.h28 static CPUEUTask *Alloc() in Alloc() function in ffrt::TaskFactory
55 static void RegistCb(TaskAllocCB<CPUEUTask>::Alloc &&alloc, TaskAllocCB<CPUEUTask>::Free &&free, in RegistCb()
69 TaskAllocCB<CPUEUTask>::Alloc alloc_;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_common_def.cpp36 void* Alloc(size_t size);
68 void* MemAllocater::Alloc(size_t size) in Alloc() function in OHOS::Rosen::MemAllocater
123 return MemAllocater::GetInstance().Alloc(size); in operator new()
133 return MemAllocater::GetInstance().Alloc(size);
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_blob.h65 Alloc(blob.size); in KeyBlob()
77 Alloc(len); in KeyBlob()
87 if (Alloc(vec.size())) { in KeyBlob()
100 bool Alloc(uint32_t len) in Alloc() function in OHOS::StorageDaemon::KeyBlob
/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_virtual_memory.cpp39 void *AVVirtualAllocator::Alloc(int32_t capacity) in Alloc() function in OHOS::Media::AVVirtualAllocator
42 FALSE_RETURN_V_MSG_E(ptr != nullptr, nullptr, "Alloc memory failed, no memory"); in Alloc()
75 base_ = static_cast<uint8_t *>(allocator_->Alloc(allocSize)); in Init()
76 FALSE_RETURN_V_MSG_E(base_ != nullptr, Status::ERROR_NO_MEMORY, "Alloc AVVirtualMemory failed"); in Init()
H A Dav_surface_memory.cpp52 void *AVSurfaceAllocator::Alloc(int32_t capacity) in Alloc() function in OHOS::Media::AVSurfaceAllocator
57 GSError ret = surfaceBuffer->Alloc(config_); in Alloc()
58 FALSE_RETURN_V_MSG_E(ret == GSERROR_OK, nullptr, "Surface Buffer Alloc failed, %{public}s", in Alloc()
97 surfaceBuffer_ = sptr<SurfaceBuffer>(static_cast<SurfaceBuffer *>(allocator_->Alloc(0))); in Init()
H A Dav_hardware_memory.cpp68 void *AVHardwareAllocator::Alloc(int32_t capacity) in Alloc() function in OHOS::Media::AVHardwareAllocator
83 FALSE_RETURN_V_MSG_E(isAllocated_, false, "Never allocated memory by Alloc function of this allocator"); in Free()
171 base_ = static_cast<uint8_t *>(allocator_->Alloc(0)); in Init()
195 base_ = static_cast<uint8_t *>(allocator_->Alloc(0)); in Init()
/foundation/multimedia/image_effect/test/unittest/
H A DTestEffectMemoryManager.cpp76 std::shared_ptr<MemoryData> memoryData = heapMemory->Alloc(memoryInfo); in HWTEST_F()
85 memoryData = dmaMemory->Alloc(memoryInfo); in HWTEST_F()
94 memoryData = sharedMemory->Alloc(memoryInfo); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dapp_recovery_parcel_allocator.cpp33 void* AppRecoveryParcelAllocator::Alloc(size_t size __attribute__((unused))) in Alloc() function in OHOS::AppExecFwk::AppRecoveryParcelAllocator
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/recovery/
H A Dapp_recovery_parcel_allocator.h28 void* Alloc(size_t size) override;
/foundation/multimedia/media_foundation/src/buffer/avbuffer/include/
H A Dav_virtual_allocator.h31 void *Alloc(int32_t capacity) override;
H A Dav_surface_allocator.h32 void *Alloc(int32_t capacity) override;
H A Dav_shared_allocator.h31 void *Alloc(int32_t capacity) override;
H A Dav_hardware_allocator.h29 void *Alloc(int32_t capacity) override;
/foundation/multimedia/media_foundation/src/common/
H A Dshare_allocator.cpp31 void* ShareAllocator::Alloc(size_t size) in Alloc() function in OHOS::Media::Plugins::ShareAllocator
H A Dshare_allocator.h41 void* Alloc(size_t size) override;
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dshare_allocator.cpp31 void* ShareAllocator::Alloc(size_t size) in Alloc() function in OHOS::Media::Plugin::ShareAllocator
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_syncer_impl.cpp110 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVMetaData()
145 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVPlaybackState()
180 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetControlCommand()
218 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetCommonCommand()
219 CHECK_AND_RETURN_RET_LOG(allocateData != nullptr, AVSESSION_ERROR, "Alloc data fail"); in GetCommonCommand()
264 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetSessionEvent()
314 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVQueueItems()
364 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetAVQueueTitle()
399 uint8_t *allocateData = reinterpret_cast<uint8_t*>(allocator.Alloc(dataVector.size())); in GetExtras()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v1_test/
H A Dfscrypt_key_v1_test.cpp240 g_testKeyV1->keyInfo_.key.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
245 g_testKeyV1->keyInfo_.key.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
251 g_testKeyV1->keyInfo_.key.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
326 g_testKeyV1->keyInfo_.key.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
331 g_testKeyV1->keyInfo_.key.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
332 g_testKeyV1->keyInfo_.keyDesc.Alloc(TEST_KEYID_SIZE); in HWTEST_F()
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dsurface_buffer_impl_test.cpp102 * CaseDescription: 1. call GetBufferHandle and Alloc
115 GSError ret = buffer->Alloc(requestConfig); in HWTEST_F()
133 * CaseDescription: 1. new SurfaceBufferImpl and Alloc
142 auto sret = sbi->Alloc(requestConfig); in HWTEST_F()
173 * CaseDescription: 1. new SurfaceBufferImpl and Alloc
188 auto sret = sbi->Alloc(requestConfig); in HWTEST_F()
/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/
H A Deffect_memory.cpp48 std::shared_ptr<MemoryData> HeapMemory::Alloc(MemoryInfo &memoryInfo) in Alloc() function in OHOS::Media::Effect::HeapMemory
51 EFFECT_LOGI("HeapMemory::Alloc size=%{public}d", size); in Alloc()
56 EFFECT_LOGI("HeapMemory::Alloc alloc addr=%{public}p", buffer); in Alloc()
109 auto ret = sb->Alloc(requestConfig); in CreateSurfaceBuffer()
110 CHECK_AND_RETURN_RET_LOG(ret == 0, nullptr, "surface buffer Alloc fail! res=%{public}d", ret); in CreateSurfaceBuffer()
117 std::shared_ptr<MemoryData> DmaMemory::Alloc(MemoryInfo &memoryInfo) in Alloc() function in OHOS::Media::Effect::DmaMemory
121 EFFECT_LOGI("DmaMemory::Alloc size=%{public}d", size); in Alloc()
144 "DmaMemory::Alloc seqNum=%{public}d, stride=%{public}d, size=%{public}d, format=%{public}d, addr=%{public}p", in Alloc()
197 std::shared_ptr<MemoryData> SharedMemory::Alloc(MemoryInfo &memoryInfo) in Alloc() function in OHOS::Media::Effect::SharedMemory
200 EFFECT_LOGI("SharedMemory::Alloc siz in Alloc()
[all...]
/foundation/resourceschedule/ffrt/src/util/
H A Dslab.h58 return Instance()->Alloc(); in AllocMem()
141 T* Alloc() in Alloc() function in ffrt::SimpleAllocator
239 T* Alloc() in Alloc() function in ffrt::QSimpleAllocator
309 return Instance(size)->Alloc(); in AllocMem()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/custom/
H A Dshader_input_buffer.h30 bool Alloc(uint32_t floatSize); // do alloc if size are different, or do nothing

Completed in 9 milliseconds

12345