Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 1330) sorted by relevance

12345678910>>...54

/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp34 EXPECT_TRUE(fs::exists(path)); in TEST()
49 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
62 EXPECT_TRUE(fs::exists(subdirectory2.getPath())); in TEST()
72 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
80 EXPECT_TRUE(fs::exists(subdirectory2.getPath())); in TEST()
97 EXPECT_TRUE(fs::exists(path1)); in TEST()
100 EXPECT_FALSE(fs::exists(path2)); in TEST()
108 EXPECT_TRUE(fs::exists(subdirectory.getPath())); in TEST()
118 EXPECT_TRUE(fs::exists(path)); in TEST()
126 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
[all …]
H A Dtemporary_file_tests.cpp73 EXPECT_TRUE(fs::exists(path)); in TEST()
89 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
102 EXPECT_TRUE(fs::exists(file2.getPath())); in TEST()
112 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
120 EXPECT_TRUE(fs::exists(file2.getPath())); in TEST()
136 EXPECT_TRUE(fs::exists(path1)); in TEST()
139 EXPECT_FALSE(fs::exists(path2)); in TEST()
147 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
157 EXPECT_TRUE(fs::exists(path)); in TEST()
165 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp102 EXPECT_TRUE(fs::exists(path)); in TEST_F()
117 EXPECT_TRUE(fs::exists(path)); in TEST_F()
132 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
145 EXPECT_TRUE(fs::exists(file.getPath())); in TEST_F()
156 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
163 EXPECT_TRUE(fs::exists(tmpFileNoData->getPath())); in TEST_F()
179 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
182 EXPECT_FALSE(fs::exists(path2)); in TEST_F()
190 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
200 EXPECT_TRUE(fs::exists(path)); in TEST_F()
[all …]
/openbmc/google-ipmi-sys/test/
H A Dbm_mode_transition_unittest.cpp66 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
76 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
78 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
91 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
93 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
95 EXPECT_CALL(*fsMockPtr, exists(fs::path(BM_SIGNAL_PATH), _)) in TEST()
97 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningFlagPath), _)) in TEST()
108 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
110 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
112 EXPECT_CALL(*fsMockPtr, exists(fs::path(BM_SIGNAL_PATH), _)) in TEST()
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py843 self.assertTrue(os.path.exists(alt))
850 self.assertFalse(os.path.exists(alt))
863 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
864 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
878 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
879 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
882 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
893 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
894 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
899 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
[all …]
/openbmc/webui-vue/tests/unit/Global/
H A DStatusIcon.spec.js11 expect(wrapper.exists()).toBe(true);
14 expect(wrapper.find('.info').exists()).toBe(true);
18 expect(wrapper.find('.success').exists()).toBe(true);
22 expect(wrapper.find('.warning').exists()).toBe(true);
26 expect(wrapper.find('.danger').exists()).toBe(true);
30 expect(wrapper.find('.status-icon').exists()).toBe(true);
H A DPageTitle.spec.js19 expect(wrapper.exists()).toBe(true);
22 expect(wrapper.find('h1').exists()).toBe(true);
25 expect(wrapper.find('p').exists()).toBe(true);
H A DInputPasswordToggle.spec.js16 expect(wrapper.exists()).toBe(true);
19 expect(wrapper.find('.isVisible').exists()).toBe(false);
23 expect(wrapper.find('.isVisible').exists()).toBe(true);
H A DLoadingBar.spec.js17 expect(wrapper.exists()).toBe(true);
25 expect(wrapper.find('.progress').exists()).toBe(true);
33 expect(wrapper.find('.progress').exists()).toBe(false);
/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp121 if (fs::exists(configFilePath)) in TEST_F()
125 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
154 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F()
181 if (fs::exists(configFilePath)) in TEST_F()
185 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
208 if (fs::exists(configFilePath)) in TEST_F()
212 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
241 if (fs::exists(configFilePath)) in TEST_F()
245 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
258 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
[all …]
/openbmc/openbmc/poky/scripts/
H A Doe-pkgdata-util43 if not os.path.exists(args.pkglistfile):
109 if os.path.exists(revlink):
112 if os.path.exists(fwdfile):
114 if not os.path.exists(fwdfile + ".packaged"):
118 if os.path.exists(revlink):
123 if os.path.exists(fwdfile):
130 if os.path.exists(fwdfile):
132 if not os.path.exists(fwdfile + ".packaged"):
181 if os.path.exists(revlink):
215 if os.path.exists(revlink):
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dimagefeatures.py114 self.assertTrue(os.path.exists(image_path))
115 self.assertTrue(os.path.exists(bmap_path))
116 self.assertTrue(os.path.exists(gzip_path))
150 self.assertTrue(os.path.exists(image_path))
185 self.assertTrue(os.path.exists(image_path))
186 self.assertTrue(os.path.exists(image_path + ".sha256sum"))
229 self.assertTrue(os.path.exists(image_path),
234 self.assertTrue(os.path.exists(image_path),
289 …self.assertTrue(os.path.exists(dbg_tar_file), 'debug filesystem not generated at %s' % dbg_tar_fil…
306 self.assertTrue(os.path.exists(manifest))
/openbmc/linux/drivers/input/joystick/
H A Dcobra.c33 unsigned char exists; member
100 if ((r = cobra_read_packet(gameport, data)) != cobra->exists) { in cobra_poll()
106 if (cobra->exists & r & (1 << i)) { in cobra_poll()
156 cobra->exists = cobra_read_packet(gameport, data); in cobra_connect()
159 if ((cobra->exists >> i) & data[i] & 1) { in cobra_connect()
162 cobra->exists &= ~(1 << i); in cobra_connect()
165 if (!cobra->exists) { in cobra_connect()
174 if (~(cobra->exists >> i) & 1) in cobra_connect()
228 if ((cobra->exists >> i) & 1) in cobra_disconnect()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_uapi.c37 size_t alloc_size, bool *exists) in uapi_add_get_elm() argument
43 *exists = false; in uapi_add_get_elm()
53 *exists = true; in uapi_add_get_elm()
65 bool exists; in uapi_create_write() local
73 &exists); in uapi_create_write()
77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write()
105 bool exists; in uapi_merge_method() local
111 &exists); in uapi_merge_method()
114 if (exists) { in uapi_merge_method()
174 bool exists; in uapi_merge_obj_tree() local
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr.c23 volatile bool exists; in dexcr_exists() local
37 exists = false; in dexcr_exists()
39 exists = true; in dexcr_exists()
43 return exists; in dexcr_exists()
/openbmc/linux/net/sched/
H A Dact_ife.c297 int len, bool atomic, bool exists) in __add_metainfo() argument
316 if (exists) in __add_metainfo()
319 if (exists) in __add_metainfo()
327 bool exists) in add_metainfo_and_get_ops() argument
333 ret = __add_metainfo(ops, ife, metaid, NULL, 0, true, exists); in add_metainfo_and_get_ops()
340 int len, bool exists) in add_metainfo() argument
347 ret = __add_metainfo(ops, ife, metaid, metaval, len, false, exists); in add_metainfo()
354 static int use_all_metadata(struct tcf_ife_info *ife, bool exists) in use_all_metadata() argument
362 rc = add_metainfo_and_get_ops(o, ife, o->metaid, exists); in use_all_metadata()
459 bool exists, bool rtnl_held) in populate_metalist() argument
[all …]
H A Dact_vlan.c133 bool exists = false; in tcf_vlan_init() local
152 exists = err; in tcf_vlan_init()
153 if (exists && bind) in tcf_vlan_init()
162 if (exists) in tcf_vlan_init()
170 if (exists) in tcf_vlan_init()
184 if (exists) in tcf_vlan_init()
202 if (exists) in tcf_vlan_init()
210 if (exists) in tcf_vlan_init()
218 if (!exists) { in tcf_vlan_init()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dffdc_file_tests.cpp54 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
66 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
117 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
158 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
168 EXPECT_FALSE(fs::exists(path)); in TEST()
211 EXPECT_TRUE(fs::exists(path)); in TEST()
/openbmc/phosphor-certificate-manager/test/
H A Dcerts_manager_test.cpp282 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
305 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
345 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
385 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
421 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
444 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
478 EXPECT_TRUE(fs::exists(verifyPath0)); in TEST_F()
495 EXPECT_TRUE(fs::exists(verifyPath1)); in TEST_F()
502 EXPECT_TRUE(fs::exists(verifyPath0)); in TEST_F()
546 EXPECT_TRUE(fs::exists(verifyPath)); in TEST_F()
[all …]
/openbmc/linux/scripts/coccinelle/tests/
H A Dodd_ptr_err.cocci17 @ok1 exists@
28 @ok2 exists@
43 @r1 depends on patch && !context && !org && !report exists@
64 @r1_context depends on !patch && (context || org || report) exists@
83 @r1_disj depends on !patch && (context || org || report) exists@
/openbmc/openbmc/poky/meta/lib/oe/
H A Dlsb.py12 if os.path.exists('/etc/os-release'):
66 if os.path.exists('/etc/lsb-release'):
72 elif os.path.exists('/etc/redhat-release'):
81 elif os.path.exists('/etc/SuSE-release'):
/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp19 ASSERT_FALSE(std::filesystem::exists(directory)); in SetUpTestSuite()
24 if (std::filesystem::exists(directory)) in TearDown()
164 ASSERT_FALSE(std::filesystem::exists(dummyReportPath)); in SetUpTestSuite()
170 if (std::filesystem::exists(dummyReportPath)) in TearDown()
214 EXPECT_TRUE(std::filesystem::exists(TestFixture::linkPath)); in TYPED_TEST()
215 EXPECT_TRUE(std::filesystem::exists(TestFixture::dummyReportPath)); in TYPED_TEST()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dserialize.cpp32 if (fs::exists(path, ec)) in storePriority()
53 if (fs::exists(path, ec)) in storePurpose()
72 if (fs::exists(path, ec)) in restorePriority()
134 if (fs::exists(path, ec)) in restorePurpose()
156 if (fs::exists(path, ec)) in removePersistDataDirectory()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/build/
H A D0001-Riscv-Add-risc-v-Android-config-header.patch289 + * Define if <sys/socket.h> exists.
294 + * Define if the strlcpy() function exists on the system.
299 + * Define if the open_memstream() function exists on the system.
304 + * Define if the BSD funopen() function exists on the system.
309 + * Define if prctl() exists
314 + * Define if writev() exists
319 + * Define if <stdint.h> exists.
324 + * Define if <stdbool.h> exists.
329 + * Define if <sched.h> exists.
334 + * Define if pread() exists
/openbmc/linux/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt17 mac80211->driver: sta_state(AP, not-exists)
28 mac80211->driver: sta_state(AP, exists)
56 mac80211->driver: sta_state(AP, exists)
90 mac80211->driver: sta_state(AP,exists)
91 mac80211->driver: sta_state(AP,not-exists)

12345678910>>...54