Home | History | Annotate | Download | only in lib_json

Lines Matching refs:batch

18  * This memory allocator allocates memory for a batch of object (specified by
44 for (BatchInfo* batch = batches_; batch;) {
45 BatchInfo* nextBatch = batch->next_;
46 free(batch);
47 batch = nextBatch;
66 if (!currentBatch_) // no free batch found, allocate a new one
103 BatchInfo* batch = static_cast<BatchInfo*>(malloc(mallocSize));
104 batch->next_ = 0;
105 batch->used_ = batch->buffer_;
106 batch->end_ = batch->buffer_ + objectsPerPage;
107 return batch;