Home
last modified time | relevance | path

Searched refs:docp (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/dom/
H A Ddocument.c433 xmlDocPtr docp; in PHP_METHOD() local
465 xmlDocPtr docp; in PHP_METHOD() local
1267 if (!docp) { in PHP_METHOD()
1562 xmlDoc *docp; in PHP_METHOD() local
1606 xmlDoc *docp; in dom_document_save_xml() local
1771 xmlDoc *docp; in PHP_METHOD() local
1797 xmlDoc *docp; in PHP_METHOD() local
1826 xmlDoc *docp; in PHP_METHOD() local
1860 xmlDoc *docp; in dom_document_schema_validate() local
1971 xmlDoc *docp; in dom_document_relaxNG_validate() local
[all …]
H A Ddomimplementation.c153 xmlDoc *docp; in PHP_METHOD() local
205 docp = xmlNewDoc(NULL); in PHP_METHOD()
206 if (!docp) { in PHP_METHOD()
216 docp->intSubset = doctype; in PHP_METHOD()
217 doctype->parent = docp; in PHP_METHOD()
218 doctype->doc = docp; in PHP_METHOD()
220 docp->last = (xmlNodePtr) doctype; in PHP_METHOD()
227 docp->intSubset = NULL; in PHP_METHOD()
230 docp->children = NULL; in PHP_METHOD()
231 docp->last = NULL; in PHP_METHOD()
[all …]
H A Dhtml_document.c1311 (const lxb_char_t *) docp->encoding, in dom_common_save()
1312 strlen((const char *) docp->encoding) in dom_common_save()
1380 xmlDoc *docp; in PHP_METHOD() local
1405 if (UNEXPECTED(dom_common_save(&output_ctx, intern, docp, (const xmlNode *) docp) != SUCCESS)) { in PHP_METHOD()
1419 const xmlDoc *docp; in PHP_METHOD() local
1431 if (node->doc != docp) { in PHP_METHOD()
1436 node = (const xmlNode *) docp; in PHP_METHOD()
1452 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_html_document_encoding_write()
1461 xmlFree(BAD_CAST docp->encoding); in dom_html_document_encoding_write()
1524 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_html_document_body_write()
[all …]
H A Dxpath.c122 xmlDocPtr docp = NULL; in dom_xpath_construct() local
129 DOM_GET_OBJ(docp, doc, xmlDocPtr, docobj); in dom_xpath_construct()
131 xmlXPathContextPtr ctx = xmlXPathNewContext(docp); in dom_xpath_construct()
174 xmlDoc *docp = NULL; in dom_xpath_document_read() local
178 docp = (xmlDocPtr) ctx->doc; in dom_xpath_document_read()
181 if (UNEXPECTED(!docp)) { in dom_xpath_document_read()
186 php_dom_create_object((xmlNodePtr) docp, retval, obj); in dom_xpath_document_read()
266 xmlDocPtr docp = ctxp->doc; in php_xpath_eval() local
267 if (docp == NULL) { in php_xpath_eval()
282 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
[all …]
H A Dnode.c457 xmlDocPtr docp = nodep->doc; in dom_node_owner_document_read() local
458 if (!docp) { in dom_node_owner_document_read()
462 php_dom_create_object((xmlNodePtr) docp, retval, obj); in dom_node_owner_document_read()
2102 xmlDocPtr docp; in dom_canonicalization() local
2131 docp = nodep->doc; in dom_canonicalization()
2133 if (! docp) { in dom_canonicalization()
2164 ctxp = xmlXPathNewContext(docp); in dom_canonicalization()
2224 …ret = xmlC14NExecute(docp, dom_canonicalize_node_parent_lookup_cb, nodep, exclusive, inclusive_ns_… in dom_canonicalization()
2226 ret = xmlC14NDocSaveTo(docp, nodeset, exclusive, inclusive_ns_prefixes, with_comments, buf); in dom_canonicalization()
/php-src/ext/xsl/
H A Dxsltprocessor.c192 zval *id, *docp = NULL; in PHP_METHOD() local
205 nodep = php_libxml_import_node(docp); in PHP_METHOD()
247 intern->sheet_ref_obj = Z_LIBXML_NODE_P(docp)->document; in PHP_METHOD()
300 node = php_libxml_import_node(docp); in php_xsl_apply_stylesheet()
335 object = Z_LIBXML_NODE_P(docp); in php_xsl_apply_stylesheet()
434 zval *id, *docp = NULL; in PHP_METHOD() local
448 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
456 curce = Z_OBJCE_P(docp); in PHP_METHOD()
487 zval *id, *docp = NULL; in PHP_METHOD() local
503 newdocp = php_xsl_apply_stylesheet(id, intern, sheetp, docp); in PHP_METHOD()
[all …]
/php-src/ext/libxml/
H A Dphp_libxml.h171 static zend_always_inline void php_libxml_invalidate_node_list_cache_from_doc(xmlDocPtr docp) in php_libxml_invalidate_node_list_cache_from_doc() argument
173 if (docp && docp->_private) { /* docp is NULL for detached nodes */ in php_libxml_invalidate_node_list_cache_from_doc()
174 php_libxml_node_ptr *node_private = (php_libxml_node_ptr *) docp->_private; in php_libxml_invalidate_node_list_cache_from_doc()
195 …BXML_API unsigned int php_libxml_increment_doc_ref(php_libxml_node_object *object, xmlDocPtr docp);
H A Dlibxml.c1352 …IBXML_API unsigned int php_libxml_increment_doc_ref(php_libxml_node_object *object, xmlDocPtr docp) in php_libxml_increment_doc_ref() argument
1359 } else if (docp != NULL) { in php_libxml_increment_doc_ref()
1362 object->document->ptr = docp; in php_libxml_increment_doc_ref()
/php-src/ext/simplexml/
H A Dsimplexml.c2080 xmlDocPtr docp = NULL; in sxe_object_clone() local
2087 docp = xmlCopyDoc(sxe->document->ptr, 1); in sxe_object_clone()
2093 docp = clone->document->ptr; in sxe_object_clone()
2108 nodep = xmlDocGetRootElement(docp); in sxe_object_clone()
2201 xmlDocPtr docp; in PHP_FUNCTION() local
2218 docp = xmlReadFile(filename, NULL, (int)options); in PHP_FUNCTION()
2221 if (!docp) { in PHP_FUNCTION()
2247 xmlDocPtr docp; in PHP_FUNCTION() local
2275 if (!docp) { in PHP_FUNCTION()
2302 xmlDocPtr docp; in PHP_METHOD() local
[all …]
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c1273 xmlDocPtr docp = NULL; in PHP_METHOD() local
1289 docp = node->doc; in PHP_METHOD()
1301 nodec = xmlDocCopyNode(node, docp, 1); in PHP_METHOD()

Completed in 57 milliseconds