Lines Matching refs:buf
663 xmlBufferPtr buf; in to_zval_user() local
668 buf = xmlBufferCreate(); in to_zval_user()
669 xmlNodeDump(buf, NULL, copy, 0, 0); in to_zval_user()
671 ZVAL_STRING(data, (char*)xmlBufferContent(buf), 1); in to_zval_user()
672 xmlBufferFree(buf); in to_zval_user()
2988 char *buf; in to_xml_datetime_ex() local
3005 buf = (char *) emalloc(buf_len); in to_xml_datetime_ex()
3006 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
3008 buf = (char *) erealloc(buf, buf_len); in to_xml_datetime_ex()
3029 buf = (char *) erealloc(buf, real_len+1); in to_xml_datetime_ex()
3031 strcat(buf, tzbuf); in to_xml_datetime_ex()
3033 xmlNodeSetContent(xmlParam, BAD_CAST(buf)); in to_xml_datetime_ex()
3034 efree(buf); in to_xml_datetime_ex()
3199 xmlBufferPtr buf; in to_zval_any() local
3221 buf = xmlBufferCreate(); in to_zval_any()
3222 xmlNodeDump(buf, NULL, data, 0, 0); in to_zval_any()
3224 ZVAL_STRING(ret, (char*)xmlBufferContent(buf), 1); in to_zval_any()
3225 xmlBufferFree(buf); in to_zval_any()