Lines Matching refs:string

248     if (parser->input.string.current == parser->input.string.end) {  in yaml_string_read_handler()
253 if (size > (size_t)(parser->input.string.end in yaml_string_read_handler()
254 - parser->input.string.current)) { in yaml_string_read_handler()
255 size = parser->input.string.end - parser->input.string.current; in yaml_string_read_handler()
258 memcpy(buffer, parser->input.string.current, size); in yaml_string_read_handler()
259 parser->input.string.current += size; in yaml_string_read_handler()
293 parser->input.string.start = input; in yaml_parser_set_input_string()
294 parser->input.string.current = input; in yaml_parser_set_input_string()
295 parser->input.string.end = input+size; in yaml_parser_set_input_string()
418 if (emitter->output.string.size - *emitter->output.string.size_written in yaml_string_write_handler()
420 memcpy(emitter->output.string.buffer in yaml_string_write_handler()
421 + *emitter->output.string.size_written, in yaml_string_write_handler()
423 emitter->output.string.size in yaml_string_write_handler()
424 - *emitter->output.string.size_written); in yaml_string_write_handler()
425 *emitter->output.string.size_written = emitter->output.string.size; in yaml_string_write_handler()
429 memcpy(emitter->output.string.buffer in yaml_string_write_handler()
430 + *emitter->output.string.size_written, buffer, size); in yaml_string_write_handler()
431 *emitter->output.string.size_written += size; in yaml_string_write_handler()
461 emitter->output.string.buffer = output; in yaml_emitter_set_output_string()
462 emitter->output.string.size = size; in yaml_emitter_set_output_string()
463 emitter->output.string.size_written = size_written; in yaml_emitter_set_output_string()