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

/PHP_TRUNK/ext/dom/
H A Ddomimplementation.c158 xmlNode *nodep; local
224 nodep = xmlNewDocNode(docp, nsptr, (xmlChar *) localname, NULL);
225 if (!nodep) {
240 nodep->nsDef = nsptr;
242 xmlDocSetRootElement(docp, nodep);
H A Dentity.c49 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); local
51 if (nodep == NULL) {
56 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) {
59 ZVAL_STRING(retval, (char *) (nodep->ExternalID));
74 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); local
76 if (nodep == NULL) {
81 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) {
84 ZVAL_STRING(retval, (char *) (nodep->SystemID));
99 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); local
102 if (nodep
[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, (xmlChar *) named);
210 xmlNodePtr nodep, curnode; local
232 nodep
269 xmlNodePtr nodep; local
[all...]
H A Dnotation.c50 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); local
52 if (nodep == NULL) {
57 if (nodep->ExternalID) {
58 ZVAL_STRING(retval, (char *) (nodep->ExternalID));
75 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); local
77 if (nodep == NULL) {
82 if (nodep->SystemID) {
83 ZVAL_STRING(retval, (char *) (nodep->SystemID));
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 Dcdatasection.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
63 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len);
65 if (!nodep) {
75 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern);
H A Dcomment.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
63 nodep = xmlNewComment((xmlChar *) value);
65 if (!nodep) {
76 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern);
H A Ddom_iterators.c85 xmlNode *nodep = NULL; local
95 nodep = iter->node;
97 return nodep;
259 xmlNodePtr nodep, curnode=NULL; local
288 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj);
289 if (!nodep) {
294 curnode = (xmlNodePtr) nodep->properties;
296 curnode = (xmlNodePtr) nodep->children;
299 if (nodep->type == XML_DOCUMENT_NODE || nodep
[all...]
H A Ddocumentfragment.c57 xmlNodePtr nodep = NULL, oldnode = NULL; local
64 nodep = xmlNewDocFragment(NULL);
66 if (!nodep) {
76 /* php_dom_set_object(intern, nodep); */
77 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern);
118 xmlNode *nodep; local
129 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern);
131 if (dom_node_is_read_only(nodep) == SUCCESS) {
137 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst);
143 php_dom_xmlSetTreeDoc(lst, nodep
[all...]
H A Delement.c158 xmlNodePtr nodep = NULL, oldnode = NULL; local
181 nodep = xmlNewNode (NULL, (xmlChar *)localname);
182 if (nodep != NULL && uri != NULL) {
183 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
184 xmlSetNs(nodep, nsptr);
192 if (nodep != NULL) {
193 xmlFreeNode(nodep);
207 nodep = xmlNewNode(NULL, (xmlChar *) name);
210 if (!nodep) {
216 xmlNodeSetContentLen(nodep, (xmlCha
235 xmlNodePtr nodep; local
325 xmlNode *nodep; local
368 xmlNode *nodep; local
435 xmlNodePtr nodep, attrp; local
483 xmlNodePtr nodep, attrp; local
530 xmlNode *nodep; local
596 xmlNode *nodep; local
739 xmlNodePtr elemp, nodep = NULL; local
867 xmlNode *nodep; local
955 xmlNode *nodep; local
1056 xmlNode *nodep; local
1141 xmlNode *nodep; local
1213 xmlNode *nodep; local
[all...]
H A Dtext.c69 xmlNodePtr nodep = NULL, oldnode = NULL; local
78 nodep = xmlNewText((xmlChar *) value);
80 if (!nodep) {
91 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern);
H A Dattr.c59 xmlAttrPtr nodep = NULL; local
77 nodep = xmlNewProp(NULL, (xmlChar *) name, (xmlChar *) value);
79 if (!nodep) {
88 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern);
187 xmlNodePtr nodep, nodeparent; local
189 nodep = dom_object_get_node(obj);
191 if (nodep == NULL) {
196 nodeparent = nodep->parent;
H A Dcharacterdata.c81 xmlNodePtr nodep = dom_object_get_node(obj); local
84 if (nodep == NULL) {
89 if ((content = xmlNodeGetContent(nodep)) != NULL) {
101 xmlNode *nodep = dom_object_get_node(obj); local
104 if (nodep == NULL) {
111 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1);
126 xmlNodePtr nodep = dom_object_get_node(obj); local
130 if (nodep == NULL) {
135 content = xmlNodeGetContent(nodep);
205 xmlNode *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
288 xmlNode *nodep = dom_object_get_node(obj); local
327 xmlNode *nodep = dom_object_get_node(obj); local
367 xmlNode *nodep; local
395 xmlNode *nodep, *nodeparent; local
423 xmlNode *nodep = dom_object_get_node(obj); local
451 xmlNode *nodep, *first = NULL; local
482 xmlNode *nodep, *last = NULL; local
513 xmlNode *nodep, *prevsib; local
541 xmlNode *nodep, *nextsib; local
568 xmlNode *nodep = dom_object_get_node(obj); local
596 xmlNode *nodep = dom_object_get_node(obj); local
627 xmlNode *nodep = dom_object_get_node(obj); local
666 xmlNode *nodep = dom_object_get_node(obj); local
701 xmlNode *nodep, *nsnode = NULL; local
773 xmlNode *nodep = dom_object_get_node(obj); local
798 xmlNode *nodep = dom_object_get_node(obj); local
826 xmlNode *nodep = dom_object_get_node(obj); local
848 xmlNode *nodep = dom_object_get_node(obj); local
868 _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *intern, dom_object *childobj) argument
1081 xmlNodePtr children, newchild, oldchild, nodep; local
1169 xmlNodePtr children, child, nodep; local
1220 xmlNodePtr child, nodep, new_child = NULL; local
1321 xmlNode *nodep; local
1410 xmlNode *nodep; local
1453 xmlNode *nodep; local
1490 xmlNodePtr nodeotherp, nodep; local
1516 xmlNodePtr nodep, lookupp = NULL; local
1567 xmlNodePtr nodep; local
1600 xmlNodePtr nodep; local
1671 xmlNodePtr nodep; local
1862 xmlNode *nodep; local
1883 xmlNode *nodep; local
[all...]
H A Dphp_dom.h115 void dom_normalize (xmlNodePtr nodep);
116 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
H A Dprocessinginstruction.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
70 nodep = xmlNewPI((xmlChar *) name, (xmlChar *) value);
72 if (!nodep) {
82 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern);
93 xmlNodePtr nodep = dom_object_get_node(obj); local
95 if (nodep == NULL) {
100 ZVAL_STRING(retval, (char *) (nodep->name));
114 xmlNodePtr nodep; local
117 nodep = dom_object_get_node(obj);
119 if (nodep
136 xmlNode *nodep = dom_object_get_node(obj); local
[all...]
H A Dphp_dom.c466 xmlNodePtr nodep = NULL; local
470 nodep = intern->node->node;
473 return nodep;
482 xmlNodePtr nodep = NULL; local
491 nodep = php_libxml_import_node(node);
493 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) {
494 DOM_RET_OBJ((xmlNodePtr) nodep, &ret, (dom_object *)nodeobj);
1306 xmlNodePtr nodep; local
1339 dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) argument
1367 dom_normalize(xmlNodePtr nodep) argument
1486 dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) argument
[all...]
H A Dxpath.c206 xmlNode *nodep; local
215 nodep = dom_object_get_node(obj);
216 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
353 xmlNodePtr nodep = NULL; local
382 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj);
385 if (!nodep) {
386 nodep = xmlDocGetRootElement(docp);
389 if (nodep && docp != nodep->doc) {
394 ctxp->node = nodep;
[all...]
H A Ddocument.c978 xmlNodePtr nodep, retnodep; local
989 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj);
991 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE
992 || nodep->type == XML_DOCUMENT_TYPE_NODE) {
997 if (nodep->doc == docp) {
998 retnodep = nodep;
1000 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) {
1003 retnodep = xmlDocCopyNode(nodep, docp, recursive);
1008 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep
1033 xmlNodePtr nodep = NULL; local
1097 xmlNodePtr nodep = NULL, root; local
1610 zval *id, *nodep = NULL; local
2145 zval *id, *nodep = NULL; local
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c167 static int php_libxml_unregister_node(xmlNodePtr nodep) argument
171 php_libxml_node_ptr *nodeptr = nodep->_private;
1325 xmlNodePtr nodep; local
1330 nodep = object->node->node;
1333 php_libxml_node_free_resource(nodep);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c341 xmlNode *nodep; local
350 nodep = dom_object_get_node(obj);
351 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
398 xmlNode *nodep = NULL; local
406 nodep = php_libxml_import_node(docp);
408 if (nodep) {
409 doc = nodep->doc;
445 nodep = xmlDocGetRootElement(sheetp->doc);
446 if (nodep && (nodep
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2046 xmlNodePtr nodep = NULL; local
2066 nodep = xmlDocCopyNode(sxe->node->node, docp, 1);
2069 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, nodep, NULL);
2538 xmlNodePtr nodep = NULL; local
2548 nodep = php_libxml_import_node(node);
2550 if (nodep) {
2551 if (nodep->doc == NULL) {
2555 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) {
2556 nodep
[all...]

Completed in 33 milliseconds