Home
last modified time | relevance | path

Searched refs:open (Results 251 - 275 of 7913) sorted by relevance

1...<<11121314151617181920>>...317

/third_party/rust/crates/io-lifetimes/tests/
H A Dapi.rs94 let file = std::fs::File::open("Cargo.toml").unwrap(); in test_api()
110 Tester::from_file(std::fs::File::open("Cargo.toml").unwrap().into_filelike()); in test_api()
112 std::fs::File::open("Cargo.toml") in test_api()
129 Tester::from_into_file(std::fs::File::open("Cargo.toml").unwrap().into_filelike()); in test_api()
139 let file = std::fs::File::open("Cargo.toml").unwrap(); in test_as()
/third_party/python/Lib/test/
H A Dtest_unicode_file_functions.py2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
75 with open(name, 'wb') as f:
101 self._apply_failure(open, name)
116 f = open(name, 'wb')
125 # open(), os.stat(), etc. don't raise any exception.
138 self._apply_failure(open, name)
170 with open(filename, 'wb') as f:
/third_party/spirv-tools/test/diff/diff_files/
H A Dgenerate_tests.py118 with open(in_path, 'r') as fin:
119 with open(out_path, 'w') as fout:
145 with open(file_name, 'r') as f:
263 with open(test_file_name, 'wb') as fout:
277 with open('diff_test_files_autogen.cmake', 'wb') as fout:
/third_party/skia/third_party/externals/angle2/scripts/
H A Drun_code_generation.py55 f = open(os.path.basename(script), 'r')
151 with open(fname, "r") as f:
202 with open(hash_fname) as hash_file:
237 f = open(os.path.basename(script), "r")
271 open(hash_fname, "w"),
/third_party/zlib/contrib/iostream/
H A Dzfstream.cpp18 gzfilebuf *gzfilebuf::open( const char *name, in open() function in gzfilebuf
270 void gzfilestream_common::open( const char *name, int io_mode ) { in open() function in gzfilestream_common
272 if ( !buffer.open( name, io_mode ) ) in open()
300 gzfilestream_common::open( name, io_mode ); in gzifstream()
320 gzfilestream_common::open( name, io_mode ); in gzofstream()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c94 nsfd = open(buf, O_RDONLY); in main()
101 (void)open("/proc/sysvipc/shm", O_RDONLY); in main()
115 fd = open("/proc/sysvipc/shm", O_RDONLY); in main()
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
H A Dusbip_host_common.h25 int (*open)(struct usbip_host_driver *hdriver); member
57 if (!hdriver->ops.open) in usbip_driver_open()
59 return hdriver->ops.open(hdriver); in usbip_driver_open()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dsetns-sysvipc.c94 nsfd = open(buf, O_RDONLY); in main()
101 (void)open("/proc/sysvipc/shm", O_RDONLY); in main()
115 fd = open("/proc/sysvipc/shm", O_RDONLY); in main()
/kernel/linux/linux-6.6/tools/usb/usbip/libsrc/
H A Dusbip_host_common.h25 int (*open)(struct usbip_host_driver *hdriver); member
57 if (!hdriver->ops.open) in usbip_driver_open()
59 return hdriver->ops.open(hdriver); in usbip_driver_open()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A Dposix_fs_read_test.c44 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
71 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
98 int32_t fd = open(tmpFileName, O_CREAT | O_WRONLY);
/third_party/PyYAML/tests/lib/
H A Dtest_tokens.py47 with open(tokens_filename, 'r') as file:
50 with open(data_filename, 'rb') as file:
68 with open(filename, 'rb') as file:
/third_party/mesa3d/ohos/
H A Dmeson_cross_process.py94 with open("cross_file", 'w+') as file:
105 with open(file_raw, 'r+') as file_raw:
106 with open(filename, "w+") as pc_file:
/third_party/node/deps/v8/tools/
H A Dcompare_torque_output.py25 with open(results_file_name, "w") as results_file:
51 with open(left_file) as f1, open(right_file) as f2:
H A Ddump-cpp.py41 with open(log_file, 'r') as f:
56 with open(log_file) as f:
70 with open(log_file, 'w') as f:
/third_party/node/tools/
H A Dmkssldef.py18 if option == '-o': out = open(filenames.pop(0), 'w')
28 for line in open(filename).readlines():
46 for line in open(filename).readlines():
/third_party/ltp/testcases/misc/math/float/exp_log/
H A Dgenmodf.c71 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
72 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
105 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
H A Dgenfrexp.c57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
58 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
91 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
/third_party/ltp/testcases/misc/math/float/bessel/
H A Dgenlgamma.c57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
58 fpsi = open(F_namesign, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
92 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
/third_party/ltp/testcases/misc/math/float/power/
H A Dgenfabs.c49 fpi = open(F_naminp, O_RDONLY, 0777); in create_Result_file()
61 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file()
92 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsync_file_range.c35 fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in sync_file_range_0100()
37 t_error("%s open failed\n", __func__); in sync_file_range_0100()
80 fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in sync_file_range_0300()
82 t_error("%s open failed\n", __func__); in sync_file_range_0300()
109 fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in sync_file_range_0400()
111 t_error("%s open failed\n", __func__); in sync_file_range_0400()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dpty.c45 int fd = open("/dev/ptmx", O_RDWR | O_NOCTTY); in ptsname_r_0100()
63 int fd = open("/dev/ptmx", O_RDWR | O_NOCTTY); in ptsname_r_0200()
93 int fd = open("/dev/ptmx", O_RDWR | O_NOCTTY); in ptsname_r_0400()
/third_party/python/Tools/scripts/
H A Dgenerate_sre_constants.py7 with open(file, 'r') as fobj:
12 with open(file, 'w') as fobj:
38 with open(infile) as fp:
H A Dgprof2html.py27 with open(filename, encoding="utf-8") as fp:
82 with open(outputfilename, "w", encoding="utf-8") as output:
84 webbrowser.open("file:" + os.path.abspath(outputfilename))
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_validate.py44 with open(base_schema_filename) as baseSchemaFile:
46 with open(vkpcc_schema_filename) as vkSchemaFile:
48 with open(args.json_file) as jsonFile:
/third_party/skia/third_party/externals/spirv-tools/utils/
H A Dupdate_build_version.py89 with open(changes_file, mode='r') as f:
140 with open(output_file, 'r') as f:
144 with open(output_file, 'w') as f:

Completed in 9 milliseconds

1...<<11121314151617181920>>...317