Lines Matching refs:errbuf
101 TidyBuffer *errbuf; member
277 TidyBuffer *errbuf; in php_tidy_quick_repair() local
317 errbuf = emalloc(sizeof(TidyBuffer)); in php_tidy_quick_repair()
318 tidyBufInit(errbuf); in php_tidy_quick_repair()
320 if (tidySetErrorBuffer(doc, errbuf) != 0) { in php_tidy_quick_repair()
321 tidyBufFree(errbuf); in php_tidy_quick_repair()
322 efree(errbuf); in php_tidy_quick_repair()
348 php_error_docref(NULL, E_WARNING, "%s", errbuf->bp); in php_tidy_quick_repair()
369 tidyBufFree(errbuf); in php_tidy_quick_repair()
370 efree(errbuf); in php_tidy_quick_repair()
400 tidyBufFree(intern->ptdoc->errbuf); in tidy_object_free_storage()
401 efree(intern->ptdoc->errbuf); in tidy_object_free_storage()
425 intern->ptdoc->errbuf = emalloc(sizeof(TidyBuffer)); in tidy_object_new()
426 tidyBufInit(intern->ptdoc->errbuf); in tidy_object_new()
428 if (tidySetErrorBuffer(intern->ptdoc->doc, intern->ptdoc->errbuf) != 0) { in tidy_object_new()
429 tidyBufFree(intern->ptdoc->errbuf); in tidy_object_new()
430 efree(intern->ptdoc->errbuf); in tidy_object_new()
561 if (obj->ptdoc->errbuf->size) { in tidy_doc_update_properties()
567 (char*) obj->ptdoc->errbuf->bp, in tidy_doc_update_properties()
568 obj->ptdoc->errbuf->size-1 in tidy_doc_update_properties()
824 php_error_docref(NULL, E_WARNING, "%s", obj->ptdoc->errbuf->bp); in php_tidy_parse_string()
965 TidyBuffer inbuf, outbuf, errbuf; in php_tidy_output_handler() local
969 tidyBufInit(&errbuf); in php_tidy_output_handler()
971 if (0 == tidySetErrorBuffer(doc, &errbuf)) { in php_tidy_output_handler()
997 tidyBufFree(&errbuf); in php_tidy_output_handler()
1040 if (obj->ptdoc->errbuf && obj->ptdoc->errbuf->bp) { in PHP_FUNCTION()
1041 RETURN_STRINGL((char*)obj->ptdoc->errbuf->bp, obj->ptdoc->errbuf->size-1); in PHP_FUNCTION()