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
46 for ( BatchInfo *batch = batches_; batch; )
48 BatchInfo *nextBatch = batch->next_;
49 free( batch );
50 batch = nextBatch;
70 if ( !currentBatch_ ) // no free batch found, allocate a new one
108 BatchInfo *batch = static_cast<BatchInfo*>( malloc( mallocSize ) );
109 batch->next_ = 0;
110 batch->used_ = batch->buffer_;
111 batch->end_ = batch->buffer_ + objectsPerPage;
112 return batch;