Lines Matching refs:last
56 && parser->raw_buffer.last - parser->raw_buffer.pointer < 3) { in yaml_parser_determine_encoding()
64 if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
70 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
76 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 3 in yaml_parser_determine_encoding()
101 && parser->raw_buffer.last == parser->raw_buffer.end) in yaml_parser_update_raw_buffer()
111 && parser->raw_buffer.pointer < parser->raw_buffer.last) { in yaml_parser_update_raw_buffer()
113 parser->raw_buffer.last - parser->raw_buffer.pointer); in yaml_parser_update_raw_buffer()
115 parser->raw_buffer.last -= in yaml_parser_update_raw_buffer()
121 if (!parser->read_handler(parser->read_handler_data, parser->raw_buffer.last, in yaml_parser_update_raw_buffer()
122 parser->raw_buffer.end - parser->raw_buffer.last, &size_read)) { in yaml_parser_update_raw_buffer()
126 parser->raw_buffer.last += size_read; in yaml_parser_update_raw_buffer()
150 if (parser->eof && parser->raw_buffer.pointer == parser->raw_buffer.last) in yaml_parser_update_buffer()
168 && parser->buffer.pointer < parser->buffer.last) { in yaml_parser_update_buffer()
169 size_t size = parser->buffer.last - parser->buffer.pointer; in yaml_parser_update_buffer()
172 parser->buffer.last = parser->buffer.start + size; in yaml_parser_update_buffer()
174 else if (parser->buffer.pointer == parser->buffer.last) { in yaml_parser_update_buffer()
176 parser->buffer.last = parser->buffer.start; in yaml_parser_update_buffer()
185 if (!first || parser->raw_buffer.pointer == parser->raw_buffer.last) { in yaml_parser_update_buffer()
192 while (parser->raw_buffer.pointer != parser->raw_buffer.last) in yaml_parser_update_buffer()
200 size_t raw_unread = parser->raw_buffer.last - parser->raw_buffer.pointer; in yaml_parser_update_buffer()
429 *(parser->buffer.last++) = value; in yaml_parser_update_buffer()
433 *(parser->buffer.last++) = 0xC0 + (value >> 6); in yaml_parser_update_buffer()
434 *(parser->buffer.last++) = 0x80 + (value & 0x3F); in yaml_parser_update_buffer()
438 *(parser->buffer.last++) = 0xE0 + (value >> 12); in yaml_parser_update_buffer()
439 *(parser->buffer.last++) = 0x80 + ((value >> 6) & 0x3F); in yaml_parser_update_buffer()
440 *(parser->buffer.last++) = 0x80 + (value & 0x3F); in yaml_parser_update_buffer()
444 *(parser->buffer.last++) = 0xF0 + (value >> 18); in yaml_parser_update_buffer()
445 *(parser->buffer.last++) = 0x80 + ((value >> 12) & 0x3F); in yaml_parser_update_buffer()
446 *(parser->buffer.last++) = 0x80 + ((value >> 6) & 0x3F); in yaml_parser_update_buffer()
447 *(parser->buffer.last++) = 0x80 + (value & 0x3F); in yaml_parser_update_buffer()
456 *(parser->buffer.last++) = '\0'; in yaml_parser_update_buffer()