Lines Matching refs:text
213 simplestring_free(&root->text); in xml_elem_free_non_recurse()
270 simplestring_init(&elem->text); in xml_elem_new()
273 simplestring_addn(&elem->text, "", 0); in xml_elem_new()
279 static int xml_elem_writefunc(int (*fptr)(void *data, const char *text, int size), const char *text… in xml_elem_writefunc() argument
281 return fptr && text ? fptr(data, text, len ? len : strlen(text)) : 0; in xml_elem_writefunc()
376 static void xml_element_serialize(xml_element *el, int (*fptr)(void *data, const char *text, int si… in xml_element_serialize() argument
439 if(!el->text.len && !Q_Size(&el->children)) { in xml_element_serialize()
447 if(el->text.len) { in xml_element_serialize()
448 char* escaped_str = el->text.str; in xml_element_serialize()
449 int buflen = el->text.len; in xml_element_serialize()
452 … escaped_str = xml_elem_entity_escape(el->text.str, buflen, &buflen, options->escaping ); in xml_element_serialize()
454 escaped_str = el->text.str; in xml_element_serialize()
464 if(escaped_str != el->text.str) { in xml_element_serialize()
502 static int file_out_fptr(void *f, const char *text, int size) in file_out_fptr() argument
504 fputs(text, (FILE *)f); in file_out_fptr()
509 static int simplestring_out_fptr(void *f, const char *text, int size) in simplestring_out_fptr() argument
513 simplestring_addn(buf, text, size); in simplestring_out_fptr()
648 simplestring_addn(&mydata->current->text, add_text, len); in _xmlrpc_charHandler()
653 simplestring_addn(&mydata->current->text, s, len); in _xmlrpc_charHandler()