Home
last modified time | relevance | path

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

12345678910

/third_party/python/Lib/unittest/test/
Dtest_discovery.py50 original_isfile = os.path.isfile
52 os.path.isfile = original_isfile
68 def isfile(path): function
71 os.path.isfile = isfile
103 original_isfile = os.path.isfile
105 os.path.isfile = original_isfile
117 os.path.isfile = lambda path: False
141 original_isfile = os.path.isfile
143 os.path.isfile = original_isfile
156 os.path.isfile = lambda path: os.path.basename(path) not in directories
[all …]
Dtest_program.py343 def isfile(path): function
345 original = os.path.isfile
346 os.path.isfile = isfile
348 os.path.isfile = original
/third_party/python/Lib/test/
Dtest_unicode_file.py33 self.assertTrue(os.path.isfile(filename))
36 self.assertTrue(os.path.isfile(os.path.abspath(filename)))
59 self.assertTrue(os.path.isfile(filename1)) # must exist.
61 self.assertFalse(os.path.isfile(filename2))
62 self.assertTrue(os.path.isfile(filename1 + '.new'))
64 self.assertFalse(os.path.isfile(filename1 + '.new'))
65 self.assertTrue(os.path.isfile(filename2))
82 self.assertTrue(os.path.isfile(filename1 + '.new'))
Dtest_compileall.py141 self.assertTrue(os.path.isfile(self.bc_path) and
142 not os.path.isfile(self.bc_path2))
146 self.assertTrue(os.path.isfile(self.bc_path) and
147 os.path.isfile(self.bc_path2))
158 self.assertFalse(os.path.isfile(self.bc_path))
163 self.assertTrue(os.path.isfile(self.bc_path))
166 self.assertFalse(os.path.isfile(self.bc_path))
170 self.assertTrue(os.path.isfile(self.bc_path))
208 self.assertTrue(os.path.isfile(cached))
211 self.assertTrue(os.path.isfile(cached2))
[all …]
Dtest_genericpath.py194 self.assertIs(self.pathmodule.isfile(filename), False)
195 self.assertIs(self.pathmodule.isfile(bfilename), False)
197 self.assertIs(self.pathmodule.isfile(filename + '\udfff'), False)
198 self.assertIs(self.pathmodule.isfile(bfilename + b'\xff'), False)
199 self.assertIs(self.pathmodule.isfile(filename + '\x00'), False)
200 self.assertIs(self.pathmodule.isfile(bfilename + b'\x00'), False)
204 self.assertIs(self.pathmodule.isfile(filename), True)
205 self.assertIs(self.pathmodule.isfile(bfilename), True)
211 self.assertIs(self.pathmodule.isfile(filename), False)
212 self.assertIs(self.pathmodule.isfile(bfilename), False)
[all …]
/third_party/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):
/third_party/skia/third_party/externals/spirv-tools/test/scripts/
Dtest_compact_ids.py61 if not os.path.isfile('tools/spirv-dis'):
66 if not os.path.isfile('tools/spirv-as'):
71 if not os.path.isfile('tools/spirv-opt'):
/third_party/spirv-tools/test/scripts/
Dtest_compact_ids.py61 if not os.path.isfile('tools/spirv-dis'):
66 if not os.path.isfile('tools/spirv-as'):
71 if not os.path.isfile('tools/spirv-opt'):
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/scripts/
Dtest_compact_ids.py61 if not os.path.isfile('tools/spirv-dis'):
66 if not os.path.isfile('tools/spirv-as'):
71 if not os.path.isfile('tools/spirv-opt'):
/third_party/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):
Dgoogletest-json-outfiles-test.py181 self.assert_(os.path.isfile(output_file1) or os.path.isfile(output_file2),
184 if os.path.isfile(output_file1):
Dgtest_xml_output_unittest.py310 self.assert_(os.path.isfile(output_file))
320 if os.path.isfile(xml_path):
339 self.assert_(not os.path.isfile(xml_path))
/third_party/lz4/tests/
Dtest-lz4-versions.py80 if not os.path.isfile(dst_lz4c) or not os.path.isfile(dst_lz4c32) or tag == head:
115 if not os.path.isfile(lz4):
119 if not os.path.isfile(lz4t):
/third_party/python/Lib/distutils/command/
Dsdist.py184 template_exists = os.path.isfile(self.template)
273 files = filter(os.path.isfile, glob(pattern))
299 if os.path.isfile(item):
306 if os.path.isfile(f):
394 if not os.path.isfile(self.manifest):
452 if not os.path.isfile(file):
/third_party/vk-gl-cts/external/amber/src/tests/
Drun_tests.py321 if not os.path.isfile(test_prog):
327 if not os.path.isfile(self.options.test_prog_path):
337 if not os.path.isfile(input_path):
350 if os.path.isfile(input_path):
/third_party/skia/third_party/externals/tint/tools/
Drun_tests.py203 if not os.path.isfile(test_prog):
209 if not os.path.isfile(self.options.test_prog_path):
220 if not os.path.isfile(input_path):
232 if os.path.isfile(input_path):
/third_party/node/deps/v8/tools/
Dupdate-object-macros-undef.py30 if not os.path.isfile(INPUT):
33 if not os.path.isfile(OUTPUT):
/third_party/python/Lib/distutils/
Dfile_util.py103 if not os.path.isfile(src):
177 from os.path import exists, isfile, isdir, basename, dirname
186 if not isfile(src):
Dspawn.py105 if os.path.isfile(executable):
126 if os.path.isfile(f):
/third_party/vk-gl-cts/external/amber/src/tools/
Dupdate_vk_wrappers.py200 if os.path.isfile(vkfile):
209 if os.path.isfile(outfile):
217 if os.path.isfile(hdrfile):
/third_party/skia/experimental/tools/
Dpdf-comparison.py95 if not os.path.isfile(path1) or not os.path.isfile(path2):
96 return os.path.isfile(path1) == os.path.isfile(path2)
243 assert os.path.isfile(path + '.0.png')
/third_party/jerryscript/tools/
Dheaplimit_measure.py55 if not os.path.isfile(_file):
96 assert os.path.isfile(JERRY_BIN), 'Jerry binary file does not exists'
/third_party/python/Tools/ssl/
Dmake_ssl_data.py102 if not os.path.isfile(args.err_h):
108 if not os.path.isfile(args.errtxt):
/third_party/skia/infra/bots/assets/valgrind/
Dcreate.py38 if os.path.isfile(TARBALL):
58 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
/third_party/skia/third_party/externals/brotli/python/
Dbro.py123 if not os.path.isfile(options.infile):
135 if os.path.isfile(options.outfile) and not options.force:

12345678910