/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | linear_allocator.h | 42 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 D | linear_allocator.h | 42 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 D | mesh_builder.h | 43 void Allocate() override;
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/ |
H A D | linear_allocator.h | 43 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 D | geometry_plaindata_array.h | 60 : 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 D | geometry_path_storage.h | 186 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 D | font_ram_allocator.cpp | 38 void* FontRamAllocator::Allocate(uint32_t size) in Allocate() function in OHOS::FontRamAllocator 80 return allocator_.Allocate(size); in DynamicAllocate()
|
H A D | ui_font_cache.cpp | 32 hashTable_ = reinterpret_cast<ListHead*>(allocator_.Allocate(hashTableSize)); in UIFontCache() 55 bitmap = reinterpret_cast<Bitmap*>(allocator_.Allocate(allocSize)); in GetSpace()
|
H A D | ui_font_allocator.h | 50 void* Allocate(uint32_t size);
|
H A D | font_ram_allocator.h | 47 void* Allocate(uint32_t size);
|
H A D | glyphs_file.cpp | 55 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 D | ui_font_allocator.cpp | 73 void* UIFontAllocator::Allocate(uint32_t size) in Allocate() function in OHOS::UIFontAllocator
|
/foundation/ability/idl_tool/util/ |
H A D | string.cpp | 39 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 D | scrollable_item_pool.h | 32 RefPtr<ScrollableItem> Allocate(const std::string& tag, int32_t nodeId, const PatternCreator& patternCreator);
|
H A D | scrollable_item_pool.cpp | 29 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 D | render_barrier_list.cpp | 36 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 D | mem_allocator.h | 57 T* Allocate(Args&&... args) in Allocate() function in OHOS::Rosen::Drawing::MemAllocator
|
H A D | draw_cmd_list.h | 80 T* op = opAllocator_.Allocate<T>(std::forward<Args>(args)...); in AddDrawOp()
|
H A D | cmd_list.h | 102 T* op = opAllocator_.Allocate<T>(std::forward<Args>(args)...); in AddOp()
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A D | rasterizer_cells_antialias.cpp | 403 * @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 D | grid_item_model_ng.cpp | 28 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 D | intf_mesh_builder.h | 94 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 D | common_basics.h | 374 static T* Allocate(uint32_t num) in Allocate() function
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_model_ng.cpp | 38 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 D | render_data_store_default_material.cpp | 130 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory() 138 data = allocator.allocators[allocator.currentIndex]->Allocate(byteSize); in AllocateMatrixMemory()
|