Lines Matching refs:name
20 const char *name; in get_node_uri_iter() local
29 name = xml_node_get_localname(ctx, node); in get_node_uri_iter()
30 if (strcasecmp(name, uri) == 0) in get_node_uri_iter()
68 const char *name; in get_node_iter() local
76 name = xml_node_get_localname(ctx, node); in get_node_iter()
77 if (os_strcasecmp(name, path) == 0) in get_node_iter()
123 xml_node_t * node_from_file(struct xml_node_ctx *ctx, const char *name) in node_from_file() argument
129 buf = os_readfile(name, &len); in node_from_file()
232 const char *name; in node_to_tnds() local
238 name = xml_node_get_localname(ctx, node); in node_to_tnds()
243 xml_node_create_text(ctx, tnds, NULL, "NodeName", name); in node_to_tnds()
254 new_uri = add_path(uri, name); in node_to_tnds()
282 const char *name; in mo_to_tnds() local
290 name = xml_node_get_localname(ctx, mo); in mo_to_tnds()
295 xml_node_create_text(ctx, node, NULL, "NodeName", name); in mo_to_tnds()
299 node_to_tnds(ctx, use_path ? root : node, mo, use_path ? name : NULL); in mo_to_tnds()
311 const char *name) in get_first_child_node() argument
319 if (os_strcasecmp(lname, name) == 0) in get_first_child_node()
388 const char *name; in tnds_to_mo_iter() local
398 name = xml_node_get_localname(ctx, node); in tnds_to_mo_iter()
399 if (strcmp(name, "Node") == 0) { in tnds_to_mo_iter()
429 const char *name; in tnds_to_mo() local
432 name = xml_node_get_localname(ctx, tnds); in tnds_to_mo()
433 if (name == NULL || os_strcmp(name, "MgmtTree") != 0) in tnds_to_mo()