Home
last modified time | relevance | path

Searched refs:src_file (Results 1 - 25 of 41) sorted by relevance

12

/third_party/spirv-tools/test/diff/diff_files/
H A Dgenerate_tests.py172 def run_diff_tool(diff_tool, src_file, dst_file, variant):
187 args.append(src_file)
204 def generate_extra_test(diff_tool, src_file, dst_file, variant, test_name_camel_case, test_tag, test_options):
205 diff = run_diff_tool(diff_tool, src_file, dst_file, variant)
213 src_file = make_src_file(test_name)
215 src_file_no_debug = remove_debug_info(src_file)
218 src_spirv = read_file(src_file)
225 diff_spirv = run_diff_tool(diff_tool, src_file, dst_file, VARIANT_NONE)
231 extra_tests.append(generate_extra_test(diff_tool, src_file, dst_file, VARIANT_IGNORE_SET_BINDING,
235 extra_tests.append(generate_extra_test(diff_tool, src_file, dst_fil
[all...]
/third_party/mbedtls/scripts/
H A Dcode_style.py118 for src_file in src_file_list:
119 uncrustify_cmd = [UNCRUSTIFY_EXE] + UNCRUSTIFY_ARGS + [src_file]
124 " correcting file " + src_file)
130 diff_cmd = ["diff", "-u", src_file, src_file + ".uncrustify"]
134 print(src_file + " changed - code style is incorrect.")
141 os.remove(src_file + ".uncrustify")
150 for src_file in src_file_list:
151 uncrustify_cmd = [UNCRUSTIFY_EXE] + code_change_args + [src_file]
156 src_file)
[all...]
/third_party/cJSON/tests/unity/examples/example_3/
H A Drakefile_helper.rb49 src_file = dir + header.ext(C_EXTENSION)
50 return src_file if File.exist?(src_file)
179 src_file = find_source_file(header, include_dirs)
180 obj_list << compile(src_file, test_defines) unless src_file.nil?
231 src_file = find_source_file(header, include_dirs)
232 obj_list << compile(src_file) unless src_file.nil?
/third_party/unity/examples/example_3/
H A Drakefile_helper.rb53 src_file = dir + header.ext(C_EXTENSION)
54 return src_file if File.exist?(src_file)
185 src_file = find_source_file(header, include_dirs)
186 obj_list << compile(src_file, test_defines) unless src_file.nil?
237 src_file = find_source_file(header, include_dirs)
238 obj_list << compile(src_file) unless src_file.nil?
/third_party/cups/
H A Dinstall.py35 src_file = dir + src_name
37 print(f'copy from %s to %s', src_file, dest_file)
38 shutil.copy2(src_file, dest_file)
56 src_file = os.path.join(src_path, file)
58 shutil.copy(src_file, dst_file)
H A Dgenerate_mime_convs.py23 src_file = dir + src_name
25 print(f'copy from %s to %s', src_file, dest_file)
26 shutil.copy2(src_file, dest_file)
/third_party/skia/third_party/externals/zlib/google/
H A Dzip.cc175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument
177 src_file, dest_dir, base::BindRepeating(&ExcludeNoFilesFilter), true); in Unzip()
180 bool UnzipWithFilterCallback(const base::FilePath& src_file, in UnzipWithFilterCallback() argument
184 base::File file(src_file, base::File::FLAG_OPEN | base::File::FLAG_READ); in UnzipWithFilterCallback()
186 DLOG(WARNING) << "Failed to open " << src_file.value(); in UnzipWithFilterCallback()
196 bool UnzipWithFilterAndWriters(const base::PlatformFile& src_file, in UnzipWithFilterAndWriters() argument
202 if (!reader.OpenFromPlatformFile(src_file)) { in UnzipWithFilterAndWriters()
203 DLOG(WARNING) << "Failed to open src_file " << src_file; in UnzipWithFilterAndWriters()
/third_party/gn/build/
H A Dgen.py322 def build_source(src_file, settings):
324 'build %s: cxx %s' % (src_to_obj(src_file),
327 os.path.join(REPO_ROOT, src_file),
335 for src_file in settings['sources']:
336 build_source(src_file, settings)
340 ' '.join([src_to_obj(src_file) for src_file in settings['sources']])))
345 for src_file in settings['sources']:
346 build_source(src_file, settings)
351 ' '.join([src_to_obj(src_file) fo
[all...]
/third_party/cJSON/tests/unity/test/
H A Drakefile_helper.rb59 src_file = dir + header.ext(C_EXTENSION)
60 return src_file if File.exist?(src_file)
214 src_file = find_source_file(header, include_dirs)
216 obj_list << compile(src_file, test_defines) unless src_file.nil?
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip.cc174 bool Unzip(const base::FilePath& src_file, in Unzip() argument
177 base::File file(src_file, base::File::FLAG_OPEN | base::File::FLAG_READ); in Unzip()
179 PLOG(ERROR) << "Cannot open " << Redact(src_file) << ": " in Unzip()
193 bool Unzip(const base::PlatformFile& src_file, in Unzip() argument
201 if (!reader.OpenFromPlatformFile(src_file)) { in Unzip()
202 LOG(ERROR) << "Cannot open ZIP from file handle " << src_file; in Unzip()
/third_party/node/deps/zlib/google/
H A Dzip.cc174 bool Unzip(const base::FilePath& src_file, in Unzip() argument
177 base::File file(src_file, base::File::FLAG_OPEN | base::File::FLAG_READ); in Unzip()
179 PLOG(ERROR) << "Cannot open " << Redact(src_file) << ": " in Unzip()
193 bool Unzip(const base::PlatformFile& src_file, in Unzip() argument
201 if (!reader.OpenFromPlatformFile(src_file)) { in Unzip()
202 LOG(ERROR) << "Cannot open ZIP from file handle " << src_file; in Unzip()
/third_party/unity/test/
H A Drakefile_helper.rb62 src_file = dir + header.ext(C_EXTENSION)
63 return src_file if File.exist?(src_file)
274 src_file = find_source_file(header, include_dirs)
276 obj_list << compile(src_file, test_defines) unless src_file.nil?
/third_party/astc-encoder/Utils/
H A Dastc_rgbm_codec.cpp62 const char* src_file = argv[4]; in main() local
71 const float* data_in = stbi_loadf(src_file, &dim_x, &dim_y, nullptr, 4); in main()
129 const uint8_t* data_in = stbi_load(src_file, &dim_x, &dim_y, nullptr, 4); in main()
/third_party/python/Tools/ssl/
H A Dmultissltests.py172 self.src_file = os.path.join(
232 return os.path.isfile(self.src_file)
248 src_dir = os.path.dirname(self.src_file)
268 log.info("Storing {}".format(self.src_file))
269 with open(self.src_file, "wb") as f:
279 tf = tarfile.open(self.src_file)
333 log.debug("Already has src {}".format(self.src_file))
/third_party/cups-filters/
H A Dinstall.py25 src_file = dir + src_name
27 shutil.copy2(src_file, dest_file)
/third_party/harfbuzz/
H A Dinstall.py41 src_file = os.path.join(src_path, file)
43 shutil.copy(src_file, dst_file)
/third_party/libpng/
H A Dinstall.py45 src_file = os.path.join(src_path, file)
47 shutil.copy(src_file, dst_file)
/third_party/libffi/
H A Dinstall.py45 src_file = os.path.join(patch_dir, file)
47 shutil.copy(src_file, dst_file)
/third_party/freetype/
H A Dinstall.py46 src_file = os.path.join(src_path, file)
48 shutil.copy(src_file, dst_file)
/third_party/libjpeg-turbo/
H A Dinstall.py47 src_file = os.path.join(src_path, file)
49 shutil.copy(src_file, dst_file)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
H A Dgen_mtl_internal_shaders.py113 for src_file in src_files:
114 include_str = '#include "' + src_file + '" \n'
/third_party/ntfs-3g/ntfsprogs/
H A Dntfscp.c66 char *src_file; /* Source file */ member
125 ntfs_log_info("\nUsage: %s [options] device src_file dest_file\n\n" in usage()
177 opts.src_file = NULL; in parse_options()
191 } else if (!opts.src_file) { in parse_options()
192 opts.src_file = argv[optind - 1]; in parse_options()
281 } else if (!opts.src_file) { in parse_options()
897 if (stat(opts.src_file, &fst) == -1) { in main()
905 in = fopen(opts.src_file, "r"); in main()
1005 filename = basename(opts.src_file); in main()
/third_party/protobuf/objectivec/DevTools/
H A Dpddm.py665 src_file = SourceFile(f, _ImportResolver)
668 src_file.ProcessContent(strip_expansion=opts.collapse)
674 if src_file.processed_content != src_file.original_content:
678 f.write(src_file.processed_content)
/third_party/spirv-tools/tools/diff/
H A Ddiff.cpp144 const std::string& src_file = flags::positional_arguments[0]; in main() local
156 std::unique_ptr<spvtools::opt::IRContext> src = load_module(src_file.c_str()); in main()
/third_party/python/Lib/test/
H A Dtest_shutil.py1193 src_file = os.path.join(src_dir, 'foo')
1196 write_file(src_file, 'foo')
1205 copy_func(src_file, dir2) # should not raise exceptions
1288 src_file = os.path.join(src_dir, 'foo')
1289 write_file(src_file, 'foo')
1290 rv = shutil.copyfile(src_file, dst_file)
1292 self.assertEqual(read_file(src_file), read_file(dst_file))
1298 src_file = os.path.join(src_dir, 'foo')
1299 write_file(src_file, 'foo')
1300 self.assertRaises(SameFileError, shutil.copyfile, src_file, src_fil
[all...]

Completed in 12 milliseconds

12