Lines Matching refs:buf
324 static char* xml_elem_entity_escape(const char* buf, int old_len, int *newlen, XML_ELEM_ESCAPING fl… in xml_elem_entity_escape() argument
332 if(buf && *buf) { in xml_elem_entity_escape()
337 bufcopy = buf; in xml_elem_entity_escape()
338 iLength= old_len ? old_len : strlen(buf); in xml_elem_entity_escape()
352 bufcopy=buf; in xml_elem_entity_escape()
511 simplestring* buf = (simplestring*)f; in simplestring_out_fptr() local
512 if(buf) { in simplestring_out_fptr()
513 simplestring_addn(buf, text, size); in simplestring_out_fptr()
539 simplestring buf; in xml_elem_serialize_to_string() local
540 simplestring_init(&buf); in xml_elem_serialize_to_string()
542 xml_element_serialize(el, simplestring_out_fptr, (void *)&buf, options, 0); in xml_elem_serialize_to_string()
545 *buf_len = buf.len; in xml_elem_serialize_to_string()
548 return buf.str; in xml_elem_serialize_to_string()
690 char buf[100] = ""; in xml_elem_parse_buf() local
727 snprintf(buf, in xml_elem_parse_buf()
728 sizeof(buf), in xml_elem_parse_buf()