node 50 Zend/zend_execute.c #define get_zval_ptr(node, Ts, should_free, type) _get_zval_ptr(node, Ts, should_free, type TSRMLS_CC) node 51 Zend/zend_execute.c #define get_zval_ptr_ptr(node, Ts, should_free, type) _get_zval_ptr_ptr(node, Ts, should_free, type TSRMLS_CC) node 52 Zend/zend_execute.c #define get_obj_zval_ptr(node, Ts, should_free, type) _get_obj_zval_ptr(node, Ts, should_free, type TSRMLS_CC) node 53 Zend/zend_execute.c #define get_obj_zval_ptr_ptr(node, Ts, should_free, type) _get_obj_zval_ptr_ptr(node, Ts, should_free, type TSRMLS_CC) node 165 Zend/zend_execute.c return should_free->var = &T(node->u.var).tmp_var; node 170 Zend/zend_execute.c zval *ptr = T(node->u.var).var.ptr; node 175 Zend/zend_execute.c temp_variable *T = &T(node->u.var); node 205 Zend/zend_execute.c zval ***ptr = &CV_OF(node->u.var); node 208 Zend/zend_execute.c zend_compiled_variable *cv = &CV_DEF_OF(node->u.var); node 233 Zend/zend_execute.c switch (node->op_type) { node 236 Zend/zend_execute.c return &node->u.constant; node 239 Zend/zend_execute.c should_free->var = TMP_FREE(&T(node->u.var).tmp_var); node 240 Zend/zend_execute.c return &T(node->u.var).tmp_var; node 243 Zend/zend_execute.c return _get_zval_ptr_var(node, Ts, should_free TSRMLS_CC); node 251 Zend/zend_execute.c return _get_zval_ptr_cv(node, Ts, type TSRMLS_CC); node 260 Zend/zend_execute.c zval** ptr_ptr = T(node->u.var).var.ptr_ptr; node 266 Zend/zend_execute.c PZVAL_UNLOCK(T(node->u.var).str_offset.str, should_free); node 273 Zend/zend_execute.c zval ***ptr = &CV_OF(node->u.var); node 276 Zend/zend_execute.c zend_compiled_variable *cv = &CV_DEF_OF(node->u.var); node 300 Zend/zend_execute.c if (node->op_type == IS_CV) { node 302 Zend/zend_execute.c return _get_zval_ptr_ptr_cv(node, Ts, type TSRMLS_CC); node 303 Zend/zend_execute.c } else if (node->op_type == IS_VAR) { node 304 Zend/zend_execute.c return _get_zval_ptr_ptr_var(node, Ts, should_free TSRMLS_CC); node 1425 Zend/zend_execute.c return get_zval_ptr(node, Ts, should_free, type); node 1429 Zend/zend_execute.c return get_zval_ptr_ptr(node, Ts, should_free, type); node 184 ext/dom/characterdata.c xmlNodePtr node; node 193 ext/dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 195 ext/dom/characterdata.c cur = xmlNodeGetContent(node); node 268 ext/dom/characterdata.c xmlNodePtr node; node 278 ext/dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 280 ext/dom/characterdata.c cur = xmlNodeGetContent(node); node 297 ext/dom/characterdata.c xmlNodeSetContent(node, first); node 298 ext/dom/characterdata.c xmlNodeAddContent(node, arg); node 299 ext/dom/characterdata.c xmlNodeAddContent(node, second); node 317 ext/dom/characterdata.c xmlNodePtr node; node 326 ext/dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 328 ext/dom/characterdata.c cur = xmlNodeGetContent(node); node 354 ext/dom/characterdata.c xmlNodeSetContent(node, substring); node 373 ext/dom/characterdata.c xmlNodePtr node; node 383 ext/dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 385 ext/dom/characterdata.c cur = xmlNodeGetContent(node); node 415 ext/dom/characterdata.c xmlNodeSetContent(node, substring); node 947 ext/dom/document.c xmlNode *node; node 964 ext/dom/document.c node = xmlNewDocNode(docp, NULL, name, value); node 965 ext/dom/document.c if (!node) { node 969 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 981 ext/dom/document.c xmlNode *node; node 992 ext/dom/document.c node = xmlNewDocFragment(docp); node 993 ext/dom/document.c if (!node) { node 997 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 1009 ext/dom/document.c xmlNode *node; node 1021 ext/dom/document.c node = xmlNewDocText(docp, (xmlChar *) value); node 1022 ext/dom/document.c if (!node) { node 1026 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 1038 ext/dom/document.c xmlNode *node; node 1050 ext/dom/document.c node = xmlNewDocComment(docp, (xmlChar *) value); node 1051 ext/dom/document.c if (!node) { node 1055 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 1067 ext/dom/document.c xmlNode *node; node 1079 ext/dom/document.c node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len); node 1080 ext/dom/document.c if (!node) { node 1084 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 1096 ext/dom/document.c xmlNode *node; node 1113 ext/dom/document.c node = xmlNewPI((xmlChar *) name, (xmlChar *) value); node 1114 ext/dom/document.c if (!node) { node 1118 ext/dom/document.c node->doc = docp; node 1120 ext/dom/document.c DOM_RET_OBJ(rv, node, &ret, intern); node 1132 ext/dom/document.c xmlAttrPtr node; node 1149 ext/dom/document.c node = xmlNewDocProp(docp, (xmlChar *) name, NULL); node 1150 ext/dom/document.c if (!node) { node 1154 ext/dom/document.c DOM_RET_OBJ(rv, (xmlNodePtr) node, &ret, intern); node 1167 ext/dom/document.c xmlNode *node; node 1184 ext/dom/document.c node = xmlNewReference(docp, name); node 1185 ext/dom/document.c if (!node) { node 1189 ext/dom/document.c DOM_RET_OBJ(rv, (xmlNodePtr) node, &ret, intern); node 1228 ext/dom/document.c zval *id, *node; node 1235 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO|l", &id, dom_document_class_entry, &node, dom_node_class_entry, &recursive) == FAILURE) { node 1241 ext/dom/document.c DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); node 1835 ext/dom/document.c xmlNode *node; node 1854 ext/dom/document.c DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); node 1855 ext/dom/document.c if (node->doc != docp) { node 1868 ext/dom/document.c xmlNodeDump(buf, docp, node, 0, format); node 35 ext/dom/dom_iterators.c xmlNode *node; node 51 ext/dom/dom_iterators.c if(priv->node == NULL) { node 52 ext/dom/dom_iterators.c priv->node = (xmlNode *)payload; node 90 ext/dom/dom_iterators.c iter->node = NULL; node 92 ext/dom/dom_iterators.c nodep = iter->node; node 172 ext/dom/dom_iterators.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; node 215 ext/dom/dom_iterators.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; node 160 ext/dom/domimplementation.c zval *node = NULL, *rv = NULL; node 170 ext/dom/domimplementation.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) { node 174 ext/dom/domimplementation.c if (node != NULL) { node 175 ext/dom/domimplementation.c DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); node 549 ext/dom/element.c zval *id, *node, *rv = NULL; node 555 ext/dom/element.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) { node 566 ext/dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 581 ext/dom/element.c ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) node 612 ext/dom/element.c zval *id, *node, *rv = NULL; node 618 ext/dom/element.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) { node 629 ext/dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 955 ext/dom/element.c zval *id, *node, *rv = NULL; node 962 ext/dom/element.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) { node 973 ext/dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 994 ext/dom/element.c ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) node 1215 ext/dom/element.c zval *id, *node; node 1221 ext/dom/element.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OOb", &id, dom_element_class_entry, &node, dom_attr_class_entry, &is_id) == FAILURE) { node 1232 ext/dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 54 ext/dom/entityreference.c xmlNode *node; node 74 ext/dom/entityreference.c node = xmlNewReference(NULL, name); node 76 ext/dom/entityreference.c if (!node) { node 87 ext/dom/entityreference.c php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); node 982 ext/dom/node.c xmlNodePtr newchild, node; node 1000 ext/dom/node.c node = newchild; node 1001 ext/dom/node.c while (node != NULL) { node 1002 ext/dom/node.c node->parent = nodep; node 1003 ext/dom/node.c if (node->doc != nodep->doc) { node 1004 ext/dom/node.c xmlSetTreeDoc(node, nodep->doc); node 1005 ext/dom/node.c if (node->_private != NULL) { node 1006 ext/dom/node.c childobj = node->_private; node 1011 ext/dom/node.c if (node == fragment->last) { node 1014 ext/dom/node.c node = node->next; node 1030 ext/dom/node.c zval *id, *node, *ref = NULL, *rv = NULL; node 1035 ext/dom/node.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO|O!", &id, dom_node_class_entry, &node, dom_node_class_entry, &ref, dom_node_class_entry) == FAILURE) { node 1045 ext/dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1245 ext/dom/node.c xmlNodePtr node; node 1265 ext/dom/node.c node = xmlReplaceNode(oldchild, newchild); node 1284 ext/dom/node.c zval *id, *node; node 1289 ext/dom/node.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_node_class_entry, &node, dom_node_class_entry) == FAILURE) { node 1299 ext/dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1337 ext/dom/node.c zval *id, *node, *rv = NULL; node 1342 ext/dom/node.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_node_class_entry, &node, dom_node_class_entry) == FAILURE) { node 1352 ext/dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1470 ext/dom/node.c xmlNode *n, *node; node 1481 ext/dom/node.c node = xmlDocCopyNode(n, n->doc, recursive); node 1483 ext/dom/node.c if (!node) { node 1491 ext/dom/node.c node->nsDef = xmlCopyNamespaceList(n->nsDef); node 1495 ext/dom/node.c ns = xmlSearchNs(n->doc, node, n->ns->prefix); node 1499 ext/dom/node.c xmlNodePtr root = node; node 1504 ext/dom/node.c node->ns = xmlNewNs(root, ns->href, ns->prefix); node 1507 ext/dom/node.c node->ns = ns; node 1511 ext/dom/node.c node->properties = xmlCopyPropList(node, n->properties); node 1516 ext/dom/node.c if (node->doc != n->doc) { node 1520 ext/dom/node.c DOM_RET_OBJ(rv, node, &ret, intern); node 1615 ext/dom/node.c zval *id, *node; node 1619 ext/dom/node.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_node_class_entry, &node, dom_node_class_entry) == FAILURE) { node 1625 ext/dom/node.c DOM_GET_OBJ(nodeotherp, node, xmlNodePtr, nodeotherobj); node 1842 ext/dom/node.c ctxp->node = nodep; node 1844 ext/dom/node.c ctxp->node = NULL; node 1871 ext/dom/node.c ctxp->node = nodep; node 1892 ext/dom/node.c ctxp->node = NULL; node 109 ext/dom/php_dom.c switch (node->type) { node 122 ext/dom/php_dom.c if (node->doc == NULL) { node 133 ext/dom/php_dom.c switch (node->type) { node 232 ext/dom/php_dom.c return ((php_libxml_node_ptr *)obj->ptr)->node; node 446 ext/dom/php_dom.c if (intern && intern->node) { node 447 ext/dom/php_dom.c nodep = intern->node->node; node 458 ext/dom/php_dom.c zval *node; node 463 ext/dom/php_dom.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &node) == FAILURE) { node 467 ext/dom/php_dom.c nodeobj = (php_libxml_node_object *)zend_object_store_get_object(node TSRMLS_CC); node 468 ext/dom/php_dom.c nodep = php_libxml_import_node(node TSRMLS_CC); node 929 ext/dom/php_dom.c while (node != NULL) { node 931 ext/dom/php_dom.c wrapper = php_dom_object_get_data(node); node 934 ext/dom/php_dom.c xmlUnlinkNode(node); node 936 ext/dom/php_dom.c if (node->type == XML_ENTITY_REF_NODE) node 938 ext/dom/php_dom.c node_list_unlink(node->children TSRMLS_CC); node 940 ext/dom/php_dom.c switch (node->type) { node 949 ext/dom/php_dom.c node_list_unlink((xmlNodePtr) node->properties TSRMLS_CC); node 954 ext/dom/php_dom.c node = node->next; node 986 ext/dom/php_dom.c if (intern->ptr != NULL && ((php_libxml_node_ptr *)intern->ptr)->node != NULL) { node 987 ext/dom/php_dom.c if (((xmlNodePtr) ((php_libxml_node_ptr *)intern->ptr)->node)->type != XML_DOCUMENT_NODE && ((xmlNodePtr) ((php_libxml_node_ptr *)intern->ptr)->node)->type != XML_HTML_DOCUMENT_NODE) { node 1054 ext/dom/php_dom.c xmlNodePtr node; node 1060 ext/dom/php_dom.c node = (xmlNodePtr)dom_object_get_node((dom_object *) object); node 1061 ext/dom/php_dom.c if (node != NULL) { node 1062 ext/dom/php_dom.c cloned_node = xmlDocCopyNode(node, node->doc, 1); node 1065 ext/dom/php_dom.c if (cloned_node->doc == node->doc) { node 1519 ext/dom/php_dom.c if (node == NULL) node 1523 ext/dom/php_dom.c cur = node->nsDef; node 1532 ext/dom/php_dom.c cur = node->nsDef; node 123 ext/dom/php_dom.h if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \ node 110 ext/dom/text.c xmlNodePtr node; node 113 ext/dom/text.c node = dom_object_get_node(obj); node 115 ext/dom/text.c if (node == NULL) { node 121 ext/dom/text.c while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTION_NODE))) { node 122 ext/dom/text.c node = node->prev; node 126 ext/dom/text.c while (node && ((node->type == XML_TEXT_NODE) || (node->type == XML_CDATA_SECTION_NODE))) { node 127 ext/dom/text.c wholetext = xmlStrcat(wholetext, node->content); node 128 ext/dom/text.c node = node->next; node 155 ext/dom/text.c xmlNodePtr node; node 165 ext/dom/text.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 167 ext/dom/text.c if (node->type != XML_TEXT_NODE) { node 171 ext/dom/text.c cur = xmlNodeGetContent(node); node 187 ext/dom/text.c xmlNodeSetContentLen(node, first, offset); node 188 ext/dom/text.c nnode = xmlNewDocText(node->doc, second); node 197 ext/dom/text.c if (node->parent != NULL) { node 199 ext/dom/text.c xmlAddNextSibling(node, nnode); node 215 ext/dom/text.c xmlNodePtr node; node 221 ext/dom/text.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 223 ext/dom/text.c if (xmlIsBlankNode(node)) { node 60 ext/dom/xml_common.h if (__intern->node == NULL || !(__ptr = (__prtype)__intern->node->node)) { \ node 210 ext/dom/xpath.c ctxp->node = nodep; node 225 ext/dom/xpath.c ctxp->node = NULL; node 256 ext/dom/xpath.c xmlNodePtr node = nodesetp->nodeTab[i]; node 261 ext/dom/xpath.c if (node->type == XML_NAMESPACE_DECL) { node 265 ext/dom/xpath.c nsparent = node->_private; node 266 ext/dom/xpath.c curns = xmlNewNs(NULL, node->name, NULL); node 267 ext/dom/xpath.c if (node->children) { node 268 ext/dom/xpath.c curns->prefix = xmlStrdup((char *) node->children); node 270 ext/dom/xpath.c if (node->children) { node 271 ext/dom/xpath.c node = xmlNewDocNode(docp, NULL, (char *) node->children, node->name); node 273 ext/dom/xpath.c node = xmlNewDocNode(docp, NULL, "xmlns", node->name); node 275 ext/dom/xpath.c node->type = XML_NAMESPACE_DECL; node 276 ext/dom/xpath.c node->parent = nsparent; node 277 ext/dom/xpath.c node->ns = curns; node 279 ext/dom/xpath.c child = php_dom_create_object(node, &ret, NULL, child, intern TSRMLS_CC); node 48 ext/interbase/ibase_events.c ibase_event **node; node 56 ext/interbase/ibase_events.c for (node = &event->link->event_head; *node != event; node = &(*node)->event_next); node 57 ext/interbase/ibase_events.c *node = event->event_next; node 164 ext/libxml/libxml.c if (nodeptr->node != NULL && nodeptr->node->type != XML_DOCUMENT_NODE) { node 165 ext/libxml/libxml.c nodeptr->node->_private = NULL; node 167 ext/libxml/libxml.c nodeptr->node = NULL; node 176 ext/libxml/libxml.c if(node) { node 177 ext/libxml/libxml.c if (node->_private != NULL) { node 178 ext/libxml/libxml.c ((php_libxml_node_ptr *) node->_private)->node = NULL; node 180 ext/libxml/libxml.c switch (node->type) { node 182 ext/libxml/libxml.c xmlFreeProp((xmlAttrPtr) node); node 190 ext/libxml/libxml.c if (node->name != NULL) { node 191 ext/libxml/libxml.c xmlFree((char *) node->name); node 193 ext/libxml/libxml.c if (((xmlEntityPtr) node)->ExternalID != NULL) { node 194 ext/libxml/libxml.c xmlFree((char *) ((xmlEntityPtr) node)->ExternalID); node 196 ext/libxml/libxml.c if (((xmlEntityPtr) node)->SystemID != NULL) { node 197 ext/libxml/libxml.c xmlFree((char *) ((xmlEntityPtr) node)->SystemID); node 199 ext/libxml/libxml.c xmlFree(node); node 202 ext/libxml/libxml.c if (node->ns) { node 203 ext/libxml/libxml.c xmlFreeNs(node->ns); node 204 ext/libxml/libxml.c node->ns = NULL; node 206 ext/libxml/libxml.c node->type = XML_ELEMENT_NODE; node 208 ext/libxml/libxml.c xmlFreeNode(node); node 217 ext/libxml/libxml.c if (node != NULL) { node 218 ext/libxml/libxml.c curnode = node; node 220 ext/libxml/libxml.c node = curnode; node 221 ext/libxml/libxml.c switch (node->type) { node 226 ext/libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 229 ext/libxml/libxml.c if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) { node 230 ext/libxml/libxml.c xmlRemoveID(node->doc, (xmlAttrPtr) node); node 238 ext/libxml/libxml.c php_libxml_node_free_list(node->children TSRMLS_CC); node 241 ext/libxml/libxml.c php_libxml_node_free_list(node->children TSRMLS_CC); node 242 ext/libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 245 ext/libxml/libxml.c curnode = node->next; node 246 ext/libxml/libxml.c xmlUnlinkNode(node); node 247 ext/libxml/libxml.c if (php_libxml_unregister_node(node TSRMLS_CC) == 0) { node 248 ext/libxml/libxml.c node->doc = NULL; node 250 ext/libxml/libxml.c php_libxml_node_free(node); node 446 ext/libxml/libxml.c error_copy.node = NULL; node 867 ext/libxml/libxml.c xmlNodePtr node = NULL; node 876 ext/libxml/libxml.c node = export_hnd->export_func(object TSRMLS_CC); node 879 ext/libxml/libxml.c return node; node 886 ext/libxml/libxml.c if (object != NULL && node != NULL) { node 887 ext/libxml/libxml.c if (object->node != NULL) { node 888 ext/libxml/libxml.c if (object->node->node == node) { node 889 ext/libxml/libxml.c return object->node->refcount; node 894 ext/libxml/libxml.c if (node->_private != NULL) { node 895 ext/libxml/libxml.c object->node = node->_private; node 896 ext/libxml/libxml.c ret_refcount = ++object->node->refcount; node 898 ext/libxml/libxml.c if (object->node->_private == NULL) { node 899 ext/libxml/libxml.c object->node->_private = private_data; node 903 ext/libxml/libxml.c object->node = emalloc(sizeof(php_libxml_node_ptr)); node 904 ext/libxml/libxml.c object->node->node = node; node 905 ext/libxml/libxml.c object->node->refcount = 1; node 906 ext/libxml/libxml.c object->node->_private = private_data; node 907 ext/libxml/libxml.c node->_private = object->node; node 919 ext/libxml/libxml.c if (object != NULL && object->node != NULL) { node 920 ext/libxml/libxml.c obj_node = (php_libxml_node_ptr *) object->node; node 923 ext/libxml/libxml.c if (obj_node->node != NULL) { node 924 ext/libxml/libxml.c obj_node->node->_private = NULL; node 928 ext/libxml/libxml.c object->node = NULL; node 979 ext/libxml/libxml.c if (!node) { node 983 ext/libxml/libxml.c switch (node->type) { node 988 ext/libxml/libxml.c if (node->parent == NULL || node->type == XML_NAMESPACE_DECL) { node 989 ext/libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->children TSRMLS_CC); node 990 ext/libxml/libxml.c switch (node->type) { node 1001 ext/libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 1003 ext/libxml/libxml.c if (php_libxml_unregister_node(node TSRMLS_CC) == 0) { node 1004 ext/libxml/libxml.c node->doc = NULL; node 1006 ext/libxml/libxml.c php_libxml_node_free(node); node 1008 ext/libxml/libxml.c php_libxml_unregister_node(node TSRMLS_CC); node 1019 ext/libxml/libxml.c if (object != NULL && object->node != NULL) { node 1020 ext/libxml/libxml.c obj_node = (php_libxml_node_ptr *) object->node; node 1021 ext/libxml/libxml.c nodep = object->node->node; node 64 ext/libxml/php_libxml.h xmlNodePtr node; node 71 ext/libxml/php_libxml.h php_libxml_node_ptr *node; node 175 ext/mbstring/oniguruma/regcomp.c uslist->us[uslist->num].target = node; node 355 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node, reg); node 380 ext/mbstring/oniguruma/regcomp.c r = unset_addr_list_add(node->unset_addr_list, BBUF_GET_OFFSET_POS(reg), node 381 ext/mbstring/oniguruma/regcomp.c node->target); node 394 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node, reg); node 447 ext/mbstring/oniguruma/regcomp.c sn = &(NSTRING(node)); node 451 ext/mbstring/oniguruma/regcomp.c ambig = NSTRING_IS_AMBIG(node); node 495 ext/mbstring/oniguruma/regcomp.c sn = &(NSTRING(node)); node 500 ext/mbstring/oniguruma/regcomp.c ambig = NSTRING_IS_AMBIG(node); node 1146 ext/mbstring/oniguruma/regcomp.c reg->options = node->option; node 1147 ext/mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1152 ext/mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1166 ext/mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1167 ext/mbstring/oniguruma/regcomp.c r = add_opcode_option(reg, OP_SET_OPTION_PUSH, node->option); node 1175 ext/mbstring/oniguruma/regcomp.c reg->options = node->option; node 1176 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1179 ext/mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1192 ext/mbstring/oniguruma/regcomp.c if (node->type == EFFECT_OPTION) node 1193 ext/mbstring/oniguruma/regcomp.c return compile_length_option_node(node, reg); node 1195 ext/mbstring/oniguruma/regcomp.c if (node->target) { node 1196 ext/mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1202 ext/mbstring/oniguruma/regcomp.c switch (node->type) { node 1205 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1208 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1209 ext/mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1212 ext/mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1218 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_start, node->regnum)) node 1223 ext/mbstring/oniguruma/regcomp.c len += tlen + (BIT_STATUS_AT(reg->bt_mem_end, node->regnum) node 1229 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_STOP_BT_SIMPLE_REPEAT(node)) { node 1230 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &NQUALIFIER(node->target); node 1257 ext/mbstring/oniguruma/regcomp.c if (node->type == EFFECT_OPTION) node 1258 ext/mbstring/oniguruma/regcomp.c return compile_option_node(node, reg); node 1260 ext/mbstring/oniguruma/regcomp.c switch (node->type) { node 1263 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1266 ext/mbstring/oniguruma/regcomp.c node->call_addr = BBUF_GET_OFFSET_POS(reg) + SIZE_ABSADDR + SIZE_OP_JUMP; node 1267 ext/mbstring/oniguruma/regcomp.c node->state |= NST_ADDR_FIXED; node 1268 ext/mbstring/oniguruma/regcomp.c r = add_abs_addr(reg, (int )node->call_addr); node 1270 ext/mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1272 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1273 ext/mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1276 ext/mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1283 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_start, node->regnum)) node 1288 ext/mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1290 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1293 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1294 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1295 ext/mbstring/oniguruma/regcomp.c r = add_opcode(reg, (IS_EFFECT_RECURSION(node) node 1298 ext/mbstring/oniguruma/regcomp.c r = add_opcode(reg, (IS_EFFECT_RECURSION(node) node 1302 ext/mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1309 ext/mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1314 ext/mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1319 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_STOP_BT_SIMPLE_REPEAT(node)) { node 1320 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &NQUALIFIER(node->target); node 1339 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1359 ext/mbstring/oniguruma/regcomp.c if (node->target) { node 1360 ext/mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1364 ext/mbstring/oniguruma/regcomp.c switch (node->type) { node 1391 ext/mbstring/oniguruma/regcomp.c switch (node->type) { node 1409 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1415 ext/mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1419 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1429 ext/mbstring/oniguruma/regcomp.c if (node->char_len < 0) { node 1430 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree(node->target, reg, &n); node 1434 ext/mbstring/oniguruma/regcomp.c n = node->char_len; node 1437 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1444 ext/mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1448 ext/mbstring/oniguruma/regcomp.c if (node->char_len < 0) { node 1449 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree(node->target, reg, &n); node 1453 ext/mbstring/oniguruma/regcomp.c n = node->char_len; node 1456 ext/mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1475 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 1480 ext/mbstring/oniguruma/regcomp.c r = compile_length_tree(NCONS(node).left, reg); node 1483 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1493 ext/mbstring/oniguruma/regcomp.c r += compile_length_tree(NCONS(node).left, reg); node 1495 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1501 ext/mbstring/oniguruma/regcomp.c if (NSTRING_IS_RAW(node)) node 1502 ext/mbstring/oniguruma/regcomp.c r = compile_length_string_raw_node(&(NSTRING(node)), reg); node 1504 ext/mbstring/oniguruma/regcomp.c r = compile_length_string_node(node, reg); node 1508 ext/mbstring/oniguruma/regcomp.c r = compile_length_cclass_node(&(NCCLASS(node)), reg); node 1518 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 1544 ext/mbstring/oniguruma/regcomp.c r = compile_length_qualifier_node(&(NQUALIFIER(node)), reg); node 1548 ext/mbstring/oniguruma/regcomp.c r = compile_length_effect_node(&NEFFECT(node), reg); node 1552 ext/mbstring/oniguruma/regcomp.c r = compile_length_anchor_node(&(NANCHOR(node)), reg); node 1568 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 1572 ext/mbstring/oniguruma/regcomp.c r = compile_tree(NCONS(node).left, reg); node 1573 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1578 ext/mbstring/oniguruma/regcomp.c Node* x = node; node 1589 ext/mbstring/oniguruma/regcomp.c len = compile_length_tree(NCONS(node).left, reg); node 1590 ext/mbstring/oniguruma/regcomp.c if (IS_NOT_NULL(NCONS(node).right)) { node 1594 ext/mbstring/oniguruma/regcomp.c r = compile_tree(NCONS(node).left, reg); node 1596 ext/mbstring/oniguruma/regcomp.c if (IS_NOT_NULL(NCONS(node).right)) { node 1601 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1606 ext/mbstring/oniguruma/regcomp.c if (NSTRING_IS_RAW(node)) node 1607 ext/mbstring/oniguruma/regcomp.c r = compile_string_raw_node(&(NSTRING(node)), reg); node 1609 ext/mbstring/oniguruma/regcomp.c r = compile_string_node(node, reg); node 1613 ext/mbstring/oniguruma/regcomp.c r = compile_cclass_node(&(NCCLASS(node)), reg); node 1620 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 1640 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 1702 ext/mbstring/oniguruma/regcomp.c r = compile_call(&(NCALL(node)), reg); node 1707 ext/mbstring/oniguruma/regcomp.c r = compile_qualifier_node(&(NQUALIFIER(node)), reg); node 1711 ext/mbstring/oniguruma/regcomp.c r = compile_effect_node(&NEFFECT(node), reg); node 1715 ext/mbstring/oniguruma/regcomp.c r = compile_anchor_node(&(NANCHOR(node)), reg); node 1720 ext/mbstring/oniguruma/regcomp.c fprintf(stderr, "compile_tree: undefined node type %d\n", NTYPE(node)); node 1734 ext/mbstring/oniguruma/regcomp.c Node* node = *plink; node 1736 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1740 ext/mbstring/oniguruma/regcomp.c r = noname_disable_map(&(NCONS(node).left), map, counter); node 1741 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1746 ext/mbstring/oniguruma/regcomp.c Node** ptarget = &(NQUALIFIER(node).target); node 1750 ext/mbstring/oniguruma/regcomp.c onig_reduce_nested_qualifier(node, *ptarget); node 1757 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 1768 ext/mbstring/oniguruma/regcomp.c onig_node_free(node); node 1789 ext/mbstring/oniguruma/regcomp.c BackrefNode* bn = &(NBACKREF(node)); node 1817 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1821 ext/mbstring/oniguruma/regcomp.c r = renumber_by_map(NCONS(node).left, map); node 1822 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1825 ext/mbstring/oniguruma/regcomp.c r = renumber_by_map(NQUALIFIER(node).target, map); node 1828 ext/mbstring/oniguruma/regcomp.c r = renumber_by_map(NEFFECT(node).target, map); node 1832 ext/mbstring/oniguruma/regcomp.c r = renumber_node_backref(node, map); node 1847 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1851 ext/mbstring/oniguruma/regcomp.c r = numbered_ref_check(NCONS(node).left); node 1852 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1855 ext/mbstring/oniguruma/regcomp.c r = numbered_ref_check(NQUALIFIER(node).target); node 1858 ext/mbstring/oniguruma/regcomp.c r = numbered_ref_check(NEFFECT(node).target); node 1862 ext/mbstring/oniguruma/regcomp.c if (! IS_BACKREF_NAME_REF(&(NBACKREF(node)))) node 1940 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1946 ext/mbstring/oniguruma/regcomp.c v = qualifiers_memory_node_info(NCONS(node).left); node 1948 ext/mbstring/oniguruma/regcomp.c } while (v >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1954 ext/mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&NCALL(node))) { node 1958 ext/mbstring/oniguruma/regcomp.c r = qualifiers_memory_node_info(NCALL(node).target); node 1964 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 1973 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2010 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2016 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 2034 ext/mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&NCALL(node))) { node 2035 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(NCALL(node).target)); node 2040 ext/mbstring/oniguruma/regcomp.c r = get_min_match_length(NCALL(node).target, min, env); node 2046 ext/mbstring/oniguruma/regcomp.c r = get_min_match_length(NCONS(node).left, &tmin, env); node 2048 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2054 ext/mbstring/oniguruma/regcomp.c y = node; node 2059 ext/mbstring/oniguruma/regcomp.c if (y == node) *min = tmin; node 2067 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2073 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2088 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 2100 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2110 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MIN_FIXED); node 2138 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2141 ext/mbstring/oniguruma/regcomp.c r = get_max_match_length(NCONS(node).left, &tmax, env); node 2144 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2149 ext/mbstring/oniguruma/regcomp.c r = get_max_match_length(NCONS(node).left, &tmax, env); node 2151 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2156 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2162 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2183 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 2200 ext/mbstring/oniguruma/regcomp.c if (! IS_CALL_RECURSION(&(NCALL(node)))) node 2201 ext/mbstring/oniguruma/regcomp.c r = get_max_match_length(NCALL(node).target, max, env); node 2209 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 2225 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2235 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MAX_FIXED); node 2268 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2271 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen, level); node 2274 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2282 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen, level); node 2283 ext/mbstring/oniguruma/regcomp.c while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)) { node 2284 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen2, level); node 2305 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2316 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 2329 ext/mbstring/oniguruma/regcomp.c if (! IS_CALL_RECURSION(&(NCALL(node)))) node 2330 ext/mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCALL(node).target, reg, len, level); node 2337 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2352 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2362 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_CLEN_FIXED); node 2391 ext/mbstring/oniguruma/regcomp.c return get_char_length_tree1(node, reg, len, 0); node 2584 ext/mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2596 ext/mbstring/oniguruma/regcomp.c n = node; node 2601 ext/mbstring/oniguruma/regcomp.c n = get_head_value_node(NCONS(node).left, exact, reg); node 2606 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2612 ext/mbstring/oniguruma/regcomp.c !NSTRING_IS_RAW(node) && IS_IGNORECASE(reg->options)) { node 2617 ext/mbstring/oniguruma/regcomp.c n = node; node 2621 ext/mbstring/oniguruma/regcomp.c n = node; node 2628 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 2640 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2646 ext/mbstring/oniguruma/regcomp.c reg->options = NEFFECT(node).option; node 2647 ext/mbstring/oniguruma/regcomp.c n = get_head_value_node(NEFFECT(node).target, exact, reg); node 2661 ext/mbstring/oniguruma/regcomp.c if (NANCHOR(node).type == ANCHOR_PREC_READ) node 2662 ext/mbstring/oniguruma/regcomp.c n = get_head_value_node(NANCHOR(node).target, exact, reg); node 2677 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2685 ext/mbstring/oniguruma/regcomp.c r = check_type_tree(NCONS(node).left, type_mask, effect_mask, anchor_mask); node 2686 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2690 ext/mbstring/oniguruma/regcomp.c r = check_type_tree(NQUALIFIER(node).target, type_mask, effect_mask, node 2696 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2705 ext/mbstring/oniguruma/regcomp.c type = NANCHOR(node).type; node 2709 ext/mbstring/oniguruma/regcomp.c if (NANCHOR(node).target) node 2710 ext/mbstring/oniguruma/regcomp.c r = check_type_tree(NANCHOR(node).target, node 2731 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2739 ext/mbstring/oniguruma/regcomp.c x = node; node 2758 ext/mbstring/oniguruma/regcomp.c ret = subexp_inf_recursive_check(NCONS(node).left, env, head); node 2761 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2766 ext/mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NQUALIFIER(node).target, env, head); node 2768 ext/mbstring/oniguruma/regcomp.c if (NQUALIFIER(node).lower == 0) r = 0; node 2774 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2787 ext/mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NCALL(node).target, env, head); node 2791 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_MARK2(&(NEFFECT(node)))) node 2793 ext/mbstring/oniguruma/regcomp.c else if (IS_EFFECT_MARK1(&(NEFFECT(node)))) node 2796 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK2); node 2797 ext/mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NEFFECT(node).target, env, head); node 2798 ext/mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK2); node 2815 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2820 ext/mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check_trav(NCONS(node).left, env); node 2821 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2825 ext/mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check_trav(NQUALIFIER(node).target, env); node 2830 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2844 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2847 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK1); node 2850 ext/mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK1); node 2870 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2875 ext/mbstring/oniguruma/regcomp.c r |= subexp_recursive_check(NCONS(node).left); node 2876 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2880 ext/mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NQUALIFIER(node).target); node 2885 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2898 ext/mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NCALL(node).target); node 2899 ext/mbstring/oniguruma/regcomp.c if (r != 0) SET_CALL_RECURSION(node); node 2903 ext/mbstring/oniguruma/regcomp.c if (IS_EFFECT_MARK2(&(NEFFECT(node)))) node 2905 ext/mbstring/oniguruma/regcomp.c else if (IS_EFFECT_MARK1(&(NEFFECT(node)))) node 2908 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK2); node 2909 ext/mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NEFFECT(node).target); node 2910 ext/mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK2); node 2930 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2937 ext/mbstring/oniguruma/regcomp.c ret = subexp_recursive_check_trav(NCONS(node).left, env); node 2940 ext/mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2945 ext/mbstring/oniguruma/regcomp.c r = subexp_recursive_check_trav(NQUALIFIER(node).target, env); node 2946 ext/mbstring/oniguruma/regcomp.c if (NQUALIFIER(node).upper == 0) { node 2948 ext/mbstring/oniguruma/regcomp.c NQUALIFIER(node).is_refered = 1; node 2954 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2968 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2972 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK1); node 2974 ext/mbstring/oniguruma/regcomp.c if (r != 0) SET_EFFECT_STATUS(node, NST_RECURSION); node 2975 ext/mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK1); node 2997 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3001 ext/mbstring/oniguruma/regcomp.c r = setup_subexp_call(NCONS(node).left, env); node 3002 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3007 ext/mbstring/oniguruma/regcomp.c r = setup_subexp_call(NCONS(node).left, env); node 3008 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3012 ext/mbstring/oniguruma/regcomp.c r = setup_subexp_call(NQUALIFIER(node).target, env); node 3015 ext/mbstring/oniguruma/regcomp.c r = setup_subexp_call(NEFFECT(node).target, env); node 3022 ext/mbstring/oniguruma/regcomp.c CallNode* cn = &(NCALL(node)); node 3077 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3107 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3112 ext/mbstring/oniguruma/regcomp.c tmp_node = *node; *node = *head; *head = tmp_node; node 3113 ext/mbstring/oniguruma/regcomp.c NCONS(node).left = head; node 3116 ext/mbstring/oniguruma/regcomp.c np = node; node 3125 ext/mbstring/oniguruma/regcomp.c np = node; node 3137 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3146 ext/mbstring/oniguruma/regcomp.c r = divide_look_behind_alternatives(node); node 3160 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3162 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 3179 ext/mbstring/oniguruma/regcomp.c swap_node(node, en); node 3180 ext/mbstring/oniguruma/regcomp.c NEFFECT(node).target = en; node 3188 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3190 ext/mbstring/oniguruma/regcomp.c node = en->target; node 3240 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &NSTRING(node); node 3269 ext/mbstring/oniguruma/regcomp.c NSTRING_SET_AMBIG(node); node 3276 ext/mbstring/oniguruma/regcomp.c if (wp != sn->end) NSTRING_SET_AMBIG_REDUCE(node); node 3285 ext/mbstring/oniguruma/regcomp.c swap_node(node, root); node 3308 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3314 ext/mbstring/oniguruma/regcomp.c r = setup_comb_exp_check(NCONS(node).left, r, env); node 3315 ext/mbstring/oniguruma/regcomp.c prev = NCONS(node).left; node 3316 ext/mbstring/oniguruma/regcomp.c } while (r >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3324 ext/mbstring/oniguruma/regcomp.c ret = setup_comb_exp_check(NCONS(node).left, state, env); node 3326 ext/mbstring/oniguruma/regcomp.c } while (ret >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3334 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 3397 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3418 ext/mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&(NCALL(node)))) node 3421 ext/mbstring/oniguruma/regcomp.c r = setup_comb_exp_check(NCALL(node).target, state, env); node 3452 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3458 ext/mbstring/oniguruma/regcomp.c r = setup_tree(NCONS(node).left, reg, state, env); node 3460 ext/mbstring/oniguruma/regcomp.c r = next_setup(prev, NCONS(node).left, reg); node 3462 ext/mbstring/oniguruma/regcomp.c prev = NCONS(node).left; node 3463 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3469 ext/mbstring/oniguruma/regcomp.c r = setup_tree(NCONS(node).left, reg, (state | IN_ALT), env); node 3470 ext/mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3477 ext/mbstring/oniguruma/regcomp.c if (IS_IGNORECASE(reg->options) && !NSTRING_IS_RAW(node)) { node 3478 ext/mbstring/oniguruma/regcomp.c r = divide_ambig_string_node(node, reg); node 3496 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 3515 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 3564 ext/mbstring/oniguruma/regcomp.c onig_node_conv_to_str_node(node, NSTRING(target).flag); node 3566 ext/mbstring/oniguruma/regcomp.c r = onig_node_str_cat(node, sn->s, sn->end); node 3594 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3600 ext/mbstring/oniguruma/regcomp.c reg->options = NEFFECT(node).option; node 3601 ext/mbstring/oniguruma/regcomp.c r = setup_tree(NEFFECT(node).target, reg, state, env); node 3624 ext/mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_STOP_BT_SIMPLE_REPEAT); node 3635 ext/mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3664 ext/mbstring/oniguruma/regcomp.c r = setup_look_behind(node, reg, env); node 3676 ext/mbstring/oniguruma/regcomp.c r = setup_look_behind(node, reg, env); node 4353 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 4359 ext/mbstring/oniguruma/regcomp.c Node* nd = node; node 4375 ext/mbstring/oniguruma/regcomp.c Node* nd = node; node 4380 ext/mbstring/oniguruma/regcomp.c if (nd == node) copy_node_opt_info(opt, &nopt); node 4389 ext/mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 4391 ext/mbstring/oniguruma/regcomp.c int is_raw = NSTRING_IS_RAW(node); node 4393 ext/mbstring/oniguruma/regcomp.c if (! NSTRING_IS_AMBIG(node)) { node 4395 ext/mbstring/oniguruma/regcomp.c NSTRING_IS_RAW(node), env->enc); node 4414 ext/mbstring/oniguruma/regcomp.c if (NSTRING_IS_AMBIG_REDUCE(node)) { node 4432 ext/mbstring/oniguruma/regcomp.c CClassNode* cc = &(NCCLASS(node)); node 4463 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 4497 ext/mbstring/oniguruma/regcomp.c switch (NANCHOR(node).type) { node 4504 ext/mbstring/oniguruma/regcomp.c add_opt_anc_info(&opt->anc, NANCHOR(node).type); node 4511 ext/mbstring/oniguruma/regcomp.c r = optimize_node_left(NANCHOR(node).target, &nopt, env); node 4539 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 4564 ext/mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&(NCALL(node)))) node 4568 ext/mbstring/oniguruma/regcomp.c env->options = NEFFECT(NCALL(node).target).option; node 4569 ext/mbstring/oniguruma/regcomp.c r = optimize_node_left(NCALL(node).target, opt, env); node 4580 ext/mbstring/oniguruma/regcomp.c QualifierNode* qn = &(NQUALIFIER(node)); node 4630 ext/mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 4677 ext/mbstring/oniguruma/regcomp.c NTYPE(node)); node 4775 ext/mbstring/oniguruma/regcomp.c r = optimize_node_left(node, &opt, &env); node 5859 ext/mbstring/oniguruma/regcomp.c if (IS_NULL(node)) { node 5864 ext/mbstring/oniguruma/regcomp.c type = NTYPE(node); node 5868 ext/mbstring/oniguruma/regcomp.c if (NTYPE(node) == N_LIST) node 5869 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<list:%x>\n", (int )node); node 5871 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<alt:%x>\n", (int )node); node 5873 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, NCONS(node).left, indent + add); node 5874 ext/mbstring/oniguruma/regcomp.c while (IS_NOT_NULL(node = NCONS(node).right)) { node 5875 ext/mbstring/oniguruma/regcomp.c if (NTYPE(node) != type) { node 5876 ext/mbstring/oniguruma/regcomp.c fprintf(f, "ERROR: list/alt right is not a cons. %d\n", NTYPE(node)); node 5879 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, NCONS(node).left, indent + add); node 5885 ext/mbstring/oniguruma/regcomp.c (NSTRING_IS_RAW(node) ? "-raw" : ""), (int )node); node 5886 ext/mbstring/oniguruma/regcomp.c for (p = NSTRING(node).s; p < NSTRING(node).end; p++) { node 5896 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<cclass:%x>", (int )node); node 5897 ext/mbstring/oniguruma/regcomp.c if (IS_CCLASS_NOT(&NCCLASS(node))) fputs(" not", f); node 5898 ext/mbstring/oniguruma/regcomp.c if (NCCLASS(node).mbuf) { node 5899 ext/mbstring/oniguruma/regcomp.c BBuf* bbuf = NCCLASS(node).mbuf; node 5908 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<ctype:%x> ", (int )node); node 5909 ext/mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 5919 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<anychar:%x>", (int )node); node 5923 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<anchor:%x> ", (int )node); node 5924 ext/mbstring/oniguruma/regcomp.c switch (NANCHOR(node).type) { node 5952 ext/mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 5954 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<backref:%x>", (int )node); node 5965 ext/mbstring/oniguruma/regcomp.c CallNode* cn = &(NCALL(node)); node 5966 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<call:%x>", (int )node); node 5973 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<qualifier:%x>{%d,%d}%s\n", (int )node, node 5974 ext/mbstring/oniguruma/regcomp.c NQUALIFIER(node).lower, NQUALIFIER(node).upper, node 5975 ext/mbstring/oniguruma/regcomp.c (NQUALIFIER(node).greedy ? "" : "?")); node 5976 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, NQUALIFIER(node).target, indent + add); node 5980 ext/mbstring/oniguruma/regcomp.c fprintf(f, "<effect:%x> ", (int )node); node 5981 ext/mbstring/oniguruma/regcomp.c switch (NEFFECT(node).type) { node 5983 ext/mbstring/oniguruma/regcomp.c fprintf(f, "option:%d\n", NEFFECT(node).option); node 5984 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, NEFFECT(node).target, indent + add); node 5987 ext/mbstring/oniguruma/regcomp.c fprintf(f, "memory:%d", NEFFECT(node).regnum); node 5997 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, NEFFECT(node).target, indent + add); node 6001 ext/mbstring/oniguruma/regcomp.c fprintf(f, "print_indent_tree: undefined node type %d\n", NTYPE(node)); node 6016 ext/mbstring/oniguruma/regcomp.c print_indent_tree(f, node, 0); node 46 ext/mbstring/oniguruma/regexec.c if (IS_NOT_NULL(node)) { node 47 ext/mbstring/oniguruma/regexec.c for (i = 0; i < node->num_childs; i++) { node 48 ext/mbstring/oniguruma/regexec.c if (IS_NOT_NULL(node->childs[i])) { node 49 ext/mbstring/oniguruma/regexec.c history_tree_free(node->childs[i]); node 52 ext/mbstring/oniguruma/regexec.c for (i = 0; i < node->allocated; i++) { node 53 ext/mbstring/oniguruma/regexec.c node->childs[i] = (OnigCaptureTreeNode* )0; node 55 ext/mbstring/oniguruma/regexec.c node->num_childs = 0; node 56 ext/mbstring/oniguruma/regexec.c node->beg = ONIG_REGION_NOTPOS; node 57 ext/mbstring/oniguruma/regexec.c node->end = ONIG_REGION_NOTPOS; node 58 ext/mbstring/oniguruma/regexec.c node->group = -1; node 65 ext/mbstring/oniguruma/regexec.c history_tree_clear(node); node 66 ext/mbstring/oniguruma/regexec.c xfree(node); node 81 ext/mbstring/oniguruma/regexec.c OnigCaptureTreeNode* node; node 83 ext/mbstring/oniguruma/regexec.c node = (OnigCaptureTreeNode* )xmalloc(sizeof(OnigCaptureTreeNode)); node 84 ext/mbstring/oniguruma/regexec.c CHECK_NULL_RETURN(node); node 85 ext/mbstring/oniguruma/regexec.c node->childs = (OnigCaptureTreeNode** )0; node 86 ext/mbstring/oniguruma/regexec.c node->allocated = 0; node 87 ext/mbstring/oniguruma/regexec.c node->num_childs = 0; node 88 ext/mbstring/oniguruma/regexec.c node->group = -1; node 89 ext/mbstring/oniguruma/regexec.c node->beg = ONIG_REGION_NOTPOS; node 90 ext/mbstring/oniguruma/regexec.c node->end = ONIG_REGION_NOTPOS; node 92 ext/mbstring/oniguruma/regexec.c return node; node 135 ext/mbstring/oniguruma/regexec.c clone->beg = node->beg; node 136 ext/mbstring/oniguruma/regexec.c clone->end = node->end; node 137 ext/mbstring/oniguruma/regexec.c for (i = 0; i < node->num_childs; i++) { node 138 ext/mbstring/oniguruma/regexec.c child = history_tree_clone(node->childs[i]); node 1081 ext/mbstring/oniguruma/regexec.c r = history_tree_add_child(node, child); node 1092 ext/mbstring/oniguruma/regexec.c if (k->u.mem.num == node->group) { node 1093 ext/mbstring/oniguruma/regexec.c node->end = (int )(k->u.mem.pstr - str); node 1527 ext/mbstring/oniguruma/regexec.c OnigCaptureTreeNode* node; node 1530 ext/mbstring/oniguruma/regexec.c region->history_root = node = history_node_new(); node 1531 ext/mbstring/oniguruma/regexec.c CHECK_NULL_RETURN_VAL(node, ONIGERR_MEMORY); node 1534 ext/mbstring/oniguruma/regexec.c node = region->history_root; node 1535 ext/mbstring/oniguruma/regexec.c history_tree_clear(node); node 1538 ext/mbstring/oniguruma/regexec.c node->group = 0; node 1539 ext/mbstring/oniguruma/regexec.c node->beg = sstart - str; node 1540 ext/mbstring/oniguruma/regexec.c node->end = s - str; node 1939 ext/mbstring/oniguruma/regexec.c void *node; node 1944 ext/mbstring/oniguruma/regexec.c GET_POINTER_INC(node, p); node 1950 ext/mbstring/oniguruma/regexec.c if (is_code_in_cc(mb_len, code, node) == 0) goto fail; node 989 ext/mbstring/oniguruma/regparse.c SCANENV_MEM_NODES(env)[num] = node; node 1008 ext/mbstring/oniguruma/regparse.c if (IS_NULL(node)) return ; node 1010 ext/mbstring/oniguruma/regparse.c switch (NTYPE(node)) { node 1012 ext/mbstring/oniguruma/regparse.c if (IS_NOT_NULL(NSTRING(node).s) && NSTRING(node).s != NSTRING(node).buf) { node 1013 ext/mbstring/oniguruma/regparse.c xfree(NSTRING(node).s); node 1019 ext/mbstring/oniguruma/regparse.c onig_node_free(NCONS(node).left); node 1022 ext/mbstring/oniguruma/regparse.c Node* next_node = NCONS(node).right; node 1026 ext/mbstring/oniguruma/regparse.c FreeNode* n = (FreeNode* )node; node 1034 ext/mbstring/oniguruma/regparse.c xfree(node); node 1037 ext/mbstring/oniguruma/regparse.c node = next_node; node 1044 ext/mbstring/oniguruma/regparse.c CClassNode* cc = &(NCCLASS(node)); node 1055 ext/mbstring/oniguruma/regparse.c if (NQUALIFIER(node).target) node 1056 ext/mbstring/oniguruma/regparse.c onig_node_free(NQUALIFIER(node).target); node 1060 ext/mbstring/oniguruma/regparse.c if (NEFFECT(node).target) node 1061 ext/mbstring/oniguruma/regparse.c onig_node_free(NEFFECT(node).target); node 1065 ext/mbstring/oniguruma/regparse.c if (IS_NOT_NULL(NBACKREF(node).back_dynamic)) node 1066 ext/mbstring/oniguruma/regparse.c xfree(NBACKREF(node).back_dynamic); node 1070 ext/mbstring/oniguruma/regparse.c if (NANCHOR(node).target) node 1071 ext/mbstring/oniguruma/regparse.c onig_node_free(NANCHOR(node).target); node 1077 ext/mbstring/oniguruma/regparse.c FreeNode* n = (FreeNode* )node; node 1085 ext/mbstring/oniguruma/regparse.c xfree(node); node 1109 ext/mbstring/oniguruma/regparse.c Node* node; node 1114 ext/mbstring/oniguruma/regparse.c node = (Node* )FreeNodeList; node 1117 ext/mbstring/oniguruma/regparse.c return node; node 1122 ext/mbstring/oniguruma/regparse.c node = (Node* )xmalloc(sizeof(Node)); node 1123 ext/mbstring/oniguruma/regparse.c return node; node 1138 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1139 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1140 ext/mbstring/oniguruma/regparse.c node->type = N_CCLASS; node 1142 ext/mbstring/oniguruma/regparse.c initialize_cclass(&(NCCLASS(node))); node 1143 ext/mbstring/oniguruma/regparse.c return node; node 1153 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1154 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1155 ext/mbstring/oniguruma/regparse.c node->type = N_CCLASS; node 1157 ext/mbstring/oniguruma/regparse.c cc = &(NCCLASS(node)); node 1191 ext/mbstring/oniguruma/regparse.c return node; node 1197 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1198 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1199 ext/mbstring/oniguruma/regparse.c node->type = N_CTYPE; node 1200 ext/mbstring/oniguruma/regparse.c NCTYPE(node).type = type; node 1201 ext/mbstring/oniguruma/regparse.c return node; node 1207 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1208 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1209 ext/mbstring/oniguruma/regparse.c node->type = N_ANYCHAR; node 1210 ext/mbstring/oniguruma/regparse.c return node; node 1216 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1217 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1218 ext/mbstring/oniguruma/regparse.c node->type = N_LIST; node 1219 ext/mbstring/oniguruma/regparse.c NCONS(node).left = left; node 1220 ext/mbstring/oniguruma/regparse.c NCONS(node).right = right; node 1221 ext/mbstring/oniguruma/regparse.c return node; node 1233 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1234 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1235 ext/mbstring/oniguruma/regparse.c node->type = N_ALT; node 1236 ext/mbstring/oniguruma/regparse.c NCONS(node).left = left; node 1237 ext/mbstring/oniguruma/regparse.c NCONS(node).right = right; node 1238 ext/mbstring/oniguruma/regparse.c return node; node 1244 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1245 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1246 ext/mbstring/oniguruma/regparse.c node->type = N_ANCHOR; node 1247 ext/mbstring/oniguruma/regparse.c NANCHOR(node).type = type; node 1248 ext/mbstring/oniguruma/regparse.c NANCHOR(node).target = NULL; node 1249 ext/mbstring/oniguruma/regparse.c NANCHOR(node).char_len = -1; node 1250 ext/mbstring/oniguruma/regparse.c return node; node 1261 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1263 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1264 ext/mbstring/oniguruma/regparse.c node->type = N_BACKREF; node 1265 ext/mbstring/oniguruma/regparse.c NBACKREF(node).state = 0; node 1266 ext/mbstring/oniguruma/regparse.c NBACKREF(node).back_num = back_num; node 1267 ext/mbstring/oniguruma/regparse.c NBACKREF(node).back_dynamic = (int* )NULL; node 1269 ext/mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_NAME_REF; node 1273 ext/mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_NEST_LEVEL; node 1274 ext/mbstring/oniguruma/regparse.c NBACKREF(node).nest_level = nest_level; node 1281 ext/mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_RECURSION; /* /...(\1).../ */ node 1288 ext/mbstring/oniguruma/regparse.c NBACKREF(node).back_static[i] = backrefs[i]; node 1293 ext/mbstring/oniguruma/regparse.c onig_node_free(node); node 1296 ext/mbstring/oniguruma/regparse.c NBACKREF(node).back_dynamic = p; node 1300 ext/mbstring/oniguruma/regparse.c return node; node 1307 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1308 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1310 ext/mbstring/oniguruma/regparse.c node->type = N_CALL; node 1311 ext/mbstring/oniguruma/regparse.c NCALL(node).state = 0; node 1312 ext/mbstring/oniguruma/regparse.c NCALL(node).ref_num = CALLNODE_REFNUM_UNDEF; node 1313 ext/mbstring/oniguruma/regparse.c NCALL(node).target = NULL_NODE; node 1314 ext/mbstring/oniguruma/regparse.c NCALL(node).name = name; node 1315 ext/mbstring/oniguruma/regparse.c NCALL(node).name_end = name_end; node 1316 ext/mbstring/oniguruma/regparse.c return node; node 1323 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1324 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1325 ext/mbstring/oniguruma/regparse.c node->type = N_QUALIFIER; node 1326 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).state = 0; node 1327 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).target = NULL; node 1328 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).lower = lower; node 1329 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).upper = upper; node 1330 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).greedy = 1; node 1331 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).target_empty_info = NQ_TARGET_ISNOT_EMPTY; node 1332 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).head_exact = NULL_NODE; node 1333 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).next_head_exact = NULL_NODE; node 1334 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).is_refered = 0; node 1336 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).state |= NST_BY_NUMBER; node 1339 ext/mbstring/oniguruma/regparse.c NQUALIFIER(node).comb_exp_check_num = 0; node 1342 ext/mbstring/oniguruma/regparse.c return node; node 1348 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1349 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1350 ext/mbstring/oniguruma/regparse.c node->type = N_EFFECT; node 1351 ext/mbstring/oniguruma/regparse.c NEFFECT(node).type = type; node 1352 ext/mbstring/oniguruma/regparse.c NEFFECT(node).state = 0; node 1353 ext/mbstring/oniguruma/regparse.c NEFFECT(node).regnum = 0; node 1354 ext/mbstring/oniguruma/regparse.c NEFFECT(node).option = 0; node 1355 ext/mbstring/oniguruma/regparse.c NEFFECT(node).target = NULL; node 1356 ext/mbstring/oniguruma/regparse.c NEFFECT(node).call_addr = -1; node 1357 ext/mbstring/oniguruma/regparse.c NEFFECT(node).opt_count = 0; node 1358 ext/mbstring/oniguruma/regparse.c return node; node 1370 ext/mbstring/oniguruma/regparse.c Node* node = node_new_effect(EFFECT_MEMORY); node 1371 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1373 ext/mbstring/oniguruma/regparse.c SET_EFFECT_STATUS(node, NST_NAMED_GROUP); node 1376 ext/mbstring/oniguruma/regparse.c NEFFECT(node).option = option; node 1378 ext/mbstring/oniguruma/regparse.c return node; node 1384 ext/mbstring/oniguruma/regparse.c Node* node = node_new_effect(EFFECT_OPTION); node 1385 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1386 ext/mbstring/oniguruma/regparse.c NEFFECT(node).option = option; node 1387 ext/mbstring/oniguruma/regparse.c return node; node 1396 ext/mbstring/oniguruma/regparse.c int len = NSTRING(node).end - NSTRING(node).s; node 1398 ext/mbstring/oniguruma/regparse.c if (NSTRING(node).capa > 0 || (len + addlen > NODE_STR_BUF_SIZE - 1)) { node 1402 ext/mbstring/oniguruma/regparse.c if (capa <= NSTRING(node).capa) { node 1403 ext/mbstring/oniguruma/regparse.c k_strcpy(NSTRING(node).s + len, s, end); node 1406 ext/mbstring/oniguruma/regparse.c if (NSTRING(node).s == NSTRING(node).buf) node 1407 ext/mbstring/oniguruma/regparse.c p = strcat_capa_from_static(NSTRING(node).s, NSTRING(node).end, node 1410 ext/mbstring/oniguruma/regparse.c p = k_strcat_capa(NSTRING(node).s, NSTRING(node).end, s, end, capa); node 1413 ext/mbstring/oniguruma/regparse.c NSTRING(node).s = p; node 1414 ext/mbstring/oniguruma/regparse.c NSTRING(node).capa = capa; node 1418 ext/mbstring/oniguruma/regparse.c k_strcpy(NSTRING(node).s + len, s, end); node 1420 ext/mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).s + len + addlen; node 1432 ext/mbstring/oniguruma/regparse.c return onig_node_str_cat(node, s, s + 1); node 1438 ext/mbstring/oniguruma/regparse.c node->type = N_STRING; node 1440 ext/mbstring/oniguruma/regparse.c NSTRING(node).flag = flag; node 1441 ext/mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1442 ext/mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1443 ext/mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1449 ext/mbstring/oniguruma/regparse.c if (NSTRING(node).capa != 0 && node 1450 ext/mbstring/oniguruma/regparse.c IS_NOT_NULL(NSTRING(node).s) && NSTRING(node).s != NSTRING(node).buf) { node 1451 ext/mbstring/oniguruma/regparse.c xfree(NSTRING(node).s); node 1454 ext/mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1455 ext/mbstring/oniguruma/regparse.c NSTRING(node).flag = 0; node 1456 ext/mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1457 ext/mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1463 ext/mbstring/oniguruma/regparse.c Node* node = node_new(); node 1464 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1466 ext/mbstring/oniguruma/regparse.c node->type = N_STRING; node 1467 ext/mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1468 ext/mbstring/oniguruma/regparse.c NSTRING(node).flag = 0; node 1469 ext/mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1470 ext/mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1471 ext/mbstring/oniguruma/regparse.c if (onig_node_str_cat(node, s, end)) { node 1472 ext/mbstring/oniguruma/regparse.c onig_node_free(node); node 1475 ext/mbstring/oniguruma/regparse.c return node; node 1487 ext/mbstring/oniguruma/regparse.c Node* node = node_new_str(s, end); node 1488 ext/mbstring/oniguruma/regparse.c NSTRING_SET_RAW(node); node 1489 ext/mbstring/oniguruma/regparse.c return node; node 2094 ext/mbstring/oniguruma/regparse.c switch (NTYPE(node)) { node 2100 ext/mbstring/oniguruma/regparse.c if (NEFFECT(node).type == EFFECT_OPTION) node 2101 ext/mbstring/oniguruma/regparse.c return is_invalid_qualifier_target(NEFFECT(node).target); node 2106 ext/mbstring/oniguruma/regparse.c if (! is_invalid_qualifier_target(NCONS(node).left)) return 0; node 2107 ext/mbstring/oniguruma/regparse.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2113 ext/mbstring/oniguruma/regparse.c if (is_invalid_qualifier_target(NCONS(node).left)) return 1; node 2114 ext/mbstring/oniguruma/regparse.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 4070 ext/mbstring/oniguruma/regparse.c Node* node; node 4099 ext/mbstring/oniguruma/regparse.c *np = node = node_new_cclass(); node 4100 ext/mbstring/oniguruma/regparse.c CHECK_NULL_RETURN_VAL(node, ONIGERR_MEMORY); node 4101 ext/mbstring/oniguruma/regparse.c cc = &(NCCLASS(node)); node 4818 ext/mbstring/oniguruma/regparse.c if (IS_NOT_NULL(node)) { node 4819 ext/mbstring/oniguruma/regparse.c CClassNode* cc = &(NCCLASS(node)); node 4821 ext/mbstring/oniguruma/regparse.c xfree(node); node 5230 ext/mbstring/oniguruma/regparse.c Node *node, **headp; node 5233 ext/mbstring/oniguruma/regparse.c r = parse_exp(&node, tok, term, src, end, env); node 5237 ext/mbstring/oniguruma/regparse.c *top = node; node 5240 ext/mbstring/oniguruma/regparse.c *top = node_new_list(node, NULL); node 5243 ext/mbstring/oniguruma/regparse.c r = parse_exp(&node, tok, term, src, end, env); node 5246 ext/mbstring/oniguruma/regparse.c if (NTYPE(node) == N_LIST) { node 5247 ext/mbstring/oniguruma/regparse.c *headp = node; node 5248 ext/mbstring/oniguruma/regparse.c while (IS_NOT_NULL(NCONS(node).right)) node = NCONS(node).right; node 5249 ext/mbstring/oniguruma/regparse.c headp = &(NCONS(node).right); node 5252 ext/mbstring/oniguruma/regparse.c *headp = node_new_list(node, NULL); node 5267 ext/mbstring/oniguruma/regparse.c Node *node, **headp; node 5270 ext/mbstring/oniguruma/regparse.c r = parse_branch(&node, tok, term, src, end, env); node 5272 ext/mbstring/oniguruma/regparse.c onig_node_free(node); node 5277 ext/mbstring/oniguruma/regparse.c *top = node; node 5280 ext/mbstring/oniguruma/regparse.c *top = node_new_alt(node, NULL); node 5285 ext/mbstring/oniguruma/regparse.c r = parse_branch(&node, tok, term, src, end, env); node 5288 ext/mbstring/oniguruma/regparse.c *headp = node_new_alt(node, NULL); node 50 ext/mbstring/oniguruma/regparse.h #define NTYPE(node) ((node)->type) node 51 ext/mbstring/oniguruma/regparse.h #define NCONS(node) ((node)->u.cons) node 52 ext/mbstring/oniguruma/regparse.h #define NSTRING(node) ((node)->u.str) node 53 ext/mbstring/oniguruma/regparse.h #define NCCLASS(node) ((node)->u.cclass) node 54 ext/mbstring/oniguruma/regparse.h #define NCTYPE(node) ((node)->u.ctype) node 55 ext/mbstring/oniguruma/regparse.h #define NQUALIFIER(node) ((node)->u.qualifier) node 56 ext/mbstring/oniguruma/regparse.h #define NANCHOR(node) ((node)->u.anchor) node 57 ext/mbstring/oniguruma/regparse.h #define NBACKREF(node) ((node)->u.backref) node 58 ext/mbstring/oniguruma/regparse.h #define NEFFECT(node) ((node)->u.effect) node 59 ext/mbstring/oniguruma/regparse.h #define NCALL(node) ((node)->u.call) node 85 ext/mbstring/oniguruma/regparse.h #define NSTRING_LEN(node) ((node)->u.str.end - (node)->u.str.s) node 86 ext/mbstring/oniguruma/regparse.h #define NSTRING_SET_RAW(node) (node)->u.str.flag |= NSTR_RAW node 87 ext/mbstring/oniguruma/regparse.h #define NSTRING_CLEAR_RAW(node) (node)->u.str.flag &= ~NSTR_RAW node 88 ext/mbstring/oniguruma/regparse.h #define NSTRING_SET_AMBIG(node) (node)->u.str.flag |= NSTR_AMBIG node 89 ext/mbstring/oniguruma/regparse.h #define NSTRING_SET_AMBIG_REDUCE(node) (node)->u.str.flag |= NSTR_AMBIG_REDUCE node 90 ext/mbstring/oniguruma/regparse.h #define NSTRING_IS_RAW(node) (((node)->u.str.flag & NSTR_RAW) != 0) node 91 ext/mbstring/oniguruma/regparse.h #define NSTRING_IS_AMBIG(node) (((node)->u.str.flag & NSTR_AMBIG) != 0) node 93 ext/mbstring/oniguruma/regparse.h (((node)->u.str.flag & NSTR_AMBIG_REDUCE) != 0) node 153 ext/mbstring/oniguruma/regparse.h #define SET_EFFECT_STATUS(node,f) (node)->u.effect.state |= (f) node 154 ext/mbstring/oniguruma/regparse.h #define CLEAR_EFFECT_STATUS(node,f) (node)->u.effect.state &= ~(f) node 168 ext/mbstring/oniguruma/regparse.h #define SET_CALL_RECURSION(node) (node)->u.call.state |= NST_RECURSION node 41 ext/mbstring/oniguruma/regtrav.c if (node == (OnigCaptureTreeNode* )0) node 45 ext/mbstring/oniguruma/regtrav.c r = (*callback_func)(node->group, node->beg, node->end, node 50 ext/mbstring/oniguruma/regtrav.c for (i = 0; i < node->num_childs; i++) { node 51 ext/mbstring/oniguruma/regtrav.c r = capture_tree_traverse(node->childs[i], at, node 57 ext/mbstring/oniguruma/regtrav.c r = (*callback_func)(node->group, node->beg, node->end, node 65 ext/simplexml/php_simplexml.h php_libxml_node_ptr *node; node 34 ext/simplexml/php_simplexml_exports.h if ((__s)->node && (__s)->node->node) { \ node 35 ext/simplexml/php_simplexml_exports.h __n = (__s)->node->node; \ node 79 ext/simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)subnode, node, NULL TSRMLS_CC); node 98 ext/simplexml/simplexml.c if ((__s)->node && (__s)->node->node) { \ node 99 ext/simplexml/simplexml.c __n = (__s)->node->node; \ node 118 ext/simplexml/simplexml.c return node; node 124 ext/simplexml/simplexml.c if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) { node 128 ext/simplexml/simplexml.c if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) { node 145 ext/simplexml/simplexml.c return node; node 150 ext/simplexml/simplexml.c while (node && nodendx <= offset) { node 151 ext/simplexml/simplexml.c SKIP_TEXT(node) node 152 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 154 ext/simplexml/simplexml.c sxe->iter.type == SXE_ITER_ELEMENT && !xmlStrcmp(node->name, sxe->iter.name))) { node 162 ext/simplexml/simplexml.c node = node->next; node 169 ext/simplexml/simplexml.c return node; node 175 ext/simplexml/simplexml.c while (node) { node 176 ext/simplexml/simplexml.c SKIP_TEXT(node) node 177 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 178 ext/simplexml/simplexml.c if (!xmlStrcmp(node->name, name)) { node 179 ext/simplexml/simplexml.c return node; node 183 ext/simplexml/simplexml.c node = node->next; node 191 ext/simplexml/simplexml.c xmlNodePtr orgnode = node; node 200 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 205 ext/simplexml/simplexml.c orgnode = sxe_find_element_by_name(sxe, node, sxe->iter.name TSRMLS_CC); node 209 ext/simplexml/simplexml.c node = orgnode->children; node 212 ext/simplexml/simplexml.c while (node) { node 213 ext/simplexml/simplexml.c SKIP_TEXT(node) node 214 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 215 ext/simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)*name)) { node 221 ext/simplexml/simplexml.c retnode = node; node 225 ext/simplexml/simplexml.c node = node->next; node 246 ext/simplexml/simplexml.c xmlNodePtr node; node 274 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 279 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 280 ext/simplexml/simplexml.c attr = (xmlAttrPtr)node; node 283 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 284 ext/simplexml/simplexml.c attr = node ? node->properties : NULL; node 286 ext/simplexml/simplexml.c if (!member && node && node->parent && node 287 ext/simplexml/simplexml.c node->parent->type == XML_DOCUMENT_NODE) { node 297 ext/simplexml/simplexml.c if (node) { node 324 ext/simplexml/simplexml.c if (!sxe->node) { node 325 ext/simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)sxe, node, NULL TSRMLS_CC); node 329 ext/simplexml/simplexml.c xmlNodePtr mynode = node; node 332 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 339 ext/simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); node 341 ext/simplexml/simplexml.c node = NULL; node 343 ext/simplexml/simplexml.c if (node) { node 344 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 349 ext/simplexml/simplexml.c node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL); node 350 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 356 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 357 ext/simplexml/simplexml.c node = sxe_get_element_by_name(sxe, node, &name, &newtype TSRMLS_CC); node 358 ext/simplexml/simplexml.c if (node) { node 359 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, newtype, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 362 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_ELEMENT, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 409 ext/simplexml/simplexml.c xmlNodeSetContentLen(node, (xmlChar *)"", 0); node 425 ext/simplexml/simplexml.c buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value)); node 429 ext/simplexml/simplexml.c xmlNodeSetContentLen(node, buffer, buffer_len); node 448 ext/simplexml/simplexml.c xmlNodePtr node; node 494 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 499 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 500 ext/simplexml/simplexml.c attr = (xmlAttrPtr)node; node 503 ext/simplexml/simplexml.c mynode = node; node 504 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 505 ext/simplexml/simplexml.c attr = node ? node->properties : NULL; node 507 ext/simplexml/simplexml.c if (!member && node && node->parent && node 508 ext/simplexml/simplexml.c node->parent->type == XML_DOCUMENT_NODE) { node 516 ext/simplexml/simplexml.c if (attribs && !node && sxe->iter.type == SXE_ITER_ELEMENT) { node 517 ext/simplexml/simplexml.c node = xmlNewChild(mynode, mynode->ns, sxe->iter.name, NULL); node 518 ext/simplexml/simplexml.c attr = node->properties; node 522 ext/simplexml/simplexml.c mynode = node; node 556 ext/simplexml/simplexml.c if (node) { node 585 ext/simplexml/simplexml.c if (node->type == XML_ATTRIBUTE_NODE) { node 591 ext/simplexml/simplexml.c newnode = node; node 597 ext/simplexml/simplexml.c newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); node 603 ext/simplexml/simplexml.c node = node->children; node 604 ext/simplexml/simplexml.c while (node) { node 605 ext/simplexml/simplexml.c SKIP_TEXT(node); node 607 ext/simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 608 ext/simplexml/simplexml.c newnode = node; node 613 ext/simplexml/simplexml.c node = node->next; node 632 ext/simplexml/simplexml.c if (!node) { node 648 ext/simplexml/simplexml.c newnode = (xmlNodePtr)xmlNewProp(node, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVAL_P(value) : NULL); node 687 ext/simplexml/simplexml.c xmlNodePtr node; node 694 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 697 ext/simplexml/simplexml.c node = sxe_get_element_by_name(sxe, node, &name, &type TSRMLS_CC); node 698 ext/simplexml/simplexml.c if (!node) { node 699 ext/simplexml/simplexml.c sxe_prop_dim_write(object, member, NULL, 1, 0, &node TSRMLS_CC); node 704 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, type, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 719 ext/simplexml/simplexml.c xmlNodePtr node; node 734 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 741 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 749 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 750 ext/simplexml/simplexml.c attr = (xmlAttrPtr)node; node 753 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 754 ext/simplexml/simplexml.c attr = node ? node->properties : NULL; node 758 ext/simplexml/simplexml.c if (node) { node 793 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 795 ext/simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, NULL); node 798 ext/simplexml/simplexml.c node = node->children; node 799 ext/simplexml/simplexml.c while (node) { node 801 ext/simplexml/simplexml.c nnext = node->next; node 802 ext/simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 805 ext/simplexml/simplexml.c node = nnext; node 808 ext/simplexml/simplexml.c if (node) { node 811 ext/simplexml/simplexml.c (!node->children || (node->children->type == XML_TEXT_NODE && !node->children->next && node 812 ext/simplexml/simplexml.c (!node->children->content || !node->children->content[0] || !xmlStrcmp(node->children->content, "0")))) ) { node 848 ext/simplexml/simplexml.c xmlNodePtr node; node 864 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 871 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 879 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 880 ext/simplexml/simplexml.c attr = (xmlAttrPtr)node; node 883 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 884 ext/simplexml/simplexml.c attr = node ? node->properties : NULL; node 888 ext/simplexml/simplexml.c if (node) { node 920 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 922 ext/simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, NULL); node 923 ext/simplexml/simplexml.c if (node) { node 924 ext/simplexml/simplexml.c xmlUnlinkNode(node); node 925 ext/simplexml/simplexml.c php_libxml_node_free_resource(node TSRMLS_CC); node 928 ext/simplexml/simplexml.c node = node->children; node 929 ext/simplexml/simplexml.c while (node) { node 930 ext/simplexml/simplexml.c nnext = node->next; node 932 ext/simplexml/simplexml.c SKIP_TEXT(node); node 934 ext/simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 935 ext/simplexml/simplexml.c xmlUnlinkNode(node); node 936 ext/simplexml/simplexml.c php_libxml_node_free_resource(node TSRMLS_CC); node 940 ext/simplexml/simplexml.c node = nnext; node 987 ext/simplexml/simplexml.c if (node->children && node->children->type == XML_TEXT_NODE && !xmlIsBlankNode(node->children)) { node 988 ext/simplexml/simplexml.c contents = xmlNodeListGetString(node->doc, node->children, 1); node 1001 ext/simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)subnode, node, NULL TSRMLS_CC); node 1043 ext/simplexml/simplexml.c xmlNodePtr node; node 1059 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1060 ext/simplexml/simplexml.c if (!node) { node 1065 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1067 ext/simplexml/simplexml.c attr = node ? (xmlAttrPtr)node->properties : NULL; node 1086 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1087 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1088 ext/simplexml/simplexml.c if (node && sxe->iter.type != SXE_ITER_ATTRLIST) { node 1089 ext/simplexml/simplexml.c if (node->type == XML_ATTRIBUTE_NODE) { node 1091 ext/simplexml/simplexml.c ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node->children, 1), 0); node 1093 ext/simplexml/simplexml.c node = NULL; node 1095 ext/simplexml/simplexml.c node = node->children; node 1098 ext/simplexml/simplexml.c while (node) { node 1099 ext/simplexml/simplexml.c if (node->children != NULL || node->prev != NULL || node->next != NULL) { node 1100 ext/simplexml/simplexml.c SKIP_TEXT(node); node 1102 ext/simplexml/simplexml.c if (node->type == XML_TEXT_NODE) { node 1104 ext/simplexml/simplexml.c ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node, 1), 0); node 1110 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && (! match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix))) { node 1114 ext/simplexml/simplexml.c name = (char *) node->name; node 1118 ext/simplexml/simplexml.c namelen = xmlStrlen(node->name) + 1; node 1121 ext/simplexml/simplexml.c _get_base_node_value(sxe, node, &value, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 1125 ext/simplexml/simplexml.c node = node->next; node 1141 ext/simplexml/simplexml.c if (sxe1->node == NULL) { node 1142 ext/simplexml/simplexml.c if (sxe2->node) { node 1148 ext/simplexml/simplexml.c return !(sxe1->node == sxe2->node); node 1182 ext/simplexml/simplexml.c if (!sxe->node) { node 1186 ext/simplexml/simplexml.c nodeptr = php_sxe_get_first_node(sxe, sxe->node->node TSRMLS_CC); node 1188 ext/simplexml/simplexml.c sxe->xpath->node = nodeptr; node 1274 ext/simplexml/simplexml.c xmlNodePtr node; node 1291 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1292 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1294 ext/simplexml/simplexml.c if (node) { node 1295 ext/simplexml/simplexml.c if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { node 1310 ext/simplexml/simplexml.c xmlNodeDumpOutput(outbuf, (xmlDocPtr) sxe->document->ptr, node, 0, 0, NULL); node 1320 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1321 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1323 ext/simplexml/simplexml.c if (node) { node 1324 ext/simplexml/simplexml.c if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { node 1336 ext/simplexml/simplexml.c xmlNodeDumpOutput(outbuf, (xmlDocPtr) sxe->document->ptr, node, 0, 0, ((xmlDocPtr) sxe->document->ptr)->encoding); node 1361 ext/simplexml/simplexml.c if (node->ns) { node 1362 ext/simplexml/simplexml.c sxe_add_namespace_name(return_value, node->ns); node 1365 ext/simplexml/simplexml.c attr = node->properties; node 1374 ext/simplexml/simplexml.c node = node->children; node 1375 ext/simplexml/simplexml.c while (node) { node 1376 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1377 ext/simplexml/simplexml.c sxe_add_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1379 ext/simplexml/simplexml.c node = node->next; node 1390 ext/simplexml/simplexml.c xmlNodePtr node; node 1399 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1400 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1402 ext/simplexml/simplexml.c if (node) { node 1403 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1404 ext/simplexml/simplexml.c sxe_add_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1405 ext/simplexml/simplexml.c } else if (node->type == XML_ATTRIBUTE_NODE && node->ns) { node 1406 ext/simplexml/simplexml.c sxe_add_namespace_name(return_value, node->ns); node 1416 ext/simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1417 ext/simplexml/simplexml.c ns = node->nsDef; node 1423 ext/simplexml/simplexml.c node = node->children; node 1424 ext/simplexml/simplexml.c while (node) { node 1425 ext/simplexml/simplexml.c sxe_add_registered_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1426 ext/simplexml/simplexml.c node = node->next; node 1459 ext/simplexml/simplexml.c xmlNodePtr node; node 1472 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1473 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1475 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_CHILD, NULL, (xmlChar *)nsprefix, isprefix TSRMLS_CC); node 1485 ext/simplexml/simplexml.c xmlNodePtr node; node 1490 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1491 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1492 ext/simplexml/simplexml.c if (node) { node 1493 ext/simplexml/simplexml.c namelen = xmlStrlen(node->name); node 1494 ext/simplexml/simplexml.c RETURN_STRINGL((char*)node->name, namelen, 1); node 1508 ext/simplexml/simplexml.c xmlNodePtr node; node 1516 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1522 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1524 ext/simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_ATTRLIST, NULL, (xmlChar *)nsprefix, isprefix TSRMLS_CC); node 1535 ext/simplexml/simplexml.c xmlNodePtr node, newnode; node 1550 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1557 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1559 ext/simplexml/simplexml.c if (node == NULL) { node 1569 ext/simplexml/simplexml.c newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value); node 1576 ext/simplexml/simplexml.c nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); node 1600 ext/simplexml/simplexml.c xmlNodePtr node; node 1616 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 1618 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1620 ext/simplexml/simplexml.c if (node && node->type != XML_ELEMENT_NODE) { node 1621 ext/simplexml/simplexml.c node = node->parent; node 1624 ext/simplexml/simplexml.c if (node == NULL) { node 1641 ext/simplexml/simplexml.c attrp = xmlHasNsProp(node, localname, (xmlChar *)nsuri); node 1652 ext/simplexml/simplexml.c nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); node 1654 ext/simplexml/simplexml.c nsptr = xmlNewNs(node, (xmlChar *)nsuri, prefix); node 1658 ext/simplexml/simplexml.c attrp = xmlNewNsProp(node, nsptr, localname, (xmlChar *)value); node 1705 ext/simplexml/simplexml.c xmlNodePtr node; node 1711 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, NULL TSRMLS_CC); node 1713 ext/simplexml/simplexml.c ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(sxe_properties_get(readobj TSRMLS_CC)) > 0); node 1718 ext/simplexml/simplexml.c node = php_sxe_get_first_node(sxe, NULL TSRMLS_CC); node 1719 ext/simplexml/simplexml.c if (node) { node 1720 ext/simplexml/simplexml.c contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, node->children, 1); node 1723 ext/simplexml/simplexml.c if (!sxe->node) { node 1729 ext/simplexml/simplexml.c if (sxe->node && sxe->node->node) { node 1730 ext/simplexml/simplexml.c if (sxe->node->node->children) { node 1731 ext/simplexml/simplexml.c contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, sxe->node->node->children, 1); node 1753 ext/simplexml/simplexml.c xmlNodePtr node; node 1762 ext/simplexml/simplexml.c node = php_sxe_reset_iterator(sxe, 0 TSRMLS_CC); node 1764 ext/simplexml/simplexml.c while (node) node 1767 ext/simplexml/simplexml.c node = php_sxe_iterator_fetch(sxe, node->next, 0 TSRMLS_CC); node 1877 ext/simplexml/simplexml.c if (sxe->node) { node 1878 ext/simplexml/simplexml.c nodep = xmlDocCopyNode(sxe->node->node, docp, 1); node 2145 ext/simplexml/simplexml.c while (node) { node 2146 ext/simplexml/simplexml.c SKIP_TEXT(node); node 2147 ext/simplexml/simplexml.c if (sxe->iter.type != SXE_ITER_ATTRLIST && node->type == XML_ELEMENT_NODE) { node 2148 ext/simplexml/simplexml.c if ((!test_elem || !xmlStrcmp(node->name, sxe->iter.name)) && match_ns(sxe, node, prefix, isprefix)) { node 2151 ext/simplexml/simplexml.c } else if (node->type == XML_ATTRIBUTE_NODE) { node 2152 ext/simplexml/simplexml.c if ((!test_attr || !xmlStrcmp(node->name, sxe->iter.name)) && match_ns(sxe, node, prefix, isprefix)) { node 2157 ext/simplexml/simplexml.c node = node->next; node 2160 ext/simplexml/simplexml.c if (node && use_data) { node 2162 ext/simplexml/simplexml.c _node_as_zval(sxe, node, sxe->iter.data, SXE_ITER_NONE, NULL, prefix, isprefix TSRMLS_CC); node 2165 ext/simplexml/simplexml.c return node; node 2170 ext/simplexml/simplexml.c xmlNodePtr node; node 2177 ext/simplexml/simplexml.c GET_NODE(sxe, node) node 2179 ext/simplexml/simplexml.c if (node) { node 2184 ext/simplexml/simplexml.c node = node->children; node 2187 ext/simplexml/simplexml.c node = (xmlNodePtr) node->properties; node 2189 ext/simplexml/simplexml.c return php_sxe_iterator_fetch(sxe, node, use_data TSRMLS_CC); node 2248 ext/simplexml/simplexml.c if (intern != NULL && intern->node != NULL) { node 2249 ext/simplexml/simplexml.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; node 2264 ext/simplexml/simplexml.c xmlNodePtr node = NULL; node 2269 ext/simplexml/simplexml.c GET_NODE(intern, node) node 2274 ext/simplexml/simplexml.c if (node) { node 2275 ext/simplexml/simplexml.c php_sxe_iterator_fetch(sxe, node->next, 1 TSRMLS_CC); node 2298 ext/simplexml/simplexml.c xmlNodePtr node; node 2301 ext/simplexml/simplexml.c GET_NODE(sxe, node); node 2302 ext/simplexml/simplexml.c return php_sxe_get_first_node(sxe, node TSRMLS_CC); node 2310 ext/simplexml/simplexml.c zval *node; node 2315 ext/simplexml/simplexml.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|C!", &node, &ce) == FAILURE) { node 2319 ext/simplexml/simplexml.c object = (php_libxml_node_object *)zend_object_store_get_object(node TSRMLS_CC); node 2321 ext/simplexml/simplexml.c nodep = php_libxml_import_node(node TSRMLS_CC); node 285 ext/soap/php_encoding.c if (*node_ptr == node) { node 288 ext/soap/php_encoding.c xmlNodeSetName(node, (*node_ptr)->name); node 289 ext/soap/php_encoding.c xmlSetNs(node, (*node_ptr)->ns); node 312 ext/soap/php_encoding.c xmlSetProp(node, BAD_CAST("href"), BAD_CAST(id)); node 329 ext/soap/php_encoding.c set_ns_prop(node, SOAP_1_2_ENC_NAMESPACE, "ref", id); node 334 ext/soap/php_encoding.c zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)data, (void**)&node, sizeof(xmlNodePtr), NULL); node 345 ext/soap/php_encoding.c if (zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)node, (void**)&data_ptr) == SUCCESS) { node 354 ext/soap/php_encoding.c zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)node, (void**)data, sizeof(zval*), NULL); node 362 ext/soap/php_encoding.c xmlNodePtr node = NULL; node 408 ext/soap/php_encoding.c node = master_to_xml(enc, NULL, style, parent); node 410 ext/soap/php_encoding.c node = master_to_xml(enc, *zdata, style, parent); node 416 ext/soap/php_encoding.c set_ns_and_type_ex(node, Z_STRVAL_PP(zns), Z_STRVAL_PP(zstype)); node 418 ext/soap/php_encoding.c set_ns_and_type_ex(node, NULL, Z_STRVAL_PP(zstype)); node 424 ext/soap/php_encoding.c xmlNodeSetName(node, BAD_CAST(Z_STRVAL_PP(zname))); node 427 ext/soap/php_encoding.c xmlNsPtr nsp = encode_add_ns(node, Z_STRVAL_PP(znamens)); node 428 ext/soap/php_encoding.c xmlSetNs(node, nsp); node 486 ext/soap/php_encoding.c node = encode->to_xml(&encode->details, data, style, parent); node 489 ext/soap/php_encoding.c return node; node 626 ext/soap/php_encoding.c copy = xmlCopyNode(node, 1); node 1260 ext/soap/php_encoding.c while (node != NULL) { node 1261 ext/soap/php_encoding.c if (get_zval_property(ret, (char*)node->name TSRMLS_CC) == NULL) { node 1262 ext/soap/php_encoding.c zval* val = master_to_zval(get_conversion(XSD_ANYXML), node); node 1263 ext/soap/php_encoding.c if (get_attribute_ex(node->properties,"type", XSI_NAMESPACE) == NULL && node 1265 ext/soap/php_encoding.c while (node->next != NULL && node 1266 ext/soap/php_encoding.c get_zval_property(ret, (char*)node->next->name TSRMLS_CC) == NULL && node 1267 ext/soap/php_encoding.c get_attribute_ex(node->next->properties,"type", XSI_NAMESPACE) == NULL) { node 1268 ext/soap/php_encoding.c zval* val2 = master_to_zval(get_conversion(XSD_ANYXML), node->next); node 1274 ext/soap/php_encoding.c node = node->next; node 1293 ext/soap/php_encoding.c node = node->next; node 1305 ext/soap/php_encoding.c xmlNodePtr node = get_node(data->children, model->u.element->name); node 1307 ext/soap/php_encoding.c if (node) { node 1311 ext/soap/php_encoding.c r_node = check_and_resolve_href(node); node 1330 ext/soap/php_encoding.c if ((node = get_node(node->next, model->u.element->name)) != NULL) { node 1337 ext/soap/php_encoding.c if (node && node->children && node->children->content) { node 1338 ext/soap/php_encoding.c if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != 0) { node 1339 ext/soap/php_encoding.c soap_error3(E_ERROR, "Encoding: Element '%s' has fixed value '%s' (value '%s' is not allowed)", model->u.element->name, model->u.element->fixed, node->children->content); node 1341 ext/soap/php_encoding.c val = master_to_zval(model->u.element->encode, node); node 1353 ext/soap/php_encoding.c val = master_to_zval(model->u.element->encode, node); node 1356 ext/soap/php_encoding.c } while ((node = get_node(node->next, model->u.element->name)) != NULL); node 1630 ext/soap/php_encoding.c xmlAddChild(node, property); node 1633 ext/soap/php_encoding.c property = master_to_xml(enc, *val, style, node); node 1651 ext/soap/php_encoding.c xmlAddChild(node, property); node 1656 ext/soap/php_encoding.c property = master_to_xml(enc, data, style, node); node 1673 ext/soap/php_encoding.c xmlAddChild(node, property); node 1708 ext/soap/php_encoding.c property = master_to_xml(enc, *val, style, node); node 1712 ext/soap/php_encoding.c property = master_to_xml(enc, data, style, node); node 1732 ext/soap/php_encoding.c if (!model_to_xml_object(node, *tmp, object, style, (*tmp)->min_occurs > 0 TSRMLS_CC)) { node 1748 ext/soap/php_encoding.c int tmp_ret = model_to_xml_object(node, *tmp, object, style, 0 TSRMLS_CC); node 1759 ext/soap/php_encoding.c return model_to_xml_object(node, model->u.group->model, object, style, model->min_occurs > 0 TSRMLS_CC); node 3268 ext/soap/php_encoding.c set_ns_and_type_ex(node, type->ns, type->type_str); node 3274 ext/soap/php_encoding.c get_type_str(node, ns, type, &nstype); node 3275 ext/soap/php_encoding.c set_xsi_type(node, nstype.c); node 3282 ext/soap/php_encoding.c xmlNodePtr orig = node; node 3284 ext/soap/php_encoding.c while (node) { node 3285 ext/soap/php_encoding.c if (node->type == XML_ENTITY_REF_NODE || node 3286 ext/soap/php_encoding.c node->type == XML_ENTITY_NODE || node 3287 ext/soap/php_encoding.c node->type == XML_ENTITY_DECL) { node 3290 ext/soap/php_encoding.c if (node->type == XML_ELEMENT_NODE) { node 3291 ext/soap/php_encoding.c cur = node->nsDef; node 3294 ext/soap/php_encoding.c if (xmlSearchNs(doc, node, cur->prefix) == cur) { node 3300 ext/soap/php_encoding.c if (orig != node) { node 3301 ext/soap/php_encoding.c cur = node->ns; node 3304 ext/soap/php_encoding.c if (xmlSearchNs(doc, node, cur->prefix) == cur) { node 3311 ext/soap/php_encoding.c node = node->parent; node 3324 ext/soap/php_encoding.c xmlns = xmlSearchNsByHref(node->doc, node, BAD_CAST(ns)); node 3326 ext/soap/php_encoding.c xmlns = xmlSearchNsPrefixByHref(node->doc, node, BAD_CAST(ns)); node 3333 ext/soap/php_encoding.c xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); node 3342 ext/soap/php_encoding.c if (xmlSearchNs(node->doc, node, BAD_CAST(prefix.c)) == NULL) { node 3351 ext/soap/php_encoding.c xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), BAD_CAST(prefix.c)); node 3360 ext/soap/php_encoding.c xmlSetNsProp(node, encode_add_ns(node, ns), BAD_CAST(name), BAD_CAST(val)); node 3365 ext/soap/php_encoding.c set_ns_prop(node, XSI_NAMESPACE, "nil", "true"); node 3370 ext/soap/php_encoding.c set_ns_prop(node, XSI_NAMESPACE, "type", type); node 3508 ext/soap/php_encoding.c xmlNsPtr ns = encode_add_ns(node,cur_ns); node 3525 ext/soap/php_encoding.c get_type_str(node, enc->details.ns, enc->details.type_str, type); node 3544 ext/soap/php_encoding.c xmlns = encode_add_ns(node,ns); node 981 ext/soap/php_schema.c xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); node 989 ext/soap/php_schema.c attr = get_attribute(node->properties, "maxOccurs"); node 2063 ext/soap/php_schema.c xmlNodePtr node; node 2067 ext/soap/php_schema.c zend_hash_copy(attr->extraAttributes, (*tmp)->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); node 2110 ext/soap/php_schema.c xmlNodePtr node; node 2113 ext/soap/php_schema.c zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); node 56 ext/soap/php_sdl.c nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); node 80 ext/soap/php_sdl.c nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); node 216 ext/soap/php_sdl.c if (node->ns && strcmp((char*)node->ns->href, WSDL_NAMESPACE) != 0) { node 218 ext/soap/php_sdl.c if ((attr = get_attribute_ex(node->properties, "required", WSDL_NAMESPACE)) != NULL && node 222 ext/soap/php_sdl.c soap_error1(E_ERROR, "Parsing WSDL: Unknown required WSDL extension '%s'", node->ns->href); node 466 ext/soap/php_sdl.c trav = node->children; node 46 ext/soap/php_xml.c trav = node->children; node 197 ext/soap/php_xml.c if (node->ns) { node 198 ext/soap/php_xml.c return node->ns; node 199 ext/soap/php_xml.c } else if (node->parent->ns) { node 200 ext/soap/php_xml.c return node->parent->ns; node 202 ext/soap/php_xml.c return xmlSearchNs(node->doc, node->parent, NULL); node 208 ext/soap/php_xml.c if (node->ns) { node 209 ext/soap/php_xml.c return node->ns; node 211 ext/soap/php_xml.c return xmlSearchNs(node->doc, node, NULL); node 217 ext/soap/php_xml.c if (name == NULL || strcmp((char*)node->name, name) == 0) { node 219 ext/soap/php_xml.c xmlNsPtr nsPtr = attr_find_ns(node); node 233 ext/soap/php_xml.c if (name == NULL || strcmp((char*)node->name, name) == 0) { node 235 ext/soap/php_xml.c xmlNsPtr nsPtr = node_find_ns(node); node 250 ext/soap/php_xml.c while (node!=NULL) { node 251 ext/soap/php_xml.c if (attr_is_equal_ex(node, name, ns)) { node 252 ext/soap/php_xml.c return node; node 254 ext/soap/php_xml.c node = node->next; node 261 ext/soap/php_xml.c while (node!=NULL) { node 262 ext/soap/php_xml.c if (node_is_equal_ex(node, name, ns)) { node 263 ext/soap/php_xml.c return node; node 265 ext/soap/php_xml.c node = node->next; node 272 ext/soap/php_xml.c while (node != NULL) { node 273 ext/soap/php_xml.c if (node_is_equal_ex(node, name, ns)) { node 274 ext/soap/php_xml.c return node; node 275 ext/soap/php_xml.c } else if (node->children != NULL) { node 276 ext/soap/php_xml.c xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); node 281 ext/soap/php_xml.c node = node->next; node 290 ext/soap/php_xml.c while (node != NULL) { node 292 ext/soap/php_xml.c node = get_node_ex(node, name, name_ns); node 293 ext/soap/php_xml.c if (node==NULL) { node 298 ext/soap/php_xml.c attr = get_attribute_ex(node->properties, attribute, attr_ns); node 300 ext/soap/php_xml.c return node; node 302 ext/soap/php_xml.c node = node->next; node 309 ext/soap/php_xml.c while (node != NULL) { node 310 ext/soap/php_xml.c if (node_is_equal_ex(node, name, name_ns)) { node 311 ext/soap/php_xml.c xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); node 313 ext/soap/php_xml.c return node; node 316 ext/soap/php_xml.c if (node->children != NULL) { node 317 ext/soap/php_xml.c xmlNodePtr tmp = get_node_with_attribute_recursive_ex(node->children, name, name_ns, attribute, value, attr_ns); node 322 ext/soap/php_xml.c node = node->next; node 25 ext/soap/php_xml.h #define get_attribute(node, name) get_attribute_ex(node, name, NULL) node 26 ext/soap/php_xml.h #define get_node(node, name) get_node_ex(node, name, NULL) node 27 ext/soap/php_xml.h #define get_node_recursive(node, name) get_node_recursive_ex(node, name, NULL) node 28 ext/soap/php_xml.h #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL, attr, val, NULL) node 29 ext/soap/php_xml.h #define get_node_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_ex(node, name, NULL, attr, val, NULL) node 30 ext/soap/php_xml.h #define node_is_equal(node, name) node_is_equal_ex(node, name, NULL) node 31 ext/soap/php_xml.h #define attr_is_equal(node, name) attr_is_equal_ex(node, name, NULL) node 3925 ext/soap/soap.c xmlNodePtr node = xmlNewNode(NULL, BAD_CAST("faultcode")); node 3927 ext/soap/soap.c xmlAddChild(param, node); node 3929 ext/soap/soap.c xmlNsPtr nsptr = encode_add_ns(node, fault_ns); node 3931 ext/soap/soap.c xmlNodeSetContent(node, code); node 3934 ext/soap/soap.c xmlNodeSetContentLen(node, BAD_CAST(str), new_len); node 3939 ext/soap/soap.c xmlNodePtr node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, param); node 3940 ext/soap/soap.c xmlNodeSetName(node, BAD_CAST("faultstring")); node 3943 ext/soap/soap.c xmlNodePtr node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, param); node 3944 ext/soap/soap.c xmlNodeSetName(node, BAD_CAST("faultactor")); node 3950 ext/soap/soap.c xmlNodePtr node = xmlNewChild(param, ns, BAD_CAST("Code"), NULL); node 3952 ext/soap/soap.c node = xmlNewChild(node, ns, BAD_CAST("Value"), NULL); node 3954 ext/soap/soap.c xmlNsPtr nsptr = encode_add_ns(node, fault_ns); node 3956 ext/soap/soap.c xmlNodeSetContent(node, code); node 3959 ext/soap/soap.c xmlNodeSetContentLen(node, BAD_CAST(str), new_len); node 3964 ext/soap/soap.c xmlNodePtr node = xmlNewChild(param, ns, BAD_CAST("Reason"), NULL); node 3965 ext/soap/soap.c node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, node); node 3966 ext/soap/soap.c xmlNodeSetName(node, BAD_CAST("Text")); node 3967 ext/soap/soap.c xmlSetNs(node, ns); node 3972 ext/soap/soap.c xmlNodePtr node; node 3981 ext/soap/soap.c node = xmlNewNode(NULL, BAD_CAST(detail_name)); node 3982 ext/soap/soap.c xmlAddChild(param, node); node 3996 ext/soap/soap.c x = serialize_parameter(sparam, detail, 1, NULL, use, node TSRMLS_CC); node 4485 ext/soap/soap.c xmlNodePtr node = params; node 4490 ext/soap/soap.c if (strcmp((*param)->element->name, (char*)node->name) != 0) { node 4494 ext/soap/soap.c if ((*param)->element->namens != NULL && node->ns != NULL) { node 4495 ext/soap/soap.c if (strcmp((*param)->element->namens, (char*)node->ns->href) != 0) { node 4499 ext/soap/soap.c } else if ((void*)(*param)->element->namens != (void*)node->ns) { node 4503 ext/soap/soap.c } else if (strcmp((*param)->paramName, (char*)node->name) != 0) { node 4508 ext/soap/soap.c node = node->next; node 92 ext/spl/spl_sxe.c if (intern != NULL && intern->node != NULL) { node 93 ext/spl/spl_sxe.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; node 118 ext/spl/spl_sxe.c xmlNodePtr node; node 125 ext/spl/spl_sxe.c GET_NODE(child, node); node 126 ext/spl/spl_sxe.c if (node) { node 127 ext/spl/spl_sxe.c node = node->children; node 129 ext/spl/spl_sxe.c while (node && node->type != XML_ELEMENT_NODE) { node 130 ext/spl/spl_sxe.c node = node->next; node 132 ext/spl/spl_sxe.c RETURN_BOOL(node ? 1 : 0); node 197 ext/tidy/tidy.c TidyNode node; node 721 ext/tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); node 771 ext/tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); node 775 ext/tidy/tidy.c ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node)); node 776 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node)); node 777 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node)); node 778 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, column, tidyNodeColumn(obj->node)); node 779 ext/tidy/tidy.c ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node)); node 781 ext/tidy/tidy.c switch(tidyNodeGetType(obj->node)) { node 789 ext/tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, id, tidyNodeGetId(obj->node)); node 792 ext/tidy/tidy.c tempattr = tidyAttrFirst(obj->node); node 811 ext/tidy/tidy.c tempnode = tidyGetChild(obj->node); node 820 ext/tidy/tidy.c newobj->node = tempnode; node 876 ext/tidy/tidy.c TidyNode node; node 881 ext/tidy/tidy.c node = tidyGetRoot(obj->ptdoc->doc); node 885 ext/tidy/tidy.c node = tidyGetHtml(obj->ptdoc->doc); node 889 ext/tidy/tidy.c node = tidyGetHead(obj->ptdoc->doc); node 893 ext/tidy/tidy.c node = tidyGetBody(obj->ptdoc->doc); node 897 ext/tidy/tidy.c if (!node) { node 905 ext/tidy/tidy.c newobj->node = node; node 965 ext/tidy/tidy.c REGISTER_TIDY_CLASS(tidyNode, node, NULL, ZEND_ACC_FINAL_CLASS); node 1564 ext/tidy/tidy.c if (tidyGetChild(obj->node)) { node 1578 ext/tidy/tidy.c if (obj->node && tidyGetNext(obj->node)) { node 1592 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Comment) { node 1606 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) & (TidyNode_Start | TidyNode_End | TidyNode_StartEnd)) { node 1620 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Text) { node 1634 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Jste) { node 1648 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Asp) { node 1662 ext/tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Php) { node 1678 ext/tidy/tidy.c parent_node = tidyGetParent(obj->node); node 1682 ext/tidy/tidy.c newobj->node = parent_node; node 1141 ext/xmlreader/php_xmlreader.c xmlNode *node, *nodec; node 1147 ext/xmlreader/php_xmlreader.c node = xmlTextReaderExpand(intern->ptr); node 1149 ext/xmlreader/php_xmlreader.c if (node == NULL) { node 1153 ext/xmlreader/php_xmlreader.c nodec = xmlCopyNode(node, 1); node 289 ext/xmlrpc/libxmlrpc/queue.c node *n; node 298 ext/xmlrpc/libxmlrpc/queue.c q->head = (node*)p; node 341 ext/xmlrpc/libxmlrpc/queue.c node *p; node 349 ext/xmlrpc/libxmlrpc/queue.c q->tail = (node *)n; node 407 ext/xmlrpc/libxmlrpc/queue.c q->head = (node *)n; node 449 ext/xmlrpc/libxmlrpc/queue.c q->tail = (node *)p; node 485 ext/xmlrpc/libxmlrpc/queue.c q->cursor = (node *)q->cursor->next; node 515 ext/xmlrpc/libxmlrpc/queue.c q->cursor = (node *)q->cursor->prev; node 538 ext/xmlrpc/libxmlrpc/queue.c n = ((node*)iter)->next; node 539 ext/xmlrpc/libxmlrpc/queue.c p = ((node*)iter)->prev; node 540 ext/xmlrpc/libxmlrpc/queue.c d = ((node*)iter)->data; node 547 ext/xmlrpc/libxmlrpc/queue.c if (q->cursor == (node*)iter) { node 965 ext/xmlrpc/libxmlrpc/queue.c return qi ? (q_iter)((node*)qi)->next : NULL; node 969 ext/xmlrpc/libxmlrpc/queue.c return qi ? (q_iter)((node*)qi)->prev : NULL; node 973 ext/xmlrpc/libxmlrpc/queue.c return qi ? ((node*)qi)->data : NULL; node 978 ext/xmlrpc/libxmlrpc/queue.c ((node*)qi)->data = data; node 38 ext/xmlrpc/libxmlrpc/queue.h node *head, *tail, *cursor; node 44 ext/xmlrpc/libxmlrpc/queue.h node *loc ; node 85 ext/xmlrpc/libxmlrpc/queue.h #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL) node 86 ext/xmlrpc/libxmlrpc/queue.h #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL) node 87 ext/xmlrpc/libxmlrpc/queue.h #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL) node 174 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c if(node) { node 176 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c const char* id = XMLRPC_GetValueID(node); node 177 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); node 205 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 209 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 214 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 219 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); node 224 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c simplestring_add(&elem_val->text, XMLRPC_GetValueDateTime_ISO8601(node)); node 230 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 237 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VECTOR_TYPE my_type = XMLRPC_GetVectorType(node); node 238 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 260 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xIter = XMLRPC_VectorNext(node); node 276 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c return DANDARPC_to_xml_element_worker(NULL, node); node 110 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 115 ext/xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 128 ext/xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 174 ext/xmlrpc/libxmlrpc/xml_to_soap.c if (XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTCODE) && node 175 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTSTRING)) { node 178 ext/xmlrpc/libxmlrpc/xml_to_soap.c else if (XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTCODE) && node 179 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTSTRING)) { node 192 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xDup = XMLRPC_DupValueNew(node); node 437 ext/xmlrpc/libxmlrpc/xml_to_soap.c if (node) { node 440 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE_TYPE_EASY type = XMLRPC_GetValueTypeEasy(node); node 455 ext/xmlrpc/libxmlrpc/xml_to_soap.c const char* type = get_array_soap_type(node); node 459 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, sizeof(buf), "%s[%i]", type, XMLRPC_VectorSize(node)); node 469 ext/xmlrpc/libxmlrpc/xml_to_soap.c int fault_type = get_fault_type(node); node 474 ext/xmlrpc/libxmlrpc/xml_to_soap.c node = gen_fault_xmlrpc(node, elem_val); node 483 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 489 ext/xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 501 ext/xmlrpc/libxmlrpc/xml_to_soap.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 505 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 510 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 515 ext/xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); node 520 ext/xmlrpc/libxmlrpc/xml_to_soap.c time_t tt = XMLRPC_GetValueDateTime(node); node 532 ext/xmlrpc/libxmlrpc/xml_to_soap.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 547 ext/xmlrpc/libxmlrpc/xml_to_soap.c pName = (char*)XMLRPC_GetValueID(node); node 560 ext/xmlrpc/libxmlrpc/xml_to_soap.c pName = (char*)XMLRPC_GetValueID(node); node 570 ext/xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_CleanupValue(node); node 578 ext/xmlrpc/libxmlrpc/xml_to_soap.c return SOAP_to_xml_element_worker(NULL, node); node 193 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c if (node) { node 195 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); node 196 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VECTOR_TYPE vtype = XMLRPC_GetVectorType(node); node 204 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c int bIsFault = (vtype == xmlrpc_vector_struct && XMLRPC_VectorGetValueWithID(node, ELEM_FAULTCODE)); node 206 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1); node 217 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 221 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 226 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 233 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c ap_php_snprintf(buf, BUF_SIZE, "%.*G", (int) EG(precision), XMLRPC_GetValueDouble(node)); node 239 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_add(&elem_val->text, XMLRPC_GetValueDateTime_ISO8601(node)); node 245 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 252 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VECTOR_TYPE my_type = XMLRPC_GetVectorType(node); node 253 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 290 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1); node 294 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c xIter = XMLRPC_VectorNext(node); node 311 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c if (XMLRPC_VectorGetValueWithID(node, ELEM_FAULTCODE)) { node 333 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_add(&name->text, XMLRPC_GetValueID(node)); node 369 ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c return XMLRPC_to_xml_element_worker(NULL, node, xmlrpc_request_none, 0); node 254 ext/xsl/xsltprocessor.c xmlNodePtr node = obj->nodesetval->nodeTab[j]; node 258 ext/xsl/xsltprocessor.c if (node->type == XML_NAMESPACE_DECL) { node 262 ext/xsl/xsltprocessor.c nsparent = node->_private; node 263 ext/xsl/xsltprocessor.c curns = xmlNewNs(NULL, node->name, NULL); node 264 ext/xsl/xsltprocessor.c if (node->children) { node 265 ext/xsl/xsltprocessor.c curns->prefix = xmlStrdup((char *) node->children); node 267 ext/xsl/xsltprocessor.c if (node->children) { node 268 ext/xsl/xsltprocessor.c node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name); node 270 ext/xsl/xsltprocessor.c node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name); node 272 ext/xsl/xsltprocessor.c node->type = XML_NAMESPACE_DECL; node 273 ext/xsl/xsltprocessor.c node->parent = nsparent; node 274 ext/xsl/xsltprocessor.c node->ns = curns; node 276 ext/xsl/xsltprocessor.c child = php_dom_create_object(node, &ret, NULL, child, domintern TSRMLS_CC); node 470 ext/xsl/xsltprocessor.c xmlNodePtr node = NULL; node 478 ext/xsl/xsltprocessor.c node = php_libxml_import_node(docp TSRMLS_CC); node 480 ext/xsl/xsltprocessor.c if (node) { node 481 ext/xsl/xsltprocessor.c doc = node->doc;