/external/wpa_supplicant_8/src/utils/ |
D | xml-utils.c | 231 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() 250 xml_node_create_text(ctx, tnds, NULL, "Value", in node_to_tnds() 255 node_to_tnds(ctx, new_uri ? out : tnds, node, new_uri); in node_to_tnds() 427 xml_node_t * tnds_to_mo(struct xml_node_ctx *ctx, xml_node_t *tnds) in tnds_to_mo() argument 432 name = xml_node_get_localname(ctx, tnds); in tnds_to_mo() 436 node = get_first_child_node(ctx, tnds, "Node"); in tnds_to_mo()
|
D | xml-utils.h | 92 xml_node_t * tnds_to_mo(struct xml_node_ctx *ctx, xml_node_t *tnds);
|
/external/wpa_supplicant_8/hs20/client/ |
D | spp_client.c | 79 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 …]
|
D | oma_dm_client.c | 205 xml_node_t *fnode, *tnds; in mo_str() local 211 tnds = mo_to_tnds(ctx->xml, fnode, 0, urn, "syncml:dmddf1.2"); in mo_str() 213 if (!tnds) in mo_str() 216 str = xml_node_to_str(ctx->xml, tnds); in mo_str() 217 xml_node_free(ctx->xml, tnds); in mo_str() 506 xml_node_t *node, *tnds, *unode, *pps_node; in oma_dm_run_add() local 619 tnds = xml_node_from_buf(ctx->xml, data); in oma_dm_run_add() 621 if (tnds == NULL) { in oma_dm_run_add() 628 unode = tnds_to_mo(ctx->xml, tnds); in oma_dm_run_add() 629 xml_node_free(ctx->xml, tnds); in oma_dm_run_add() [all …]
|
D | osu_client.c | 557 xml_node_t *tnds, *mo, *cert; in hs20_add_pps_mo() local 638 tnds = xml_node_from_buf(ctx->xml, str); in hs20_add_pps_mo() 640 if (tnds == NULL) { in hs20_add_pps_mo() 646 mo = tnds_to_mo(ctx->xml, tnds); in hs20_add_pps_mo() 1972 xml_node_t *tnds, *mo; in cmd_from_tnds() local 1974 tnds = node_from_file(ctx->xml, in_fname); in cmd_from_tnds() 1975 if (tnds == NULL) { in cmd_from_tnds() 1980 mo = tnds_to_mo(ctx->xml, tnds); in cmd_from_tnds() 1986 xml_node_free(ctx->xml, tnds); in cmd_from_tnds()
|
/external/wpa_supplicant_8/hs20/server/ |
D | spp_server.c | 773 xml_node_t *node, *tnds; in add_update_node() local 776 tnds = mo_to_tnds(ctx->xml, upd_node, 0, NULL, NULL); in add_update_node() 777 if (!tnds) in add_update_node() 780 str = xml_node_to_str(ctx->xml, tnds); in add_update_node() 781 xml_node_free(ctx->xml, tnds); in add_update_node() 1293 xml_node_t *child, *tnds, *mo; in spp_get_mo() local 1325 tnds = xml_node_from_buf(ctx->xml, str); in spp_get_mo() 1327 if (tnds == NULL) { in spp_get_mo() 1333 if (xml_validate_dtd(ctx->xml, tnds, fname, ret_err) == 0) in spp_get_mo() 1344 mo = tnds_to_mo(ctx->xml, tnds); in spp_get_mo() [all …]
|