Searched defs:nodep (Results 1 - 21 of 21) sorted by relevance

/PHP_TRUNK/ext/dom/
H A Dattr.c59 xmlAttrPtr nodep = NULL; local
81 nodep = xmlNewProp(NULL, (xmlChar *) name, (xmlChar *) value);
83 if (!nodep) {
92 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern TSRMLS_CC);
191 xmlNodePtr nodep, nodeparent; local
193 nodep = dom_object_get_node(obj);
195 if (nodep == NULL) {
200 nodeparent = nodep->parent;
H A Dcdatasection.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
67 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len);
69 if (!nodep) {
79 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
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 *) str->val, str->len + 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 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 Ddocument.c977 xmlNodePtr nodep, retnodep; local
988 DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj);
990 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE
991 || nodep->type == XML_DOCUMENT_TYPE_NODE) {
996 if (nodep->doc == docp) {
997 retnodep = nodep;
999 if ((recursive == 0) && (nodep->type == XML_ELEMENT_NODE)) {
1002 retnodep = xmlDocCopyNode(nodep, docp, recursive);
1007 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep
1032 xmlNodePtr nodep = NULL; local
1096 xmlNodePtr nodep = NULL, root; local
1601 zval *id, *nodep = NULL; local
2115 zval *id, *nodep = NULL; local
[all...]
H A Ddocumentfragment.c57 xmlNodePtr nodep = NULL, oldnode = NULL; local
68 nodep = xmlNewDocFragment(NULL);
70 if (!nodep) {
80 /* php_dom_set_object(intern, nodep TSRMLS_CC); */
81 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
122 xmlNode *nodep; local
133 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern);
135 if (dom_node_is_read_only(nodep) == SUCCESS) {
141 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst);
147 php_dom_xmlSetTreeDoc(lst, nodep
[all...]
H A Ddom_iterators.c85 xmlNode *nodep = NULL; local
95 nodep = iter->node;
97 return nodep;
253 xmlNodePtr nodep, curnode=NULL; local
282 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj);
283 if (!nodep) {
288 curnode = (xmlNodePtr) nodep->properties;
290 curnode = (xmlNodePtr) nodep->children;
293 if (nodep->type == XML_DOCUMENT_NODE || nodep
[all...]
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 Delement.c158 xmlNodePtr nodep = NULL, oldnode = NULL; local
185 nodep = xmlNewNode (NULL, (xmlChar *)localname);
186 if (nodep != NULL && uri != NULL) {
187 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
188 xmlSetNs(nodep, nsptr);
196 if (nodep != NULL) {
197 xmlFreeNode(nodep);
211 nodep = xmlNewNode(NULL, (xmlChar *) name);
214 if (!nodep) {
220 xmlNodeSetContentLen(nodep, (xmlCha
239 xmlNodePtr nodep; local
329 xmlNode *nodep; local
372 xmlNode *nodep; local
439 xmlNodePtr nodep, attrp; local
487 xmlNodePtr nodep, attrp; local
534 xmlNode *nodep; local
600 xmlNode *nodep; local
743 xmlNodePtr elemp, nodep = NULL; local
871 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 = (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 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 TSRMLS_DC) 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 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 Dprocessinginstruction.c54 xmlNodePtr nodep = NULL, oldnode = NULL; local
75 nodep = xmlNewPI((xmlChar *) name, (xmlChar *) value);
77 if (!nodep) {
87 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
98 xmlNodePtr nodep = dom_object_get_node(obj); local
100 if (nodep == NULL) {
105 ZVAL_STRING(retval, (char *) (nodep->name));
119 xmlNodePtr nodep; local
122 nodep = dom_object_get_node(obj);
124 if (nodep
141 xmlNode *nodep = dom_object_get_node(obj); 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.c207 xmlNode *nodep; local
216 nodep = dom_object_get_node(obj);
217 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
358 xmlNodePtr nodep = NULL; local
387 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj);
390 if (!nodep) {
391 nodep = xmlDocGetRootElement(docp);
394 if (nodep && docp != nodep->doc) {
399 ctxp->node = nodep;
[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 Dphp_dom.c477 xmlNodePtr nodep = NULL; local
481 nodep = intern->node->node;
484 return nodep;
493 xmlNodePtr nodep = NULL; local
502 nodep = php_libxml_import_node(node TSRMLS_CC);
504 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) {
505 DOM_RET_OBJ((xmlNodePtr) nodep, &ret, (dom_object *)nodeobj);
1317 xmlNodePtr nodep; local
1350 dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) argument
1497 dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) argument
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c164 static int php_libxml_unregister_node(xmlNodePtr nodep TSRMLS_DC)
168 php_libxml_node_ptr *nodeptr = nodep->_private;
1305 xmlNodePtr nodep; local
1310 nodep = object->node->node;
1313 php_libxml_node_free_resource(nodep TSRMLS_CC);
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c342 xmlNode *nodep; local
351 nodep = dom_object_get_node(obj);
352 valuePush(ctxt, xmlXPathNewNodeSet(nodep));
399 xmlNode *nodep = NULL; local
407 nodep = php_libxml_import_node(docp TSRMLS_CC);
409 if (nodep) {
410 doc = nodep->doc;
446 nodep = xmlDocGetRootElement(sheetp->doc);
447 if (nodep && (nodep
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1978 xmlNodePtr nodep = NULL; local
1998 nodep = xmlDocCopyNode(sxe->node->node, docp, 1);
2001 php_libxml_increment_node_ptr((php_libxml_node_object *)clone, nodep, NULL TSRMLS_CC);
2404 xmlNodePtr nodep = NULL; local
2413 nodep = php_libxml_import_node(node TSRMLS_CC);
2415 if (nodep) {
2416 if (nodep->doc == NULL) {
2420 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) {
2421 nodep
[all...]

Completed in 46 milliseconds