Searched refs:wr (Results 1 – 1 of 1) sorted by relevance
292 static inline size_t INIT get_pos(struct writer *wr) in get_pos() argument295 wr->global_pos + wr->buffer_pos; in get_pos()298 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte() argument301 if (!wr->flush) { in peek_old_byte()303 while (offs > wr->header->dict_size) in peek_old_byte()304 offs -= wr->header->dict_size; in peek_old_byte()305 pos = wr->buffer_pos - offs; in peek_old_byte()306 return wr->buffer[pos]; in peek_old_byte()308 uint32_t pos = wr->buffer_pos - offs; in peek_old_byte()309 while (pos >= wr->header->dict_size) in peek_old_byte()[all …]