Home
last modified time | relevance | path

Searched full:path1 (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/
H A Dnew-test-inotify.patch143 - i.add_watch(path1)
144 + wd = i.add_watch(path1)
155 path1,
162 path1,
169 path1,
176 path1,
212 path1 = TestInotify._make_temp_path(path, 'aa')
215 i = inotify.adapters.Inotify([path1, path2])
218 TestInotify._open_write_close(path1, 'seen_new_file')
221 + wd_path1 = get_wd(i, path1)
[all …]
/openbmc/linux/tools/perf/util/
H A Dpath.c37 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument
39 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join()
42 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument
44 return scnprintf(bf, size, "%s%s%s%s%s", path1, path1[0] ? "/" : "", in path__join3()
H A Dpath.h10 int path__join(char *bf, size_t size, const char *path1, const char *path2);
11 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
/openbmc/phosphor-dbus-monitor/src/test/yaml/pathgentest/
H A Dgroupone.yaml8 - meta: PATH1
10 - meta: PATH1
12 - meta: PATH1
14 - meta: PATH1
H A Dgrouptwo.yaml10 - meta: PATH1
12 - meta: PATH1
14 - meta: PATH1
16 - meta: PATH1
/openbmc/phosphor-objmgr/src/test/
H A Dhandler.cpp243 std::string path1 = "/test/object_path_0/child/grandchild"; in TEST_F() local
263 // Path1 in TEST_F()
264 subtree = getSubTree(interfaceMap, path1, 0, interfaces); in TEST_F()
289 std::string path1 = "/test/object_path_0/child/grandchild"; in TEST_F() local
309 // Path1 in TEST_F()
310 subtreePath = getSubTreePaths(interfaceMap, path1, 0, interfaces); in TEST_F()
344 sdbusplus::message::object_path path1("/test/object_path_0/child"); in TEST_F() local
374 // Path1 in TEST_F()
376 path1 / "descendent", path1, 0, interfaces); in TEST_F()
415 sdbusplus::message::object_path path1("/test/object_path_0/child"); in TEST_F() local
[all …]
/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp75 fs::path path1 = subdirectory1.getPath(); in TEST() local
86 EXPECT_NE(path1, path2); in TEST()
96 EXPECT_EQ(subdirectory2.getPath(), path1); in TEST()
97 EXPECT_TRUE(fs::exists(path1)); in TEST()
138 fs::path path1 = subdirectory1.getPath(); in TEST() local
149 EXPECT_NE(path1, path2); in TEST()
169 EXPECT_EQ(subdirectory1.getPath(), path1); in TEST()
170 EXPECT_TRUE(fs::exists(path1)); in TEST()
H A Dtemporary_file_tests.cpp115 fs::path path1 = file1.getPath(); in TEST() local
126 EXPECT_NE(path1, path2); in TEST()
135 EXPECT_EQ(file2.getPath(), path1); in TEST()
136 EXPECT_TRUE(fs::exists(path1)); in TEST()
177 fs::path path1 = file1.getPath(); in TEST() local
188 EXPECT_NE(path1, path2); in TEST()
205 EXPECT_EQ(file1.getPath(), path1); in TEST()
206 EXPECT_TRUE(fs::exists(path1)); in TEST()
/openbmc/linux/include/linux/
H A Dpath.h16 static inline int path_equal(const struct path *path1, const struct path *path2) in path_equal() argument
18 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
/openbmc/telemetry/tests/src/
H A Dtest_sensor_cache.cpp58 Values(std::vector<IdParam>({IdParam("service1", "path1"),
60 std::vector<IdParam>({IdParam("service1", "path1"),
61 IdParam("service2", "path1")}),
62 std::vector<IdParam>({IdParam("service1", "path1"),
H A Dtest_metric.cpp162 .WillByDefault(Return(SensorMock::makeId("service1", "path1"))); in TEST_F()
173 LabeledSensorInfo("service1", "path1", "metadata1")}; in TEST_F()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp159 fs::path path1 = tmpFile->getPath(); in TEST_F() local
169 EXPECT_NE(path1, path2); in TEST_F()
178 EXPECT_EQ(tmpFileNoData->getPath(), path1); in TEST_F()
179 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
211 fs::path path1 = tmpFile->getPath(); in TEST_F() local
221 EXPECT_NE(path1, path2); in TEST_F()
238 EXPECT_EQ(tmpFile->getPath(), path1); in TEST_F()
239 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_utils.cpp30 const char* path1 = "/com/example/chassis/powersupply1"; in TEST() local
54 *s = path1; in TEST()
64 EXPECT_EQ(path1, ret[1]); in TEST()
/openbmc/openpower-hw-diags/test/
H A Dtest-util-data-file.cpp35 // path1 and path2 will be used to test later. in TEST()
36 fs::path path1 = fullPathTempFile1; in TEST() local
44 it = find(dataPaths.begin(), dataPaths.end(), path1); in TEST()
/openbmc/qemu/tests/qtest/
H A Dnetdev-socket.c424 gchar *path0, *path1; in test_dgram_unix() local
427 path1 = g_strconcat(tmpdir, "/dgram_unix1", NULL); in test_dgram_unix()
432 path0, path1); in test_dgram_unix()
435 path0, path1); in test_dgram_unix()
442 path1, path0); in test_dgram_unix()
446 path1, path0); in test_dgram_unix()
452 unlink(path1); in test_dgram_unix()
453 g_free(path1); in test_dgram_unix()
/openbmc/linux/security/tomoyo/
H A Dfile.c713 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_number_perm()
761 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_check_open_permission()
807 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_perm()
864 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_mkdev_perm()
898 * @path1: Pointer to "struct path".
903 int tomoyo_path2_perm(const u8 operation, const struct path *path1, in tomoyo_path2_perm() argument
911 .path1 = { .mnt = path1->mnt, .dentry = path1->dentry }, in tomoyo_path2_perm()
922 if (!tomoyo_get_realpath(&buf1, path1) || in tomoyo_path2_perm()
928 if (!d_is_dir(path1->dentry)) in tomoyo_path2_perm()
H A Dmount.c140 obj.path1 = path; in tomoyo_mount_acl()
175 if (obj.path1.dentry) in tomoyo_mount_acl()
176 path_put(&obj.path1); in tomoyo_mount_acl()
H A Dtomoyo.c266 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() local
269 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link()
289 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename() local
294 &path1); in tomoyo_path_rename()
299 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
H A Dcommon.c108 [TOMOYO_PATH1_UID] = "path1.uid",
109 [TOMOYO_PATH1_GID] = "path1.gid",
110 [TOMOYO_PATH1_INO] = "path1.ino",
111 [TOMOYO_PATH1_MAJOR] = "path1.major",
112 [TOMOYO_PATH1_MINOR] = "path1.minor",
113 [TOMOYO_PATH1_PERM] = "path1.perm",
114 [TOMOYO_PATH1_TYPE] = "path1.type",
115 [TOMOYO_PATH1_DEV_MAJOR] = "path1.dev_major",
116 [TOMOYO_PATH1_DEV_MINOR] = "path1.dev_minor",
126 [TOMOYO_PATH1_PARENT_UID] = "path1.parent.uid",
[all …]
/openbmc/u-boot/Documentation/sphinx/
H A Dkfigure.py105 def isNewer(path1, path2): argument
106 """Returns True if ``path1`` is newer than ``path2``
108 If ``path1`` exists and is newer than ``path2`` the function returns
111 return (path.exists(path1)
112 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/openbmc/linux/Documentation/sphinx/
H A Dkfigure.py99 def isNewer(path1, path2): argument
100 """Returns True if ``path1`` is newer than ``path2``
102 If ``path1`` exists and is newer than ``path2`` the function returns
105 return (path.exists(path1)
106 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_mdss.c54 struct icc_path *path1; in msm_mdss_parse_data_bus_icc_path() local
64 path1 = devm_of_icc_get(dev, "mdp1-mem"); in msm_mdss_parse_data_bus_icc_path()
65 if (!IS_ERR_OR_NULL(path1)) { in msm_mdss_parse_data_bus_icc_path()
66 msm_mdss->mdp_path[1] = path1; in msm_mdss_parse_data_bus_icc_path()
/openbmc/openpower-proc-control/
H A Dtargeting.cpp99 metadata::PATH(e.path1().c_str())); in Targeting()
/openbmc/linux/kernel/
H A Daudit_tree.c874 struct path path1, path2; in audit_tag_tree() local
886 err = kern_path(old, 0, &path1); in audit_tag_tree()
907 good_one = path_is_under(&path1, &path2); in audit_tag_tree()
957 path_put(&path1); in audit_tag_tree()
/openbmc/phosphor-dbus-monitor/src/test/
H A Dpathgentest.cpp15 "PATH1"s,

12