Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 - 25 of 32) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dlinear_allocator.h42 T* Allocate() in Allocate() function in LinearAllocator
44 return static_cast<T*>(Allocate(sizeof(T), alignof(T))); in Allocate()
47 void* Allocate(size_t size) in Allocate() function in LinearAllocator
49 return Allocate(size, 1); in Allocate()
52 void* Allocate(size_t size, size_t alignment) in Allocate() function in LinearAllocator
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dlinear_allocator.h42 T* Allocate() in Allocate() function in LinearAllocator
44 return static_cast<T*>(Allocate(sizeof(T), alignof(T))); in Allocate()
47 void* Allocate(size_t size) in Allocate() function in LinearAllocator
49 return Allocate(size, 1); in Allocate()
52 void* Allocate(size_t size, size_t alignment) in Allocate() function in LinearAllocator
H A Dmesh_builder.h43 void Allocate() override;
/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/
H A Dlinear_allocator.h43 T* Allocate() in Allocate() function in LinearAllocator
45 return static_cast<T*>(Allocate(sizeof(T), alignof(T))); in Allocate()
48 void* Allocate(size_t size) in Allocate() function in LinearAllocator
50 return Allocate(size, 1); in Allocate()
53 void* Allocate(size_t size, size_t alignment) in Allocate() function in LinearAllocator
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_plaindata_array.h60 : data_(GeometryArrayAllocator<T>::Allocate(size)), size_(size) {} in GeometryPlainDataArray()
63 : data_(GeometryArrayAllocator<T>::Allocate(podArray.size_)), size_(podArray.size_) in GeometryPlainDataArray()
164 data_ = GeometryArrayAllocator<T>::Allocate(size_ = size); in Resize()
H A Dgeometry_path_storage.h186 float** new_coords = GeometryArrayAllocator<float*>::Allocate((maxBlocks_ + BLOCK_SCALE_POOL) * TWO_TIMES); in AllocateBlock()
209 croodBlocks_[nb] = GeometryArrayAllocator<float>::Allocate( in AllocateBlock()
/foundation/arkui/ui_lite/frameworks/font/
H A Dfont_ram_allocator.cpp38 void* FontRamAllocator::Allocate(uint32_t size) in Allocate() function in OHOS::FontRamAllocator
80 return allocator_.Allocate(size); in DynamicAllocate()
H A Dui_font_cache.cpp32 hashTable_ = reinterpret_cast<ListHead*>(allocator_.Allocate(hashTableSize)); in UIFontCache()
55 bitmap = reinterpret_cast<Bitmap*>(allocator_.Allocate(allocSize)); in GetSpace()
H A Dui_font_allocator.h50 void* Allocate(uint32_t size);
H A Dfont_ram_allocator.h47 void* Allocate(uint32_t size);
H A Dglyphs_file.cpp55 indexCache_ = reinterpret_cast<uint8_t*>(FontRamAllocator::GetInstance().Allocate(size)); in CacheInit()
57 GRAPHIC_LOGE("GlyphsFile::CacheInit Allocate failed"); in CacheInit()
161 fontHeaderCache_ = reinterpret_cast<FontHeader*>(FontRamAllocator::GetInstance().Allocate(size)); in SetFile()
H A Dui_font_allocator.cpp73 void* UIFontAllocator::Allocate(uint32_t size) in Allocate() function in OHOS::UIFontAllocator
/foundation/ability/idl_tool/util/
H A Dstring.cpp39 static SharedData* Allocate(int size);
59 SharedData* SharedData::Allocate(int size) in Allocate() function in OHOS::SharedData
114 string_ = SharedData::ToString(SharedData::Allocate(strlen(string))); in String()
127 SharedData* sharedData = SharedData::Allocate(length); in String()
158 string_ = SharedData::ToString(SharedData::Allocate(size)); in String()
583 string_ = SharedData::ToString(SharedData::Allocate(strlen(string))); in operator =()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_item_pool.h32 RefPtr<ScrollableItem> Allocate(const std::string& tag, int32_t nodeId, const PatternCreator& patternCreator);
H A Dscrollable_item_pool.cpp29 RefPtr<ScrollableItem> ScrollableItemPool::Allocate( in Allocate() function in OHOS::Ace::NG::ScrollableItemPool
32 ACE_SCOPED_TRACE("ScrollableItemPool::Allocate"); in Allocate()
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_barrier_list.cpp36 void* rc = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateBarrierListMemory()
48 rc = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateBarrierListMemory()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Dmem_allocator.h57 T* Allocate(Args&&... args) in Allocate() function in OHOS::Rosen::Drawing::MemAllocator
H A Ddraw_cmd_list.h80 T* op = opAllocator_.Allocate<T>(std::forward<Args>(args)...); in AddDrawOp()
H A Dcmd_list.h102 T* op = opAllocator_.Allocate<T>(std::forward<Args>(args)...); in AddOp()
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_cells_antialias.cpp403 * @brief Allocate array space for cells during rasterization.
412 GeometryArrayAllocator<CellBuildAntiAlias*>::Allocate(maxBlocks_ + in AllocateBlock()
428 cells_[numBlocks_++] = GeometryArrayAllocator<CellBuildAntiAlias>::Allocate(CELL_BLOCK_SIZE); in AllocateBlock()
454 // Allocate the array of cell pointers in SortAllCells()
455 sortedCells_ = GeometryArrayAllocator<CellBuildAntiAlias*>::Allocate(numCells_ + CELLS_SIZE); in SortAllCells()
457 // Allocate and zero the Y array in SortAllCells()
459 sortedY_ = GeometryArrayAllocator<SortedYLevel>::Allocate(sortedYSize + CELLS_SIZE); in SortAllCells()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_model_ng.cpp28 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::GRID_ITEM_ETS_TAG, nodeId, in Create()
57 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::GRID_ITEM_ETS_TAG, nodeId, in CreateFrameNode()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/util/
H A Dintf_mesh_builder.h94 virtual void Allocate() = 0;
185 /** Returns total vertex count in this mesh, note that this function should be called after Allocate() has been
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_basics.h374 static T* Allocate(uint32_t num) in Allocate() function
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_model_ng.cpp38 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::LIST_ITEM_ETS_TAG, nodeId, in Create()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_material.cpp130 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory()
138 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory()

Completed in 17 milliseconds

12