Home
last modified time | relevance | path

Searched refs:isfile (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/external/python/cpython2/Lib/unittest/test/
Dtest_discovery.py32 original_isfile = os.path.isfile
34 os.path.isfile = original_isfile
50 def isfile(path): function
53 os.path.isfile = isfile
75 original_isfile = os.path.isfile
77 os.path.isfile = original_isfile
90 os.path.isfile = lambda path: os.path.basename(path) not in directories
137 original_isfile = os.path.isfile
140 os.path.isfile = original_isfile
142 os.path.isfile = lambda path: False
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_discovery.py49 original_isfile = os.path.isfile
51 os.path.isfile = original_isfile
67 def isfile(path): function
70 os.path.isfile = isfile
102 original_isfile = os.path.isfile
104 os.path.isfile = original_isfile
116 os.path.isfile = lambda path: False
140 original_isfile = os.path.isfile
142 os.path.isfile = original_isfile
155 os.path.isfile = lambda path: os.path.basename(path) not in directories
[all …]
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_create_cdb.py33 self.assertTrue(os.path.isfile(result))
42 self.assertTrue(os.path.isfile(result))
49 self.assertTrue(os.path.isfile(result))
59 self.assertTrue(os.path.isfile(result))
65 self.assertTrue(os.path.isfile(result))
74 self.assertTrue(os.path.isfile(result))
115 self.assertTrue(os.path.isfile(result))
117 self.assertTrue(os.path.isfile(result))
123 self.assertTrue(os.path.isfile(result))
125 self.assertTrue(os.path.isfile(result))
/external/python/cpython3/Lib/test/
Dtest_unicode_file.py31 self.assertTrue(os.path.isfile(filename))
34 self.assertTrue(os.path.isfile(os.path.abspath(filename)))
57 self.assertTrue(os.path.isfile(filename1)) # must exist.
59 self.assertFalse(os.path.isfile(filename2))
60 self.assertTrue(os.path.isfile(filename1 + '.new'))
62 self.assertFalse(os.path.isfile(filename1 + '.new'))
63 self.assertTrue(os.path.isfile(filename2))
80 self.assertTrue(os.path.isfile(filename1 + '.new'))
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util_unittest.py64 if os.path.isfile(self.archive_path):
78 self.assertTrue(os.path.isfile(read_only_path))
79 self.assertTrue(os.path.isfile(writable_path))
80 self.assertTrue(os.path.isfile(executable_path))
81 self.assertTrue(os.path.isfile(sub_read_only_path))
82 self.assertTrue(os.path.isfile(sub_writable_path))
83 self.assertTrue(os.path.isfile(sub_executable_path))
113 if os.path.isfile(archive_path):
125 self.assertFalse(os.path.isfile(self.executable_path))
128 self.assertFalse(os.path.isfile(self.sub_executable_path))
[all …]
/external/python/cpython2/PC/VS8.0/
Dbuild_ssl.py34 if os.path.isfile(fname) and fname not in ret:
39 if os.path.isfile(fname) and fname not in ret:
103 if not os.path.isfile(m32):
122 if not os.path.isfile(makefile):
195 if arch == "amd64" and os.path.isfile(m32) and not os.path.isfile(makefile):
201 if not os.path.isfile(makefile) or os.path.getsize(makefile)==0:
/external/python/cpython2/PC/VC6/
Dbuild_ssl.py29 if os.path.isfile(fname) and fname not in ret:
34 if os.path.isfile(fname) and fname not in ret:
96 if not os.path.isfile(makefile):
140 if os.path.isfile(dst) and cmp(src, dst):
178 if not os.path.isfile(makefile) or os.path.getsize(makefile)==0:
207 if os.path.isfile(r"tmp%s\%s" % (dirsuffix, f)): continue
/external/autotest/client/bin/
Dlocal_host_unittest.py200 self.assertTrue(os.path.isfile(dest_file))
215 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
231 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
249 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file')))
250 self.assertFalse(os.path.isfile(os.path.join(dest_dir, 'dir', 'file2')))
266 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
283 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
301 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'file')))
302 self.assertFalse(os.path.isfile(os.path.join(dest_dir, 'file2')))
/external/grpc-grpc/src/c-ares/
Dgen_build_yaml.py40 if not os.path.isfile('third_party/cares/cares/ares_config.h'):
45 if os.path.isfile('src/cares/cares/ares_build.h'):
47 if not os.path.isfile('third_party/cares/cares/ares_build.h'):
/external/skia/tools/
Dbuild_command_buffer.py57 if os.path.isfile(args.chrome_dir):
60 if os.path.isfile(args.output_dir):
68 if os.path.isfile(args.output_dir):
153 if not os.path.isfile(shared_lib_src):
159 if not os.path.isfile(shared_lib_dst):
/external/skqp/tools/
Dbuild_command_buffer.py57 if os.path.isfile(args.chrome_dir):
60 if os.path.isfile(args.output_dir):
68 if os.path.isfile(args.output_dir):
153 if not os.path.isfile(shared_lib_src):
159 if not os.path.isfile(shared_lib_dst):
/external/python/cpython2/Lib/test/
Dtest_shutil.py166 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
168 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
393 self.assertTrue(os.path.isfile(tarball))
404 self.assertTrue(os.path.isfile(tarball))
442 self.assertTrue(os.path.isfile(tarball))
449 self.assertTrue(os.path.isfile(tarball2))
456 self.assertTrue(os.path.isfile(tarball))
462 self.assertTrue(os.path.isfile(tarball))
481 self.assertTrue(os.path.isfile(res))
495 self.assertTrue(os.path.isfile(res))
[all …]
Dtest_compileall.py65 self.assertTrue(os.path.isfile(self.bc_path) \
66 and not os.path.isfile(self.bc_path2))
69 self.assertTrue(os.path.isfile(self.bc_path) \
70 and os.path.isfile(self.bc_path2))
Dtest_unicode_file.py46 self.assertTrue(os.path.isfile(filename))
49 self.assertTrue(os.path.isfile(os.path.abspath(filename)))
95 self.assertTrue(os.path.isfile(filename1)) # must exist.
97 self.assertTrue(os.path.isfile(filename1+".new"))
99 self.assertTrue(os.path.isfile(filename2))
/external/autotest/client/site_tests/performance_Tracker/
Dperformance_Tracker.py52 if os.path.isfile(TERMINATE_PATH):
62 if os.path.isfile(TERMINATE_PATH):
77 if os.path.isfile(TERMINATE_PATH):
/external/skqp/bin/
Dsync29 if not os.path.isfile(DEPS_FILE):
39 if os.path.isfile(HASH_FILE):
44 if os.path.isfile(HASH_FILE):
/external/swiftshader/third_party/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py63 if not os.path.isfile('tools/spirv-dis'):
68 if not os.path.isfile('tools/spirv-as'):
73 if not os.path.isfile('tools/spirv-opt'):
/external/deqp-deps/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py63 if not os.path.isfile('tools/spirv-dis'):
68 if not os.path.isfile('tools/spirv-as'):
73 if not os.path.isfile('tools/spirv-opt'):
/external/python/oauth2client/scripts/
Drun_system_tests.py50 if not os.path.isfile(JSON_KEY_PATH):
52 if not os.path.isfile(P12_KEY_PATH):
54 if not os.path.isfile(USER_KEY_PATH):
/external/python/cpython2/Demo/pdist/
Drcslib.py174 return (os.path.isfile(namev) or
175 os.path.isfile(os.path.join('RCS', namev)))
187 if os.path.isfile(namev): return namev
189 if os.path.isfile(namev): return namev
205 if os.path.isfile(name): return name
/external/google-breakpad/src/testing/gtest/test/
Dgtest_xml_outfiles_test.py115 self.assert_(os.path.isfile(output_file1) or os.path.isfile(output_file2),
119 if os.path.isfile(output_file1):
/external/autotest/client/site_tests/graphics_SanAngeles/
Dgraphics_SanAngeles.py43 if os.path.isfile(cmd_gl):
45 elif os.path.isfile(cmd_gles):
47 elif os.path.isfile(cmd_gles_s):
/external/googletest/googletest/test/
Dgtest_xml_outfiles_test.py118 self.assert_(os.path.isfile(output_file1) or os.path.isfile(output_file2),
122 if os.path.isfile(output_file1):
/external/python/cpython2/Lib/distutils/command/
Dsdist.py192 template_exists = os.path.isfile(self.template)
255 files = filter(os.path.isfile, glob(pattern))
279 if os.path.isfile(item):
285 if os.path.isfile(f):
376 if not os.path.isfile(self.manifest):
435 if not os.path.isfile(file):
/external/autotest/site_utils/
Dpubsub_utils_unittest.py88 os.path.isfile(_TEST_CLOUD_SERVICE_ACCOUNT_FILE).AndReturn(False)
98 os.path.isfile(_TEST_CLOUD_SERVICE_ACCOUNT_FILE).AndReturn(True)
111 os.path.isfile(_TEST_CLOUD_SERVICE_ACCOUNT_FILE).AndReturn(True)
135 os.path.isfile(_TEST_CLOUD_SERVICE_ACCOUNT_FILE).AndReturn(True)

12345678910>>...23