Home
last modified time | relevance | path

Searched refs:isfile (Results 1 - 25 of 228) sorted by relevance

12345678910

/third_party/python/Lib/unittest/test/
H A 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
741 def isfile(_): global() function
[all...]
H A Dtest_program.py368 def isfile(path): function
370 original = os.path.isfile
371 os.path.isfile = isfile
373 os.path.isfile = original
/third_party/python/Lib/test/
H A 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'))
H A Dtest_compileall.py139 self.assertTrue(os.path.isfile(self.bc_path) and
140 not os.path.isfile(self.bc_path2))
144 self.assertTrue(os.path.isfile(self.bc_path) and
145 os.path.isfile(self.bc_path2))
156 self.assertFalse(os.path.isfile(self.bc_path))
161 self.assertTrue(os.path.isfile(self.bc_path))
164 self.assertFalse(os.path.isfile(self.bc_path))
168 self.assertTrue(os.path.isfile(self.bc_path))
171 self.assertFalse(os.path.isfile(self.bc_path))
175 self.assertTrue(os.path.isfile(sel
[all...]
H A Dtest_genericpath.py24 'getmtime', 'exists', 'isdir', 'isfile']
196 self.assertIs(self.pathmodule.isfile(filename), False)
197 self.assertIs(self.pathmodule.isfile(bfilename), False)
199 self.assertIs(self.pathmodule.isfile(filename + '\udfff'), False)
200 self.assertIs(self.pathmodule.isfile(bfilename + b'\xff'), False)
201 self.assertIs(self.pathmodule.isfile(filename + '\x00'), False)
202 self.assertIs(self.pathmodule.isfile(bfilename + b'\x00'), False)
206 self.assertIs(self.pathmodule.isfile(filename), True)
207 self.assertIs(self.pathmodule.isfile(bfilename), True)
213 self.assertIs(self.pathmodule.isfile(filenam
[all...]
/third_party/skia/tools/
H A 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/python/Modules/
H A Dgetpath.py24 # isfile(path) -- path exists and is a file
208 def search_up(prefix, *landmarks, test=isfile):
383 if os_name != 'nt' and not isfile(base_executable):
394 if isfile(candidate):
417 if isfile(real_executable):
423 if any(isfile(joinpath(library_dir, p)) for p in STDLIB_LANDMARKS):
498 if isfile(joinpath(real_executable_dir, BUILD_LANDMARK)):
558 if isfile(joinpath(library_dir, ZIP_LANDMARK)):
563 if any(isfile(joinpath(library_dir, f)) for f in STDLIB_LANDMARKS):
572 if isfile(joinpat
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/scripts/
H A 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/
H A 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/
H A 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/lz4/tests/
H A 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/node/deps/v8/tools/
H A Dupdate-object-macros-undef.py30 if not os.path.isfile(INPUT):
33 if not os.path.isfile(OUTPUT):
/third_party/googletest/googletest/test/
H A 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):
H A 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):
H A 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/skia/third_party/externals/tint/tools/
H A 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/vk-gl-cts/external/amber/src/tools/
H A Dupdate_vk_wrappers.py200 if os.path.isfile(vkfile):
209 if os.path.isfile(outfile):
217 if os.path.isfile(hdrfile):
/third_party/python/Lib/distutils/
H A Dfile_util.py103 if not os.path.isfile(src):
177 from os.path import exists, isfile, isdir, basename, dirname namespace
186 if not isfile(src):
H A Dspawn.py105 if os.path.isfile(executable):
126 if os.path.isfile(f):
/third_party/python/Lib/distutils/command/
H A 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/
H A 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/experimental/tools/
H A 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/
H A Dheaplimit_measure.py55 if not os.path.isfile(_file):
96 assert os.path.isfile(JERRY_BIN), 'Jerry binary file does not exists'
/third_party/node/tools/icu/
H A Dshrink-icu-src.py85 if not os.path.isfile(uvernum_h):
108 if not os.path.isfile(src_datafile):
/third_party/python/Tools/ssl/
H A Dmake_ssl_data.py102 if not os.path.isfile(args.err_h):
108 if not os.path.isfile(args.errtxt):

Completed in 14 milliseconds

12345678910