Searched defs:doc (Results 1 - 13 of 13) sorted by relevance

/PHP_5_3/ext/dom/
H A Ddocumentfragment.c89 static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */ argument
98 prop->doc = doc;
102 php_dom_xmlSetTreeDoc(cur, doc);
112 php_dom_xmlSetTreeDoc(cur, doc);
116 tree->doc = doc;
143 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, data, &lst);
149 php_dom_xmlSetTreeDoc(lst, nodep->doc);
H A Delement.c302 ns = xmlSearchNs(elem->doc, elem, prefix);
349 value = xmlNodeListGetString(attr->doc, attr->children, 1);
515 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *) attrp->children, attrp->name);
517 attrp = xmlNewDocNode(nodep->doc, NULL, (xmlChar *)"xmlns", attrp->name);
558 if (!(attrp->doc == NULL || attrp->doc == nodep->doc)) {
577 if (attrp->doc == NULL && nodep->doc != NULL) {
698 static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePt argument
[all...]
H A Dnode.c162 static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */ argument
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) &&
181 dom_set_old_ns(doc, curns);
189 xmlReconciliateNs(doc, nodep);
670 docp = nodep->doc;
794 nsnode = xmlDocGetRootElement(nodep->doc);
899 baseuri = xmlNodeGetBase(nodep->doc, nodep);
973 if (node->doc != nodep->doc) {
974 xmlSetTreeDoc(node, nodep->doc);
[all...]
H A Dphp_dom.c125 if (node->doc == NULL) {
1180 cloned_node = xmlDocCopyNode(node, node->doc, 1);
1182 /* If we cloned a document then we must create new doc proxy */
1183 if (cloned_node->doc == node->doc) {
1186 php_libxml_increment_doc_ref((php_libxml_node_object *)clone, cloned_node->doc TSRMLS_CC);
1426 if (obj->doc != NULL) {
1430 php_libxml_increment_doc_ref((php_libxml_node_object *)intern, obj->doc TSRMLS_CC);
1447 if (parent == NULL || child == NULL || child->doc != parent->doc) {
1552 dom_set_old_ns(xmlDoc *doc, xmlNs *ns) argument
[all...]
H A Dxpath.c41 ZEND_ARG_OBJ_INFO(0, doc, DOMDocument, 0)
159 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name);
161 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name);
270 /* {{{ proto void DOMXPath::__construct(DOMDocument doc) U */
273 zval *id, *doc; local
281 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_xpath_class_entry, &doc, dom_document_class_entry) == FAILURE) {
287 DOM_GET_OBJ(docp, doc, xmlDocPtr, docobj);
329 docp = (xmlDocPtr) ctx->doc;
411 docp = (xmlDocPtr) ctxp->doc;
425 if (nodep && docp != nodep->doc) {
[all...]
/PHP_5_3/ext/simplexml/
H A Dsimplexml.c432 buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value));
988 static inline char * sxe_xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine) /* {{{ */ argument
990 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine);
1014 contents = xmlNodeListGetString(node->doc, node->children, 1);
1128 ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node->children, 1), 0);
1144 ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node, 1), 0);
1633 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
1709 nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri);
2429 if (nodep->doc == NULL) {
2444 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc TSRMLS_C
[all...]
/PHP_5_3/ext/soap/
H A Dphp_encoding.c566 nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
636 xmlDocPtr doc = soap_xmlParseMemory(Z_STRVAL_P(return_value), Z_STRLEN_P(return_value)); local
637 if (doc && doc->children) {
638 ret = xmlDocCopyNode(doc->children, parent->doc, 1);
640 xmlFreeDoc(doc);
2610 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2631 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns));
2992 nsptr = xmlSearchNs(data->doc, dat
3500 xmlSearchNsPrefixByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href) argument
[all...]
H A Dphp_schema.c101 xmlDocPtr doc; local
106 doc = soap_xmlParseFile((char*)location TSRMLS_CC);
109 if (doc == NULL) {
112 schema = get_node(doc->children, "schema");
114 xmlFreeDoc(doc);
120 xmlFreeDoc(doc);
124 xmlFreeDoc(doc);
134 xmlFreeDoc(doc);
138 zend_hash_add(&ctx->docs, (char*)location, xmlStrlen(location)+1, (void**)&doc, sizeof(xmlDocPtr), NULL);
197 xmlChar *base = xmlNodeGetBase(trav->doc, tra
[all...]
H A Dphp_sdl.c56 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
80 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
391 xmlChar *base = xmlNodeGetBase(trav->doc, trav);
394 uri = xmlBuildURI(tmp->children->content, trav->doc->URL);
3702 xmlDocPtr doc = *((xmlDocPtr*)doc_ptr); local
3703 xmlFreeDoc(doc);
H A Dsoap.c3999 xmlDocPtr doc; local
4007 doc = xmlNewDoc(BAD_CAST("1.0"));
4008 doc->charset = XML_CHAR_ENCODING_UTF8;
4009 doc->encoding = xmlCharStrdup("UTF-8");
4012 envelope = xmlNewDocNode(doc, NULL, BAD_CAST("Envelope"), NULL);
4016 envelope = xmlNewDocNode(doc, NULL, BAD_CAST("Envelope"), NULL);
4022 xmlDocSetRootElement(doc, envelope);
4345 xmlFreeDoc(doc);
4348 return doc;
4353 xmlDoc *doc; local
[all...]
/PHP_5_3/ext/tidy/
H A Dtidy.c190 TidyDoc doc; member in struct:_PHPTidyDoc
218 static int _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC);
497 static int _php_tidy_set_tidy_opt(TidyDoc doc, char *optname, zval *value TSRMLS_DC) argument
499 TidyOption opt = tidyGetOptionByName(doc, optname);
518 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
534 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
544 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
562 TidyDoc doc; local
582 doc = tidyCreate();
586 if (tidySetErrorBuffer(doc, errbu
1010 _php_tidy_apply_config_array(TidyDoc doc, HashTable *ht_options TSRMLS_DC) argument
1111 TidyDoc doc; local
[all...]
/PHP_5_3/ext/xsl/
H A Dphp_xsl.h66 php_libxml_node_object *doc; member in struct:_xsl_object
H A Dxsltprocessor.c32 ZEND_ARG_INFO(0, doc)
36 ZEND_ARG_INFO(0, doc)
40 ZEND_ARG_INFO(0, doc)
45 ZEND_ARG_INFO(0, doc)
248 dom_object *domintern = (dom_object *)intern->doc;
266 node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name);
268 node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name);
379 /* {{{ proto void xsl_xsltprocessor_import_stylesheet(domdocument doc);
386 xmlDoc *doc = NULL, *newdoc = NULL; local
401 doc
469 xmlDocPtr doc = NULL; local
[all...]

Completed in 39 milliseconds