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

12

/PHP_5_3/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_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...]
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...]
/PHP_5_3/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_5_3/ext/dom/
H A Dcharacterdata.c178 xmlNodePtr node; local
187 DOM_GET_OBJ(node, id, xmlNodePtr, intern);
189 cur = xmlNodeGetContent(node);
260 xmlNodePtr node; local
270 DOM_GET_OBJ(node, id, xmlNodePtr, intern);
272 cur = xmlNodeGetContent(node);
289 xmlNodeSetContent(node, first);
290 xmlNodeAddContent(node, arg);
291 xmlNodeAddContent(node, second);
308 xmlNodePtr node; local
363 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)
903 xmlNode *node; local
920 node = xmlNewDocNode(docp, NULL, name, value);
921 if (!node) {
925 DOM_RET_OBJ(rv, node, &ret, intern);
936 xmlNode *node; local
947 node = xmlNewDocFragment(docp);
948 if (!node) {
952 DOM_RET_OBJ(rv, node,
963 xmlNode *node; local
991 xmlNode *node; local
1019 xmlNode *node; local
1047 xmlNode *node; local
1082 xmlAttrPtr node; local
1116 xmlNode *node; local
1175 zval *id, *node; local
1791 xmlNode *node; local
2289 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;
180 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
224 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
H A Ddomimplementation.c154 zval *node = NULL, *rv = NULL; local
164 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
168 if (node != NULL) {
169 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj);
H A Delement.c534 zval *id, *node, *rv = NULL; local
540 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) {
551 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj);
554 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Attribute node is required");
566 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp)
600 zval *id, *node, *rv = NULL; local
606 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_entry) == FAILURE) {
617 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj);
958 zval *id, *node, *rv = NULL; 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, name);
75 if (!node) {
86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC);
H A Dnode.c300 /* Access to Element node is implemented as a convience method */
344 /* Access to Element node is implemented as a convience method */
648 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-node-ownerDoc
952 xmlNodePtr newchild, node; local
970 node = newchild;
971 while (node != NULL) {
972 node->parent = nodep;
973 if (node->doc != nodep->doc) {
974 xmlSetTreeDoc(node, nodep->doc);
975 if (node
1001 zval *id, *node, *ref = NULL; local
1250 zval *id, *node; local
1301 zval *id, *node; local
1431 xmlNode *n, *node; local
1571 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
151 xmlNodePtr node; local
210 xmlNodePtr node; local
[all...]
H A Dxpath.c145 xmlNodePtr node = obj->nodesetval->nodeTab[j]; local
149 if (node->type == XML_NAMESPACE_DECL) {
153 nsparent = node->_private;
154 curns = xmlNewNs(NULL, node->name, NULL);
155 if (node->children) {
156 curns->prefix = xmlStrdup((xmlChar *) node->children);
158 if (node->children) {
159 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node
478 xmlNodePtr node = nodesetp->nodeTab[i]; local
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_events.c48 ibase_event **node; local
56 for (node = &event->link->event_head; *node != event; node = &(*node)->event_next);
57 *node = event->event_next;
/PHP_5_3/ext/simplexml/
H A Dphp_simplexml.h59 php_libxml_node_ptr *node; member in struct:__anon172
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_5_3/ext/soap/
H A Dphp_schema.c982 void schema_min_max(xmlNodePtr node, sdlContentModelPtr model) argument
984 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs");
992 attr = get_attribute(node->properties, "maxOccurs");
2066 xmlNodePtr node; local
2070 zend_hash_copy(attr->extraAttributes, (*tmp)->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr));
2113 xmlNodePtr node; local
2116 zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr));
H A Dphp_xml.c42 static void cleanup_xml_node(xmlNodePtr node) argument
47 trav = node->children;
209 xmlNsPtr attr_find_ns(xmlAttrPtr node) argument
211 if (node->ns) {
212 return node->ns;
213 } else if (node->parent->ns) {
214 return node->parent->ns;
216 return xmlSearchNs(node->doc, node->parent, NULL);
220 xmlNsPtr node_find_ns(xmlNodePtr node) argument
229 attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) argument
245 node_is_equal_ex(xmlNodePtr node, char *name, char *ns) argument
262 get_attribute_ex(xmlAttrPtr node, char *name, char *ns) argument
273 get_node_ex(xmlNodePtr node, char *name, char *ns) argument
284 get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) argument
300 get_node_with_attribute_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns) argument
321 get_node_with_attribute_recursive_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns) argument
[all...]
/PHP_5_3/ext/tidy/
H A Dtidy.c198 TidyNode node; member in struct:_PHPTidyObj
816 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf);
866 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf);
870 ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
871 ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
872 ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node));
873 ADD_PROPERTY_LONG(obj->std.properties, column, tidyNodeColumn(obj->node));
874 ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node));
876 switch(tidyNodeGetType(obj->node)) {
884 ADD_PROPERTY_LONG(obj->std.properties, id, tidyNodeGetId(obj->node));
971 TidyNode node; local
[all...]
/PHP_5_3/ext/xmlreader/
H A Dphp_xmlreader.c671 Return namespaceURI for associated prefix on current node */
772 Moves the position of the current instance to the node that contains the current Attribute node. */
780 Moves the position of the current instance to the first attribute associated with the current node. */
788 Moves the position of the current instance to the next attribute associated with the current node. */
796 Moves the position of the current instance to the next node in the stream. */
821 Moves the position of the current instance to the next node in the stream. */
928 Reads the contents of the current node, including child nodes and markup. */
936 Reads the contents of the current node, including child nodes and markup. */
944 Reads the contents of an element or a text node a
1139 xmlNode *node, *nodec; local
[all...]
/PHP_5_3/ext/xsl/
H A Dxsltprocessor.c252 xmlNodePtr node = obj->nodesetval->nodeTab[j]; local
256 if (node->type == XML_NAMESPACE_DECL) {
260 nsparent = node->_private;
261 curns = xmlNewNs(NULL, node->name, NULL);
262 if (node->children) {
263 curns->prefix = xmlStrdup((char *) node->children);
265 if (node->children) {
266 node = xmlNewDocNode(node->doc, NULL, (char *) node
470 xmlNodePtr node = NULL; local
[all...]
/PHP_5_3/ext/libxml/
H A Dlibxml.c165 if (nodeptr->node != NULL && nodeptr->node->type != XML_DOCUMENT_NODE) {
166 nodeptr->node->_private = NULL;
168 nodeptr->node = NULL;
175 static void php_libxml_node_free(xmlNodePtr node) argument
177 if(node) {
178 if (node->_private != NULL) {
179 ((php_libxml_node_ptr *) node->_private)->node = NULL;
181 switch (node
900 xmlNodePtr node = NULL; local
915 php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC) argument
[all...]
H A Dphp_libxml.h67 xmlNodePtr node; member in struct:_php_libxml_node_ptr
74 php_libxml_node_ptr *node; member in struct:_php_libxml_node_object
81 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC);
87 /* When an explicit freeing of node and children is required */
88 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC);
89 /* When object dtor is called as node may still be referenced */
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_sockets.c42 static int fpm_sockets_resolve_af_inet(char *node, char *service, struct sockaddr_in *addr) /* {{{ */ argument
50 ret = getaddrinfo(node, service, &hints, &res);
54 node, service ? ":" : "", service ? service : "",

Completed in 29 milliseconds

12