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

12

/PHP_5_5/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_5_5/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_5/ext/sockets/
H A Dconversions.c146 const char **node; local
155 for (node = zend_llist_get_first_ex(keys, &pos);
156 node != NULL;
157 node = zend_llist_get_next_ex(keys, &pos)) {
158 smart_str_appends(&path, *node);
731 const char *node = "family"; local
732 zend_llist_add_element(&ctx->keys, &node);
/PHP_5_5/ext/simplexml/
H A Dphp_simplexml.h59 php_libxml_node_ptr *node; member in struct:__anon205
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_5/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");
2108 xmlNodePtr node; local
2112 zend_hash_copy(attr->extraAttributes, (*tmp)->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr));
2156 xmlNodePtr node; local
2159 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;
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_5_5/ext/tidy/
H A Dtidy.c199 TidyNode node; member in struct:_PHPTidyObj
800 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf);
861 tidyNodeGetText(obj->ptdoc->doc, obj->node, &buf);
865 ADD_PROPERTY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
866 ADD_PROPERTY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
867 ADD_PROPERTY_LONG(obj->std.properties, line, tidyNodeLine(obj->node));
868 ADD_PROPERTY_LONG(obj->std.properties, column, tidyNodeColumn(obj->node));
869 ADD_PROPERTY_BOOL(obj->std.properties, proprietary, tidyNodeIsProp(obj->ptdoc->doc, obj->node));
871 switch(tidyNodeGetType(obj->node)) {
879 ADD_PROPERTY_LONG(obj->std.properties, id, tidyNodeGetId(obj->node));
969 TidyNode node; local
[all...]
/PHP_5_5/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. */
820 Moves the position of the current instance to the next node in the stream. */
926 Reads the contents of the current node, including child nodes and markup. */
934 Reads the contents of the current node, including child nodes and markup. */
942 Reads the contents of an element or a text node a
1137 xmlNode *node, *nodec; local
[all...]
/PHP_5_5/ext/xsl/
H A Dxsltprocessor.c261 xmlNodePtr node = obj->nodesetval->nodeTab[j]; local
265 if (node->type == XML_NAMESPACE_DECL) {
269 nsparent = node->_private;
270 curns = xmlNewNs(NULL, node->name, NULL);
271 if (node->children) {
272 curns->prefix = xmlStrdup((char *) node->children);
274 if (node->children) {
275 node = xmlNewDocNode(node->doc, NULL, (char *) node
484 xmlNodePtr node = NULL; local
[all...]
/PHP_5_5/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 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;
171 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
211 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node;
H A Ddomimplementation.c153 zval *node = NULL; local
163 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_class_entry) == FAILURE) {
167 if (node != NULL) {
168 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj);
H A Delement.c534 zval *id, *node; 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; 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; 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
479 xmlNodePtr node = nodesetp->nodeTab[i]; local
[all...]
H A Ddocument.c115 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
135 ZEND_ARG_OBJ_INFO(0, node, DOMNode, 1)
905 xmlNode *node; local
922 node = xmlNewDocNode(docp, NULL, name, value);
923 if (!node) {
927 DOM_RET_OBJ(node, &ret, intern);
938 xmlNode *node; local
949 node = xmlNewDocFragment(docp);
950 if (!node) {
954 DOM_RET_OBJ(node,
965 xmlNode *node; local
993 xmlNode *node; local
1021 xmlNode *node; local
1049 xmlNode *node; local
1084 xmlAttrPtr node; local
1118 xmlNode *node; local
1176 zval *id, *node; local
1798 xmlNode *node; local
2309 xmlNode *node; local
[all...]
/PHP_5_5/ext/libxml/
H A Dphp_libxml.h71 xmlNodePtr node; member in struct:_php_libxml_node_ptr
78 php_libxml_node_ptr *node; member in struct:_php_libxml_node_object
85 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC);
91 /* When an explicit freeing of node and children is required */
92 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node TSRMLS_DC);
93 /* When object dtor is called as node may still be referenced */
H A Dlibxml.c174 if (nodeptr->node != NULL && nodeptr->node->type != XML_DOCUMENT_NODE) {
175 nodeptr->node->_private = NULL;
177 nodeptr->node = NULL;
184 static void php_libxml_node_free(xmlNodePtr node) argument
186 if(node) {
187 if (node->_private != NULL) {
188 ((php_libxml_node_ptr *) node->_private)->node = NULL;
190 switch (node
1150 xmlNodePtr node = NULL; local
1165 php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC) argument
[all...]
/PHP_5_5/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;

Completed in 106 milliseconds

12