Searched refs:nodep (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Dattr.c60 xmlAttrPtr nodep = NULL; local
82 nodep = xmlNewProp(NULL, (xmlChar *) name, value);
84 if (!nodep) {
94 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern TSRMLS_CC);
213 xmlNodePtr nodep, nodeparent; local
216 nodep = dom_object_get_node(obj);
218 if (nodep == NULL) {
225 nodeparent = nodep->parent;
H A Dcdatasection.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
67 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len);
69 if (!nodep) {
80 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
H A Dcharacterdata.c81 xmlNodePtr nodep; local
84 nodep = dom_object_get_node(obj);
86 if (nodep == NULL) {
93 if ((content = xmlNodeGetContent(nodep)) != NULL) {
106 xmlNode *nodep; local
108 nodep = dom_object_get_node(obj);
110 if (nodep == NULL) {
124 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1);
142 xmlNodePtr nodep; local
146 nodep
225 xmlNode *nodep; local
[all...]
H A Dcomment.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
67 nodep = xmlNewComment((xmlChar *) value);
69 if (!nodep) {
80 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern TSRMLS_CC);
H A Ddocumentfragment.c57 xmlNodePtr nodep = NULL, oldnode = NULL; local
68 nodep = xmlNewDocFragment(NULL);
70 if (!nodep) {
81 /* php_dom_set_object(intern, nodep TSRMLS_CC); */
82 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
124 xmlNode *nodep; local
135 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern);
137 if (dom_node_is_read_only(nodep) == SUCCESS) {
143 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, data, &lst);
149 php_dom_xmlSetTreeDoc(lst, nodep
[all...]
H A Ddom_iterators.c85 xmlNode *nodep = NULL; local
95 nodep = iter->node;
97 return nodep;
261 xmlNodePtr nodep, curnode=NULL; local
290 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj);
291 if (!nodep) {
296 curnode = (xmlNodePtr) nodep->properties;
298 curnode = (xmlNodePtr) nodep->children;
301 if (nodep->type == XML_DOCUMENT_NODE || nodep
[all...]
H A Ddomimplementation.c155 xmlNode *nodep; local
218 nodep = xmlNewDocNode (docp, nsptr, localname, NULL);
219 if (!nodep) {
234 nodep->nsDef = nsptr;
236 xmlDocSetRootElement(docp, nodep);
H A Delement.c158 xmlNodePtr nodep = NULL, oldnode = NULL; local
184 nodep = xmlNewNode (NULL, (xmlChar *)localname);
185 if (nodep != NULL && uri != NULL) {
186 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
187 xmlSetNs(nodep, nsptr);
195 if (nodep != NULL) {
196 xmlFreeNode(nodep);
210 nodep = xmlNewNode(NULL, (xmlChar *) name);
213 if (!nodep) {
219 xmlNodeSetContentLen(nodep, (xmlCha
240 xmlNodePtr nodep; local
332 xmlNode *nodep; local
375 xmlNode *nodep; local
441 xmlNodePtr nodep, attrp; local
489 xmlNodePtr nodep, attrp; local
535 xmlNode *nodep; local
601 xmlNode *nodep; local
744 xmlNodePtr elemp, nodep = NULL; local
872 xmlNode *nodep; local
959 xmlNode *nodep; local
1060 xmlNode *nodep; local
1145 xmlNode *nodep; local
1217 xmlNode *nodep; local
[all...]
H A Dentity.c49 xmlEntity *nodep; local
51 nodep = (xmlEntity *) dom_object_get_node(obj);
53 if (nodep == NULL) {
59 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) {
62 ZVAL_STRING(*retval, (char *) (nodep->ExternalID), 1);
77 xmlEntity *nodep; local
79 nodep = (xmlEntity *) dom_object_get_node(obj);
81 if (nodep == NULL) {
87 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) {
90 ZVAL_STRING(*retval, (char *) (nodep
105 xmlEntity *nodep; local
[all...]
H A Dnamednodemap.c90 xmlNodePtr nodep; local
102 nodep = dom_object_get_node(objmap->baseobj);
103 if (nodep) {
104 curnode = nodep->properties;
136 xmlNodePtr nodep; local
161 nodep = dom_object_get_node(objmap->baseobj);
162 if (nodep) {
163 itemnode = (xmlNodePtr)xmlHasProp(nodep, named);
210 xmlNodePtr nodep, curnode; local
232 nodep
268 xmlNodePtr nodep; local
[all...]
H A Dnode.c162 static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */ argument
166 if (nodep->type == XML_ELEMENT_NODE) {
168 if (nodep->nsDef != NULL) {
169 curns = nodep->nsDef;
173 if((nsptr = xmlSearchNsByHref(doc, nodep->parent, curns->href)) &&
177 nodep->nsDef = nsdftptr;
189 xmlReconciliateNs(doc, nodep);
201 xmlNode *nodep; local
206 nodep = dom_object_get_node(obj);
208 if (nodep
290 xmlNode *nodep; local
334 xmlNode *nodep; local
384 xmlNode *nodep; local
414 xmlNode *nodep, *nodeparent; local
448 xmlNode *nodep; local
480 xmlNode *nodep, *first = NULL; local
517 xmlNode *nodep, *last = NULL; local
554 xmlNode *nodep, *prevsib; local
588 xmlNode *nodep, *nextsib; local
621 xmlNode *nodep; local
653 xmlNode *nodep; local
693 xmlNode *nodep; local
736 xmlNode *nodep; local
775 xmlNode *nodep, *nsnode = NULL; local
858 xmlNode *nodep; local
887 xmlNode *nodep; local
919 xmlNode *nodep; local
950 _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *intern, dom_object *childobj TSRMLS_DC) argument
1163 xmlNodePtr children, newchild, oldchild, nodep; local
1251 xmlNodePtr children, child, nodep; local
1302 xmlNodePtr child, nodep, new_child = NULL; local
1403 xmlNode *nodep; local
1492 xmlNode *nodep; local
1535 xmlNode *nodep; local
1572 xmlNodePtr nodeotherp, nodep; local
1598 xmlNodePtr nodep, lookupp = NULL; local
1648 xmlNodePtr nodep; local
1681 xmlNodePtr nodep; local
1752 xmlNodePtr nodep; local
1947 xmlNode *nodep; local
1968 xmlNode *nodep; local
[all...]
H A Dnodelist.c57 xmlNodePtr nodep, curnode; local
70 nodep = dom_object_get_node(objmap->baseobj);
71 if (nodep) {
73 curnode = nodep->children;
82 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) {
83 nodep = xmlDocGetRootElement((xmlDoc *) nodep);
85 nodep = nodep
114 xmlNodePtr nodep, curnode; local
[all...]
H A Dnotation.c50 xmlEntityPtr nodep; local
52 nodep = (xmlEntityPtr) dom_object_get_node(obj);
54 if (nodep == NULL) {
60 if (nodep->ExternalID) {
61 ZVAL_STRING(*retval, (char *) (nodep->ExternalID), 1);
78 xmlEntityPtr nodep; local
80 nodep = (xmlEntityPtr) dom_object_get_node(obj);
82 if (nodep == NULL) {
88 if (nodep->SystemID) {
89 ZVAL_STRING(*retval, (char *) (nodep
[all...]
H A Dphp_dom.c553 xmlNodePtr nodep = NULL; local
557 nodep = intern->node->node;
560 return nodep;
569 xmlNodePtr nodep = NULL; local
578 nodep = php_libxml_import_node(node TSRMLS_CC);
580 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) {
581 DOM_RET_OBJ((xmlNodePtr) nodep, &ret, (dom_object *)nodeobj);
1447 xmlNodePtr nodep; local
1480 dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) argument
1627 dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) argument
[all...]
H A Dphp_dom.h112 void dom_normalize (xmlNodePtr nodep TSRMLS_DC);
113 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
H A Dprocessinginstruction.c55 xmlNodePtr nodep = NULL, oldnode = NULL; local
75 nodep = xmlNewPI((xmlChar *) name, (xmlChar *) value);
77 if (!nodep) {
88 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
100 xmlNodePtr nodep; local
102 nodep = dom_object_get_node(obj);
104 if (nodep == NULL) {
110 ZVAL_STRING(*retval, (char *) (nodep->name), 1);
124 xmlNodePtr nodep; local
127 nodep
150 xmlNode *nodep; local
[all...]
H A Dtext.c69 xmlNodePtr nodep = NULL, oldnode = NULL; local
82 nodep = xmlNewText((xmlChar *) value);
84 if (!nodep) {
95 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
H A Dxpath.c223 xmlNode *nodep; local
232 nodep = dom_object_get_node(obj);
233 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
390 xmlNodePtr nodep = NULL; local
419 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj);
422 if (!nodep) {
423 nodep = xmlDocGetRootElement(docp);
426 if (nodep && docp != nodep->doc) {
431 ctxp->node = nodep;
[all...]
H A Ddocument.c1178 xmlNodePtr nodep, retnodep; local
1189 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj);
1191 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE
1192 || nodep->type == XML_DOCUMENT_TYPE_NODE) {
1197 if (nodep->doc == docp) {
1198 retnodep = nodep;
1200 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) {
1203 retnodep = xmlDocCopyNode(nodep, docp, recursive);
1208 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep
1233 xmlNodePtr nodep = NULL; local
1296 xmlNodePtr nodep = NULL, root; local
1796 zval *id, *nodep = NULL; local
2307 zval *id, *nodep = NULL; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c346 xmlNode *nodep; local
355 nodep = dom_object_get_node(obj);
356 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
404 xmlNode *nodep = NULL; local
412 nodep = php_libxml_import_node(docp TSRMLS_CC);
414 if (nodep) {
415 doc = nodep->doc;
452 nodep = xmlDocGetRootElement(sheetp->doc);
453 if (nodep && (nodep
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c163 static int php_libxml_unregister_node(xmlNodePtr nodep TSRMLS_DC)
167 php_libxml_node_ptr *nodeptr = nodep->_private;
1300 xmlNodePtr nodep; local
1305 nodep = object->node->node;
1308 php_libxml_node_free_resource(nodep TSRMLS_CC);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1986 xmlNodePtr nodep = NULL; local
2006 nodep = xmlDocCopyNode(sxe->node->node, docp, 1);
2009 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, nodep, NULL TSRMLS_CC);
2452 xmlNodePtr nodep = NULL; local
2461 nodep = php_libxml_import_node(node TSRMLS_CC);
2463 if (nodep) {
2464 if (nodep->doc == NULL) {
2468 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) {
2469 nodep
[all...]

Completed in 36 milliseconds