Home
last modified time | relevance | path

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

/external/jsoncpp/src/lib_json/
Djson_batchallocator.h40 currentBatch_ = batches_;
61 if (currentBatch_->used_ == currentBatch_->end_) { in allocate()
62 currentBatch_ = currentBatch_->next_; in allocate()
63 while (currentBatch_ && currentBatch_->used_ == currentBatch_->end_) in allocate()
64 currentBatch_ = currentBatch_->next_; in allocate()
66 if (!currentBatch_) // no free batch found, allocate a new one in allocate()
68 currentBatch_ = allocateBatch(objectsPerPage_); in allocate()
69 currentBatch_->next_ = batches_; // insert at the head of the list in allocate()
70 batches_ = currentBatch_; in allocate()
73 AllocatedType* allocated = currentBatch_->used_; in allocate()
[all …]