Lines Matching refs:ch_offset
68 #define ch_offset thisfile->offset macro
164 if (ch_block == bp->block && ch_offset < bp->datasize) in ch_get()
165 return bp->data[ch_offset]; in ch_get()
178 if (ch_offset >= bp->datasize) in ch_get()
372 if (ch_offset < bp->datasize) in ch_get()
379 return (bp->data[ch_offset]); in ch_get()
521 ch_offset = (size_t) (pos % LBUFSIZE); in ch_seek()
605 ch_offset = 0; in ch_beg_seek()
646 return ch_position(ch_block, ch_offset); in ch_tell()
661 if (ch_offset < LBUFSIZE-1) in ch_forw_get()
662 ch_offset++; in ch_forw_get()
666 ch_offset = 0; in ch_forw_get()
678 if (ch_offset > 0) in ch_back_get()
679 ch_offset --; in ch_back_get()
687 ch_offset = LBUFSIZE-1; in ch_back_get()
742 ch_offset = 0; /* ch_fpos % LBUFSIZE; */ in ch_flush()