Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/openbmc/phosphor-dbus-monitor/src/test/
H A Dpathgentest.cpp30 PathMeta{paths[0], meta[0]},
31 PathMeta{paths[1], meta[0]},
32 PathMeta{paths[2], meta[0]},
33 PathMeta{paths[3], meta[0]},
34 PathMeta{paths[0], meta[1]},
35 PathMeta{paths[1], meta[1]},
36 PathMeta{paths[2], meta[1]},
37 PathMeta{paths[3], meta[1]},
38 PathMeta{paths[4], meta[0]},
39 PathMeta{paths[5], meta[0]},
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dassociations_test.cpp23 "paths":
37 "paths":
54 "paths":
65 "paths":
92 "paths":
105 "paths": "system/PS0",
114 "paths":
127 "paths": "system/PS0",
203 auto& paths = std::get<1>(endpoints[0]); in TEST_F() local
204 EXPECT_EQ(paths.size(), 4); in TEST_F()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dsstate-cache-management.py107 print(set([p.bb_task for p in paths]))
111 def scandir(path, paths): argument
121 paths.add(SstateEntry(p, m))
124 scandir(p, paths)
129 paths = set()
131 scandir(Path(args.cache_dir), paths)
140 executor.map(path_stat, paths)
142 return paths
145 def remove_by_stamps(args, paths): argument
164 return [p for p in paths if p.bb_unihash not in all_sums]
[all …]
/openbmc/hiomapd/vpnor/test/
H A Dtmpd.hpp62 vpnor_partition_paths paths{}; in VpnorRoot() local
64 snprintf(paths.ro_loc, PATH_MAX - 1, "%s/ro", root.c_str()); in VpnorRoot()
65 paths.ro_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
66 snprintf(paths.rw_loc, PATH_MAX - 1, "%s/rw", root.c_str()); in VpnorRoot()
67 paths.rw_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
68 snprintf(paths.prsv_loc, PATH_MAX - 1, "%s/prsv", root.c_str()); in VpnorRoot()
69 paths.prsv_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
70 snprintf(paths.patch_loc, PATH_MAX - 1, "%s/patch", root.c_str()); in VpnorRoot()
71 paths.patch_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
73 if (backend_probe_vpnor(backend, &paths)) in VpnorRoot()
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp46 void vpnor_default_paths(vpnor_partition_paths* paths) in vpnor_default_paths() argument
48 strncpy(paths->ro_loc, PARTITION_FILES_RO_LOC, PATH_MAX); in vpnor_default_paths()
49 paths->ro_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
50 strncpy(paths->rw_loc, PARTITION_FILES_RW_LOC, PATH_MAX); in vpnor_default_paths()
51 paths->rw_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
52 strncpy(paths->prsv_loc, PARTITION_FILES_PRSV_LOC, PATH_MAX); in vpnor_default_paths()
53 paths->prsv_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
54 strncpy(paths->patch_loc, PARTITION_FILES_PATCH_LOC, PATH_MAX); in vpnor_default_paths()
55 paths->prsv_loc[PATH_MAX - 1] = '\0'; in vpnor_default_paths()
73 const vpnor_partition_paths* paths) in vpnor_init() argument
[all …]
H A Dbackend.h21 struct vpnor_partition_paths paths; member
35 void vpnor_default_paths(struct vpnor_partition_paths *paths);
37 static inline void vpnor_default_paths(struct vpnor_partition_paths *paths)
39 memset(paths, 0, sizeof(*paths));
H A Dpartition.cpp45 auto dst = fs::path(priv->paths.patch_loc) / partition.data.name; in getPartitionFilePath()
52 dst = fs::path(priv->paths.rw_loc) / partition.data.name; in getPartitionFilePath()
62 dst = priv->paths.prsv_loc; in getPartitionFilePath()
66 dst = priv->paths.ro_loc; in getPartitionFilePath()
70 dst = priv->paths.rw_loc; in getPartitionFilePath()
81 dst = fs::path(priv->paths.ro_loc) / partition.data.name; in getPartitionFilePath()
87 auto src = fs::path(priv->paths.ro_loc) / partition.data.name; in getPartitionFilePath()
93 dst = priv->paths.rw_loc; in getPartitionFilePath()
96 dst = priv->paths.prsv_loc; in getPartitionFilePath()
/openbmc/hiomapd/
H A Dcontrol_dbus.c136 struct vpnor_partition_paths paths; in control_dbus_set_backend() local
138 vpnor_default_paths(&paths); in control_dbus_set_backend()
140 rc = control_set_backend(context, &backend, &paths); in control_dbus_set_backend()
144 char **paths = NULL; in control_dbus_set_backend() local
147 rc = sd_bus_message_read_strv(m, &paths); in control_dbus_set_backend()
151 if (paths && *paths) in control_dbus_set_backend()
152 path = *paths; in control_dbus_set_backend()
163 free(paths); in control_dbus_set_backend()
165 char **paths = NULL; in control_dbus_set_backend() local
168 rc = sd_bus_message_read_strv(m, &paths); in control_dbus_set_backend()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dservice_indicators.cpp64 auto paths = getInventoryPaths(locCodes); in activate() local
65 if (!paths.empty()) in activate()
67 setNotFunctional(paths); in activate()
68 createCriticalAssociation(paths); in activate()
182 std::vector<std::string> paths; in getInventoryPaths() local
192 if (std::find(paths.begin(), paths.end(), path) == paths.end()) in getInventoryPaths()
194 paths.push_back(path); in getInventoryPaths()
206 paths.clear(); in getInventoryPaths()
211 return paths; in getInventoryPaths()
H A Dsbe_ffdc_handler.hpp137 for (const auto& [path, fd] : paths) in ~SbeFFDC()
151 paths.clear(); in ~SbeFFDC()
212 std::vector<std::pair<std::filesystem::path, int>> paths; member in openpower::pels::sbe::SbeFFDC
/openbmc/phosphor-mboxd/vpnor/test/
H A Dtmpd.hpp57 strncpy(ctx->paths.ro_loc, ro().c_str(), PATH_MAX - 1); in VpnorRoot()
58 ctx->paths.ro_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
59 strncpy(ctx->paths.rw_loc, rw().c_str(), PATH_MAX - 1); in VpnorRoot()
60 ctx->paths.rw_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
61 strncpy(ctx->paths.prsv_loc, prsv().c_str(), PATH_MAX - 1); in VpnorRoot()
62 ctx->paths.prsv_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
63 strncpy(ctx->paths.patch_loc, patch().c_str(), PATH_MAX - 1); in VpnorRoot()
64 ctx->paths.patch_loc[PATH_MAX - 1] = '\0'; in VpnorRoot()
/openbmc/phosphor-dbus-monitor/src/test/templates/
H A Dpathgentest.mako.hpp7 const std::array<std::string, ${len(paths)}> paths = { variable
8 % for p in paths:
15 PathMeta{ paths[${p.path}], meta[${p.meta}] },
24 paths[${p[0]}],
H A Dinterfaceaddtest.mako.hpp1 const std::array<std::string, ${len(pathinstances)}> paths = { variable
2 % for p in paths:
9 paths[${w.pathinstances}],
/openbmc/phosphor-mboxd/vpnor/
H A Dmboxd_pnor_partition_table.cpp21 strncpy(context->paths.ro_loc, PARTITION_FILES_RO_LOC, PATH_MAX); in init_vpnor()
22 context->paths.ro_loc[PATH_MAX - 1] = '\0'; in init_vpnor()
23 strncpy(context->paths.rw_loc, PARTITION_FILES_RW_LOC, PATH_MAX); in init_vpnor()
24 context->paths.rw_loc[PATH_MAX - 1] = '\0'; in init_vpnor()
25 strncpy(context->paths.prsv_loc, PARTITION_FILES_PRSV_LOC, PATH_MAX); in init_vpnor()
26 context->paths.prsv_loc[PATH_MAX - 1] = '\0'; in init_vpnor()
27 strncpy(context->paths.patch_loc, PARTITION_FILES_PATCH_LOC, PATH_MAX); in init_vpnor()
28 context->paths.prsv_loc[PATH_MAX - 1] = '\0'; in init_vpnor()
H A Dpnor_partition.cpp39 auto dst = fs::path(ctx->paths.patch_loc) / partition.data.name; in getPartitionFilePath()
49 dst = ctx->paths.prsv_loc; in getPartitionFilePath()
53 dst = ctx->paths.ro_loc; in getPartitionFilePath()
57 dst = ctx->paths.rw_loc; in getPartitionFilePath()
68 dst = fs::path(ctx->paths.ro_loc) / partition.data.name; in getPartitionFilePath()
74 auto src = fs::path(ctx->paths.ro_loc) / partition.data.name; in getPartitionFilePath()
80 dst = ctx->paths.rw_loc; in getPartitionFilePath()
83 dst = ctx->paths.prsv_loc; in getPartitionFilePath()
/openbmc/openbmc/poky/meta/lib/patchtest/tests/
H A Dtest_mbox.py26 paths = { variable in TestMbox
39 …el@lists.openembedded.org', gitrepo='http://git.openembedded.org/bitbake/', paths=paths['bitbake'])
40 …org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/', paths=paths['documentation'…
41 …@yoctoproject.org', gitrepo='http://git.yoctoproject.org/cgit/cgit.cgi/poky/', paths=paths['poky'])
42 …sts.openembedded.org', gitrepo='http://git.openembedded.org/meta-openembedded/', paths=paths['oe'])
123 if base_path in project.paths:
/openbmc/qemu/tests/qtest/
H A Dqom-test.c30 g_autoptr(QList) paths = qlist_new(); in test_list_get_value()
36 qlist_append_str(paths, "/objects/" RAM_NAME); in test_list_get_value()
37 qdict_put_obj(args, "paths", QOBJECT(qlist_copy(paths))); in test_list_get_value()
66 static void test_list_get(QTestState *qts, QList *paths) in test_list_get() argument
76 QLIST_FOREACH_ENTRY(paths, path_entry) { in test_list_get()
82 qdict_put_obj(args, "paths", QOBJECT(qlist_copy(paths))); in test_list_get()
90 path_entry = QTAILQ_FIRST(&paths->head); in test_list_get()
196 g_autoptr(QList) paths = qlist_new(); in test_machine()
214 qlist_append_str(paths, "/machine"); in test_machine()
215 test_list_get(qts, paths); in test_machine()
/openbmc/phosphor-mrw-tools/
H A Dgen_openpower_fru.pl49 my @paths;
66 push @paths, $item->{OBMC_NAME};
76 push @paths, $defaultPaths{$type};
83 print $fh "PATHS=".join ',',@paths;
/openbmc/phosphor-logging/test/
H A Delog_update_ts_test.cpp38 fs::create_directories(paths::error()); in TEST()
40 if (!fs::exists(paths::error())) in TEST()
42 ADD_FAILURE() << "Could not create " << paths::error() << "\n"; in TEST()
54 if (fs::exists(fs::path{paths::error()} / std::to_string(id))) in TEST()
100 fs::remove(fs::path{paths::error()} / std::to_string(id)); in TEST()
105 auto persist_path = phosphor::logging::paths::error(); in TEST()
113 << phosphor::logging::paths::error() << "\n"; in TEST()
/openbmc/phosphor-hwmon/msl/
H A Dmax31785-msl29 paths=$OPTARG
49 if [ -z "$paths" ] || [ -z "$bus" ] || [ -z "$revision" ]; then
66 for path in $paths; do
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpath.py13 def join(*paths): argument
15 return os.path.normpath("/".join(paths))
274 def is_path_parent(possible_parent, *paths): argument
288 if not paths:
290 for path in paths:
304 paths = (path or os.environ.get('PATH', os.defpath)).split(':')
306 paths.reverse()
309 for index, element in enumerate(paths):
323 files.append((found_path, [os.path.join(p, rel) for p in paths[:index+1]]))
329 def canonicalize(paths, sep=','): argument
[all …]
/openbmc/openpower-occ-control/
H A Docc_dbus.cpp204 auto paths = utils::getSubtreePaths(std::vector{chassisInterface}); in getChassisPath() local
210 if (paths.size() == 1) in getChassisPath()
212 return paths[0]; in getChassisPath()
214 else if (std::find(paths.begin(), paths.end(), defaultChassisPath) == in getChassisPath()
215 paths.end()) in getChassisPath()
218 "NUM", paths.size()); in getChassisPath()
/openbmc/fb-ipmi-oem/src/
H A Dcommandutils.cpp41 std::vector<std::string> paths; in getMbFruDevice() local
45 resp.read(paths); in getMbFruDevice()
54 for (const auto& path : paths) in getMbFruDevice()
/openbmc/openbmc/poky/meta/recipes-devtools/libtool/libtool/
H A D0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch5 paths
7 We don't want to add RPATHS which match default linker search paths, they're
8 a waste of space. This patch filters libtools list of paths to encoode and
11 Libtool may be passed link paths of the form "/usr/lib/../lib" so normalize
12 the paths before comparision.
/openbmc/openbmc/poky/meta/recipes-support/libffi/libffi/
H A Dnot-win32.patch4 Subject: [PATCH] libffi: ensure sysroot paths are not in libffi.pc
7 introduces convoluted path manipulation involving gcc search paths to the
8 install paths, resulting in paths like -L/usr/lib/../lib/ appearing in

12345678910>>...25