/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | basic_transformer_test.cpp | 42 BasicTransformer::AllocateMem allocate = nullptr; variable 46 bool ret = basicTransformer.CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize); 49 ret = basicTransformer.CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize); 85 BasicTransformer::AllocateMem allocate = nullptr; variable 86 uint32_t ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate); 89 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate); 97 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate); 113 BasicTransformer::AllocateMem allocate = nullptr; variable 121 uint32_t ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate); 125 ret = basicTransformer.TransformPixmap(inPixmap, outPixmap, allocate); [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | slab.rs | 185 pub unsafe fn allocate(&self) -> Option<(Address, Ref<T>)> { in allocate() method 188 if let Some((addr, val)) = Page::allocate(page) { in allocate() 527 let (_, foo1) = alloc.allocate().unwrap(); in ut_slab_for_each() 532 let (_, foo2) = alloc.allocate().unwrap(); in ut_slab_for_each() 536 let (_, foo3) = alloc.allocate().unwrap(); in ut_slab_for_each() 557 let (addr, _) = slab.allocate().unwrap(); in ut_slab_get() 579 let (addr, foo) = slab.allocate().unwrap(); in ut_slab_compact() 594 let (addr, foo) = slab.allocate().unwrap(); in ut_slab_compact() 676 let (addr, val) = alloc.allocate().unwrap(); in ut_slab_insert_many() 689 let (addr, val) = alloc.allocate().unwrap(); in ut_slab_insert_many() [all …]
|
/ohos5.0/drivers/interface/display/buffer/v1_0/ |
H A D | DisplayBufferType.idl | 19 * @brief Defines information about the memory to allocate. 31 * @brief Defines information for verifying the memory to allocate. 35 unsigned int width; /**< Width of the memory to allocate */ 36 unsigned int height; /**< Height of the memory to allocate */ 38 unsigned int format; /**< Format of the memory to allocate */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_buffer_v1_0/foo/display/buffer/v1_0/ |
H A D | DisplayBufferType.idl | 19 * @brief Defines information about the memory to allocate. 31 * @brief Defines information for verifying the memory to allocate. 35 unsigned int width; /**< Width of the memory to allocate */ 36 unsigned int height; /**< Height of the memory to allocate */ 38 unsigned int format; /**< Format of the memory to allocate */
|
/ohos5.0/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 …ansformer::TransformPixmap(const PixmapInfo &inPixmap, PixmapInfo &outPixmap, AllocateMem allocate) in TransformPixmap() argument 192 if (!(CheckAllocateBuffer(outPixmap, allocate, fd, bufferSize, dstSize))) { in TransformPixmap() 203 … ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap() 210 … ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap()
|
/ohos5.0/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); 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>(v… 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
|
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
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | basic_transformer.h | 148 …TransformPixmap(const PixmapInfo &inPixmap, PixmapInfo &outPixmap, AllocateMem allocate = nullptr); 172 …bool CheckAllocateBuffer(PixmapInfo &outPixmap, AllocateMem allocate, int &fd, uint64_t &bufferSiz…
|
/ohos5.0/build/config/sanitizers/ |
H A D | cfi_blocklist.txt | 7 # STL allocators (T *allocator<T *>::allocate(size_type, const void*)).
|
/ohos5.0/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;
|
/ohos5.0/docs/en/application-dev/reference/apis-ipc-kit/ |
H A D | _o_h_i_p_c_error_code.md | 52 | OH_IPC_MEM_ALLOCATOR_ERROR | Failed to allocate memory.|
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/codec_image_v1_0/foo/codec/image/v1_0/ |
H A D | ICodecImage.idl | 34 *You can use these APIs to allocate input buffer, and decode image 122 * You can use this API to allocate input buffer for image codec.
|
/ohos5.0/drivers/interface/codec/image/v1_0/ |
H A D | ICodecImage.idl | 34 *You can use these APIs to allocate input buffer, and decode image 122 * You can use this API to allocate input buffer for image codec.
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-basic-memory-physical.md | 114 printf("failed to allocate enough pages (ask %zu, got %zu)\n", sizeCount, count);
|
/ohos5.0/build/config/linux/ |
H A D | BUILD.gn | 65 # (de)allocate memory on a different heap, which would spell trouble if pointers
|
/ohos5.0/drivers/interface/codec/image/v2_0/ |
H A D | ICodecImage.idl | 34 *You can use these APIs to allocate input buffer, and decode image 126 * You can use this API to allocate input buffer for image codec.
|
/ohos5.0/drivers/interface/display/composer/v1_2/ |
H A D | DisplayComposerType.idl | 64 HBM_USE_DRM_REDRAW = (1ULL << 24), /**< For DRM redraw framebuffer allocate */
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | multi-time-consuming-tasks.md | 5 … one task. In this case, you can split the data into multiple sublists, allocate one task for each…
|
/ohos5.0/commonlibrary/memory_utils/ |
H A D | README.md | 53 The memory system library provides interfaces for the multimedia service to allocate and share shar…
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/audio_template/ |
H A D | rk3568_audio_adapter_source.template | 108 AUDIO_DEVICE_LOG_ERR("failed to allocate regmap: %ld\n", PTR_ERR(g_chip->regmap));
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-basic-memory-physical.md | 6 … small block may block the merge of a large block, causing a failure to allocate a large memory bl… 159 printf("failed to allocate enough pages (ask %zu, got %zu)\n", sizeCount, count);
|
H A D | kernel-small-plimits.md | 92 …tory in **/proc/plimits/** are readable, and some are writable. You can allocate and restrict proc… 116 4. Configure the limiter files in the **plimitsA** group to allocate and limit resources. If you do…
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | native__avscreen__capture_8h.md | 33 …tains an audio buffer. When calling this function, the application must allocate the memory of the…
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/ |
H A D | driver.rs | 353 self.allocator.allocate().ok_or_else(|| { in allocate_schedule_io_pair()
|