Home
last modified time | relevance | path

Searched refs:nb (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_path_storage.h164 uint32_t nb = idx >> BLOCK_SCALE_SHIFT; in GenerateVertex() local
165 const float* pv = croodBlocks_[nb] + ((idx & BLOCK_SCALE_MASK) << 1); in GenerateVertex()
168 return cmdBlocks_[nb][idx & BLOCK_SCALE_MASK]; in GenerateVertex()
183 void AllocateBlock(uint32_t nb) in AllocateBlock() argument
185 if (nb >= maxBlocks_) { in AllocateBlock()
209 croodBlocks_[nb] = GeometryArrayAllocator<float>::Allocate( in AllocateBlock()
212 cmdBlocks_[nb] = (uint8_t*)(croodBlocks_[nb] + BLOCK_SCALE_SIZE * TWO_TIMES); in AllocateBlock()
218 uint32_t nb = totalVertices_ >> BLOCK_SCALE_SHIFT; in StoragePtrs() local
219 if (nb > in StoragePtrs()
[all...]
/foundation/multimedia/image_effect/test/unittest/utils/
H A Dtest_native_buffer_utils.cpp46 std::shared_ptr<OH_NativeBuffer> pNativeBuffer(nativeBuffer, [](OH_NativeBuffer *nb) { in CreateNativeBuffer()
47 OH_NativeBuffer_Unreference(nb); in CreateNativeBuffer()
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_cells_antialias.cpp467 uint32_t nb = numCells_; in SortAllCells() local
469 while (nb) { in SortAllCells()
471 i = (nb > CELL_BLOCK_SIZE) ? uint32_t(CELL_BLOCK_SIZE) : nb; in SortAllCells()
472 nb -= i; in SortAllCells()
493 nb = numCells_; in SortAllCells()
494 while (nb) { in SortAllCells()
496 i = (nb > CELL_BLOCK_SIZE) ? uint32_t(CELL_BLOCK_SIZE) : nb; in SortAllCells()
497 nb in SortAllCells()
[all...]
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h293 auto nb = allocate(b->data); variable
295 last = buckets_[ind] = nb;
297 nb->prev = last;
298 last = last->next = nb;
508 auto nb = allocate(b->data); in operator =() local
510 last = buckets_[ind] = nb; in operator =()
512 nb->prev = last; in operator =()
513 last = last->next = nb; in operator =()

Completed in 4 milliseconds