/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | basic_transformer_test.cpp | 42 BasicTransformer::AllocateMem allocate = nullptr;
in HWTEST_F() local 46 bool ret = basicTransformer.CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize);
in HWTEST_F() 49 ret = basicTransformer.CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize);
in HWTEST_F() 85 BasicTransformer::AllocateMem allocate = nullptr;
in HWTEST_F() local 86 uint32_t ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate);
in HWTEST_F() 89 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate);
in HWTEST_F() 97 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate);
in HWTEST_F() 113 BasicTransformer::AllocateMem allocate = nullptr;
in HWTEST_F() local 121 uint32_t ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate);
in HWTEST_F() 125 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate);
in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | basic_transformer.cpp | 119 bool BasicTransformer::CheckAllocateBuffer(PixmapInfo &outPixmap, AllocateMem allocate, in CheckAllocateBuffer() argument 126 if (allocate == nullptr) { in CheckAllocateBuffer() 129 outPixmap.data = allocate(dstSize, bufferSize, fd, outPixmap.uniqueId); in CheckAllocateBuffer() 162 uint32_t BasicTransformer::TransformPixmap(const PixmapInfo &inPixmap, PixmapInfo &outPixmap, AllocateMem allocate) in TransformPixmap() argument 189 if (!(CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize))) { in TransformPixmap() 200 ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap() 207 ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 293 auto nb = allocate(b->data); 411 auto nl = allocate(key, BASE_NS::forward<M>(value)); in insert_or_assign() 508 auto nb = allocate(b->data); in operator =() 555 return create_entry(ind, allocate(key, mapped_type {})); in create_entry() 559 return create_entry(ind, allocate(BASE_NS::forward<key_type>(key), mapped_type {})); in create_entry() 563 return create_entry(ind, allocate(key, value)); in create_entry() 567 return create_entry(ind, allocate(BASE_NS::forward<key_type>(key), BASE_NS::forward<mapped_type>(value))); in create_entry() 571 return create_entry(ind, allocate(BASE_NS::forward<value_type>(v))); in create_entry() 575 list_node* allocate(Args&&... args) in allocate() function in unordered_map_base
|
H A D | string.h | 378 allocate(size); in reserve() 619 if (!allocate(newSize < oldCapacity ? oldCapacity : newSize)) { in append() 844 return allocate(minCapacity < cap ? cap : minCapacity); in grow() 847 bool allocate(size_type size) in allocate() function in basic_string
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | basic_transformer.h | 142 * @param allocate This is func pointer, if it is null, this function will new heap memory, 143 * so you must active release memory, if it is not null, that means you need allocate memory by yourself, 148 uint32_t TransformPixmap(const PixmapInfo &inPixmap, PixmapInfo &outPixmap, AllocateMem allocate = nullptr); 172 bool CheckAllocateBuffer(PixmapInfo &outPixmap, AllocateMem allocate, int &fd, uint64_t &bufferSize, Size &dstSize);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | static_plugin_decl.h | 31 __declspec(allocate("spd$d")) \
|
H A D | plugin_registry.cpp | 55 __declspec(allocate("spd$b")) static constexpr const IPlugin* g_staticPluginList = nullptr; 56 __declspec(allocate("spd$e")) static constexpr const IPlugin* g_staticPluginListEnd = nullptr;
|
/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudShareTest.js | 119 console.log(TAG + `allocate resource and share failed, errcode:${err.code}, message ${err.message}.`); 141 console.log(TAG + `allocate resource and share failed, errcode:${err.code}, message ${err.message}.`); 166 console.log(TAG + `allocate resource and share failed, errcode:${err.code}, message ${err.message}.`);
|