Home
last modified time | relevance | path

Searched refs:AllocatedBlock (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Darena.h81 struct AllocatedBlock { struct
90 AllocatedBlock* AllocNewBlock(const size_t block_size,
98 AllocatedBlock first_blocks_[16]; // the length of this array is arbitrary
100 std::vector<AllocatedBlock>* overflow_blocks_;
Darena.cc111 AllocatedBlock* block = AllocNewBlock(block_size_, alignment); in MakeNewBlock()
135 Arena::AllocatedBlock* Arena::AllocNewBlock(const size_t block_size, in AllocNewBlock()
137 AllocatedBlock* block; in AllocNewBlock()
144 overflow_blocks_ = new std::vector<AllocatedBlock>; in AllocNewBlock()
242 std::vector<AllocatedBlock>::iterator it; in FreeBlocks()
/external/libtextclassifier/native/utils/base/
Darena.cc236 AllocatedBlock *block = AllocNewBlock(block_size_, alignment); in MakeNewBlock()
273 BaseArena::AllocatedBlock* BaseArena::AllocNewBlock(const size_t block_size, in AllocNewBlock()
275 AllocatedBlock *block; in AllocNewBlock()
282 overflow_blocks_ = new std::vector<AllocatedBlock>; in AllocNewBlock()
349 const BaseArena::AllocatedBlock *BaseArena::IndexToBlock(int index) const { in AllocNewBlock()
384 AllocatedBlock* b = AllocNewBlock(size, alignment); in AllocNewBlock()
429 std::vector<AllocatedBlock>::iterator it; in AllocNewBlock()
Darena.h148 struct AllocatedBlock { struct
158 AllocatedBlock* AllocNewBlock(const size_t block_size,
161 const AllocatedBlock* IndexToBlock(int index) const;
168 std::vector<AllocatedBlock>* overflow_blocks_;
173 AllocatedBlock first_blocks_[16]; // the length of this array is arbitrary
/external/llvm-project/lldb/include/lldb/Target/
DMemory.h68 class AllocatedBlock {
70 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions,
73 ~AllocatedBlock();
127 typedef std::shared_ptr<AllocatedBlock> AllocatedBlockSP;
/external/llvm-project/lldb/source/Target/
DMemory.cpp252 AllocatedBlock::AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, in AllocatedBlock() function in AllocatedBlock
262 AllocatedBlock::~AllocatedBlock() {} in ~AllocatedBlock()
264 lldb::addr_t AllocatedBlock::ReserveBlock(uint32_t size) { in ReserveBlock()
315 bool AllocatedBlock::FreeBlock(addr_t addr) { in FreeBlock()
364 block_sp = std::make_shared<AllocatedBlock>(addr, page_byte_size, in AllocatePage()