Home
last modified time | relevance | path

Searched refs:blocks_alloced_ (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Darena.cc49 blocks_alloced_(1), in Arena()
65 for (size_t i = 0; i < blocks_alloced_; ++i) { in ~Arena()
139 if (blocks_alloced_ < TF_ARRAYSIZE(first_blocks_)) { in AllocNewBlock()
141 block = &first_blocks_[blocks_alloced_++]; in AllocNewBlock()
235 for (size_t i = 1; i < blocks_alloced_; ++i) { // keep first block allocated in FreeBlocks()
240 blocks_alloced_ = 1; in FreeBlocks()
Darena.h97 size_t blocks_alloced_; // how many of the first_blocks_ have been alloced variable
/external/libtextclassifier/native/utils/base/
Darena.cc127 blocks_alloced_(1) { in BaseArena()
172 i < blocks_alloced_; ++i) { in ~BaseArena()
184 return (blocks_alloced_ + in block_count()
277 if (blocks_alloced_ < TC3_ARRAYSIZE(first_blocks_)) { in AllocNewBlock()
279 block = &first_blocks_[blocks_alloced_++]; in AllocNewBlock()
421 for ( int i = 1; i < blocks_alloced_; ++i ) { // keep first block alloced in AllocNewBlock()
427 blocks_alloced_ = 1; in AllocNewBlock()
Darena.h172 int8_t blocks_alloced_; // how many of the first_blocks_ have been allocated variable