node 178 dom/characterdata.c xmlNodePtr node; node 187 dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 189 dom/characterdata.c cur = xmlNodeGetContent(node); node 260 dom/characterdata.c xmlNodePtr node; node 270 dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 272 dom/characterdata.c cur = xmlNodeGetContent(node); node 289 dom/characterdata.c xmlNodeSetContent(node, first); node 290 dom/characterdata.c xmlNodeAddContent(node, arg); node 291 dom/characterdata.c xmlNodeAddContent(node, second); node 308 dom/characterdata.c xmlNodePtr node; node 317 dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 319 dom/characterdata.c cur = xmlNodeGetContent(node); node 345 dom/characterdata.c xmlNodeSetContent(node, substring); node 363 dom/characterdata.c xmlNodePtr node; node 373 dom/characterdata.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 375 dom/characterdata.c cur = xmlNodeGetContent(node); node 405 dom/characterdata.c xmlNodeSetContent(node, substring); node 905 dom/document.c xmlNode *node; node 922 dom/document.c node = xmlNewDocNode(docp, NULL, name, value); node 923 dom/document.c if (!node) { node 927 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 938 dom/document.c xmlNode *node; node 949 dom/document.c node = xmlNewDocFragment(docp); node 950 dom/document.c if (!node) { node 954 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 965 dom/document.c xmlNode *node; node 977 dom/document.c node = xmlNewDocText(docp, (xmlChar *) value); node 978 dom/document.c if (!node) { node 982 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 993 dom/document.c xmlNode *node; node 1005 dom/document.c node = xmlNewDocComment(docp, (xmlChar *) value); node 1006 dom/document.c if (!node) { node 1010 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 1021 dom/document.c xmlNode *node; node 1033 dom/document.c node = xmlNewCDataBlock(docp, (xmlChar *) value, value_len); node 1034 dom/document.c if (!node) { node 1038 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 1049 dom/document.c xmlNode *node; node 1066 dom/document.c node = xmlNewPI((xmlChar *) name, (xmlChar *) value); node 1067 dom/document.c if (!node) { node 1071 dom/document.c node->doc = docp; node 1073 dom/document.c DOM_RET_OBJ(node, &ret, intern); node 1084 dom/document.c xmlAttrPtr node; node 1101 dom/document.c node = xmlNewDocProp(docp, (xmlChar *) name, NULL); node 1102 dom/document.c if (!node) { node 1106 dom/document.c DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); node 1118 dom/document.c xmlNode *node; node 1135 dom/document.c node = xmlNewReference(docp, name); node 1136 dom/document.c if (!node) { node 1140 dom/document.c DOM_RET_OBJ((xmlNodePtr) node, &ret, intern); node 1176 dom/document.c zval *id, *node; node 1183 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 1189 dom/document.c DOM_GET_OBJ(nodep, node, xmlNodePtr, nodeobj); node 1792 dom/document.c xmlNode *node; node 1811 dom/document.c DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); node 1812 dom/document.c if (node->doc != docp) { node 1825 dom/document.c xmlNodeDump(buf, docp, node, 0, format); node 2295 dom/document.c xmlNode *node; node 2315 dom/document.c DOM_GET_OBJ(node, nodep, xmlNodePtr, nodeobj); node 2316 dom/document.c if (node->doc != docp) { node 2327 dom/document.c size = htmlNodeDump(buf, docp, node); node 35 dom/dom_iterators.c xmlNode *node; node 52 dom/dom_iterators.c if(priv->node == NULL) { node 53 dom/dom_iterators.c priv->node = (xmlNode *)payload; node 93 dom/dom_iterators.c iter->node = NULL; node 95 dom/dom_iterators.c nodep = iter->node; node 180 dom/dom_iterators.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; node 224 dom/dom_iterators.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; node 153 dom/domimplementation.c zval *node = NULL; node 163 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 167 dom/domimplementation.c if (node != NULL) { node 168 dom/domimplementation.c DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); node 534 dom/element.c zval *id, *node; node 540 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 551 dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 566 dom/element.c ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) node 600 dom/element.c zval *id, *node; node 606 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 617 dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 958 dom/element.c zval *id, *node; node 965 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 976 dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 997 dom/element.c ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) node 1216 dom/element.c zval *id, *node; node 1222 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 1233 dom/element.c DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); node 52 dom/entityreference.c xmlNode *node; node 73 dom/entityreference.c node = xmlNewReference(NULL, name); node 75 dom/entityreference.c if (!node) { node 86 dom/entityreference.c php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); node 952 dom/node.c xmlNodePtr newchild, node; node 970 dom/node.c node = newchild; node 971 dom/node.c while (node != NULL) { node 972 dom/node.c node->parent = nodep; node 973 dom/node.c if (node->doc != nodep->doc) { node 974 dom/node.c xmlSetTreeDoc(node, nodep->doc); node 975 dom/node.c if (node->_private != NULL) { node 976 dom/node.c childobj = node->_private; node 981 dom/node.c if (node == fragment->last) { node 984 dom/node.c node = node->next; node 1001 dom/node.c zval *id, *node, *ref = NULL; node 1006 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 1016 dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1250 dom/node.c zval *id, *node; node 1255 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 1265 dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1301 dom/node.c zval *id, *node; node 1306 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 1316 dom/node.c DOM_GET_OBJ(child, node, xmlNodePtr, childobj); node 1431 dom/node.c xmlNode *n, *node; node 1442 dom/node.c node = xmlDocCopyNode(n, n->doc, recursive); node 1444 dom/node.c if (!node) { node 1452 dom/node.c node->nsDef = xmlCopyNamespaceList(n->nsDef); node 1456 dom/node.c ns = xmlSearchNs(n->doc, node, n->ns->prefix); node 1460 dom/node.c xmlNodePtr root = node; node 1465 dom/node.c node->ns = xmlNewNs(root, ns->href, ns->prefix); node 1468 dom/node.c node->ns = ns; node 1472 dom/node.c node->properties = xmlCopyPropList(node, n->properties); node 1477 dom/node.c if (node->doc != n->doc) { node 1481 dom/node.c DOM_RET_OBJ(node, &ret, intern); node 1571 dom/node.c zval *id, *node; node 1575 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 1581 dom/node.c DOM_GET_OBJ(nodeotherp, node, xmlNodePtr, nodeotherobj); node 1790 dom/node.c ctxp->node = nodep; node 1792 dom/node.c ctxp->node = NULL; node 1819 dom/node.c ctxp->node = nodep; node 1840 dom/node.c ctxp->node = NULL; node 112 dom/php_dom.c switch (node->type) { node 125 dom/php_dom.c if (node->doc == NULL) { node 136 dom/php_dom.c switch (node->type) { node 260 dom/php_dom.c return ((php_libxml_node_ptr *)obj->ptr)->node; node 556 dom/php_dom.c if (intern && intern->node) { node 557 dom/php_dom.c nodep = intern->node->node; node 568 dom/php_dom.c zval *node; node 573 dom/php_dom.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &node) == FAILURE) { node 577 dom/php_dom.c nodeobj = (php_libxml_node_object *)zend_object_store_get_object(node TSRMLS_CC); node 578 dom/php_dom.c nodep = php_libxml_import_node(node TSRMLS_CC); node 1029 dom/php_dom.c while (node != NULL) { node 1031 dom/php_dom.c wrapper = php_dom_object_get_data(node); node 1034 dom/php_dom.c xmlUnlinkNode(node); node 1036 dom/php_dom.c if (node->type == XML_ENTITY_REF_NODE) node 1038 dom/php_dom.c node_list_unlink(node->children TSRMLS_CC); node 1040 dom/php_dom.c switch (node->type) { node 1049 dom/php_dom.c node_list_unlink((xmlNodePtr) node->properties TSRMLS_CC); node 1054 dom/php_dom.c node = node->next; node 1096 dom/php_dom.c if (intern->ptr != NULL && ((php_libxml_node_ptr *)intern->ptr)->node != NULL) { node 1097 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 1170 dom/php_dom.c xmlNodePtr node; node 1176 dom/php_dom.c node = (xmlNodePtr)dom_object_get_node((dom_object *) object); node 1177 dom/php_dom.c if (node != NULL) { node 1178 dom/php_dom.c cloned_node = xmlDocCopyNode(node, node->doc, 1); node 1181 dom/php_dom.c if (cloned_node->doc == node->doc) { node 1647 dom/php_dom.c if (node == NULL) node 1651 dom/php_dom.c cur = node->nsDef; node 1660 dom/php_dom.c cur = node->nsDef; node 134 dom/php_dom.h if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \ node 107 dom/text.c xmlNodePtr node; node 110 dom/text.c node = dom_object_get_node(obj); node 112 dom/text.c if (node == NULL) { node 118 dom/text.c while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTION_NODE))) { node 119 dom/text.c node = node->prev; node 123 dom/text.c while (node && ((node->type == XML_TEXT_NODE) || (node->type == XML_CDATA_SECTION_NODE))) { node 124 dom/text.c wholetext = xmlStrcat(wholetext, node->content); node 125 dom/text.c node = node->next; node 151 dom/text.c xmlNodePtr node; node 161 dom/text.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 163 dom/text.c if (node->type != XML_TEXT_NODE && node->type != XML_CDATA_SECTION_NODE) { node 167 dom/text.c cur = xmlNodeGetContent(node); node 183 dom/text.c xmlNodeSetContent(node, first); node 184 dom/text.c nnode = xmlNewDocText(node->doc, second); node 193 dom/text.c if (node->parent != NULL) { node 195 dom/text.c xmlAddNextSibling(node, nnode); node 210 dom/text.c xmlNodePtr node; node 216 dom/text.c DOM_GET_OBJ(node, id, xmlNodePtr, intern); node 218 dom/text.c if (xmlIsBlankNode(node)) { node 65 dom/xml_common.h if (__intern->node == NULL || !(__ptr = (__prtype)__intern->node->node)) { \ node 145 dom/xpath.c xmlNodePtr node = obj->nodesetval->nodeTab[j]; node 149 dom/xpath.c if (node->type == XML_NAMESPACE_DECL) { node 153 dom/xpath.c nsparent = node->_private; node 154 dom/xpath.c curns = xmlNewNs(NULL, node->name, NULL); node 155 dom/xpath.c if (node->children) { node 156 dom/xpath.c curns->prefix = xmlStrdup((xmlChar *) node->children); node 158 dom/xpath.c if (node->children) { node 159 dom/xpath.c node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name); node 161 dom/xpath.c node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name); node 163 dom/xpath.c node->type = XML_NAMESPACE_DECL; node 164 dom/xpath.c node->parent = nsparent; node 165 dom/xpath.c node->ns = curns; node 167 dom/xpath.c child = php_dom_create_object(node, &ret, child, (dom_object *)intern TSRMLS_CC); node 431 dom/xpath.c ctxp->node = nodep; node 448 dom/xpath.c ctxp->node = NULL; node 479 dom/xpath.c xmlNodePtr node = nodesetp->nodeTab[i]; node 484 dom/xpath.c if (node->type == XML_NAMESPACE_DECL) { node 488 dom/xpath.c nsparent = node->_private; node 489 dom/xpath.c curns = xmlNewNs(NULL, node->name, NULL); node 490 dom/xpath.c if (node->children) { node 491 dom/xpath.c curns->prefix = xmlStrdup((char *) node->children); node 493 dom/xpath.c if (node->children) { node 494 dom/xpath.c node = xmlNewDocNode(docp, NULL, (char *) node->children, node->name); node 496 dom/xpath.c node = xmlNewDocNode(docp, NULL, "xmlns", node->name); node 498 dom/xpath.c node->type = XML_NAMESPACE_DECL; node 499 dom/xpath.c node->parent = nsparent; node 500 dom/xpath.c node->ns = curns; node 502 dom/xpath.c child = php_dom_create_object(node, &ret, child, (dom_object *)intern TSRMLS_CC); node 48 interbase/ibase_events.c ibase_event **node; node 56 interbase/ibase_events.c for (node = &event->link->event_head; *node != event; node = &(*node)->event_next); node 57 interbase/ibase_events.c *node = event->event_next; node 173 libxml/libxml.c if (nodeptr->node != NULL && nodeptr->node->type != XML_DOCUMENT_NODE) { node 174 libxml/libxml.c nodeptr->node->_private = NULL; node 176 libxml/libxml.c nodeptr->node = NULL; node 185 libxml/libxml.c if(node) { node 186 libxml/libxml.c if (node->_private != NULL) { node 187 libxml/libxml.c ((php_libxml_node_ptr *) node->_private)->node = NULL; node 189 libxml/libxml.c switch (node->type) { node 191 libxml/libxml.c xmlFreeProp((xmlAttrPtr) node); node 199 libxml/libxml.c if (node->name != NULL) { node 200 libxml/libxml.c xmlFree((char *) node->name); node 202 libxml/libxml.c if (((xmlEntityPtr) node)->ExternalID != NULL) { node 203 libxml/libxml.c xmlFree((char *) ((xmlEntityPtr) node)->ExternalID); node 205 libxml/libxml.c if (((xmlEntityPtr) node)->SystemID != NULL) { node 206 libxml/libxml.c xmlFree((char *) ((xmlEntityPtr) node)->SystemID); node 208 libxml/libxml.c xmlFree(node); node 211 libxml/libxml.c if (node->ns) { node 212 libxml/libxml.c xmlFreeNs(node->ns); node 213 libxml/libxml.c node->ns = NULL; node 215 libxml/libxml.c node->type = XML_ELEMENT_NODE; node 217 libxml/libxml.c xmlFreeNode(node); node 226 libxml/libxml.c if (node != NULL) { node 227 libxml/libxml.c curnode = node; node 229 libxml/libxml.c node = curnode; node 230 libxml/libxml.c switch (node->type) { node 236 libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 239 libxml/libxml.c if ((node->doc != NULL) && (((xmlAttrPtr) node)->atype == XML_ATTRIBUTE_ID)) { node 240 libxml/libxml.c xmlRemoveID(node->doc, (xmlAttrPtr) node); node 247 libxml/libxml.c php_libxml_node_free_list(node->children TSRMLS_CC); node 250 libxml/libxml.c php_libxml_node_free_list(node->children TSRMLS_CC); node 251 libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 254 libxml/libxml.c curnode = node->next; node 255 libxml/libxml.c xmlUnlinkNode(node); node 256 libxml/libxml.c if (php_libxml_unregister_node(node TSRMLS_CC) == 0) { node 257 libxml/libxml.c node->doc = NULL; node 259 libxml/libxml.c php_libxml_node_free(node); node 472 libxml/libxml.c error_copy.node = NULL; node 1147 libxml/libxml.c xmlNodePtr node = NULL; node 1156 libxml/libxml.c node = export_hnd->export_func(object TSRMLS_CC); node 1159 libxml/libxml.c return node; node 1166 libxml/libxml.c if (object != NULL && node != NULL) { node 1167 libxml/libxml.c if (object->node != NULL) { node 1168 libxml/libxml.c if (object->node->node == node) { node 1169 libxml/libxml.c return object->node->refcount; node 1174 libxml/libxml.c if (node->_private != NULL) { node 1175 libxml/libxml.c object->node = node->_private; node 1176 libxml/libxml.c ret_refcount = ++object->node->refcount; node 1178 libxml/libxml.c if (object->node->_private == NULL) { node 1179 libxml/libxml.c object->node->_private = private_data; node 1183 libxml/libxml.c object->node = emalloc(sizeof(php_libxml_node_ptr)); node 1184 libxml/libxml.c object->node->node = node; node 1185 libxml/libxml.c object->node->refcount = 1; node 1186 libxml/libxml.c object->node->_private = private_data; node 1187 libxml/libxml.c node->_private = object->node; node 1199 libxml/libxml.c if (object != NULL && object->node != NULL) { node 1200 libxml/libxml.c obj_node = (php_libxml_node_ptr *) object->node; node 1203 libxml/libxml.c if (obj_node->node != NULL) { node 1204 libxml/libxml.c obj_node->node->_private = NULL; node 1208 libxml/libxml.c object->node = NULL; node 1259 libxml/libxml.c if (!node) { node 1263 libxml/libxml.c switch (node->type) { node 1268 libxml/libxml.c if (node->parent == NULL || node->type == XML_NAMESPACE_DECL) { node 1269 libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->children TSRMLS_CC); node 1270 libxml/libxml.c switch (node->type) { node 1281 libxml/libxml.c php_libxml_node_free_list((xmlNodePtr) node->properties TSRMLS_CC); node 1283 libxml/libxml.c if (php_libxml_unregister_node(node TSRMLS_CC) == 0) { node 1284 libxml/libxml.c node->doc = NULL; node 1286 libxml/libxml.c php_libxml_node_free(node); node 1288 libxml/libxml.c php_libxml_unregister_node(node TSRMLS_CC); node 1299 libxml/libxml.c if (object != NULL && object->node != NULL) { node 1300 libxml/libxml.c obj_node = (php_libxml_node_ptr *) object->node; node 1301 libxml/libxml.c nodep = object->node->node; node 70 libxml/php_libxml.h xmlNodePtr node; node 77 libxml/php_libxml.h php_libxml_node_ptr *node; node 171 mbstring/oniguruma/regcomp.c uslist->us[uslist->num].target = node; node 351 mbstring/oniguruma/regcomp.c r = compile_tree(node, reg); node 376 mbstring/oniguruma/regcomp.c r = unset_addr_list_add(node->unset_addr_list, BBUF_GET_OFFSET_POS(reg), node 377 mbstring/oniguruma/regcomp.c node->target); node 390 mbstring/oniguruma/regcomp.c r = compile_tree(node, reg); node 443 mbstring/oniguruma/regcomp.c sn = &(NSTRING(node)); node 447 mbstring/oniguruma/regcomp.c ambig = NSTRING_IS_AMBIG(node); node 491 mbstring/oniguruma/regcomp.c sn = &(NSTRING(node)); node 496 mbstring/oniguruma/regcomp.c ambig = NSTRING_IS_AMBIG(node); node 1144 mbstring/oniguruma/regcomp.c reg->options = node->option; node 1145 mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1150 mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1164 mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1165 mbstring/oniguruma/regcomp.c r = add_opcode_option(reg, OP_SET_OPTION_PUSH, node->option); node 1173 mbstring/oniguruma/regcomp.c reg->options = node->option; node 1174 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1177 mbstring/oniguruma/regcomp.c if (IS_DYNAMIC_OPTION(prev ^ node->option)) { node 1190 mbstring/oniguruma/regcomp.c if (node->type == EFFECT_OPTION) node 1191 mbstring/oniguruma/regcomp.c return compile_length_option_node(node, reg); node 1193 mbstring/oniguruma/regcomp.c if (node->target) { node 1194 mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1200 mbstring/oniguruma/regcomp.c switch (node->type) { node 1203 mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1206 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1207 mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1210 mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1216 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_start, node->regnum)) node 1221 mbstring/oniguruma/regcomp.c len += tlen + (BIT_STATUS_AT(reg->bt_mem_end, node->regnum) node 1227 mbstring/oniguruma/regcomp.c if (IS_EFFECT_STOP_BT_SIMPLE_REPEAT(node)) { node 1228 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &NQUANTIFIER(node->target); node 1255 mbstring/oniguruma/regcomp.c if (node->type == EFFECT_OPTION) node 1256 mbstring/oniguruma/regcomp.c return compile_option_node(node, reg); node 1258 mbstring/oniguruma/regcomp.c switch (node->type) { node 1261 mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1264 mbstring/oniguruma/regcomp.c node->call_addr = BBUF_GET_OFFSET_POS(reg) + SIZE_ABSADDR + SIZE_OP_JUMP; node 1265 mbstring/oniguruma/regcomp.c node->state |= NST_ADDR_FIXED; node 1266 mbstring/oniguruma/regcomp.c r = add_abs_addr(reg, (int )node->call_addr); node 1268 mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1270 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1271 mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1274 mbstring/oniguruma/regcomp.c len += (IS_EFFECT_RECURSION(node) node 1281 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_start, node->regnum)) node 1286 mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1288 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1291 mbstring/oniguruma/regcomp.c if (IS_EFFECT_CALLED(node)) { node 1292 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1293 mbstring/oniguruma/regcomp.c r = add_opcode(reg, (IS_EFFECT_RECURSION(node) node 1296 mbstring/oniguruma/regcomp.c r = add_opcode(reg, (IS_EFFECT_RECURSION(node) node 1300 mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1307 mbstring/oniguruma/regcomp.c if (BIT_STATUS_AT(reg->bt_mem_end, node->regnum)) node 1312 mbstring/oniguruma/regcomp.c r = add_mem_num(reg, node->regnum); node 1317 mbstring/oniguruma/regcomp.c if (IS_EFFECT_STOP_BT_SIMPLE_REPEAT(node)) { node 1318 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &NQUANTIFIER(node->target); node 1337 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1357 mbstring/oniguruma/regcomp.c if (node->target) { node 1358 mbstring/oniguruma/regcomp.c tlen = compile_length_tree(node->target, reg); node 1362 mbstring/oniguruma/regcomp.c switch (node->type) { node 1389 mbstring/oniguruma/regcomp.c switch (node->type) { node 1407 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1413 mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1417 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1427 mbstring/oniguruma/regcomp.c if (node->char_len < 0) { node 1428 mbstring/oniguruma/regcomp.c r = get_char_length_tree(node->target, reg, &n); node 1432 mbstring/oniguruma/regcomp.c n = node->char_len; node 1435 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1442 mbstring/oniguruma/regcomp.c len = compile_length_tree(node->target, reg); node 1446 mbstring/oniguruma/regcomp.c if (node->char_len < 0) { node 1447 mbstring/oniguruma/regcomp.c r = get_char_length_tree(node->target, reg, &n); node 1451 mbstring/oniguruma/regcomp.c n = node->char_len; node 1454 mbstring/oniguruma/regcomp.c r = compile_tree(node->target, reg); node 1473 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 1478 mbstring/oniguruma/regcomp.c r = compile_length_tree(NCONS(node).left, reg); node 1481 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1491 mbstring/oniguruma/regcomp.c r += compile_length_tree(NCONS(node).left, reg); node 1493 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1499 mbstring/oniguruma/regcomp.c if (NSTRING_IS_RAW(node)) node 1500 mbstring/oniguruma/regcomp.c r = compile_length_string_raw_node(&(NSTRING(node)), reg); node 1502 mbstring/oniguruma/regcomp.c r = compile_length_string_node(node, reg); node 1506 mbstring/oniguruma/regcomp.c r = compile_length_cclass_node(&(NCCLASS(node)), reg); node 1516 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 1542 mbstring/oniguruma/regcomp.c r = compile_length_quantifier_node(&(NQUANTIFIER(node)), reg); node 1546 mbstring/oniguruma/regcomp.c r = compile_length_effect_node(&NEFFECT(node), reg); node 1550 mbstring/oniguruma/regcomp.c r = compile_length_anchor_node(&(NANCHOR(node)), reg); node 1566 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 1570 mbstring/oniguruma/regcomp.c r = compile_tree(NCONS(node).left, reg); node 1571 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1576 mbstring/oniguruma/regcomp.c Node* x = node; node 1587 mbstring/oniguruma/regcomp.c len = compile_length_tree(NCONS(node).left, reg); node 1588 mbstring/oniguruma/regcomp.c if (IS_NOT_NULL(NCONS(node).right)) { node 1592 mbstring/oniguruma/regcomp.c r = compile_tree(NCONS(node).left, reg); node 1594 mbstring/oniguruma/regcomp.c if (IS_NOT_NULL(NCONS(node).right)) { node 1599 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 1604 mbstring/oniguruma/regcomp.c if (NSTRING_IS_RAW(node)) node 1605 mbstring/oniguruma/regcomp.c r = compile_string_raw_node(&(NSTRING(node)), reg); node 1607 mbstring/oniguruma/regcomp.c r = compile_string_node(node, reg); node 1611 mbstring/oniguruma/regcomp.c r = compile_cclass_node(&(NCCLASS(node)), reg); node 1618 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 1638 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 1700 mbstring/oniguruma/regcomp.c r = compile_call(&(NCALL(node)), reg); node 1705 mbstring/oniguruma/regcomp.c r = compile_quantifier_node(&(NQUANTIFIER(node)), reg); node 1709 mbstring/oniguruma/regcomp.c r = compile_effect_node(&NEFFECT(node), reg); node 1713 mbstring/oniguruma/regcomp.c r = compile_anchor_node(&(NANCHOR(node)), reg); node 1718 mbstring/oniguruma/regcomp.c fprintf(stderr, "compile_tree: undefined node type %d\n", NTYPE(node)); node 1732 mbstring/oniguruma/regcomp.c Node* node = *plink; node 1734 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1738 mbstring/oniguruma/regcomp.c r = noname_disable_map(&(NCONS(node).left), map, counter); node 1739 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1744 mbstring/oniguruma/regcomp.c Node** ptarget = &(NQUANTIFIER(node).target); node 1748 mbstring/oniguruma/regcomp.c onig_reduce_nested_quantifier(node, *ptarget); node 1755 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 1766 mbstring/oniguruma/regcomp.c onig_node_free(node); node 1787 mbstring/oniguruma/regcomp.c BackrefNode* bn = &(NBACKREF(node)); node 1815 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1819 mbstring/oniguruma/regcomp.c r = renumber_by_map(NCONS(node).left, map); node 1820 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1823 mbstring/oniguruma/regcomp.c r = renumber_by_map(NQUANTIFIER(node).target, map); node 1826 mbstring/oniguruma/regcomp.c r = renumber_by_map(NEFFECT(node).target, map); node 1830 mbstring/oniguruma/regcomp.c r = renumber_node_backref(node, map); node 1845 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1849 mbstring/oniguruma/regcomp.c r = numbered_ref_check(NCONS(node).left); node 1850 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1853 mbstring/oniguruma/regcomp.c r = numbered_ref_check(NQUANTIFIER(node).target); node 1856 mbstring/oniguruma/regcomp.c r = numbered_ref_check(NEFFECT(node).target); node 1860 mbstring/oniguruma/regcomp.c if (! IS_BACKREF_NAME_REF(&(NBACKREF(node)))) node 1938 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 1944 mbstring/oniguruma/regcomp.c v = quantifiers_memory_node_info(NCONS(node).left); node 1946 mbstring/oniguruma/regcomp.c } while (v >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 1952 mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&NCALL(node))) { node 1956 mbstring/oniguruma/regcomp.c r = quantifiers_memory_node_info(NCALL(node).target); node 1962 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 1971 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2008 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2014 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 2032 mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&NCALL(node))) { node 2033 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(NCALL(node).target)); node 2038 mbstring/oniguruma/regcomp.c r = get_min_match_length(NCALL(node).target, min, env); node 2044 mbstring/oniguruma/regcomp.c r = get_min_match_length(NCONS(node).left, &tmin, env); node 2046 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2052 mbstring/oniguruma/regcomp.c y = node; node 2057 mbstring/oniguruma/regcomp.c if (y == node) *min = tmin; node 2065 mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2071 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2086 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 2098 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2108 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MIN_FIXED); node 2136 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2139 mbstring/oniguruma/regcomp.c r = get_max_match_length(NCONS(node).left, &tmax, env); node 2142 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2147 mbstring/oniguruma/regcomp.c r = get_max_match_length(NCONS(node).left, &tmax, env); node 2149 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2154 mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2160 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2181 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 2198 mbstring/oniguruma/regcomp.c if (! IS_CALL_RECURSION(&(NCALL(node)))) node 2199 mbstring/oniguruma/regcomp.c r = get_max_match_length(NCALL(node).target, max, env); node 2207 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 2223 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2233 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MAX_FIXED); node 2266 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2269 mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen, level); node 2272 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2280 mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen, level); node 2281 mbstring/oniguruma/regcomp.c while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)) { node 2282 mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCONS(node).left, reg, &tlen2, level); node 2303 mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2314 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 2327 mbstring/oniguruma/regcomp.c if (! IS_CALL_RECURSION(&(NCALL(node)))) node 2328 mbstring/oniguruma/regcomp.c r = get_char_length_tree1(NCALL(node).target, reg, len, level); node 2335 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 2350 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2360 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_CLEN_FIXED); node 2389 mbstring/oniguruma/regcomp.c return get_char_length_tree1(node, reg, len, 0); node 2582 mbstring/oniguruma/regcomp.c switch (NTYPE(node)) { node 2594 mbstring/oniguruma/regcomp.c n = node; node 2599 mbstring/oniguruma/regcomp.c n = get_head_value_node(NCONS(node).left, exact, reg); node 2604 mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 2610 mbstring/oniguruma/regcomp.c !NSTRING_IS_RAW(node) && IS_IGNORECASE(reg->options)) { node 2615 mbstring/oniguruma/regcomp.c n = node; node 2619 mbstring/oniguruma/regcomp.c n = node; node 2626 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 2638 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2644 mbstring/oniguruma/regcomp.c reg->options = NEFFECT(node).option; node 2645 mbstring/oniguruma/regcomp.c n = get_head_value_node(NEFFECT(node).target, exact, reg); node 2659 mbstring/oniguruma/regcomp.c if (NANCHOR(node).type == ANCHOR_PREC_READ) node 2660 mbstring/oniguruma/regcomp.c n = get_head_value_node(NANCHOR(node).target, exact, reg); node 2675 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2683 mbstring/oniguruma/regcomp.c r = check_type_tree(NCONS(node).left, type_mask, effect_mask, anchor_mask); node 2684 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2688 mbstring/oniguruma/regcomp.c r = check_type_tree(NQUANTIFIER(node).target, type_mask, effect_mask, node 2694 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2703 mbstring/oniguruma/regcomp.c type = NANCHOR(node).type; node 2707 mbstring/oniguruma/regcomp.c if (NANCHOR(node).target) node 2708 mbstring/oniguruma/regcomp.c r = check_type_tree(NANCHOR(node).target, node 2729 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2737 mbstring/oniguruma/regcomp.c x = node; node 2756 mbstring/oniguruma/regcomp.c ret = subexp_inf_recursive_check(NCONS(node).left, env, head); node 2759 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2764 mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NQUANTIFIER(node).target, env, head); node 2766 mbstring/oniguruma/regcomp.c if (NQUANTIFIER(node).lower == 0) r = 0; node 2772 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2785 mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NCALL(node).target, env, head); node 2789 mbstring/oniguruma/regcomp.c if (IS_EFFECT_MARK2(&(NEFFECT(node)))) node 2791 mbstring/oniguruma/regcomp.c else if (IS_EFFECT_MARK1(&(NEFFECT(node)))) node 2794 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK2); node 2795 mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check(NEFFECT(node).target, env, head); node 2796 mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK2); node 2813 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2818 mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check_trav(NCONS(node).left, env); node 2819 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 2823 mbstring/oniguruma/regcomp.c r = subexp_inf_recursive_check_trav(NQUANTIFIER(node).target, env); node 2828 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2842 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2845 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK1); node 2848 mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK1); node 2868 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2873 mbstring/oniguruma/regcomp.c r |= subexp_recursive_check(NCONS(node).left); node 2874 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2878 mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NQUANTIFIER(node).target); node 2883 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2896 mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NCALL(node).target); node 2897 mbstring/oniguruma/regcomp.c if (r != 0) SET_CALL_RECURSION(node); node 2901 mbstring/oniguruma/regcomp.c if (IS_EFFECT_MARK2(&(NEFFECT(node)))) node 2903 mbstring/oniguruma/regcomp.c else if (IS_EFFECT_MARK1(&(NEFFECT(node)))) node 2906 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK2); node 2907 mbstring/oniguruma/regcomp.c r = subexp_recursive_check(NEFFECT(node).target); node 2908 mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK2); node 2928 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2935 mbstring/oniguruma/regcomp.c ret = subexp_recursive_check_trav(NCONS(node).left, env); node 2938 mbstring/oniguruma/regcomp.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2943 mbstring/oniguruma/regcomp.c r = subexp_recursive_check_trav(NQUANTIFIER(node).target, env); node 2944 mbstring/oniguruma/regcomp.c if (NQUANTIFIER(node).upper == 0) { node 2946 mbstring/oniguruma/regcomp.c NQUANTIFIER(node).is_refered = 1; node 2952 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 2966 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 2970 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_MARK1); node 2972 mbstring/oniguruma/regcomp.c if (r != 0) SET_EFFECT_STATUS(node, NST_RECURSION); node 2973 mbstring/oniguruma/regcomp.c CLEAR_EFFECT_STATUS(node, NST_MARK1); node 2995 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 2999 mbstring/oniguruma/regcomp.c r = setup_subexp_call(NCONS(node).left, env); node 3000 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3005 mbstring/oniguruma/regcomp.c r = setup_subexp_call(NCONS(node).left, env); node 3006 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3010 mbstring/oniguruma/regcomp.c r = setup_subexp_call(NQUANTIFIER(node).target, env); node 3013 mbstring/oniguruma/regcomp.c r = setup_subexp_call(NEFFECT(node).target, env); node 3020 mbstring/oniguruma/regcomp.c CallNode* cn = &(NCALL(node)); node 3075 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3105 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3110 mbstring/oniguruma/regcomp.c tmp_node = *node; *node = *head; *head = tmp_node; node 3111 mbstring/oniguruma/regcomp.c NCONS(node).left = head; node 3114 mbstring/oniguruma/regcomp.c np = node; node 3123 mbstring/oniguruma/regcomp.c np = node; node 3135 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3144 mbstring/oniguruma/regcomp.c r = divide_look_behind_alternatives(node); node 3158 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3160 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 3177 mbstring/oniguruma/regcomp.c swap_node(node, en); node 3178 mbstring/oniguruma/regcomp.c NEFFECT(node).target = en; node 3186 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3188 mbstring/oniguruma/regcomp.c node = en->target; node 3238 mbstring/oniguruma/regcomp.c StrNode* sn = &NSTRING(node); node 3267 mbstring/oniguruma/regcomp.c NSTRING_SET_AMBIG(node); node 3274 mbstring/oniguruma/regcomp.c if (wp != sn->end) NSTRING_SET_AMBIG_REDUCE(node); node 3283 mbstring/oniguruma/regcomp.c swap_node(node, root); node 3306 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3312 mbstring/oniguruma/regcomp.c r = setup_comb_exp_check(NCONS(node).left, r, env); node 3313 mbstring/oniguruma/regcomp.c prev = NCONS(node).left; node 3314 mbstring/oniguruma/regcomp.c } while (r >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3322 mbstring/oniguruma/regcomp.c ret = setup_comb_exp_check(NCONS(node).left, state, env); node 3324 mbstring/oniguruma/regcomp.c } while (ret >= 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3332 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 3395 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3416 mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&(NCALL(node)))) node 3419 mbstring/oniguruma/regcomp.c r = setup_comb_exp_check(NCALL(node).target, state, env); node 3450 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 3456 mbstring/oniguruma/regcomp.c r = setup_tree(NCONS(node).left, reg, state, env); node 3458 mbstring/oniguruma/regcomp.c r = next_setup(prev, NCONS(node).left, reg); node 3460 mbstring/oniguruma/regcomp.c prev = NCONS(node).left; node 3461 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3467 mbstring/oniguruma/regcomp.c r = setup_tree(NCONS(node).left, reg, (state | IN_ALT), env); node 3468 mbstring/oniguruma/regcomp.c } while (r == 0 && IS_NOT_NULL(node = NCONS(node).right)); node 3475 mbstring/oniguruma/regcomp.c if (IS_IGNORECASE(reg->options) && !NSTRING_IS_RAW(node)) { node 3476 mbstring/oniguruma/regcomp.c r = divide_ambig_string_node(node, reg); node 3494 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 3513 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 3562 mbstring/oniguruma/regcomp.c onig_node_conv_to_str_node(node, NSTRING(target).flag); node 3564 mbstring/oniguruma/regcomp.c r = onig_node_str_cat(node, sn->s, sn->end); node 3592 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 3598 mbstring/oniguruma/regcomp.c reg->options = NEFFECT(node).option; node 3599 mbstring/oniguruma/regcomp.c r = setup_tree(NEFFECT(node).target, reg, state, env); node 3622 mbstring/oniguruma/regcomp.c SET_EFFECT_STATUS(node, NST_STOP_BT_SIMPLE_REPEAT); node 3633 mbstring/oniguruma/regcomp.c AnchorNode* an = &(NANCHOR(node)); node 3662 mbstring/oniguruma/regcomp.c r = setup_look_behind(node, reg, env); node 3674 mbstring/oniguruma/regcomp.c r = setup_look_behind(node, reg, env); node 4342 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 4348 mbstring/oniguruma/regcomp.c Node* nd = node; node 4364 mbstring/oniguruma/regcomp.c Node* nd = node; node 4369 mbstring/oniguruma/regcomp.c if (nd == node) copy_node_opt_info(opt, &nopt); node 4378 mbstring/oniguruma/regcomp.c StrNode* sn = &(NSTRING(node)); node 4380 mbstring/oniguruma/regcomp.c int is_raw = NSTRING_IS_RAW(node); node 4382 mbstring/oniguruma/regcomp.c if (! NSTRING_IS_AMBIG(node)) { node 4384 mbstring/oniguruma/regcomp.c NSTRING_IS_RAW(node), env->enc); node 4403 mbstring/oniguruma/regcomp.c if (NSTRING_IS_AMBIG_REDUCE(node)) { node 4421 mbstring/oniguruma/regcomp.c CClassNode* cc = &(NCCLASS(node)); node 4452 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 4486 mbstring/oniguruma/regcomp.c switch (NANCHOR(node).type) { node 4493 mbstring/oniguruma/regcomp.c add_opt_anc_info(&opt->anc, NANCHOR(node).type); node 4500 mbstring/oniguruma/regcomp.c r = optimize_node_left(NANCHOR(node).target, &nopt, env); node 4528 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 4553 mbstring/oniguruma/regcomp.c if (IS_CALL_RECURSION(&(NCALL(node)))) node 4557 mbstring/oniguruma/regcomp.c env->options = NEFFECT(NCALL(node).target).option; node 4558 mbstring/oniguruma/regcomp.c r = optimize_node_left(NCALL(node).target, opt, env); node 4569 mbstring/oniguruma/regcomp.c QuantifierNode* qn = &(NQUANTIFIER(node)); node 4619 mbstring/oniguruma/regcomp.c EffectNode* en = &(NEFFECT(node)); node 4666 mbstring/oniguruma/regcomp.c NTYPE(node)); node 4764 mbstring/oniguruma/regcomp.c r = optimize_node_left(node, &opt, &env); node 5885 mbstring/oniguruma/regcomp.c if (IS_NULL(node)) { node 5890 mbstring/oniguruma/regcomp.c type = NTYPE(node); node 5894 mbstring/oniguruma/regcomp.c if (NTYPE(node) == N_LIST) node 5895 mbstring/oniguruma/regcomp.c fprintf(f, "<list:%x>\n", (int )node); node 5897 mbstring/oniguruma/regcomp.c fprintf(f, "<alt:%x>\n", (int )node); node 5899 mbstring/oniguruma/regcomp.c print_indent_tree(f, NCONS(node).left, indent + add); node 5900 mbstring/oniguruma/regcomp.c while (IS_NOT_NULL(node = NCONS(node).right)) { node 5901 mbstring/oniguruma/regcomp.c if (NTYPE(node) != type) { node 5902 mbstring/oniguruma/regcomp.c fprintf(f, "ERROR: list/alt right is not a cons. %d\n", NTYPE(node)); node 5905 mbstring/oniguruma/regcomp.c print_indent_tree(f, NCONS(node).left, indent + add); node 5911 mbstring/oniguruma/regcomp.c (NSTRING_IS_RAW(node) ? "-raw" : ""), (int )node); node 5912 mbstring/oniguruma/regcomp.c for (p = NSTRING(node).s; p < NSTRING(node).end; p++) { node 5922 mbstring/oniguruma/regcomp.c fprintf(f, "<cclass:%x>", (int )node); node 5923 mbstring/oniguruma/regcomp.c if (IS_CCLASS_NOT(&NCCLASS(node))) fputs(" not", f); node 5924 mbstring/oniguruma/regcomp.c if (NCCLASS(node).mbuf) { node 5925 mbstring/oniguruma/regcomp.c BBuf* bbuf = NCCLASS(node).mbuf; node 5934 mbstring/oniguruma/regcomp.c fprintf(f, "<ctype:%x> ", (int )node); node 5935 mbstring/oniguruma/regcomp.c switch (NCTYPE(node).type) { node 5945 mbstring/oniguruma/regcomp.c fprintf(f, "<anychar:%x>", (int )node); node 5949 mbstring/oniguruma/regcomp.c fprintf(f, "<anchor:%x> ", (int )node); node 5950 mbstring/oniguruma/regcomp.c switch (NANCHOR(node).type) { node 5978 mbstring/oniguruma/regcomp.c BackrefNode* br = &(NBACKREF(node)); node 5980 mbstring/oniguruma/regcomp.c fprintf(f, "<backref:%x>", (int )node); node 5991 mbstring/oniguruma/regcomp.c CallNode* cn = &(NCALL(node)); node 5992 mbstring/oniguruma/regcomp.c fprintf(f, "<call:%x>", (int )node); node 5999 mbstring/oniguruma/regcomp.c fprintf(f, "<quantifier:%x>{%d,%d}%s\n", (int )node, node 6000 mbstring/oniguruma/regcomp.c NQUANTIFIER(node).lower, NQUANTIFIER(node).upper, node 6001 mbstring/oniguruma/regcomp.c (NQUANTIFIER(node).greedy ? "" : "?")); node 6002 mbstring/oniguruma/regcomp.c print_indent_tree(f, NQUANTIFIER(node).target, indent + add); node 6006 mbstring/oniguruma/regcomp.c fprintf(f, "<effect:%x> ", (int )node); node 6007 mbstring/oniguruma/regcomp.c switch (NEFFECT(node).type) { node 6009 mbstring/oniguruma/regcomp.c fprintf(f, "option:%d\n", NEFFECT(node).option); node 6010 mbstring/oniguruma/regcomp.c print_indent_tree(f, NEFFECT(node).target, indent + add); node 6013 mbstring/oniguruma/regcomp.c fprintf(f, "memory:%d", NEFFECT(node).regnum); node 6023 mbstring/oniguruma/regcomp.c print_indent_tree(f, NEFFECT(node).target, indent + add); node 6027 mbstring/oniguruma/regcomp.c fprintf(f, "print_indent_tree: undefined node type %d\n", NTYPE(node)); node 6042 mbstring/oniguruma/regcomp.c print_indent_tree(f, node, 0); node 46 mbstring/oniguruma/regexec.c if (IS_NOT_NULL(node)) { node 47 mbstring/oniguruma/regexec.c for (i = 0; i < node->num_childs; i++) { node 48 mbstring/oniguruma/regexec.c if (IS_NOT_NULL(node->childs[i])) { node 49 mbstring/oniguruma/regexec.c history_tree_free(node->childs[i]); node 52 mbstring/oniguruma/regexec.c for (i = 0; i < node->allocated; i++) { node 53 mbstring/oniguruma/regexec.c node->childs[i] = (OnigCaptureTreeNode* )0; node 55 mbstring/oniguruma/regexec.c node->num_childs = 0; node 56 mbstring/oniguruma/regexec.c node->beg = ONIG_REGION_NOTPOS; node 57 mbstring/oniguruma/regexec.c node->end = ONIG_REGION_NOTPOS; node 58 mbstring/oniguruma/regexec.c node->group = -1; node 65 mbstring/oniguruma/regexec.c history_tree_clear(node); node 66 mbstring/oniguruma/regexec.c xfree(node); node 81 mbstring/oniguruma/regexec.c OnigCaptureTreeNode* node; node 83 mbstring/oniguruma/regexec.c node = (OnigCaptureTreeNode* )xmalloc(sizeof(OnigCaptureTreeNode)); node 84 mbstring/oniguruma/regexec.c CHECK_NULL_RETURN(node); node 85 mbstring/oniguruma/regexec.c node->childs = (OnigCaptureTreeNode** )0; node 86 mbstring/oniguruma/regexec.c node->allocated = 0; node 87 mbstring/oniguruma/regexec.c node->num_childs = 0; node 88 mbstring/oniguruma/regexec.c node->group = -1; node 89 mbstring/oniguruma/regexec.c node->beg = ONIG_REGION_NOTPOS; node 90 mbstring/oniguruma/regexec.c node->end = ONIG_REGION_NOTPOS; node 92 mbstring/oniguruma/regexec.c return node; node 135 mbstring/oniguruma/regexec.c clone->beg = node->beg; node 136 mbstring/oniguruma/regexec.c clone->end = node->end; node 137 mbstring/oniguruma/regexec.c for (i = 0; i < node->num_childs; i++) { node 138 mbstring/oniguruma/regexec.c child = history_tree_clone(node->childs[i]); node 1103 mbstring/oniguruma/regexec.c r = history_tree_add_child(node, child); node 1114 mbstring/oniguruma/regexec.c if (k->u.mem.num == node->group) { node 1115 mbstring/oniguruma/regexec.c node->end = (int )(k->u.mem.pstr - str); node 1560 mbstring/oniguruma/regexec.c OnigCaptureTreeNode* node; node 1563 mbstring/oniguruma/regexec.c region->history_root = node = history_node_new(); node 1564 mbstring/oniguruma/regexec.c CHECK_NULL_RETURN_VAL(node, ONIGERR_MEMORY); node 1567 mbstring/oniguruma/regexec.c node = region->history_root; node 1568 mbstring/oniguruma/regexec.c history_tree_clear(node); node 1571 mbstring/oniguruma/regexec.c node->group = 0; node 1572 mbstring/oniguruma/regexec.c node->beg = sstart - str; node 1573 mbstring/oniguruma/regexec.c node->end = s - str; node 1952 mbstring/oniguruma/regexec.c void *node; node 1957 mbstring/oniguruma/regexec.c GET_POINTER_INC(node, p); node 1963 mbstring/oniguruma/regexec.c if (is_code_in_cc(mb_len, code, node) == 0) goto fail; node 989 mbstring/oniguruma/regparse.c SCANENV_MEM_NODES(env)[num] = node; node 1008 mbstring/oniguruma/regparse.c if (IS_NULL(node)) return ; node 1010 mbstring/oniguruma/regparse.c switch (NTYPE(node)) { node 1012 mbstring/oniguruma/regparse.c if (IS_NOT_NULL(NSTRING(node).s) && NSTRING(node).s != NSTRING(node).buf) { node 1013 mbstring/oniguruma/regparse.c xfree(NSTRING(node).s); node 1019 mbstring/oniguruma/regparse.c onig_node_free(NCONS(node).left); node 1022 mbstring/oniguruma/regparse.c Node* next_node = NCONS(node).right; node 1026 mbstring/oniguruma/regparse.c FreeNode* n = (FreeNode* )node; node 1034 mbstring/oniguruma/regparse.c xfree(node); node 1037 mbstring/oniguruma/regparse.c node = next_node; node 1044 mbstring/oniguruma/regparse.c CClassNode* cc = &(NCCLASS(node)); node 1055 mbstring/oniguruma/regparse.c if (NQUANTIFIER(node).target) node 1056 mbstring/oniguruma/regparse.c onig_node_free(NQUANTIFIER(node).target); node 1060 mbstring/oniguruma/regparse.c if (NEFFECT(node).target) node 1061 mbstring/oniguruma/regparse.c onig_node_free(NEFFECT(node).target); node 1065 mbstring/oniguruma/regparse.c if (IS_NOT_NULL(NBACKREF(node).back_dynamic)) node 1066 mbstring/oniguruma/regparse.c xfree(NBACKREF(node).back_dynamic); node 1070 mbstring/oniguruma/regparse.c if (NANCHOR(node).target) node 1071 mbstring/oniguruma/regparse.c onig_node_free(NANCHOR(node).target); node 1077 mbstring/oniguruma/regparse.c FreeNode* n = (FreeNode* )node; node 1085 mbstring/oniguruma/regparse.c xfree(node); node 1109 mbstring/oniguruma/regparse.c Node* node; node 1114 mbstring/oniguruma/regparse.c node = (Node* )FreeNodeList; node 1117 mbstring/oniguruma/regparse.c return node; node 1122 mbstring/oniguruma/regparse.c node = (Node* )xmalloc(sizeof(Node)); node 1123 mbstring/oniguruma/regparse.c return node; node 1138 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1139 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1140 mbstring/oniguruma/regparse.c node->type = N_CCLASS; node 1142 mbstring/oniguruma/regparse.c initialize_cclass(&(NCCLASS(node))); node 1143 mbstring/oniguruma/regparse.c return node; node 1153 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1154 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1155 mbstring/oniguruma/regparse.c node->type = N_CCLASS; node 1157 mbstring/oniguruma/regparse.c cc = &(NCCLASS(node)); node 1191 mbstring/oniguruma/regparse.c return node; node 1197 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1198 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1199 mbstring/oniguruma/regparse.c node->type = N_CTYPE; node 1200 mbstring/oniguruma/regparse.c NCTYPE(node).type = type; node 1201 mbstring/oniguruma/regparse.c return node; node 1207 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1208 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1209 mbstring/oniguruma/regparse.c node->type = N_ANYCHAR; node 1210 mbstring/oniguruma/regparse.c return node; node 1216 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1217 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1218 mbstring/oniguruma/regparse.c node->type = N_LIST; node 1219 mbstring/oniguruma/regparse.c NCONS(node).left = left; node 1220 mbstring/oniguruma/regparse.c NCONS(node).right = right; node 1221 mbstring/oniguruma/regparse.c return node; node 1233 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1234 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1235 mbstring/oniguruma/regparse.c node->type = N_ALT; node 1236 mbstring/oniguruma/regparse.c NCONS(node).left = left; node 1237 mbstring/oniguruma/regparse.c NCONS(node).right = right; node 1238 mbstring/oniguruma/regparse.c return node; node 1244 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1245 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1246 mbstring/oniguruma/regparse.c node->type = N_ANCHOR; node 1247 mbstring/oniguruma/regparse.c NANCHOR(node).type = type; node 1248 mbstring/oniguruma/regparse.c NANCHOR(node).target = NULL; node 1249 mbstring/oniguruma/regparse.c NANCHOR(node).char_len = -1; node 1250 mbstring/oniguruma/regparse.c return node; node 1261 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1263 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1264 mbstring/oniguruma/regparse.c node->type = N_BACKREF; node 1265 mbstring/oniguruma/regparse.c NBACKREF(node).state = 0; node 1266 mbstring/oniguruma/regparse.c NBACKREF(node).back_num = back_num; node 1267 mbstring/oniguruma/regparse.c NBACKREF(node).back_dynamic = (int* )NULL; node 1269 mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_NAME_REF; node 1273 mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_NEST_LEVEL; node 1274 mbstring/oniguruma/regparse.c NBACKREF(node).nest_level = nest_level; node 1281 mbstring/oniguruma/regparse.c NBACKREF(node).state |= NST_RECURSION; /* /...(\1).../ */ node 1288 mbstring/oniguruma/regparse.c NBACKREF(node).back_static[i] = backrefs[i]; node 1293 mbstring/oniguruma/regparse.c onig_node_free(node); node 1296 mbstring/oniguruma/regparse.c NBACKREF(node).back_dynamic = p; node 1300 mbstring/oniguruma/regparse.c return node; node 1307 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1308 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1310 mbstring/oniguruma/regparse.c node->type = N_CALL; node 1311 mbstring/oniguruma/regparse.c NCALL(node).state = 0; node 1312 mbstring/oniguruma/regparse.c NCALL(node).ref_num = CALLNODE_REFNUM_UNDEF; node 1313 mbstring/oniguruma/regparse.c NCALL(node).target = NULL_NODE; node 1314 mbstring/oniguruma/regparse.c NCALL(node).name = name; node 1315 mbstring/oniguruma/regparse.c NCALL(node).name_end = name_end; node 1316 mbstring/oniguruma/regparse.c return node; node 1323 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1324 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1325 mbstring/oniguruma/regparse.c node->type = N_QUANTIFIER; node 1326 mbstring/oniguruma/regparse.c NQUANTIFIER(node).state = 0; node 1327 mbstring/oniguruma/regparse.c NQUANTIFIER(node).target = NULL; node 1328 mbstring/oniguruma/regparse.c NQUANTIFIER(node).lower = lower; node 1329 mbstring/oniguruma/regparse.c NQUANTIFIER(node).upper = upper; node 1330 mbstring/oniguruma/regparse.c NQUANTIFIER(node).greedy = 1; node 1331 mbstring/oniguruma/regparse.c NQUANTIFIER(node).target_empty_info = NQ_TARGET_ISNOT_EMPTY; node 1332 mbstring/oniguruma/regparse.c NQUANTIFIER(node).head_exact = NULL_NODE; node 1333 mbstring/oniguruma/regparse.c NQUANTIFIER(node).next_head_exact = NULL_NODE; node 1334 mbstring/oniguruma/regparse.c NQUANTIFIER(node).is_refered = 0; node 1336 mbstring/oniguruma/regparse.c NQUANTIFIER(node).state |= NST_BY_NUMBER; node 1339 mbstring/oniguruma/regparse.c NQUANTIFIER(node).comb_exp_check_num = 0; node 1342 mbstring/oniguruma/regparse.c return node; node 1348 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1349 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1350 mbstring/oniguruma/regparse.c node->type = N_EFFECT; node 1351 mbstring/oniguruma/regparse.c NEFFECT(node).type = type; node 1352 mbstring/oniguruma/regparse.c NEFFECT(node).state = 0; node 1353 mbstring/oniguruma/regparse.c NEFFECT(node).regnum = 0; node 1354 mbstring/oniguruma/regparse.c NEFFECT(node).option = 0; node 1355 mbstring/oniguruma/regparse.c NEFFECT(node).target = NULL; node 1356 mbstring/oniguruma/regparse.c NEFFECT(node).call_addr = -1; node 1357 mbstring/oniguruma/regparse.c NEFFECT(node).opt_count = 0; node 1358 mbstring/oniguruma/regparse.c return node; node 1370 mbstring/oniguruma/regparse.c Node* node = node_new_effect(EFFECT_MEMORY); node 1371 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1373 mbstring/oniguruma/regparse.c SET_EFFECT_STATUS(node, NST_NAMED_GROUP); node 1376 mbstring/oniguruma/regparse.c NEFFECT(node).option = option; node 1378 mbstring/oniguruma/regparse.c return node; node 1384 mbstring/oniguruma/regparse.c Node* node = node_new_effect(EFFECT_OPTION); node 1385 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1386 mbstring/oniguruma/regparse.c NEFFECT(node).option = option; node 1387 mbstring/oniguruma/regparse.c return node; node 1396 mbstring/oniguruma/regparse.c int len = NSTRING(node).end - NSTRING(node).s; node 1398 mbstring/oniguruma/regparse.c if (NSTRING(node).capa > 0 || (len + addlen > NODE_STR_BUF_SIZE - 1)) { node 1402 mbstring/oniguruma/regparse.c if (capa <= NSTRING(node).capa) { node 1403 mbstring/oniguruma/regparse.c k_strcpy(NSTRING(node).s + len, s, end); node 1406 mbstring/oniguruma/regparse.c if (NSTRING(node).s == NSTRING(node).buf) node 1407 mbstring/oniguruma/regparse.c p = strcat_capa_from_static(NSTRING(node).s, NSTRING(node).end, node 1410 mbstring/oniguruma/regparse.c p = k_strcat_capa(NSTRING(node).s, NSTRING(node).end, s, end, capa); node 1413 mbstring/oniguruma/regparse.c NSTRING(node).s = p; node 1414 mbstring/oniguruma/regparse.c NSTRING(node).capa = capa; node 1418 mbstring/oniguruma/regparse.c k_strcpy(NSTRING(node).s + len, s, end); node 1420 mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).s + len + addlen; node 1432 mbstring/oniguruma/regparse.c return onig_node_str_cat(node, s, s + 1); node 1438 mbstring/oniguruma/regparse.c node->type = N_STRING; node 1440 mbstring/oniguruma/regparse.c NSTRING(node).flag = flag; node 1441 mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1442 mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1443 mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1449 mbstring/oniguruma/regparse.c if (NSTRING(node).capa != 0 && node 1450 mbstring/oniguruma/regparse.c IS_NOT_NULL(NSTRING(node).s) && NSTRING(node).s != NSTRING(node).buf) { node 1451 mbstring/oniguruma/regparse.c xfree(NSTRING(node).s); node 1454 mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1455 mbstring/oniguruma/regparse.c NSTRING(node).flag = 0; node 1456 mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1457 mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1463 mbstring/oniguruma/regparse.c Node* node = node_new(); node 1464 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN(node); node 1466 mbstring/oniguruma/regparse.c node->type = N_STRING; node 1467 mbstring/oniguruma/regparse.c NSTRING(node).capa = 0; node 1468 mbstring/oniguruma/regparse.c NSTRING(node).flag = 0; node 1469 mbstring/oniguruma/regparse.c NSTRING(node).s = NSTRING(node).buf; node 1470 mbstring/oniguruma/regparse.c NSTRING(node).end = NSTRING(node).buf; node 1471 mbstring/oniguruma/regparse.c if (onig_node_str_cat(node, s, end)) { node 1472 mbstring/oniguruma/regparse.c onig_node_free(node); node 1475 mbstring/oniguruma/regparse.c return node; node 1488 mbstring/oniguruma/regparse.c Node* node = node_new_str(s, end); node 1489 mbstring/oniguruma/regparse.c NSTRING_SET_RAW(node); node 1490 mbstring/oniguruma/regparse.c return node; node 2091 mbstring/oniguruma/regparse.c switch (NTYPE(node)) { node 2097 mbstring/oniguruma/regparse.c if (NEFFECT(node).type == EFFECT_OPTION) node 2098 mbstring/oniguruma/regparse.c return is_invalid_quantifier_target(NEFFECT(node).target); node 2103 mbstring/oniguruma/regparse.c if (! is_invalid_quantifier_target(NCONS(node).left)) return 0; node 2104 mbstring/oniguruma/regparse.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 2110 mbstring/oniguruma/regparse.c if (is_invalid_quantifier_target(NCONS(node).left)) return 1; node 2111 mbstring/oniguruma/regparse.c } while (IS_NOT_NULL(node = NCONS(node).right)); node 4067 mbstring/oniguruma/regparse.c Node* node; node 4096 mbstring/oniguruma/regparse.c *np = node = node_new_cclass(); node 4097 mbstring/oniguruma/regparse.c CHECK_NULL_RETURN_VAL(node, ONIGERR_MEMORY); node 4098 mbstring/oniguruma/regparse.c cc = &(NCCLASS(node)); node 4760 mbstring/oniguruma/regparse.c if (IS_NOT_NULL(node)) { node 4761 mbstring/oniguruma/regparse.c CClassNode* cc = &(NCCLASS(node)); node 4763 mbstring/oniguruma/regparse.c xfree(node); node 5168 mbstring/oniguruma/regparse.c Node *node, **headp; node 5171 mbstring/oniguruma/regparse.c r = parse_exp(&node, tok, term, src, end, env); node 5175 mbstring/oniguruma/regparse.c *top = node; node 5178 mbstring/oniguruma/regparse.c *top = node_new_list(node, NULL); node 5181 mbstring/oniguruma/regparse.c r = parse_exp(&node, tok, term, src, end, env); node 5184 mbstring/oniguruma/regparse.c if (NTYPE(node) == N_LIST) { node 5185 mbstring/oniguruma/regparse.c *headp = node; node 5186 mbstring/oniguruma/regparse.c while (IS_NOT_NULL(NCONS(node).right)) node = NCONS(node).right; node 5187 mbstring/oniguruma/regparse.c headp = &(NCONS(node).right); node 5190 mbstring/oniguruma/regparse.c *headp = node_new_list(node, NULL); node 5205 mbstring/oniguruma/regparse.c Node *node, **headp; node 5208 mbstring/oniguruma/regparse.c r = parse_branch(&node, tok, term, src, end, env); node 5210 mbstring/oniguruma/regparse.c onig_node_free(node); node 5215 mbstring/oniguruma/regparse.c *top = node; node 5218 mbstring/oniguruma/regparse.c *top = node_new_alt(node, NULL); node 5223 mbstring/oniguruma/regparse.c r = parse_branch(&node, tok, term, src, end, env); node 5226 mbstring/oniguruma/regparse.c *headp = node_new_alt(node, NULL); node 50 mbstring/oniguruma/regparse.h #define NTYPE(node) ((node)->type) node 51 mbstring/oniguruma/regparse.h #define NCONS(node) ((node)->u.cons) node 52 mbstring/oniguruma/regparse.h #define NSTRING(node) ((node)->u.str) node 53 mbstring/oniguruma/regparse.h #define NCCLASS(node) ((node)->u.cclass) node 54 mbstring/oniguruma/regparse.h #define NCTYPE(node) ((node)->u.ctype) node 55 mbstring/oniguruma/regparse.h #define NQUANTIFIER(node) ((node)->u.quantifier) node 56 mbstring/oniguruma/regparse.h #define NANCHOR(node) ((node)->u.anchor) node 57 mbstring/oniguruma/regparse.h #define NBACKREF(node) ((node)->u.backref) node 58 mbstring/oniguruma/regparse.h #define NEFFECT(node) ((node)->u.effect) node 59 mbstring/oniguruma/regparse.h #define NCALL(node) ((node)->u.call) node 85 mbstring/oniguruma/regparse.h #define NSTRING_LEN(node) ((node)->u.str.end - (node)->u.str.s) node 86 mbstring/oniguruma/regparse.h #define NSTRING_SET_RAW(node) (node)->u.str.flag |= NSTR_RAW node 87 mbstring/oniguruma/regparse.h #define NSTRING_CLEAR_RAW(node) (node)->u.str.flag &= ~NSTR_RAW node 88 mbstring/oniguruma/regparse.h #define NSTRING_SET_AMBIG(node) (node)->u.str.flag |= NSTR_AMBIG node 89 mbstring/oniguruma/regparse.h #define NSTRING_SET_AMBIG_REDUCE(node) (node)->u.str.flag |= NSTR_AMBIG_REDUCE node 90 mbstring/oniguruma/regparse.h #define NSTRING_IS_RAW(node) (((node)->u.str.flag & NSTR_RAW) != 0) node 91 mbstring/oniguruma/regparse.h #define NSTRING_IS_AMBIG(node) (((node)->u.str.flag & NSTR_AMBIG) != 0) node 93 mbstring/oniguruma/regparse.h (((node)->u.str.flag & NSTR_AMBIG_REDUCE) != 0) node 153 mbstring/oniguruma/regparse.h #define SET_EFFECT_STATUS(node,f) (node)->u.effect.state |= (f) node 154 mbstring/oniguruma/regparse.h #define CLEAR_EFFECT_STATUS(node,f) (node)->u.effect.state &= ~(f) node 168 mbstring/oniguruma/regparse.h #define SET_CALL_RECURSION(node) (node)->u.call.state |= NST_RECURSION node 41 mbstring/oniguruma/regtrav.c if (node == (OnigCaptureTreeNode* )0) node 45 mbstring/oniguruma/regtrav.c r = (*callback_func)(node->group, node->beg, node->end, node 50 mbstring/oniguruma/regtrav.c for (i = 0; i < node->num_childs; i++) { node 51 mbstring/oniguruma/regtrav.c r = capture_tree_traverse(node->childs[i], at, node 57 mbstring/oniguruma/regtrav.c r = (*callback_func)(node->group, node->beg, node->end, node 59 simplexml/php_simplexml.h php_libxml_node_ptr *node; node 34 simplexml/php_simplexml_exports.h if ((__s)->node && (__s)->node->node) { \ node 35 simplexml/php_simplexml_exports.h __n = (__s)->node->node; \ node 84 simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)subnode, node, NULL TSRMLS_CC); node 103 simplexml/simplexml.c if ((__s)->node && (__s)->node->node) { \ node 104 simplexml/simplexml.c __n = (__s)->node->node; \ node 124 simplexml/simplexml.c return node; node 131 simplexml/simplexml.c if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) { node 135 simplexml/simplexml.c if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) { node 152 simplexml/simplexml.c return node; node 157 simplexml/simplexml.c while (node && nodendx <= offset) { node 158 simplexml/simplexml.c SKIP_TEXT(node) node 159 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 161 simplexml/simplexml.c sxe->iter.type == SXE_ITER_ELEMENT && !xmlStrcmp(node->name, sxe->iter.name))) { node 169 simplexml/simplexml.c node = node->next; node 176 simplexml/simplexml.c return node; node 182 simplexml/simplexml.c while (node) { node 183 simplexml/simplexml.c SKIP_TEXT(node) node 184 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 185 simplexml/simplexml.c if (!xmlStrcmp(node->name, name)) { node 186 simplexml/simplexml.c return node; node 190 simplexml/simplexml.c node = node->next; node 198 simplexml/simplexml.c xmlNodePtr orgnode = node; node 207 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 212 simplexml/simplexml.c orgnode = sxe_find_element_by_name(sxe, node, sxe->iter.name TSRMLS_CC); node 216 simplexml/simplexml.c node = orgnode->children; node 219 simplexml/simplexml.c while (node) { node 220 simplexml/simplexml.c SKIP_TEXT(node) node 221 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix)) { node 222 simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)*name)) { node 228 simplexml/simplexml.c retnode = node; node 232 simplexml/simplexml.c node = node->next; node 253 simplexml/simplexml.c xmlNodePtr node; node 281 simplexml/simplexml.c GET_NODE(sxe, node); node 286 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 287 simplexml/simplexml.c attr = (xmlAttrPtr)node; node 290 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 291 simplexml/simplexml.c attr = node ? node->properties : NULL; node 293 simplexml/simplexml.c if (!member && node && node->parent && node 294 simplexml/simplexml.c node->parent->type == XML_DOCUMENT_NODE) { node 304 simplexml/simplexml.c if (node) { node 331 simplexml/simplexml.c if (!sxe->node) { node 332 simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)sxe, node, NULL TSRMLS_CC); node 336 simplexml/simplexml.c xmlNodePtr mynode = node; node 339 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 346 simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); node 348 simplexml/simplexml.c node = NULL; node 350 simplexml/simplexml.c if (node) { node 351 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 356 simplexml/simplexml.c node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL); node 357 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 363 simplexml/simplexml.c GET_NODE(sxe, node); node 364 simplexml/simplexml.c node = sxe_get_element_by_name(sxe, node, &name, &newtype TSRMLS_CC); node 365 simplexml/simplexml.c if (node) { node 366 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, newtype, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 369 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_ELEMENT, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 416 simplexml/simplexml.c xmlNodeSetContentLen(node, (xmlChar *)"", 0); node 432 simplexml/simplexml.c buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value)); node 436 simplexml/simplexml.c xmlNodeSetContentLen(node, buffer, buffer_len); node 455 simplexml/simplexml.c xmlNodePtr node; node 502 simplexml/simplexml.c GET_NODE(sxe, node); node 507 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 508 simplexml/simplexml.c attr = (xmlAttrPtr)node; node 511 simplexml/simplexml.c mynode = node; node 512 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 513 simplexml/simplexml.c attr = node ? node->properties : NULL; node 515 simplexml/simplexml.c if (!member && node && node->parent && node 516 simplexml/simplexml.c node->parent->type == XML_DOCUMENT_NODE) { node 524 simplexml/simplexml.c if (attribs && !node && sxe->iter.type == SXE_ITER_ELEMENT) { node 525 simplexml/simplexml.c node = xmlNewChild(mynode, mynode->ns, sxe->iter.name, NULL); node 526 simplexml/simplexml.c attr = node->properties; node 530 simplexml/simplexml.c mynode = node; node 564 simplexml/simplexml.c if (node) { node 593 simplexml/simplexml.c if (node->type == XML_ATTRIBUTE_NODE) { node 599 simplexml/simplexml.c newnode = node; node 606 simplexml/simplexml.c newnode = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, &cnt); node 612 simplexml/simplexml.c node = node->children; node 613 simplexml/simplexml.c while (node) { node 614 simplexml/simplexml.c SKIP_TEXT(node); node 616 simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 617 simplexml/simplexml.c newnode = node; node 622 simplexml/simplexml.c node = node->next; node 642 simplexml/simplexml.c if (!node) { node 660 simplexml/simplexml.c newnode = (xmlNodePtr)xmlNewProp(node, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVAL_P(value) : NULL); node 700 simplexml/simplexml.c xmlNodePtr node; node 707 simplexml/simplexml.c GET_NODE(sxe, node); node 710 simplexml/simplexml.c node = sxe_get_element_by_name(sxe, node, &name, &type TSRMLS_CC); node 711 simplexml/simplexml.c if (node) { node 714 simplexml/simplexml.c if (sxe_prop_dim_write(object, member, NULL, 1, 0, &node TSRMLS_CC) != SUCCESS) { node 721 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, type, name, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 739 simplexml/simplexml.c xmlNodePtr node; node 754 simplexml/simplexml.c GET_NODE(sxe, node); node 761 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 769 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 770 simplexml/simplexml.c attr = (xmlAttrPtr)node; node 773 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 774 simplexml/simplexml.c attr = node ? node->properties : NULL; node 778 simplexml/simplexml.c if (node) { node 813 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 815 simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, NULL); node 818 simplexml/simplexml.c node = node->children; node 819 simplexml/simplexml.c while (node) { node 821 simplexml/simplexml.c nnext = node->next; node 822 simplexml/simplexml.c if ((node->type == XML_ELEMENT_NODE) && !xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 825 simplexml/simplexml.c node = nnext; node 828 simplexml/simplexml.c if (node) { node 831 simplexml/simplexml.c (!node->children || (node->children->type == XML_TEXT_NODE && !node->children->next && node 832 simplexml/simplexml.c (!node->children->content || !node->children->content[0] || !xmlStrcmp(node->children->content, "0")))) ) { node 868 simplexml/simplexml.c xmlNodePtr node; node 884 simplexml/simplexml.c GET_NODE(sxe, node); node 891 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 899 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 900 simplexml/simplexml.c attr = (xmlAttrPtr)node; node 903 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 904 simplexml/simplexml.c attr = node ? node->properties : NULL; node 908 simplexml/simplexml.c if (node) { node 940 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 942 simplexml/simplexml.c node = sxe_get_element_by_offset(sxe, Z_LVAL_P(member), node, NULL); node 943 simplexml/simplexml.c if (node) { node 944 simplexml/simplexml.c xmlUnlinkNode(node); node 945 simplexml/simplexml.c php_libxml_node_free_resource(node TSRMLS_CC); node 948 simplexml/simplexml.c node = node->children; node 949 simplexml/simplexml.c while (node) { node 950 simplexml/simplexml.c nnext = node->next; node 952 simplexml/simplexml.c SKIP_TEXT(node); node 954 simplexml/simplexml.c if (!xmlStrcmp(node->name, (xmlChar *)Z_STRVAL_P(member))) { node 955 simplexml/simplexml.c xmlUnlinkNode(node); node 956 simplexml/simplexml.c php_libxml_node_free_resource(node TSRMLS_CC); node 960 simplexml/simplexml.c node = nnext; node 1013 simplexml/simplexml.c if (node->children && node->children->type == XML_TEXT_NODE && !xmlIsBlankNode(node->children)) { node 1014 simplexml/simplexml.c contents = xmlNodeListGetString(node->doc, node->children, 1); node 1027 simplexml/simplexml.c php_libxml_increment_node_ptr((php_libxml_node_object *)subnode, node, NULL TSRMLS_CC); node 1068 simplexml/simplexml.c xmlNodePtr node; node 1092 simplexml/simplexml.c GET_NODE(sxe, node); node 1093 simplexml/simplexml.c if (!node) { node 1098 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1100 simplexml/simplexml.c if (!node || node->type != XML_ENTITY_DECL) { node 1101 simplexml/simplexml.c attr = node ? (xmlAttrPtr)node->properties : NULL; node 1121 simplexml/simplexml.c GET_NODE(sxe, node); node 1122 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1124 simplexml/simplexml.c if (node && sxe->iter.type != SXE_ITER_ATTRLIST) { node 1125 simplexml/simplexml.c if (node->type == XML_ATTRIBUTE_NODE) { node 1127 simplexml/simplexml.c ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node->children, 1), 0); node 1129 simplexml/simplexml.c node = NULL; node 1132 simplexml/simplexml.c if ( !node->children || !node->parent || node->children->next || node->children->children || node->parent->children == node->parent->last ) { node 1133 simplexml/simplexml.c node = node->children; node 1138 simplexml/simplexml.c node = php_sxe_reset_iterator(sxe, 0 TSRMLS_CC); node 1144 simplexml/simplexml.c while (node) { node 1145 simplexml/simplexml.c if (node->children != NULL || node->prev != NULL || node->next != NULL) { node 1146 simplexml/simplexml.c SKIP_TEXT(node); node 1148 simplexml/simplexml.c if (node->type == XML_TEXT_NODE) { node 1149 simplexml/simplexml.c const xmlChar *cur = node->content; node 1153 simplexml/simplexml.c ZVAL_STRING(value, sxe_xmlNodeListGetString(node->doc, node, 1), 0); node 1160 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE && (! match_ns(sxe, node, sxe->iter.nsprefix, sxe->iter.isprefix))) { node 1164 simplexml/simplexml.c name = (char *) node->name; node 1168 simplexml/simplexml.c namelen = xmlStrlen(node->name) + 1; node 1171 simplexml/simplexml.c _get_base_node_value(sxe, node, &value, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC); node 1180 simplexml/simplexml.c node = php_sxe_iterator_fetch(sxe, node->next, 0 TSRMLS_CC); node 1182 simplexml/simplexml.c node = node->next; node 1229 simplexml/simplexml.c if (sxe1->node == NULL) { node 1230 simplexml/simplexml.c if (sxe2->node) { node 1236 simplexml/simplexml.c return !(sxe1->node == sxe2->node); node 1270 simplexml/simplexml.c if (!sxe->node) { node 1274 simplexml/simplexml.c nodeptr = php_sxe_get_first_node(sxe, sxe->node->node TSRMLS_CC); node 1276 simplexml/simplexml.c sxe->xpath->node = nodeptr; node 1360 simplexml/simplexml.c xmlNodePtr node; node 1377 simplexml/simplexml.c GET_NODE(sxe, node); node 1378 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1380 simplexml/simplexml.c if (node) { node 1381 simplexml/simplexml.c if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { node 1396 simplexml/simplexml.c xmlNodeDumpOutput(outbuf, (xmlDocPtr) sxe->document->ptr, node, 0, 0, NULL); node 1406 simplexml/simplexml.c GET_NODE(sxe, node); node 1407 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1409 simplexml/simplexml.c if (node) { node 1410 simplexml/simplexml.c if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { node 1422 simplexml/simplexml.c xmlNodeDumpOutput(outbuf, (xmlDocPtr) sxe->document->ptr, node, 0, 0, ((xmlDocPtr) sxe->document->ptr)->encoding); node 1452 simplexml/simplexml.c if (node->ns) { node 1453 simplexml/simplexml.c sxe_add_namespace_name(return_value, node->ns); node 1456 simplexml/simplexml.c attr = node->properties; node 1465 simplexml/simplexml.c node = node->children; node 1466 simplexml/simplexml.c while (node) { node 1467 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1468 simplexml/simplexml.c sxe_add_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1470 simplexml/simplexml.c node = node->next; node 1481 simplexml/simplexml.c xmlNodePtr node; node 1490 simplexml/simplexml.c GET_NODE(sxe, node); node 1491 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1493 simplexml/simplexml.c if (node) { node 1494 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1495 simplexml/simplexml.c sxe_add_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1496 simplexml/simplexml.c } else if (node->type == XML_ATTRIBUTE_NODE && node->ns) { node 1497 simplexml/simplexml.c sxe_add_namespace_name(return_value, node->ns); node 1507 simplexml/simplexml.c if (node->type == XML_ELEMENT_NODE) { node 1508 simplexml/simplexml.c ns = node->nsDef; node 1514 simplexml/simplexml.c node = node->children; node 1515 simplexml/simplexml.c while (node) { node 1516 simplexml/simplexml.c sxe_add_registered_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1517 simplexml/simplexml.c node = node->next; node 1530 simplexml/simplexml.c xmlNodePtr node; node 1540 simplexml/simplexml.c node = xmlDocGetRootElement((xmlDocPtr)sxe->document->ptr); node 1542 simplexml/simplexml.c GET_NODE(sxe, node); node 1545 simplexml/simplexml.c sxe_add_registered_namespaces(sxe, node, recursive, return_value TSRMLS_CC); node 1556 simplexml/simplexml.c xmlNodePtr node; node 1569 simplexml/simplexml.c GET_NODE(sxe, node); node 1570 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1572 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_CHILD, NULL, (xmlChar *)nsprefix, isprefix TSRMLS_CC); node 1582 simplexml/simplexml.c xmlNodePtr node; node 1587 simplexml/simplexml.c GET_NODE(sxe, node); node 1588 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1589 simplexml/simplexml.c if (node) { node 1590 simplexml/simplexml.c namelen = xmlStrlen(node->name); node 1591 simplexml/simplexml.c RETURN_STRINGL((char*)node->name, namelen, 1); node 1605 simplexml/simplexml.c xmlNodePtr node; node 1613 simplexml/simplexml.c GET_NODE(sxe, node); node 1619 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1621 simplexml/simplexml.c _node_as_zval(sxe, node, return_value, SXE_ITER_ATTRLIST, NULL, (xmlChar *)nsprefix, isprefix TSRMLS_CC); node 1632 simplexml/simplexml.c xmlNodePtr node, newnode; node 1647 simplexml/simplexml.c GET_NODE(sxe, node); node 1654 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1656 simplexml/simplexml.c if (node == NULL) { node 1666 simplexml/simplexml.c newnode = xmlNewChild(node, NULL, localname, (xmlChar *)value); node 1673 simplexml/simplexml.c nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); node 1697 simplexml/simplexml.c xmlNodePtr node; node 1713 simplexml/simplexml.c GET_NODE(sxe, node); node 1715 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, node TSRMLS_CC); node 1717 simplexml/simplexml.c if (node && node->type != XML_ELEMENT_NODE) { node 1718 simplexml/simplexml.c node = node->parent; node 1721 simplexml/simplexml.c if (node == NULL) { node 1738 simplexml/simplexml.c attrp = xmlHasNsProp(node, localname, (xmlChar *)nsuri); node 1749 simplexml/simplexml.c nsptr = xmlSearchNsByHref(node->doc, node, (xmlChar *)nsuri); node 1751 simplexml/simplexml.c nsptr = xmlNewNs(node, (xmlChar *)nsuri, prefix); node 1755 simplexml/simplexml.c attrp = xmlNewNsProp(node, nsptr, localname, (xmlChar *)value); node 1802 simplexml/simplexml.c xmlNodePtr node; node 1809 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, NULL TSRMLS_CC); node 1812 simplexml/simplexml.c ZVAL_BOOL(writeobj, node != NULL || zend_hash_num_elements(prop_hash) > 0); node 1819 simplexml/simplexml.c node = php_sxe_get_first_node(sxe, NULL TSRMLS_CC); node 1820 simplexml/simplexml.c if (node) { node 1821 simplexml/simplexml.c contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, node->children, 1); node 1824 simplexml/simplexml.c if (!sxe->node) { node 1830 simplexml/simplexml.c if (sxe->node && sxe->node->node) { node 1831 simplexml/simplexml.c if (sxe->node->node->children) { node 1832 simplexml/simplexml.c contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, sxe->node->node->children, 1); node 1870 simplexml/simplexml.c xmlNodePtr node; node 1878 simplexml/simplexml.c node = php_sxe_reset_iterator(sxe, 0 TSRMLS_CC); node 1880 simplexml/simplexml.c while (node) node 1883 simplexml/simplexml.c node = php_sxe_iterator_fetch(sxe, node->next, 0 TSRMLS_CC); node 2005 simplexml/simplexml.c if (sxe->node) { node 2006 simplexml/simplexml.c nodep = xmlDocCopyNode(sxe->node->node, docp, 1); node 2281 simplexml/simplexml.c while (node) { node 2282 simplexml/simplexml.c SKIP_TEXT(node); node 2283 simplexml/simplexml.c if (sxe->iter.type != SXE_ITER_ATTRLIST && node->type == XML_ELEMENT_NODE) { node 2284 simplexml/simplexml.c if ((!test_elem || !xmlStrcmp(node->name, sxe->iter.name)) && match_ns(sxe, node, prefix, isprefix)) { node 2287 simplexml/simplexml.c } else if (node->type == XML_ATTRIBUTE_NODE) { node 2288 simplexml/simplexml.c if ((!test_attr || !xmlStrcmp(node->name, sxe->iter.name)) && match_ns(sxe, node, prefix, isprefix)) { node 2293 simplexml/simplexml.c node = node->next; node 2296 simplexml/simplexml.c if (node && use_data) { node 2298 simplexml/simplexml.c _node_as_zval(sxe, node, sxe->iter.data, SXE_ITER_NONE, NULL, prefix, isprefix TSRMLS_CC); node 2301 simplexml/simplexml.c return node; node 2307 simplexml/simplexml.c xmlNodePtr node; node 2314 simplexml/simplexml.c GET_NODE(sxe, node) node 2316 simplexml/simplexml.c if (node) { node 2321 simplexml/simplexml.c node = node->children; node 2324 simplexml/simplexml.c node = (xmlNodePtr) node->properties; node 2326 simplexml/simplexml.c return php_sxe_iterator_fetch(sxe, node, use_data TSRMLS_CC); node 2390 simplexml/simplexml.c if (intern != NULL && intern->node != NULL) { node 2391 simplexml/simplexml.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; node 2407 simplexml/simplexml.c xmlNodePtr node = NULL; node 2412 simplexml/simplexml.c GET_NODE(intern, node) node 2417 simplexml/simplexml.c if (node) { node 2418 simplexml/simplexml.c php_sxe_iterator_fetch(sxe, node->next, 1 TSRMLS_CC); node 2444 simplexml/simplexml.c xmlNodePtr node; node 2447 simplexml/simplexml.c GET_NODE(sxe, node); node 2448 simplexml/simplexml.c return php_sxe_get_first_node(sxe, node TSRMLS_CC); node 2457 simplexml/simplexml.c zval *node; node 2462 simplexml/simplexml.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|C!", &node, &ce) == FAILURE) { node 2466 simplexml/simplexml.c object = (php_libxml_node_object *)zend_object_store_get_object(node TSRMLS_CC); node 2468 simplexml/simplexml.c nodep = php_libxml_import_node(node TSRMLS_CC); node 103 simplexml/sxe.c if (intern != NULL && intern->node != NULL) { node 104 simplexml/sxe.c curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node; node 133 simplexml/sxe.c xmlNodePtr node; node 144 simplexml/sxe.c GET_NODE(child, node); node 145 simplexml/sxe.c if (node) { node 146 simplexml/sxe.c node = node->children; node 148 simplexml/sxe.c while (node && node->type != XML_ELEMENT_NODE) { node 149 simplexml/sxe.c node = node->next; node 151 simplexml/sxe.c RETURN_BOOL(node ? 1 : 0); node 306 soap/php_encoding.c if (*node_ptr == node) { node 309 soap/php_encoding.c xmlNodeSetName(node, (*node_ptr)->name); node 310 soap/php_encoding.c xmlSetNs(node, (*node_ptr)->ns); node 333 soap/php_encoding.c xmlSetProp(node, BAD_CAST("href"), BAD_CAST(id)); node 350 soap/php_encoding.c set_ns_prop(node, SOAP_1_2_ENC_NAMESPACE, "ref", id); node 355 soap/php_encoding.c zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)data, (void**)&node, sizeof(xmlNodePtr), NULL); node 366 soap/php_encoding.c zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)node, (void**)&data_ptr) == SUCCESS) { node 379 soap/php_encoding.c if (zend_hash_index_find(SOAP_GLOBAL(ref_map), (ulong)node, (void**)&data_ptr) == SUCCESS) { node 388 soap/php_encoding.c zend_hash_index_update(SOAP_GLOBAL(ref_map), (ulong)node, (void**)data, sizeof(zval*), NULL); node 396 soap/php_encoding.c xmlNodePtr node = NULL; node 442 soap/php_encoding.c node = master_to_xml(enc, NULL, style, parent TSRMLS_CC); node 444 soap/php_encoding.c node = master_to_xml(enc, *zdata, style, parent TSRMLS_CC); node 450 soap/php_encoding.c set_ns_and_type_ex(node, Z_STRVAL_PP(zns), Z_STRVAL_PP(zstype)); node 452 soap/php_encoding.c set_ns_and_type_ex(node, NULL, Z_STRVAL_PP(zstype)); node 458 soap/php_encoding.c xmlNodeSetName(node, BAD_CAST(Z_STRVAL_PP(zname))); node 461 soap/php_encoding.c xmlNsPtr nsp = encode_add_ns(node, Z_STRVAL_PP(znamens)); node 462 soap/php_encoding.c xmlSetNs(node, nsp); node 521 soap/php_encoding.c node = encode->to_xml(&encode->details, data, style, parent TSRMLS_CC); node 523 soap/php_encoding.c set_ns_and_type(node, &encode->details); node 527 soap/php_encoding.c return node; node 660 soap/php_encoding.c copy = xmlCopyNode(node, 1); node 1293 soap/php_encoding.c while (node != NULL) { node 1294 soap/php_encoding.c if (get_zval_property(ret, (char*)node->name TSRMLS_CC) == NULL) { node 1295 soap/php_encoding.c zval* val = master_to_zval(get_conversion(XSD_ANYXML), node TSRMLS_CC); node 1313 soap/php_encoding.c while (node->next != NULL) { node 1314 soap/php_encoding.c zval* val2 = master_to_zval(get_conversion(XSD_ANYXML), node->next TSRMLS_CC); node 1320 soap/php_encoding.c node = node->next; node 1323 soap/php_encoding.c name = (char*)node->name; node 1363 soap/php_encoding.c node = node->next; node 1375 soap/php_encoding.c xmlNodePtr node = get_node(data->children, model->u.element->name); node 1377 soap/php_encoding.c if (node) { node 1381 soap/php_encoding.c r_node = check_and_resolve_href(node); node 1400 soap/php_encoding.c if ((node = get_node(node->next, model->u.element->name)) != NULL) { node 1407 soap/php_encoding.c if (node && node->children && node->children->content) { node 1408 soap/php_encoding.c if (model->u.element->fixed && strcmp(model->u.element->fixed, (char*)node->children->content) != 0) { node 1409 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 1411 soap/php_encoding.c val = master_to_zval(model->u.element->encode, node TSRMLS_CC); node 1423 soap/php_encoding.c val = master_to_zval(model->u.element->encode, node TSRMLS_CC); node 1426 soap/php_encoding.c } while ((node = get_node(node->next, model->u.element->name)) != NULL); node 1719 soap/php_encoding.c xmlAddChild(node, property); node 1722 soap/php_encoding.c property = master_to_xml(enc, *val, style, node TSRMLS_CC); node 1740 soap/php_encoding.c xmlAddChild(node, property); node 1745 soap/php_encoding.c property = master_to_xml(enc, data, style, node TSRMLS_CC); node 1762 soap/php_encoding.c xmlAddChild(node, property); node 1797 soap/php_encoding.c property = master_to_xml(enc, *val, style, node TSRMLS_CC); node 1801 soap/php_encoding.c property = master_to_xml(enc, data, style, node TSRMLS_CC); node 1821 soap/php_encoding.c if (!model_to_xml_object(node, *tmp, object, style, strict && ((*tmp)->min_occurs > 0) TSRMLS_CC)) { node 1838 soap/php_encoding.c int tmp_ret = model_to_xml_object(node, *tmp, object, style, 0 TSRMLS_CC); node 1849 soap/php_encoding.c return model_to_xml_object(node, model->u.group->model, object, style, strict && model->min_occurs > 0 TSRMLS_CC); node 3466 soap/php_encoding.c set_ns_and_type_ex(node, type->ns, type->type_str); node 3472 soap/php_encoding.c get_type_str(node, ns, type, &nstype); node 3473 soap/php_encoding.c set_xsi_type(node, nstype.c); node 3480 soap/php_encoding.c xmlNodePtr orig = node; node 3482 soap/php_encoding.c while (node) { node 3483 soap/php_encoding.c if (node->type == XML_ENTITY_REF_NODE || node 3484 soap/php_encoding.c node->type == XML_ENTITY_NODE || node 3485 soap/php_encoding.c node->type == XML_ENTITY_DECL) { node 3488 soap/php_encoding.c if (node->type == XML_ELEMENT_NODE) { node 3489 soap/php_encoding.c cur = node->nsDef; node 3492 soap/php_encoding.c if (xmlSearchNs(doc, node, cur->prefix) == cur) { node 3498 soap/php_encoding.c if (orig != node) { node 3499 soap/php_encoding.c cur = node->ns; node 3502 soap/php_encoding.c if (xmlSearchNs(doc, node, cur->prefix) == cur) { node 3509 soap/php_encoding.c node = node->parent; node 3522 soap/php_encoding.c xmlns = xmlSearchNsByHref(node->doc, node, BAD_CAST(ns)); node 3524 soap/php_encoding.c xmlns = xmlSearchNsPrefixByHref(node->doc, node, BAD_CAST(ns)); node 3531 soap/php_encoding.c xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), prefix); node 3540 soap/php_encoding.c if (xmlSearchNs(node->doc, node, BAD_CAST(prefix.c)) == NULL) { node 3549 soap/php_encoding.c xmlns = xmlNewNs(node->doc->children, BAD_CAST(ns), BAD_CAST(prefix.c)); node 3558 soap/php_encoding.c xmlSetNsProp(node, encode_add_ns(node, ns), BAD_CAST(name), BAD_CAST(val)); node 3563 soap/php_encoding.c set_ns_prop(node, XSI_NAMESPACE, "nil", "true"); node 3568 soap/php_encoding.c set_ns_prop(node, XSI_NAMESPACE, "type", type); node 3706 soap/php_encoding.c xmlNsPtr ns = encode_add_ns(node, cur_ns); node 3723 soap/php_encoding.c get_type_str(node, enc->details.ns, enc->details.type_str, type); node 3742 soap/php_encoding.c xmlns = encode_add_ns(node, ns); node 984 soap/php_schema.c xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); node 992 soap/php_schema.c attr = get_attribute(node->properties, "maxOccurs"); node 2066 soap/php_schema.c xmlNodePtr node; node 2070 soap/php_schema.c zend_hash_copy(attr->extraAttributes, (*tmp)->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); node 2113 soap/php_schema.c xmlNodePtr node; node 2116 soap/php_schema.c zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); node 56 soap/php_sdl.c nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); node 80 soap/php_sdl.c nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns)); node 216 soap/php_sdl.c if (node->ns && strcmp((char*)node->ns->href, WSDL_NAMESPACE) != 0) { node 218 soap/php_sdl.c if ((attr = get_attribute_ex(node->properties, "required", WSDL_NAMESPACE)) != NULL && node 222 soap/php_sdl.c soap_error1(E_ERROR, "Parsing WSDL: Unknown required WSDL extension '%s'", node->ns->href); node 566 soap/php_sdl.c trav = node->children; node 46 soap/php_xml.c trav = node->children; node 174 soap/php_xml.c if (node->ns) { node 175 soap/php_xml.c return node->ns; node 176 soap/php_xml.c } else if (node->parent->ns) { node 177 soap/php_xml.c return node->parent->ns; node 179 soap/php_xml.c return xmlSearchNs(node->doc, node->parent, NULL); node 185 soap/php_xml.c if (node->ns) { node 186 soap/php_xml.c return node->ns; node 188 soap/php_xml.c return xmlSearchNs(node->doc, node, NULL); node 194 soap/php_xml.c if (name == NULL || strcmp((char*)node->name, name) == 0) { node 196 soap/php_xml.c xmlNsPtr nsPtr = attr_find_ns(node); node 210 soap/php_xml.c if (name == NULL || strcmp((char*)node->name, name) == 0) { node 212 soap/php_xml.c xmlNsPtr nsPtr = node_find_ns(node); node 227 soap/php_xml.c while (node!=NULL) { node 228 soap/php_xml.c if (attr_is_equal_ex(node, name, ns)) { node 229 soap/php_xml.c return node; node 231 soap/php_xml.c node = node->next; node 238 soap/php_xml.c while (node!=NULL) { node 239 soap/php_xml.c if (node_is_equal_ex(node, name, ns)) { node 240 soap/php_xml.c return node; node 242 soap/php_xml.c node = node->next; node 249 soap/php_xml.c while (node != NULL) { node 250 soap/php_xml.c if (node_is_equal_ex(node, name, ns)) { node 251 soap/php_xml.c return node; node 252 soap/php_xml.c } else if (node->children != NULL) { node 253 soap/php_xml.c xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); node 258 soap/php_xml.c node = node->next; node 267 soap/php_xml.c while (node != NULL) { node 269 soap/php_xml.c node = get_node_ex(node, name, name_ns); node 270 soap/php_xml.c if (node==NULL) { node 275 soap/php_xml.c attr = get_attribute_ex(node->properties, attribute, attr_ns); node 277 soap/php_xml.c return node; node 279 soap/php_xml.c node = node->next; node 286 soap/php_xml.c while (node != NULL) { node 287 soap/php_xml.c if (node_is_equal_ex(node, name, name_ns)) { node 288 soap/php_xml.c xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); node 290 soap/php_xml.c return node; node 293 soap/php_xml.c if (node->children != NULL) { node 294 soap/php_xml.c xmlNodePtr tmp = get_node_with_attribute_recursive_ex(node->children, name, name_ns, attribute, value, attr_ns); node 299 soap/php_xml.c node = node->next; node 25 soap/php_xml.h #define get_attribute(node, name) get_attribute_ex(node, name, NULL) node 26 soap/php_xml.h #define get_node(node, name) get_node_ex(node, name, NULL) node 27 soap/php_xml.h #define get_node_recursive(node, name) get_node_recursive_ex(node, name, NULL) node 28 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 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 soap/php_xml.h #define node_is_equal(node, name) node_is_equal_ex(node, name, NULL) node 31 soap/php_xml.h #define attr_is_equal(node, name) attr_is_equal_ex(node, name, NULL) node 3883 soap/soap.c xmlNodePtr node = xmlNewNode(NULL, BAD_CAST("faultcode")); node 3885 soap/soap.c xmlAddChild(param, node); node 3887 soap/soap.c xmlNsPtr nsptr = encode_add_ns(node, fault_ns); node 3889 soap/soap.c xmlNodeSetContent(node, code); node 3892 soap/soap.c xmlNodeSetContentLen(node, BAD_CAST(str), new_len); node 3897 soap/soap.c xmlNodePtr node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, param TSRMLS_CC); node 3898 soap/soap.c xmlNodeSetName(node, BAD_CAST("faultstring")); node 3901 soap/soap.c xmlNodePtr node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, param TSRMLS_CC); node 3902 soap/soap.c xmlNodeSetName(node, BAD_CAST("faultactor")); node 3908 soap/soap.c xmlNodePtr node = xmlNewChild(param, ns, BAD_CAST("Code"), NULL); node 3910 soap/soap.c node = xmlNewChild(node, ns, BAD_CAST("Value"), NULL); node 3912 soap/soap.c xmlNsPtr nsptr = encode_add_ns(node, fault_ns); node 3914 soap/soap.c xmlNodeSetContent(node, code); node 3917 soap/soap.c xmlNodeSetContentLen(node, BAD_CAST(str), new_len); node 3922 soap/soap.c xmlNodePtr node = xmlNewChild(param, ns, BAD_CAST("Reason"), NULL); node 3923 soap/soap.c node = master_to_xml(get_conversion(IS_STRING), *tmp, SOAP_LITERAL, node TSRMLS_CC); node 3924 soap/soap.c xmlNodeSetName(node, BAD_CAST("Text")); node 3925 soap/soap.c xmlSetNs(node, ns); node 3930 soap/soap.c xmlNodePtr node; node 3939 soap/soap.c node = xmlNewNode(NULL, BAD_CAST(detail_name)); node 3940 soap/soap.c xmlAddChild(param, node); node 3954 soap/soap.c x = serialize_parameter(sparam, detail, 1, NULL, use, node TSRMLS_CC); node 4453 soap/soap.c xmlNodePtr node = params; node 4458 soap/soap.c if (strcmp((*param)->element->name, (char*)node->name) != 0) { node 4462 soap/soap.c if ((*param)->element->namens != NULL && node->ns != NULL) { node 4463 soap/soap.c if (strcmp((*param)->element->namens, (char*)node->ns->href) != 0) { node 4467 soap/soap.c } else if ((void*)(*param)->element->namens != (void*)node->ns) { node 4471 soap/soap.c } else if (strcmp((*param)->paramName, (char*)node->name) != 0) { node 4476 soap/soap.c node = node->next; node 127514 sqlite3/libsqlite/sqlite3.c RtreeNode node; node 127519 sqlite3/libsqlite/sqlite3.c memset(&node, 0, sizeof(RtreeNode)); node 127523 sqlite3/libsqlite/sqlite3.c node.zData = (u8 *)sqlite3_value_blob(apArg[1]); node 127525 sqlite3/libsqlite/sqlite3.c for(ii=0; ii<NCELL(&node); ii++){ node 127531 sqlite3/libsqlite/sqlite3.c nodeGetCell(&tree, &node, ii, &cell); node 199 tidy/tidy.c TidyNode node; node 800 tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); node 861 tidy/tidy.c tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf); node 865 tidy/tidy.c ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node)); node 866 tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node)); node 867 tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node)); node 868 tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, column, tidyNodeColumn(obj->node)); node 869 tidy/tidy.c ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node)); node 871 tidy/tidy.c switch(tidyNodeGetType(obj->node)) { node 879 tidy/tidy.c ADD_PROPERTY_LONG(obj->std.properties, id, tidyNodeGetId(obj->node)); node 882 tidy/tidy.c tempattr = tidyAttrFirst(obj->node); node 901 tidy/tidy.c tempnode = tidyGetChild(obj->node); node 910 tidy/tidy.c newobj->node = tempnode; node 969 tidy/tidy.c TidyNode node; node 974 tidy/tidy.c node = tidyGetRoot(obj->ptdoc->doc); node 978 tidy/tidy.c node = tidyGetHtml(obj->ptdoc->doc); node 982 tidy/tidy.c node = tidyGetHead(obj->ptdoc->doc); node 986 tidy/tidy.c node = tidyGetBody(obj->ptdoc->doc); node 994 tidy/tidy.c if (!node) { node 1002 tidy/tidy.c newobj->node = node; node 1075 tidy/tidy.c REGISTER_TIDY_CLASS(tidyNode, node, NULL, ZEND_ACC_FINAL_CLASS); node 1713 tidy/tidy.c if (tidyGetChild(obj->node)) { node 1727 tidy/tidy.c if (obj->node && tidyGetNext(obj->node)) { node 1741 tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Comment) { node 1755 tidy/tidy.c if (tidyNodeGetType(obj->node) & (TidyNode_Start | TidyNode_End | TidyNode_StartEnd)) { node 1769 tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Text) { node 1783 tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Jste) { node 1797 tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Asp) { node 1811 tidy/tidy.c if (tidyNodeGetType(obj->node) == TidyNode_Php) { node 1827 tidy/tidy.c parent_node = tidyGetParent(obj->node); node 1831 tidy/tidy.c newobj->node = parent_node; node 1139 xmlreader/php_xmlreader.c xmlNode *node, *nodec; node 1148 xmlreader/php_xmlreader.c NODE_GET_OBJ(node, basenode, xmlNodePtr, domobj); node 1149 xmlreader/php_xmlreader.c docp = node->doc; node 1155 xmlreader/php_xmlreader.c node = xmlTextReaderExpand(intern->ptr); node 1157 xmlreader/php_xmlreader.c if (node == NULL) { node 1161 xmlreader/php_xmlreader.c nodec = xmlDocCopyNode(node, docp, 1); node 289 xmlrpc/libxmlrpc/queue.c node *n; node 298 xmlrpc/libxmlrpc/queue.c q->head = (node*)p; node 341 xmlrpc/libxmlrpc/queue.c node *p; node 349 xmlrpc/libxmlrpc/queue.c q->tail = (node *)n; node 407 xmlrpc/libxmlrpc/queue.c q->head = (node *)n; node 449 xmlrpc/libxmlrpc/queue.c q->tail = (node *)p; node 485 xmlrpc/libxmlrpc/queue.c q->cursor = (node *)q->cursor->next; node 515 xmlrpc/libxmlrpc/queue.c q->cursor = (node *)q->cursor->prev; node 538 xmlrpc/libxmlrpc/queue.c n = ((node*)iter)->next; node 539 xmlrpc/libxmlrpc/queue.c p = ((node*)iter)->prev; node 540 xmlrpc/libxmlrpc/queue.c d = ((node*)iter)->data; node 547 xmlrpc/libxmlrpc/queue.c if (q->cursor == (node*)iter) { node 965 xmlrpc/libxmlrpc/queue.c return qi ? (q_iter)((node*)qi)->next : NULL; node 969 xmlrpc/libxmlrpc/queue.c return qi ? (q_iter)((node*)qi)->prev : NULL; node 973 xmlrpc/libxmlrpc/queue.c return qi ? ((node*)qi)->data : NULL; node 978 xmlrpc/libxmlrpc/queue.c ((node*)qi)->data = data; node 38 xmlrpc/libxmlrpc/queue.h node *head, *tail, *cursor; node 44 xmlrpc/libxmlrpc/queue.h node *loc ; node 85 xmlrpc/libxmlrpc/queue.h #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL) node 86 xmlrpc/libxmlrpc/queue.h #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL) node 87 xmlrpc/libxmlrpc/queue.h #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL) node 174 xmlrpc/libxmlrpc/xml_to_dandarpc.c if(node) { node 176 xmlrpc/libxmlrpc/xml_to_dandarpc.c const char* id = XMLRPC_GetValueID(node); node 177 xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); node 205 xmlrpc/libxmlrpc/xml_to_dandarpc.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 209 xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 214 xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 219 xmlrpc/libxmlrpc/xml_to_dandarpc.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); node 224 xmlrpc/libxmlrpc/xml_to_dandarpc.c simplestring_add(&elem_val->text, XMLRPC_GetValueDateTime_ISO8601(node)); node 230 xmlrpc/libxmlrpc/xml_to_dandarpc.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 237 xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VECTOR_TYPE my_type = XMLRPC_GetVectorType(node); node 238 xmlrpc/libxmlrpc/xml_to_dandarpc.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 260 xmlrpc/libxmlrpc/xml_to_dandarpc.c xIter = XMLRPC_VectorNext(node); node 276 xmlrpc/libxmlrpc/xml_to_dandarpc.c return DANDARPC_to_xml_element_worker(NULL, node); node 110 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 115 xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 128 xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 174 xmlrpc/libxmlrpc/xml_to_soap.c if (XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTCODE) && node 175 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTSTRING)) { node 178 xmlrpc/libxmlrpc/xml_to_soap.c else if (XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTCODE) && node 179 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTSTRING)) { node 192 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xDup = XMLRPC_DupValueNew(node); node 437 xmlrpc/libxmlrpc/xml_to_soap.c if (node) { node 440 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE_TYPE_EASY type = XMLRPC_GetValueTypeEasy(node); node 455 xmlrpc/libxmlrpc/xml_to_soap.c const char* type = get_array_soap_type(node); node 459 xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, sizeof(buf), "%s[%i]", type, XMLRPC_VectorSize(node)); node 469 xmlrpc/libxmlrpc/xml_to_soap.c int fault_type = get_fault_type(node); node 474 xmlrpc/libxmlrpc/xml_to_soap.c node = gen_fault_xmlrpc(node, elem_val); node 483 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 489 xmlrpc/libxmlrpc/xml_to_soap.c xIter = XMLRPC_VectorNext(node); node 501 xmlrpc/libxmlrpc/xml_to_soap.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 505 xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 510 xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 515 xmlrpc/libxmlrpc/xml_to_soap.c snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); node 520 xmlrpc/libxmlrpc/xml_to_soap.c time_t tt = XMLRPC_GetValueDateTime(node); node 532 xmlrpc/libxmlrpc/xml_to_soap.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 547 xmlrpc/libxmlrpc/xml_to_soap.c pName = (char*)XMLRPC_GetValueID(node); node 560 xmlrpc/libxmlrpc/xml_to_soap.c pName = (char*)XMLRPC_GetValueID(node); node 570 xmlrpc/libxmlrpc/xml_to_soap.c XMLRPC_CleanupValue(node); node 578 xmlrpc/libxmlrpc/xml_to_soap.c return SOAP_to_xml_element_worker(NULL, node); node 193 xmlrpc/libxmlrpc/xml_to_xmlrpc.c if (node) { node 195 xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); node 196 xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VECTOR_TYPE vtype = XMLRPC_GetVectorType(node); node 204 xmlrpc/libxmlrpc/xml_to_xmlrpc.c int bIsFault = (vtype == xmlrpc_vector_struct && XMLRPC_VectorGetValueWithID(node, ELEM_FAULTCODE)); node 206 xmlrpc/libxmlrpc/xml_to_xmlrpc.c xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1); node 217 xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); node 221 xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); node 226 xmlrpc/libxmlrpc/xml_to_xmlrpc.c snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node)); node 233 xmlrpc/libxmlrpc/xml_to_xmlrpc.c ap_php_snprintf(buf, BUF_SIZE, "%.*G", (int) EG(precision), XMLRPC_GetValueDouble(node)); node 239 xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_add(&elem_val->text, XMLRPC_GetValueDateTime_ISO8601(node)); node 245 xmlrpc/libxmlrpc/xml_to_xmlrpc.c base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); node 252 xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VECTOR_TYPE my_type = XMLRPC_GetVectorType(node); node 253 xmlrpc/libxmlrpc/xml_to_xmlrpc.c XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); node 290 xmlrpc/libxmlrpc/xml_to_xmlrpc.c xml_element* next_el = XMLRPC_to_xml_element_worker(node, xIter, request_type, depth + 1); node 294 xmlrpc/libxmlrpc/xml_to_xmlrpc.c xIter = XMLRPC_VectorNext(node); node 311 xmlrpc/libxmlrpc/xml_to_xmlrpc.c if (XMLRPC_VectorGetValueWithID(node, ELEM_FAULTCODE)) { node 333 xmlrpc/libxmlrpc/xml_to_xmlrpc.c simplestring_add(&name->text, XMLRPC_GetValueID(node)); node 369 xmlrpc/libxmlrpc/xml_to_xmlrpc.c return XMLRPC_to_xml_element_worker(NULL, node, xmlrpc_request_none, 0); node 261 xsl/xsltprocessor.c xmlNodePtr node = obj->nodesetval->nodeTab[j]; node 265 xsl/xsltprocessor.c if (node->type == XML_NAMESPACE_DECL) { node 269 xsl/xsltprocessor.c nsparent = node->_private; node 270 xsl/xsltprocessor.c curns = xmlNewNs(NULL, node->name, NULL); node 271 xsl/xsltprocessor.c if (node->children) { node 272 xsl/xsltprocessor.c curns->prefix = xmlStrdup((char *) node->children); node 274 xsl/xsltprocessor.c if (node->children) { node 275 xsl/xsltprocessor.c node = xmlNewDocNode(node->doc, NULL, (char *) node->children, node->name); node 277 xsl/xsltprocessor.c node = xmlNewDocNode(node->doc, NULL, "xmlns", node->name); node 279 xsl/xsltprocessor.c node->type = XML_NAMESPACE_DECL; node 280 xsl/xsltprocessor.c node->parent = nsparent; node 281 xsl/xsltprocessor.c node->ns = curns; node 283 xsl/xsltprocessor.c child = php_dom_create_object(node, &ret, child, domintern TSRMLS_CC); node 481 xsl/xsltprocessor.c xmlNodePtr node = NULL; node 493 xsl/xsltprocessor.c node = php_libxml_import_node(docp TSRMLS_CC); node 495 xsl/xsltprocessor.c if (node) { node 496 xsl/xsltprocessor.c doc = node->doc;