Home
last modified time | relevance | path

Searched refs:tnds (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dxml-utils.c231 xml_node_t *tnds; in node_to_tnds() local
240 tnds = xml_node_create(ctx, out, NULL, "Node"); in node_to_tnds()
241 if (tnds == NULL) in node_to_tnds()
243 xml_node_create_text(ctx, tnds, NULL, "NodeName", name); in node_to_tnds()
246 xml_node_create_text(ctx, tnds, NULL, "Path", uri); in node_to_tnds()
249 xml_node_create_text(ctx, tnds, NULL, "Value", val ? val : ""); in node_to_tnds()
253 node_to_tnds(ctx, new_uri ? out : tnds, node, new_uri); in node_to_tnds()
425 xml_node_t * tnds_to_mo(struct xml_node_ctx *ctx, xml_node_t *tnds) in tnds_to_mo() argument
430 name = xml_node_get_localname(ctx, tnds); in tnds_to_mo()
434 node = get_first_child_node(ctx, tnds, "Node"); in tnds_to_mo()
Dxml-utils.h92 xml_node_t * tnds_to_mo(struct xml_node_ctx *ctx, xml_node_t *tnds);
/external/wpa_supplicant_8/hs20/client/
Dspp_client.c79 xml_node_t *fnode, *tnds; in add_mo_container() local
90 tnds = mo_to_tnds(ctx, fnode, 0, urn, "syncml:dmddf1.2"); in add_mo_container()
92 if (!tnds) in add_mo_container()
95 str = xml_node_to_str(ctx, tnds); in add_mo_container()
96 xml_node_free(ctx, tnds); in add_mo_container()
150 xml_node_t *node, *parent, *tnds, *unode; in process_update_node() local
197 tnds = xml_node_from_buf(ctx->xml, tmp); in process_update_node()
200 tnds = NULL; in process_update_node()
202 tnds = xml_node_from_buf(ctx->xml, str); in process_update_node()
204 if (tnds == NULL) { in process_update_node()
[all …]
Doma_dm_client.c199 xml_node_t *fnode, *tnds; in mo_str() local
205 tnds = mo_to_tnds(ctx->xml, fnode, 0, urn, "syncml:dmddf1.2"); in mo_str()
207 if (!tnds) in mo_str()
210 str = xml_node_to_str(ctx->xml, tnds); in mo_str()
211 xml_node_free(ctx->xml, tnds); in mo_str()
500 xml_node_t *node, *tnds, *unode, *pps_node; in oma_dm_run_add() local
613 tnds = xml_node_from_buf(ctx->xml, data); in oma_dm_run_add()
615 if (tnds == NULL) { in oma_dm_run_add()
622 unode = tnds_to_mo(ctx->xml, tnds); in oma_dm_run_add()
623 xml_node_free(ctx->xml, tnds); in oma_dm_run_add()
[all …]
Dosu_client.c523 xml_node_t *tnds, *mo, *cert; in hs20_add_pps_mo() local
616 tnds = xml_node_from_buf(ctx->xml, str); in hs20_add_pps_mo()
618 if (tnds == NULL) { in hs20_add_pps_mo()
624 mo = tnds_to_mo(ctx->xml, tnds); in hs20_add_pps_mo()
1857 xml_node_t *tnds, *mo; in cmd_from_tnds() local
1859 tnds = node_from_file(ctx->xml, in_fname); in cmd_from_tnds()
1860 if (tnds == NULL) { in cmd_from_tnds()
1865 mo = tnds_to_mo(ctx->xml, tnds); in cmd_from_tnds()
1871 xml_node_free(ctx->xml, tnds); in cmd_from_tnds()
/external/wpa_supplicant_8/hs20/server/
Dspp_server.c657 xml_node_t *node, *tnds; in add_update_node() local
660 tnds = mo_to_tnds(ctx->xml, upd_node, 0, NULL, NULL); in add_update_node()
661 if (!tnds) in add_update_node()
664 str = xml_node_to_str(ctx->xml, tnds); in add_update_node()
665 xml_node_free(ctx->xml, tnds); in add_update_node()
1065 xml_node_t *child, *tnds, *mo; in spp_get_mo() local
1097 tnds = xml_node_from_buf(ctx->xml, str); in spp_get_mo()
1099 if (tnds == NULL) { in spp_get_mo()
1105 if (xml_validate_dtd(ctx->xml, tnds, fname, ret_err) == 0) in spp_get_mo()
1116 mo = tnds_to_mo(ctx->xml, tnds); in spp_get_mo()
[all …]