Lines Matching refs:LIBXML

335 	context = php_stream_context_from_zval(LIBXML(stream_context), 0);  in php_libxml_streams_IO_open_wrapper()
379 if (LIBXML(entity_loader_disabled)) { in php_libxml_input_buffer_create_filename()
485 zend_llist_add_element(LIBXML(error_list), &error_copy); in _php_list_set_error_structure()
506 if (LIBXML(error_list)) { in php_libxml_issue_error()
529 smart_str_appendl(&LIBXML(error_buffer), buf, len); in php_libxml_internal_error_handler()
534 if (LIBXML(error_list)) { in php_libxml_internal_error_handler()
535 _php_list_set_error_structure(NULL, LIBXML(error_buffer).c); in php_libxml_internal_error_handler()
539 php_libxml_ctx_error_level(E_WARNING, ctx, LIBXML(error_buffer).c TSRMLS_CC); in php_libxml_internal_error_handler()
542 php_libxml_ctx_error_level(E_NOTICE, ctx, LIBXML(error_buffer).c TSRMLS_CC); in php_libxml_internal_error_handler()
545 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", LIBXML(error_buffer).c); in php_libxml_internal_error_handler()
548 smart_str_free(&LIBXML(error_buffer)); in php_libxml_internal_error_handler()
566 fci = &LIBXML(entity_loader).fci; in _php_libxml_external_entity_loader()
604 retval = zend_call_function(fci, &LIBXML(entity_loader).fcc TSRMLS_CC); in _php_libxml_external_entity_loader()
763 oldcontext = LIBXML(stream_context); in php_libxml_switch_context()
764 LIBXML(stream_context) = context; in php_libxml_switch_context()
884 if (LIBXML(stream_context)) { in php_libxml_post_deactivate()
886 efree(LIBXML(stream_context)); in php_libxml_post_deactivate()
887 LIBXML(stream_context) = NULL; in php_libxml_post_deactivate()
889 smart_str_free(&LIBXML(error_buffer)); in php_libxml_post_deactivate()
890 if (LIBXML(error_list)) { in php_libxml_post_deactivate()
891 zend_llist_destroy(LIBXML(error_list)); in php_libxml_post_deactivate()
892 efree(LIBXML(error_list)); in php_libxml_post_deactivate()
893 LIBXML(error_list) = NULL; in php_libxml_post_deactivate()
897 _php_libxml_destroy_fci(&LIBXML(entity_loader).fci); in php_libxml_post_deactivate()
923 if (LIBXML(stream_context)) { in PHP_FUNCTION()
924 zval_ptr_dtor(&LIBXML(stream_context)); in PHP_FUNCTION()
925 LIBXML(stream_context) = NULL; in PHP_FUNCTION()
928 LIBXML(stream_context) = arg; in PHP_FUNCTION()
956 if (LIBXML(error_list)) { in PHP_FUNCTION()
957 zend_llist_destroy(LIBXML(error_list)); in PHP_FUNCTION()
958 efree(LIBXML(error_list)); in PHP_FUNCTION()
959 LIBXML(error_list) = NULL; in PHP_FUNCTION()
963 if (LIBXML(error_list) == NULL) { in PHP_FUNCTION()
964 LIBXML(error_list) = (zend_llist *) emalloc(sizeof(zend_llist)); in PHP_FUNCTION()
965 …zend_llist_init(LIBXML(error_list), sizeof(xmlError), (llist_dtor_func_t) _php_libxml_free_error, … in PHP_FUNCTION()
1013 if (LIBXML(error_list)) { in PHP_FUNCTION()
1015 error = zend_llist_get_first(LIBXML(error_list)); in PHP_FUNCTION()
1038 error = zend_llist_get_next(LIBXML(error_list)); in PHP_FUNCTION()
1049 if (LIBXML(error_list)) { in PHP_FUNCTION()
1050 zend_llist_clean(LIBXML(error_list)); in PHP_FUNCTION()
1057 zend_bool old = LIBXML(entity_loader_disabled); in php_libxml_disable_entity_loader()
1059 LIBXML(entity_loader_disabled) = disable; in php_libxml_disable_entity_loader()
1088 _php_libxml_destroy_fci(&LIBXML(entity_loader).fci); in PHP_FUNCTION()
1091 LIBXML(entity_loader).fci = fci; in PHP_FUNCTION()
1096 LIBXML(entity_loader).fcc = fcc; in PHP_FUNCTION()