Searched defs:root (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c79 * root element should not have a parent. patch from anon SF user
184 * void xml_elem_free_non_recurse(xml_element* root)
188 * root - the element to free
197 void xml_elem_free_non_recurse(xml_element* root) { argument
198 if(root) {
199 xml_element_attr* attrs = Q_Head(&root->attrs);
204 attrs = Q_Next(&root->attrs);
207 Q_Destroy(&root->children);
208 Q_Destroy(&root->attrs);
209 if(root
236 xml_elem_free(xml_element* root) argument
587 xml_element* root; member in struct:_xml_elem_data
[all...]
H A Dxml_to_dandarpc.c173 xml_element* root = NULL; local
270 root = elem_val;
272 return root;
281 xml_element* root = NULL; local
301 root = xml_elem_new();
302 root->name = strdup(ELEM_ROOT);
303 Q_PushTail(&root->attrs, version);
304 Q_PushTail(&root->children, wrapper);
317 return root;
H A Dxml_to_xmlrpc.c192 xml_element* root = NULL; local
199 /* special case for when root element is not an array */
312 root = value;
320 root = param;
339 root = member;
348 root = value;
352 root = elem_val;
361 root = value;
365 return root;
H A Dxmlrpc_introspection.c460 xml_element* root = xml_elem_parse_buf(xml, 0, 0, err ? &err->xml_elem_error : NULL); local
462 if(root) {
463 xReturn = xml_element_to_method_description(root, err);
465 xml_elem_free(root);
H A Dxml_to_soap.c583 xml_element* root = xml_elem_new(); local
586 if (root) {
588 root->name = strdup("SOAP-ENV:Envelope");
591 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/"));
592 Q_PushTail(&root->attrs, new_attr("xmlns:xsi", "http://www.w3.org/1999/XMLSchema-instance"));
593 Q_PushTail(&root->attrs, new_attr("xmlns:xsd", "http://www.w3.org/1999/XMLSchema"));
594 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/"));
595 Q_PushTail(&root->attrs, new_attr("xmlns:si", "http://soapinterop.org/xsd"));
596 Q_PushTail(&root->attrs, new_attr("xmlns:ns6", "http://testuri.org"));
597 Q_PushTail(&root
[all...]
/PHP_TRUNK/ext/json/
H A DJSON_parser.c394 zval *root = jp->the_zstack[up]; local
400 add_next_index_zval(root, child);
406 add_property_zval_ex(root, (key->len ? key->c : "_empty_"), (key->len ? (key->len + 1) : sizeof("_empty_")), child TSRMLS_CC);
411 add_assoc_zval_ex(root, (key->len ? key->c : ""), (key->len ? (key->len + 1) : sizeof("")), child);
/PHP_TRUNK/ext/dom/
H A Dnode.c1460 xmlNodePtr root = node; local
1462 while (root->parent != NULL) {
1463 root = root->parent;
1465 node->ns = xmlNewNs(root, ns->href, ns->prefix);
H A Ddocument.c296 xmlNode *root; local
308 root = xmlDocGetRootElement(docp);
309 if (!root) {
314 if (NULL == (*retval = php_dom_create_object(root, &ret, *retval, obj TSRMLS_CC))) {
1210 xmlNodePtr root = xmlDocGetRootElement(docp); local
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1215 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1296 xmlNodePtr nodep = NULL, root; local
1310 root = xmlDocGetRootElement(docp);
1311 if (root !
1908 xmlNodePtr root; local
[all...]
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c712 oid root[MAX_NAME_LEN]; local
728 if (st & SNMP_CMD_WALK) { /* remember root OID */
729 memmove((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * sizeof(oid));
821 (vars->name_length < rootlen || memcmp(root, vars->name, rootlen * sizeof(oid)))) { /* not part of this subtree */
860 if (rootlen <= vars->name_length && snmp_oid_compare(root, rootlen, vars->name, rootlen) == 0) {
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.c325 xmlNodePtr root, definitions, trav; local
348 root = wsdl->children;
349 definitions = get_node_ex(root, "definitions", WSDL_NAMESPACE);
352 xmlNodePtr schema = get_node_ex(root, "schema", XSD_NAMESPACE);
/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c435 char *root; local
450 root = Ns_PageRoot(server);
451 SG(request_info).request_uri = strdup(SG(request_info).path_translated + strlen(root));
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c1894 disable_noname_group_capture(Node** root, regex_t* reg, ScanEnv* env) argument
1906 r = noname_disable_map(root, map, &counter);
1909 r = renumber_by_map(*root, map);
3371 Node *top_root, *root, *snode, *prev_node; local
3382 top_root = root = prev_node = snode = NULL_NODE;
3397 if (IS_NULL(root) && IS_NOT_NULL(prev_node)) {
3398 top_root = root = onig_node_list_add(NULL_NODE, prev_node);
3399 if (IS_NULL(root)) {
3407 if (IS_NOT_NULL(root)) {
3408 if (IS_NULL(onig_node_list_add(root, snod
5268 Node* root; local
[all...]
H A Dregparse.c5522 onig_parse_make_tree(Node** root, const UChar* pattern, const UChar* end, argument
5541 *root = NULL;
5543 r = parse_regexp(root, &p, (UChar* )end, env);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c8577 ** The root-page of the master database table.
8859 int iTable, /* Index of root page */
9177 #define OP_OpenRead 52 /* synopsis: root=P2 iDb=P3 */
9178 #define OP_OpenWrite 53 /* synopsis: root=P2 iDb=P3 */
9241 #define OP_CreateIndex 116 /* synopsis: r[P2]=root iDb=P1 */
9242 #define OP_CreateTable 117 /* synopsis: r[P2]=root iDb=P1 */
9264 #define OP_TableLock 139 /* synopsis: iDb=P1 root=P2 write=P3 */
10807 ** Table.tnum is the page number for the root BTree page of the table in the
10813 ** refers VDBE cursor number that holds the table open, not to the root
11045 int tnum; /* DB Page containing root o
138827 Blob root = {0,0,0}; /* New root page image */ local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_structs.h95 char *root; member in struct:st_mysqlnd_field

Completed in 144 milliseconds