Home | History | Annotate | Download | only in src

Lines Matching refs:bytes

26   // Extract leader bytes 0x3c to 0x3f
87 fprintf(stderr, "libvterm: TODO unhandled CSI bytes \"%.*s\"\n", (int)(arglen - i), args + i);
110 fprintf(stderr, "Truncating strbuffer preserve to %zd bytes\n", len);
190 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len)
205 string_start = bytes;
209 #define ENTER_STRING_STATE(st) do { vt->parser_state = st; string_start = bytes + pos + 1; } while(0)
213 unsigned char c = bytes[pos];
217 append_strbuffer(vt, string_start, bytes + pos - string_start);
218 string_start = bytes + pos + 1;
241 append_strbuffer(vt, string_start, bytes + pos - string_start);
244 string_start = bytes + pos + 1;
258 do_string(vt, string_start, bytes + pos - string_start - 1);
263 string_start = bytes + pos;
280 do_string(vt, string_start, bytes + pos - string_start + 1);
295 do_string(vt, string_start, bytes + pos - string_start + 1);
303 do_string(vt, string_start, bytes + pos - string_start);
326 size_t text_eaten = do_string(vt, bytes + pos, len - pos);
329 string_start = bytes + pos;
340 if(string_start && string_start < len + bytes) {
341 size_t remaining = len - (string_start - bytes);