Lines Matching refs:docp
1306 …common_save(dom_output_ctx *output_ctx, dom_object *intern, const xmlDoc *docp, const xmlNode *nod… in dom_common_save() argument
1311 (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
1400 DOM_GET_OBJ(docp, id, xmlDocPtr, intern); in PHP_METHOD()
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
1427 DOM_GET_OBJ(docp, ZEND_THIS, xmlDocPtr, intern); in PHP_METHOD()
1431 if (node->doc != docp) { in PHP_METHOD()
1436 node = (const xmlNode *) docp; in PHP_METHOD()
1444 zend_result result = dom_common_save(&output_ctx, intern, docp, node); 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()
1462 docp->encoding = xmlStrdup((const xmlChar *) encoding_data->name); in dom_html_document_encoding_write()
1471 static xmlNodePtr dom_html_document_element_read_raw(const xmlDoc *docp, bool (*accept)(const xmlCh… in dom_html_document_element_read_raw() argument
1473 const xmlNode *root = xmlDocGetRootElement(docp); in dom_html_document_element_read_raw()
1491 DOM_PROP_NODE(const xmlDoc *, docp, obj); in dom_html_document_element_read_helper()
1493 const xmlNode *element = dom_html_document_element_read_raw(docp, accept); in dom_html_document_element_read_helper()
1524 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_html_document_body_write()
1534 …const xmlNode *current_body_element = dom_html_document_element_read_raw(docp, dom_accept_body_nam… in dom_html_document_body_write()
1541 php_dom_adopt_node(newval_node, obj, docp); in dom_html_document_body_write()
1550 xmlNodePtr root = xmlDocGetRootElement(docp); in dom_html_document_body_write()
1557 php_dom_adopt_node(newval_node, obj, docp); in dom_html_document_body_write()
1622 DOM_PROP_NODE(const xmlDoc *, docp, obj); in dom_html_document_title_read()
1623 xmlNodePtr root = xmlDocGetRootElement(docp); in dom_html_document_title_read()
1642 const xmlNode *title = dom_get_title_element(docp); in dom_html_document_title_read()
1657 static void dom_string_replace_all(xmlDocPtr docp, xmlNodePtr element, zval *zv) in dom_string_replace_all() argument
1660 xmlNode *text = xmlNewDocText(docp, BAD_CAST Z_STRVAL_P(zv)); in dom_string_replace_all()
1667 DOM_PROP_NODE(xmlDocPtr, docp, obj); in dom_html_document_title_write()
1668 xmlNodePtr root = xmlDocGetRootElement(docp); in dom_html_document_title_write()
1694 element = xmlNewDocNode(docp, ns, BAD_CAST "title", NULL); in dom_html_document_title_write()
1712 dom_string_replace_all(docp, element, newval); in dom_html_document_title_write()
1717 xmlNodePtr title = dom_get_title_element(docp); in dom_html_document_title_write()
1718 xmlNodePtr head = dom_html_document_element_read_raw(docp, dom_accept_head_name); in dom_html_document_title_write()
1731 …element = xmlNewDocNode(docp, php_dom_libxml_ns_mapper_ensure_html_ns(ns_mapper), BAD_CAST "title"… in dom_html_document_title_write()
1742 dom_string_replace_all(docp, element, newval); in dom_html_document_title_write()