/third_party/python/Lib/unittest/test/ |
H A D | test_discovery.py | 50 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 D | test_program.py | 368 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 D | test_unicode_file.py | 33 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 D | test_compileall.py | 139 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 D | test_genericpath.py | 24 '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 D | build_command_buffer.py | 57 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 D | getpath.py | 24 # 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 D | test_compact_ids.py | 61 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 D | test_compact_ids.py | 61 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 D | test_compact_ids.py | 61 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 D | test-lz4-versions.py | 80 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 D | update-object-macros-undef.py | 30 if not os.path.isfile(INPUT): 33 if not os.path.isfile(OUTPUT):
|
/third_party/googletest/googletest/test/ |
H A D | googletest-json-outfiles-test.py | 181 self.assert_(os.path.isfile(output_file1) or os.path.isfile(output_file2), 184 if os.path.isfile(output_file1):
|
H A D | gtest_xml_outfiles_test.py | 118 self.assert_(os.path.isfile(output_file1) or os.path.isfile(output_file2), 122 if os.path.isfile(output_file1):
|
H A D | gtest_xml_output_unittest.py | 310 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 D | run_tests.py | 203 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 D | update_vk_wrappers.py | 200 if os.path.isfile(vkfile): 209 if os.path.isfile(outfile): 217 if os.path.isfile(hdrfile):
|
/third_party/python/Lib/distutils/ |
H A D | file_util.py | 103 if not os.path.isfile(src): 177 from os.path import exists, isfile, isdir, basename, dirname namespace 186 if not isfile(src):
|
H A D | spawn.py | 105 if os.path.isfile(executable): 126 if os.path.isfile(f):
|
/third_party/python/Lib/distutils/command/ |
H A D | sdist.py | 184 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 D | run_tests.py | 321 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 D | pdf-comparison.py | 95 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 D | heaplimit_measure.py | 55 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 D | shrink-icu-src.py | 85 if not os.path.isfile(uvernum_h): 108 if not os.path.isfile(src_datafile):
|
/third_party/python/Tools/ssl/ |
H A D | make_ssl_data.py | 102 if not os.path.isfile(args.err_h): 108 if not os.path.isfile(args.errtxt):
|