Lines Matching defs:path
1003 device_tree::collect_names_recursive(node_ptr &n, node_path &path)
1006 path.push_back(std::make_pair(n->name, n->unit_address));
1012 node_paths.insert(std::make_pair(name, path));
1029 collect_names_recursive(c, path);
1031 path.pop_back();
1082 node_path path = node_paths[pv->string_data];
1083 // Skip the first name in the path. It's always "", and implicitly /
1084 for (auto p=path.begin()+1, pe=path.end() ; p!=pe ; ++p)
1319 device_tree::buffer_for_file(const char *path, bool warn)
1321 if (string(path) == string("-"))
1331 int source = open(path, O_RDONLY);
1336 fprintf(stderr, "Unable to open file '%s'. %s\n", path, strerror(errno));
1343 fprintf(stderr, "File %s is a directory\n", path);