Lines Matching refs:error

465 static int _php_libxml_free_error(xmlErrorPtr error)  in _php_libxml_free_error()  argument
468 xmlResetError(error); in _php_libxml_free_error()
472 static void _php_list_set_error_structure(xmlErrorPtr error, const char *msg) in _php_list_set_error_structure() argument
481 if (error) { in _php_list_set_error_structure()
482 ret = xmlCopyError(error, &error_copy); in _php_list_set_error_structure()
730 PHP_LIBXML_API void php_libxml_structured_error_handler(void *userData, xmlErrorPtr error) in php_libxml_structured_error_handler() argument
732 _php_list_set_error_structure(error, NULL); in php_libxml_structured_error_handler()
1003 xmlErrorPtr error; in PHP_FUNCTION() local
1005 error = xmlGetLastError(); in PHP_FUNCTION()
1007 if (error) { in PHP_FUNCTION()
1009 add_property_long(return_value, "level", error->level); in PHP_FUNCTION()
1010 add_property_long(return_value, "code", error->code); in PHP_FUNCTION()
1011 add_property_long(return_value, "column", error->int2); in PHP_FUNCTION()
1012 if (error->message) { in PHP_FUNCTION()
1013 add_property_string(return_value, "message", error->message, 1); in PHP_FUNCTION()
1017 if (error->file) { in PHP_FUNCTION()
1018 add_property_string(return_value, "file", error->file, 1); in PHP_FUNCTION()
1022 add_property_long(return_value, "line", error->line); in PHP_FUNCTION()
1034 xmlErrorPtr error; in PHP_FUNCTION() local
1042 error = zend_llist_get_first(LIBXML(error_list)); in PHP_FUNCTION()
1044 while (error != NULL) { in PHP_FUNCTION()
1049 add_property_long(z_error, "level", error->level); in PHP_FUNCTION()
1050 add_property_long(z_error, "code", error->code); in PHP_FUNCTION()
1051 add_property_long(z_error, "column", error->int2); in PHP_FUNCTION()
1052 if (error->message) { in PHP_FUNCTION()
1053 add_property_string(z_error, "message", error->message, 1); in PHP_FUNCTION()
1057 if (error->file) { in PHP_FUNCTION()
1058 add_property_string(z_error, "file", error->file, 1); in PHP_FUNCTION()
1062 add_property_long(z_error, "line", error->line); in PHP_FUNCTION()
1065 error = zend_llist_get_next(LIBXML(error_list)); in PHP_FUNCTION()