Lines Matching refs:pos_byte

176   res = FANSI_parse_token(&state.string[state.pos_byte]);  in parse_colors()
177 state.pos_byte += res.len; in parse_colors()
189 state.pos_byte -= (res.len); in parse_colors()
198 state.pos_byte -= (res.len); in parse_colors()
213 res = FANSI_parse_token(&state.string[state.pos_byte]); in parse_colors()
214 state.pos_byte += res.len; in parse_colors()
251 ++state.pos_byte; in read_ascii()
316 if(state.string[state.pos_byte] != 27) in read_esc()
321 (int) state.string[state.pos_byte] in read_esc()
332 while(state.string[state.pos_byte] == 27) { in read_esc()
336 ++state.pos_byte; // advance ESC in read_esc()
338 if(!state.string[state.pos_byte]) { in read_esc()
344 state.string[state.pos_byte] != '[' && state.ctl & FANSI_CTL_ESC in read_esc()
354 state.string[state.pos_byte] >= 0x40 && in read_esc()
355 state.string[state.pos_byte] <= 0x7E in read_esc()
361 if(state.string[state.pos_byte] != 27) in read_esc()
362 ++state.pos_byte; in read_esc()
368 ++state.pos_byte; // consume '[' in read_esc()
375 tok_res = FANSI_parse_token(&state.string[state.pos_byte]); in read_esc()
376 state.pos_byte += tok_res.len; in read_esc()
538 int byte_offset = state.pos_byte - state_prev.pos_byte; in read_esc()
579 int byte_size = FANSI_utf8clen(state.string[state.pos_byte]); in read_utf8()
589 if(!state.string[state.pos_byte + i]) { in read_utf8()
615 PROTECT(mkCharLenCE(state.string + state.pos_byte, byte_size, CE_UTF8)); in read_utf8()
632 state.pos_byte += byte_size; in read_utf8()
651 int is_nl = state.string[state.pos_byte] == '\n'; in read_c0()
675 const char chr_val = state.string[state.pos_byte]; in FANSI_read_next()