Home
last modified time | relevance | path

Searched refs:dst_file (Results 1 - 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/
H A Dupdate.py276 with open(dst, 'w') as dst_file:
279 print(line, file=dst_file, end='')
280 print('', file=dst_file)
282 file=dst_file)
283 print('#define __i386__ 1', file=dst_file)
284 print('#endif', file=dst_file)
285 print('', file=dst_file)
287 '#if !defined(__x86_64__) && (defined(_M_AMD64) || defined (_M_X64))', file=dst_file)
288 print('#define __x86_64__ 1', file=dst_file)
289 print('#endif', file=dst_file)
[all...]
/third_party/spirv-tools/test/diff/diff_files/
H A Dgenerate_tests.py172 def run_diff_tool(diff_tool, src_file, dst_file, variant):
188 args.append(dst_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)
214 dst_file = make_dst_file(test_name)
216 dst_file_no_debug = remove_debug_info(dst_file)
219 dst_spirv = read_file(dst_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_file, VARIANT_IGNORE_LOCATIO
[all...]
/kernel/linux/linux-5.10/fs/
H A Dremap_range.c448 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one()
456 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
460 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
465 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one()
469 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
477 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
488 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
447 vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, struct file *dst_file, loff_t dst_pos, loff_t len, unsigned int remap_flags) vfs_dedupe_file_range_one() argument
542 struct file *dst_file = dst_fd.file; vfs_dedupe_file_range() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dremap_range.c440 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one()
448 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
460 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
465 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one()
469 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one()
473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
477 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
488 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
439 vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, struct file *dst_file, loff_t dst_pos, loff_t len, unsigned int remap_flags) vfs_dedupe_file_range_one() argument
542 struct file *dst_file = dst_fd.file; vfs_dedupe_file_range() local
[all...]
/third_party/ffmpeg/doc/examples/
H A Dscaling_video.c60 FILE *dst_file; in main() local
83 dst_file = fopen(dst_filename, "wb"); in main()
84 if (!dst_file) { in main()
127 fwrite(dst_data[0], 1, dst_bufsize, dst_file); in main()
135 fclose(dst_file); in main()
H A Dresampling_audio.c91 FILE *dst_file; in main() local
109 dst_file = fopen(dst_filename, "wb"); in main()
110 if (!dst_file) { in main()
193 fwrite(dst_data[0], 1, dst_bufsize, dst_file); in main()
204 fclose(dst_file); in main()
/foundation/ability/idl_tool/scripts/
H A Didl.py54 dst_file_list = input_arguments.dst_file.split(',')
55 for dst_file in dst_file_list:
56 i_dst_file = 'i{0}'.format(dst_file)
58 if ((file_name.startswith(dst_file) or file_name.startswith(i_dst_file)) and
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_transform.h292 unsigned dst_file, in tgsi_transform_op1_inst()
303 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op1_inst()
316 unsigned dst_file, in tgsi_transform_op2_inst()
330 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op2_inst()
345 unsigned dst_file, in tgsi_transform_op3_inst()
360 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op3_inst()
376 unsigned dst_file, in tgsi_transform_op1_swz_inst()
388 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op1_swz_inst()
417 unsigned dst_file, in tgsi_transform_op2_swz_inst()
433 inst.Dst[0].Register.File = dst_file, in tgsi_transform_op2_swz_inst()
290 tgsi_transform_op1_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index) tgsi_transform_op1_inst() argument
314 tgsi_transform_op2_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index, unsigned src1_file, unsigned src1_index, bool src1_negate) tgsi_transform_op2_inst() argument
343 tgsi_transform_op3_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index, unsigned src1_file, unsigned src1_index, unsigned src2_file, unsigned src2_index) tgsi_transform_op3_inst() argument
374 tgsi_transform_op1_swz_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index, unsigned src0_swizzle) tgsi_transform_op1_swz_inst() argument
415 tgsi_transform_op2_swz_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index, unsigned src0_swizzle, unsigned src1_file, unsigned src1_index, unsigned src1_swizzle, bool src1_negate) tgsi_transform_op2_swz_inst() argument
466 tgsi_transform_op3_swz_inst(struct tgsi_transform_context *ctx, enum tgsi_opcode opcode, unsigned dst_file, unsigned dst_index, unsigned dst_writemask, unsigned src0_file, unsigned src0_index, unsigned src0_swizzle, unsigned src0_negate, unsigned src1_file, unsigned src1_index, unsigned src1_swizzle, unsigned src2_file, unsigned src2_index, unsigned src2_swizzle) tgsi_transform_op3_swz_inst() argument
549 tgsi_transform_tex_inst(struct tgsi_transform_context *ctx, unsigned dst_file, unsigned dst_index, unsigned src_file, unsigned src_index, unsigned tex_target, unsigned sampler_index) tgsi_transform_tex_inst() argument
[all...]
/base/security/selinux_adapter/scripts/
H A Dbuild_policy_api.py388 output_path = os.path.join(os.path.abspath(os.path.dirname(args.dst_file)), "developer/")
392 output_path = os.path.abspath(os.path.dirname(args.dst_file))
424 output_path = os.path.join(os.path.abspath(os.path.dirname(args.dst_file)), "developer/")
428 output_path = os.path.abspath(os.path.dirname(args.dst_file))
496 build_binary_policy(args.tool_path, args.dst_file, True, cil_list)
516 build_normal_thread = executor.submit(build_binary_policy, args.tool_path, args.dst_file, True, cil_list)
517 developer_policy_path = os.path.join(os.path.abspath(os.path.dirname(args.dst_file)), "developer/policy.31")
532 output_path = os.path.abspath(os.path.dirname(args.dst_file))
548 output_path = os.path.join(os.path.abspath(os.path.dirname(args.dst_file)), "pre_check/")
551 args.dst_file
[all...]
H A Dbuild_ignore_cfg.py132 def filter_and_write_to_dst(lines, dst_file):
133 fd = os.open(dst_file, os.O_WRONLY | os.O_CREAT, 0o664)
/third_party/astc-encoder/Utils/
H A Dastc_rgbm_codec.cpp63 const char* dst_file = argv[5]; in main() local
121 stbi_write_png(dst_file, dim_x, dim_y, 4, data_out, 4 * dim_x); in main()
169 stbi_write_hdr(dst_file, dim_x, dim_y, 4, data_out); in main()
H A Dastc_blend_test.cpp74 const char* dst_file = argv[2]; in main() local
289 stbi_write_png(dst_file, dim_x, dim_y, 4, data_out, 4 * dim_x); in main()
293 stbi_write_png(dst_file, dim_x - 1, dim_y - 1, 4, data_out, 4 * (dim_x - 1)); in main()
/kernel/linux/linux-5.10/fs/cifs/
H A Dioctl.c80 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
89 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk()
95 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
118 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
125 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
H A Dcifsfs.c1085 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range()
1089 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range()
1105 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1111 smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1148 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range()
1152 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1161 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1168 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1193 rc = file_modified(dst_file); in cifs_file_copychunk_range()
1226 struct file *dst_file, loff_ in cifs_copy_file_range()
1084 cifs_remap_file_range(struct file *src_file, loff_t off, struct file *dst_file, loff_t destoff, loff_t len, unsigned int remap_flags) cifs_remap_file_range() argument
1146 cifs_file_copychunk_range(unsigned int xid, struct file *src_file, loff_t off, struct file *dst_file, loff_t destoff, size_t len, unsigned int flags) cifs_file_copychunk_range() argument
1225 cifs_copy_file_range(struct file *src_file, loff_t off, struct file *dst_file, loff_t destoff, size_t len, unsigned int flags) cifs_copy_file_range() argument
[all...]
/third_party/harfbuzz/
H A Dinstall.py42 dst_file = os.path.join(dst_path, file)
43 shutil.copy(src_file, dst_file)
/third_party/libpng/
H A Dinstall.py46 dst_file = os.path.join(dst_path, file)
47 shutil.copy(src_file, dst_file)
/third_party/libffi/
H A Dinstall.py46 dst_file = os.path.join(dst_path, file)
47 shutil.copy(src_file, dst_file)
/third_party/freetype/
H A Dinstall.py47 dst_file = os.path.join(dst_path, file)
48 shutil.copy(src_file, dst_file)
/third_party/cups/
H A Dinstall.py57 dst_file = os.path.join(dst_path, file)
58 shutil.copy(src_file, dst_file)
/third_party/libjpeg-turbo/
H A Dinstall.py48 dst_file = os.path.join(dst_path, file)
49 shutil.copy(src_file, dst_file)
/third_party/spirv-tools/tools/diff/
H A Ddiff.cpp145 const std::string& dst_file = flags::positional_arguments[1]; in main() local
157 std::unique_ptr<spvtools::opt::IRContext> dst = load_module(dst_file.c_str()); in main()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dioctl.c71 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
80 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk()
86 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
109 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
116 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
/base/hiviewdfx/hiview/build/
H A Dcopy_plugin_config.py35 copy_file(args.src_file, args.dst_file)
/kernel/linux/linux-6.6/fs/btrfs/
H A Dreflink.c883 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range()
887 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range()
901 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
909 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
927 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range()
930 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
882 btrfs_remap_file_range(struct file *src_file, loff_t off, struct file *dst_file, loff_t destoff, loff_t len, unsigned int remap_flags) btrfs_remap_file_range() argument
/base/web/webview/
H A Dcopy_files.py53 dst_file = os.path.join(dst_dir, item)
56 shutil.copy2(src_file, dst_file)

Completed in 12 milliseconds

123