Searched refs:next_slice (Results 1 – 2 of 2) sorted by relevance
92 TextSlice* next_slice = nullptr; variable111 if (!next_slice) in operator ()()112 next_slice = TextSlice::allocate(MAX_CHAR_PER_INPUT_SLICE); in operator ()()113 std::size_t m = next_slice->avail(); in operator ()()114 std::size_t n = fread(next_slice->end(), 1, m, input_file); in operator ()()115 if (!n && next_slice->size() == 0) { in operator ()()122 TextSlice* t = next_slice; in operator ()()123 next_slice = TextSlice::allocate(MAX_CHAR_PER_INPUT_SLICE); in operator ()()131 next_slice->append(p, t->end() + n); in operator ()()
289 TextSlice* next_slice = NULL;313 if( !next_slice )314 next_slice = TextSlice::allocate( MAX_CHAR_PER_INPUT_SLICE );315 size_t m = next_slice->avail();316 size_t n = fread( next_slice->end(), 1, m, input_file );317 if( !n && next_slice->size()==0 ) {323 TextSlice* t = next_slice;324 next_slice = TextSlice::allocate( MAX_CHAR_PER_INPUT_SLICE );332 next_slice->append( p, t->end()+n );