Home
last modified time | relevance | path

Searched full:exists (Results 1 – 25 of 14466) sorted by relevance

12345678910>>...579

/external/deqp/framework/delibs/decpp/
DdeSharedPtr.cpp44 Object(bool &exists) : m_exists(exists) in Object() argument
61 DerivedObject(bool &exists) : Object(exists) in DerivedObject() argument
69 …haredPtrTestThread(const SharedPtr<Object> &ptr, const bool &exists) : m_ptr(ptr), m_exists(exists) in SharedPtrTestThread() argument
103 … WeakPtrTestThread(const SharedPtr<Object> &ptr, const bool &exists) : m_ptr(ptr), m_exists(exists) in WeakPtrTestThread() argument
134 SharedPtr<Object> makeObject(bool &exists) in makeObject() argument
136 return SharedPtr<Object>(new Object(exists)); in makeObject()
183 bool exists = false; in SharedPtr_selfTest() local
185 SharedPtr<Object> ptr(new Object(exists)); in SharedPtr_selfTest()
186 DE_TEST_ASSERT(exists); in SharedPtr_selfTest()
190 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest()
[all …]
DdeUniquePtr.cpp37 Object(bool &exists) : m_exists(exists) in Object() argument
67 MovePtr<Object> createObject(bool &exists) in createObject() argument
69 UniquePtr<Object> objectPtr(new Object(exists)); in createObject()
79 bool exists = false; in UniquePtr_selfTest() local
81 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
82 DE_TEST_ASSERT(exists); in UniquePtr_selfTest()
85 DE_TEST_ASSERT(!exists); in UniquePtr_selfTest()
90 bool exists = false; in UniquePtr_selfTest() local
93 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest()
94 DE_TEST_ASSERT(exists); in UniquePtr_selfTest()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/output/
DLockableFileWriterTest.java67 assertTrue(file.exists()); in testAlternateLockDir()
68 assertFalse(altLockFile.exists()); in testAlternateLockDir()
81 assertTrue(file.exists()); in testAlternateLockDir()
82 assertFalse(altLockFile.exists()); in testAlternateLockDir()
87 assertTrue(file.exists()); in testAlternateLockDir()
88 assertTrue(altLockFile.exists()); in testAlternateLockDir()
96 assertTrue(file.exists()); in testAlternateLockDir()
97 assertTrue(altLockFile.exists()); in testAlternateLockDir()
104 assertFalse(file.exists()); in testConstructor_File_directory()
105 assertFalse(lockFile.exists()); in testConstructor_File_directory()
[all …]
/external/python/pyfakefs/pyfakefs/pytest_tests/
Dpytest_plugin_test.py13 assert os.path.exists("/var/data/xx1.txt")
18 assert os.path.exists("/var/data/xx1.txt")
24 assert os.path.exists("/var/data/xx1.txt")
25 assert os.path.exists("/var/data/xx2.txt")
31 assert fs.exists(fake_temp_file.name)
32 assert os.path.exists(fake_temp_file.name)
34 assert fs.exists(fake_temp_file.name)
35 assert not os.path.exists(fake_temp_file.name)
37 assert not fs.exists(real_temp_file.name)
38 assert os.path.exists(real_temp_file.name)
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_shutil_test.py87 self.assertTrue(os.path.exists(directory))
89 self.assertFalse(os.path.exists(directory))
90 self.assertFalse(os.path.exists(dir_path))
91 self.assertFalse(os.path.exists(file_path))
100 self.assertFalse(os.path.exists(directory))
101 self.assertFalse(os.path.exists(dir_path))
102 self.assertFalse(os.path.exists(file_path))
114 self.assertTrue(os.path.exists(file_path))
128 self.assertTrue(os.path.exists(file_path))
132 self.assertFalse(os.path.exists(file_path))
[all …]
Dfake_filesystem_unittest_test.py108 self.assertFalse(os.path.exists("/fake_file.txt"))
111 self.assertTrue(self.fs.exists("/fake_file.txt"))
121 self.assertFalse(os.path.exists("/fake_file.txt"))
124 self.assertTrue(self.fs.exists("/fake_file.txt"))
134 self.assertFalse(self.fs.exists("/test/dir1/dir2"))
136 self.assertTrue(self.fs.exists("/test/dir1/dir2"))
159 self.assertTrue(self.fs.exists("/test/dir1/dir2b"))
160 self.assertTrue(self.fs.exists("/test/dir1/dir2a"))
163 self.assertFalse(self.fs.exists("/test/dir1"))
171 self.assertTrue(self.fs.exists(r"\fake_file.txt"))
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/monitor/
DFileAlterationObserverTest.java163 assertFalse(testDirAFile1.exists(), "B testDirAFile1 exists"); in testFileCreate()
164 assertTrue(testDirAFile2.exists(), "B testDirAFile2 exists"); in testFileCreate()
165 assertFalse(testDirAFile3.exists(), "B testDirAFile3 exists"); in testFileCreate()
166 assertTrue(testDirAFile4.exists(), "B testDirAFile4 exists"); in testFileCreate()
167 assertFalse(testDirAFile5.exists(), "B testDirAFile5 exists"); in testFileCreate()
177 assertTrue(testDirAFile1.exists(), "D testDirAFile1 exists"); in testFileCreate()
185 assertTrue(testDirAFile3.exists(), "E testDirAFile3 exists"); in testFileCreate()
193 assertTrue(testDirAFile5.exists(), "F testDirAFile5 exists"); in testFileCreate()
215 assertTrue(testDirAFile1.exists(), "B testDirAFile1 exists"); in testFileDelete()
216 assertTrue(testDirAFile2.exists(), "B testDirAFile2 exists"); in testFileDelete()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileDeleteStrategyTest.java46 if (!subFile.getParentFile().exists()) { in testDeleteForce()
55 assertTrue(subDir.exists()); in testDeleteForce()
56 assertTrue(subFile.exists()); in testDeleteForce()
59 assertFalse(subDir.exists()); in testDeleteForce()
60 assertFalse(subFile.exists()); in testDeleteForce()
63 assertFalse(subDir.exists()); in testDeleteForce()
72 if (!subFile.getParentFile().exists()) { in testDeleteNormal()
81 assertTrue(subDir.exists()); in testDeleteNormal()
82 assertTrue(subFile.exists()); in testDeleteNormal()
85 assertTrue(subDir.exists()); in testDeleteNormal()
[all …]
DFileCleaningTrackerTest.java63 while (file.exists() && count++ < 40) { in pauseForDeleteToComplete()
71 while (Files.exists(file) && count++ < 40) { in pauseForDeleteToComplete()
116 if (!testFile.getParentFile().exists()) { in testFileCleanerDirectory_ForceStrategy_FileSource()
124 assertTrue(testFile.exists()); in testFileCleanerDirectory_ForceStrategy_FileSource()
125 assertTrue(tempDirFile.exists()); in testFileCleanerDirectory_ForceStrategy_FileSource()
138 assertFalse(new File(testFile.getPath()).exists(), showFailures()); in testFileCleanerDirectory_ForceStrategy_FileSource()
139 assertFalse(testFile.getParentFile().exists(), showFailures()); in testFileCleanerDirectory_ForceStrategy_FileSource()
144 if (!Files.exists(testPath.getParent())) { in testFileCleanerDirectory_ForceStrategy_PathSource()
152 assertTrue(Files.exists(testPath)); in testFileCleanerDirectory_ForceStrategy_PathSource()
153 assertTrue(Files.exists(tempDirPath)); in testFileCleanerDirectory_ForceStrategy_PathSource()
[all …]
/external/mesa3d/.gitlab-ci/
Dfarm-rules.yml3 # If the disable file exists, we are disabling the farm, or it's already
5 # - exists: [ .ci-farms-disabled/$FARM ]
33 - exists: [ .ci-farms-disabled/microsoft ] # 1. Is disabled, never run
47 - exists: [ .ci-farms-disabled/microsoft ]
58 - exists: [ .ci-farms-disabled/microsoft ]
82 - exists: [ .ci-farms-disabled/collabora ]
93 - exists: [ .ci-farms-disabled/collabora ]
103 - exists: [ .ci-farms-disabled/igalia ]
114 - exists: [ .ci-farms-disabled/igalia ]
124 - exists: [ .ci-farms-disabled/lima ]
[all …]
/external/autotest/tko/migrations/
D001_initial_db.py12 DROP VIEW IF EXISTS test_view;
13 DROP VIEW IF EXISTS perf_view;
15 DROP TABLE IF EXISTS brrd_sync;
16 DROP TABLE IF EXISTS iteration_result;
17 DROP TABLE IF EXISTS test_attributes;
18 DROP TABLE IF EXISTS tests;
19 DROP TABLE IF EXISTS patches;
20 DROP TABLE IF EXISTS jobs;
21 DROP TABLE IF EXISTS machines;
22 DROP TABLE IF EXISTS kernels;
[all …]
/external/python/cpython3/Lib/test/
Dtest_dbm_dumb.py249 self.assertFalse(os.path.exists(_fname + '.dat'))
250 self.assertFalse(os.path.exists(_fname + '.dir'))
251 self.assertFalse(os.path.exists(_fname + '.bak'))
256 self.assertTrue(os.path.exists(_fname + '.dat'))
257 self.assertTrue(os.path.exists(_fname + '.dir'))
258 self.assertFalse(os.path.exists(_fname + '.bak'))
259 self.assertFalse(os.path.exists(_fname + '.bak'))
265 self.assertTrue(os.path.exists(_fname + '.dat'))
266 self.assertTrue(os.path.exists(_fname + '.dir'))
267 self.assertFalse(os.path.exists(_fname + '.bak'))
[all …]
/external/angle/third_party/glslang/src/Test/baseResults/
Dspv.coopmatKHR_arithmeticError.comp.out2 ERROR: 0:21: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
3 ERROR: 0:22: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
4 ERROR: 0:23: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
5 ERROR: 0:24: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
6 ERROR: 0:25: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
7 ERROR: 0:26: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
11 ERROR: 0:31: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
12 ERROR: 0:32: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
13 ERROR: 0:33: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of …
14 ERROR: 0:34: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.coopmatKHR_arithmeticError.comp.out2 ERROR: 0:21: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
3 ERROR: 0:22: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
4 ERROR: 0:23: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
5 ERROR: 0:24: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
6 ERROR: 0:25: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
7 ERROR: 0:26: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
11 ERROR: 0:31: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of …
12 ERROR: 0:32: '-' : wrong operand types: no operation '-' exists that takes a left-hand operand of …
13 ERROR: 0:33: '*' : wrong operand types: no operation '*' exists that takes a left-hand operand of …
14 ERROR: 0:34: '/' : wrong operand types: no operation '/' exists that takes a left-hand operand of …
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy41 assertFalse("exists before", fileSystem.exists(NEW_FILE))
43 assertTrue("/ exists after", fileSystem.exists(NEW_DIR))
45 assertTrue("exists after", fileSystem.exists(NEW_FILE))
47 // Try adding entry that already exists
57 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
58 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
61 assert fileSystem.exists(NEW_DIR), "After createDirectory"
62 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
68 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
69 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
[all …]
/external/perfetto/src/trace_processor/metrics/sql/android/
Dandroid_netperf.sql16 DROP VIEW IF EXISTS rx_packets;
29 DROP VIEW IF EXISTS gro_rx_packet_count;
40 DROP VIEW IF EXISTS tx_packets;
53 DROP VIEW IF EXISTS net_devices;
61 DROP VIEW IF EXISTS tcp_retransmitted_count;
71 DROP VIEW IF EXISTS kfree_skb_count;
81 DROP VIEW IF EXISTS device_per_core_ingress_traffic;
99 DROP VIEW IF EXISTS device_per_core_egress_traffic;
117 DROP VIEW IF EXISTS device_total_ingress_traffic;
129 DROP VIEW IF EXISTS device_total_egress_traffic;
[all …]
Dprocess_mem.sql22 DROP VIEW IF EXISTS anon_rss_span;
26 DROP VIEW IF EXISTS file_rss_span;
30 DROP VIEW IF EXISTS shmem_rss_span;
34 DROP VIEW IF EXISTS swap_span;
38 DROP VIEW IF EXISTS anon_and_swap_span;
45 DROP VIEW IF EXISTS rss_and_swap_span;
69 DROP VIEW IF EXISTS java_heap_span;
74 DROP TABLE IF EXISTS java_heap_by_oom_span;
78 DROP TABLE IF EXISTS anon_rss_by_oom_span;
82 DROP TABLE IF EXISTS file_rss_by_oom_span;
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/
Dexists.pass.cpp16 // bool exists(file_status s) noexcept
17 // bool exists(path const& p);
18 // bool exists(path const& p, std::error_code& ec) noexcept;
35 ASSERT_NOEXCEPT(exists(s)); in signature_test()
36 ASSERT_NOEXCEPT(exists(p, ec)); in signature_test()
37 ASSERT_NOT_NOEXCEPT(exists(p)); in signature_test()
60 assert(exists(s) == TC.expect); in exists_status_test()
68 assert(exists(p) == false); in test_exist_not_found()
70 assert(exists(static_env.Dir) == true); in test_exist_not_found()
71 assert(exists(static_env.Dir / "dne") == false); in test_exist_not_found()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/
Dexists.pass.cpp16 // bool exists(file_status s) noexcept
17 // bool exists(path const& p);
18 // bool exists(path const& p, std::error_code& ec) noexcept;
35 ASSERT_NOEXCEPT(exists(s)); in signature_test()
36 ASSERT_NOEXCEPT(exists(p, ec)); in signature_test()
37 ASSERT_NOT_NOEXCEPT(exists(p)); in signature_test()
60 assert(exists(s) == TC.expect); in exists_status_test()
68 assert(exists(p) == false); in test_exist_not_found()
70 assert(exists(static_env.Dir) == true); in test_exist_not_found()
71 assert(exists(static_env.Dir / "dne") == false); in test_exist_not_found()
[all …]
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
83 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
85 assert fileSystem.exists(NEW_DIR), "After createDirectory"
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
104 assert fileSystem.exists(NEW_FILE), "After createFile"
[all …]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
83 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
85 assert fileSystem.exists(NEW_DIR), "After createDirectory"
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
104 assert fileSystem.exists(NEW_FILE), "After createFile"
[all …]
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
83 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
85 assert fileSystem.exists(NEW_DIR), "After createDirectory"
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
104 assert fileSystem.exists(NEW_FILE), "After createFile"
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
83 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
85 assert fileSystem.exists(NEW_DIR), "After createDirectory"
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
104 assert fileSystem.exists(NEW_FILE), "After createFile"
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
83 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
85 assert fileSystem.exists(NEW_DIR), "After createDirectory"
102 assert !fileSystem.exists(NEW_FILE), "Before createFile"
104 assert fileSystem.exists(NEW_FILE), "After createFile"
[all …]
/external/perfetto/src/trace_processor/metrics/sql/experimental/
Dframe_times.sql16 DROP VIEW IF EXISTS InteractionEvents;
22 DROP VIEW IF EXISTS GestureLegacyEvents;
31 DROP VIEW IF EXISTS GestureEvents;
44 DROP TABLE IF EXISTS InteractionEventsJoinGestureEvents;
53 DROP VIEW IF EXISTS InterestingSegments;
83 DROP TABLE IF EXISTS DisplayCompositorPresentationEvents;
95 AND NOT EXISTS (SELECT * FROM DisplayCompositorPresentationEvents)
103 AND NOT EXISTS (SELECT * FROM DisplayCompositorPresentationEvents)
112 DROP VIEW IF EXISTS FrameSegments;
123 DROP TABLE IF EXISTS FrameSegmentsJoinInterestingSegments;
[all …]

12345678910>>...579