Lines Matching refs:LIBXML

311 …context = php_stream_context_from_zval(Z_ISUNDEF(LIBXML(stream_context))? NULL : &LIBXML(stream_co…  in php_libxml_streams_IO_open_wrapper()
355 if (LIBXML(entity_loader_disabled)) { in php_libxml_input_buffer_create_filename()
512 zend_llist_add_element(LIBXML(error_list), &error_copy); in _php_list_set_error_structure()
533 if (LIBXML(error_list)) { in php_libxml_issue_error()
554 smart_str_appendl(&LIBXML(error_buffer), buf, len); in php_libxml_internal_error_handler()
559 if (LIBXML(error_list)) { in php_libxml_internal_error_handler()
560 _php_list_set_error_structure(NULL, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
565 php_libxml_ctx_error_level(E_WARNING, ctx, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
568 php_libxml_ctx_error_level(E_NOTICE, ctx, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
571 php_error_docref(NULL, E_WARNING, "%s", ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler()
574 smart_str_free(&LIBXML(error_buffer)); in php_libxml_internal_error_handler()
588 fci = &LIBXML(entity_loader).fci; in _php_libxml_external_entity_loader()
627 status = zend_call_function(fci, &LIBXML(entity_loader).fcc); in _php_libxml_external_entity_loader()
789 ZVAL_COPY_VALUE(oldcontext, &LIBXML(stream_context)); in php_libxml_switch_context()
792 ZVAL_COPY_VALUE(&LIBXML(stream_context), context); in php_libxml_switch_context()
917 LIBXML(entity_loader_disabled) = 0; in PHP_RINIT_FUNCTION()
924 _php_libxml_destroy_fci(&LIBXML(entity_loader).fci, &LIBXML(entity_loader).object); in PHP_RSHUTDOWN_FUNCTION()
954 ZVAL_UNDEF(&LIBXML(stream_context)); in php_libxml_post_deactivate()
955 smart_str_free(&LIBXML(error_buffer)); in php_libxml_post_deactivate()
956 if (LIBXML(error_list)) { in php_libxml_post_deactivate()
957 zend_llist_destroy(LIBXML(error_list)); in php_libxml_post_deactivate()
958 efree(LIBXML(error_list)); in php_libxml_post_deactivate()
959 LIBXML(error_list) = NULL; in php_libxml_post_deactivate()
987 if (!Z_ISUNDEF(LIBXML(stream_context))) { in PHP_FUNCTION()
988 zval_ptr_dtor(&LIBXML(stream_context)); in PHP_FUNCTION()
989 ZVAL_UNDEF(&LIBXML(stream_context)); in PHP_FUNCTION()
991 ZVAL_COPY(&LIBXML(stream_context), arg); in PHP_FUNCTION()
1019 if (LIBXML(error_list)) { in PHP_FUNCTION()
1020 zend_llist_destroy(LIBXML(error_list)); in PHP_FUNCTION()
1021 efree(LIBXML(error_list)); in PHP_FUNCTION()
1022 LIBXML(error_list) = NULL; in PHP_FUNCTION()
1026 if (LIBXML(error_list) == NULL) { in PHP_FUNCTION()
1027 LIBXML(error_list) = (zend_llist *) emalloc(sizeof(zend_llist)); in PHP_FUNCTION()
1028 zend_llist_init(LIBXML(error_list), sizeof(xmlError), _php_libxml_free_error, 0); in PHP_FUNCTION()
1074 if (LIBXML(error_list)) { in PHP_FUNCTION()
1077 error = zend_llist_get_first(LIBXML(error_list)); in PHP_FUNCTION()
1099 error = zend_llist_get_next(LIBXML(error_list)); in PHP_FUNCTION()
1113 if (LIBXML(error_list)) { in PHP_FUNCTION()
1114 zend_llist_clean(LIBXML(error_list)); in PHP_FUNCTION()
1121 zend_bool old = LIBXML(entity_loader_disabled); in php_libxml_disable_entity_loader()
1123 LIBXML(entity_loader_disabled) = disable; in php_libxml_disable_entity_loader()
1151 _php_libxml_destroy_fci(&LIBXML(entity_loader).fci, &LIBXML(entity_loader).object); in PHP_FUNCTION()
1154 LIBXML(entity_loader).fci = fci; in PHP_FUNCTION()
1157 ZVAL_OBJ(&LIBXML(entity_loader).object, fci.object); in PHP_FUNCTION()
1158 Z_ADDREF(LIBXML(entity_loader).object); in PHP_FUNCTION()
1160 LIBXML(entity_loader).fcc = fcc; in PHP_FUNCTION()