Searched defs:node (Results 1 - 25 of 39) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.h32 } node ; typedef in typeref:struct:nodeptr
38 node *head, *tail, *cursor;
44 node *loc ;
85 #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL)
86 #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL)
87 #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL)
H A Dxml_to_dandarpc.c171 xml_element* DANDARPC_to_xml_element_worker(XMLRPC_REQUEST request, XMLRPC_VALUE node) { argument
174 if(node) {
176 const char* id = XMLRPC_GetValueID(node);
177 XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node);
205 simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node));
209 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node));
214 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node));
219 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node));
224 simplestring_add(&elem_val->text, XMLRPC_GetValueDateTime_ISO8601(node));
275 DANDARPC_VALUE_to_xml_element(XMLRPC_VALUE node) argument
[all...]
H A Dxml_to_xmlrpc.c189 xml_element* XMLRPC_to_xml_element_worker(XMLRPC_VALUE current_vector, XMLRPC_VALUE node, argument
193 if (node) {
195 XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node);
196 XMLRPC_VECTOR_TYPE vtype = XMLRPC_GetVectorType(node);
204 int bIsFault = (vtype == xmlrpc_vector_struct && XMLRPC_VectorGetValueWithID(node, ELEM_FAULTCODE));
206 xml_element* next_el = XMLRPC_to_xml_element_worker(NULL, node, request_type, depth + 1);
217 simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node));
221 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node));
226 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueBoolean(node));
368 XMLRPC_VALUE_to_xml_element(XMLRPC_VALUE node) argument
[all...]
H A Dxml_to_soap.c107 static const char* get_array_soap_type(XMLRPC_VALUE node) { argument
110 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node);
115 xIter = XMLRPC_VectorNext(node);
128 xIter = XMLRPC_VectorNext(node);
168 /* determines whether a node is a fault or not, and of which type:
173 static inline int get_fault_type(XMLRPC_VALUE node) { argument
174 if (XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTCODE) &&
175 XMLRPC_VectorGetValueWithID(node, TOKEN_XMLRPC_FAULTSTRING)) {
178 else if (XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTCODE) &&
179 XMLRPC_VectorGetValueWithID(node, TOKEN_SOAP_FAULTSTRIN
191 gen_fault_xmlrpc(XMLRPC_VALUE node, xml_element* el_target) argument
434 SOAP_to_xml_element_worker(XMLRPC_REQUEST request, XMLRPC_VALUE node) argument
577 SOAP_VALUE_to_xml_element(XMLRPC_VALUE node) argument
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregtrav.c35 capture_tree_traverse(OnigCaptureTreeNode* node, int at, argument
41 if (node == (OnigCaptureTreeNode* )0)
45 r = (*callback_func)(node->group, node->beg, node->end,
50 for (i = 0; i < node->num_childs; i++) {
51 r = capture_tree_traverse(node->childs[i], at,
57 r = (*callback_func)(node->group, node->beg, node
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ast.c44 ZEND_API zend_ast *zend_ast_create_znode(znode *node) { argument
52 ast->node = *node;
/PHP_TRUNK/ext/dom/
H A Dcharacterdata.c158 xmlNodePtr node; local
167 DOM_GET_OBJ(node, id, xmlNodePtr, intern);
169 cur = xmlNodeGetContent(node);
240 xmlNodePtr node; local
251 DOM_GET_OBJ(node, id, xmlNodePtr, intern);
253 cur = xmlNodeGetContent(node);
270 xmlNodeSetContent(node, first);
271 xmlNodeAddContent(node, (xmlChar *) arg);
272 xmlNodeAddContent(node, second);
289 xmlNodePtr node; local
344 xmlNodePtr node; local
[all...]
H A Ddocument.c115 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
135 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 1)
697 xmlNode *node; local
715 node = xmlNewDocNode(docp, NULL, (xmlChar *) name, (xmlChar *) value);
716 if (!node) {
720 DOM_RET_OBJ(node, &ret, intern);
731 xmlNode *node; local
742 node = xmlNewDocFragment(docp);
743 if (!node) {
747 DOM_RET_OBJ(node,
758 xmlNode *node; local
787 xmlNode *node; local
816 xmlNode *node; local
845 xmlNode *node; local
881 xmlAttrPtr node; local
916 xmlNode *node; local
975 zval *id, *node; local
1603 xmlNode *node; local
2117 xmlNode *node; local
[all...]
H A Ddom_iterators.c35 xmlNode *node; member in struct:_nodeIterator
52 if(priv->node == NULL) {
53 priv->node = (xmlNode *)payload;
93 iter->node = NULL;
95 nodep = iter->node;
166 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
206 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
H A Ddomimplementation.c156 zval *node = NULL; local
167 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
171 if (node != NULL) {
172 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj);
H A Delement.c533 zval *id, *node; local
539 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) {
550 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj);
553 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attribute node is required");
565 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp)
599 zval *id, *node; local
605 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) {
616 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj);
958 zval *id, *node; local
965 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entr
1216 zval *id, *node; local
[all...]
H A Dentityreference.c52 xmlNode *node; local
73 node = xmlNewReference(NULL, (xmlChar *) name);
75 if (!node) {
86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC);
H A Dnode.c296 /* Access to Element node is implemented as a convience method */
334 /* Access to Element node is implemented as a convience method */
591 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-node-ownerDoc
870 xmlNodePtr newchild, node; local
888 node = newchild;
889 while (node != NULL) {
890 node->parent = nodep;
891 if (node->doc != nodep->doc) {
892 xmlSetTreeDoc(node, nodep->doc);
893 if (node
919 zval *id, *node, *ref = NULL; local
1168 zval *id, *node; local
1219 zval *id, *node; local
1349 xmlNode *n, *node; local
1489 zval *id, *node; local
[all...]
H A Dtext.c107 xmlNodePtr node; local
110 node = dom_object_get_node(obj);
112 if (node == NULL) {
117 /* Find starting text node */
118 while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTION_NODE))) {
119 node = node->prev;
123 while (node
150 xmlNodePtr node; local
208 xmlNodePtr node; local
[all...]
H A Dxpath.c141 xmlNodePtr node = obj->nodesetval->nodeTab[j]; local
144 if (node->type == XML_NAMESPACE_DECL) {
148 nsparent = node->_private;
149 curns = xmlNewNs(NULL, node->name, NULL);
150 if (node->children) {
151 curns->prefix = xmlStrdup((xmlChar *) node->children);
153 if (node->children) {
154 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node
446 xmlNodePtr node = nodesetp->nodeTab[i]; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c46 ibase_event **node; local
54 for (node = &event->link->event_head; *node != event; node = &(*node)->event_next);
55 *node = event->event_next;
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c175 if (nodeptr->node != NULL && nodeptr->node->type != XML_DOCUMENT_NODE) {
176 nodeptr->node->_private = NULL;
178 nodeptr->node = NULL;
185 static void php_libxml_node_free(xmlNodePtr node) argument
187 if(node) {
188 if (node->_private != NULL) {
189 ((php_libxml_node_ptr *) node->_private)->node = NULL;
191 switch (node
1156 xmlNodePtr node = NULL; local
1171 php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC) argument
[all...]
H A Dphp_libxml.h72 xmlNodePtr node; member in struct:_php_libxml_node_ptr
78 php_libxml_node_ptr *node; member in struct:_php_libxml_node_object
93 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC);
99 /* When an explicit freeing of node and children is required */
100 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC);
101 /* When object dtor is called as node may still be referenced */
/PHP_TRUNK/ext/simplexml/
H A Dphp_simplexml.h58 php_libxml_node_ptr *node; member in struct:__anon201
H A Dsxe.c103 if (intern != NULL && intern->node != NULL) {
104 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->node)->node;
133 xmlNodePtr node; local
144 GET_NODE(child, node);
145 if (node) {
146 node = node->children;
148 while (node && node
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c986 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) argument
988 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs");
996 attr = get_attribute(node->properties, "maxOccurs");
H A Dphp_xml.c42 static void cleanup_xml_node(xmlNodePtr node) argument
47 trav = node->children;
183 xmlNsPtr attr_find_ns(xmlAttrPtr node) argument
185 if (node->ns) {
186 return node->ns;
187 } else if (node->parent->ns) {
188 return node->parent->ns;
190 return xmlSearchNs(node->doc, node->parent, NULL);
194 xmlNsPtr node_find_ns(xmlNodePtr node) argument
203 attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) argument
219 node_is_equal_ex(xmlNodePtr node, char *name, char *ns) argument
236 get_attribute_ex(xmlAttrPtr node, char *name, char *ns) argument
247 get_node_ex(xmlNodePtr node, char *name, char *ns) argument
258 get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) argument
274 get_node_with_attribute_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns) argument
295 get_node_with_attribute_recursive_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns) argument
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c656 Return namespaceURI for associated prefix on current node */
759 Moves the position of the current instance to the node that contains the current Attribute node. */
767 Moves the position of the current instance to the first attribute associated with the current node. */
775 Moves the position of the current instance to the next attribute associated with the current node. */
783 Moves the position of the current instance to the next node in the stream. */
807 Moves the position of the current instance to the next node in the stream. */
914 Reads the contents of the current node, including child nodes and markup. */
922 Reads the contents of the current node, including child nodes and markup. */
930 Reads the contents of an element or a text node a
1126 xmlNode *node, *nodec; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c255 xmlNodePtr node = obj->nodesetval->nodeTab[j]; local
258 if (node->type == XML_NAMESPACE_DECL) {
262 nsparent = node->_private;
263 curns = xmlNewNs(NULL, node->name, NULL);
264 if (node->children) {
265 curns->prefix = xmlStrdup((char *)node->children);
267 if (node->children) {
268 node = xmlNewDocNode(node->doc, NULL, (char *) node
478 xmlNodePtr node = NULL; local
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c148 zend_ast *node; local
153 node = (zend_ast *) copy;
163 node = (zend_ast *) copy;
166 node = zend_accel_memdup(ast, sizeof(zend_ast) - sizeof(zend_ast *) + sizeof(zend_ast *) * children);
168 if (node->child[i]) {
169 node->child[i] = zend_persist_ast(node->child[i] TSRMLS_CC);
175 return node;

Completed in 29 milliseconds

12