/third_party/ltp/lib/ |
H A D | tst_cmd.c | 141 stdout_fd = open(stdout_path, in tst_cmd_() 146 "open() on %s failed at %s:%d", in tst_cmd_() 151 stderr_fd = open(stderr_path, in tst_cmd_() 156 "open() on %s failed at %s:%d", in tst_cmd_()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
H A D | cpuset_memory_test.c | 182 fd_hugepage = open(FILE_HUGEPAGE, in mmap_file() 185 err(1, "open hugepage file failed"); in mmap_file() 328 fd = open("/dev/zero", O_RDWR); in main() 330 err(1, "open /dev/zero failed"); in main()
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
H A D | memcg_process.c | 139 fd_hugepage = open(FILE_HUGEPAGE, in mmap_file() 142 err(1, "open hugepage file failed"); in mmap_file() 283 if ((fd = open("/dev/zero", O_RDWR)) == -1) in main() 284 err(1, "open /dev/zero failed"); in main()
|
/third_party/node/deps/v8/tools/testrunner/outproc/ |
H A D | base.py | 145 with open(self._expected_filename, 'r', encoding='utf-8') as f: 162 with open(self._expected_filename, 'w') as f:
|
/third_party/node/deps/v8/tools/torque/ |
H A D | format-torque.py | 100 with open(filename, 'r') as content_file: 121 output_file = open(filename, 'wb')
|
/third_party/node/deps/v8/tools/ |
H A D | adb-d8.py | 49 with open(filename) as f: 94 ], stdout=sys.stdout if verbose else open(os.devnull, 'wb'))
|
/third_party/node/deps/v8/tools/sanitizers/ |
H A D | sancov_merger.py | 84 with open(os.path.join(coverage_dir, result_file_name), "wb") as f: 178 with open(output_file, "wb") as f:
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | xcode_ninja.py | 46 with open(workspace_file) as input_file: 54 with open(workspace_file, "w") as output_file:
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 143 *(int*)dev->d_private = open(dev->d_name, flags); in ntfs_device_unix_io_open() 209 ntfs_log_perror("Device %s is not open", dev->d_name); in ntfs_device_unix_io_close() 382 .open = ntfs_device_unix_io_open,
|
/third_party/musl/src/thread/ |
H A D | sem_open.c | 77 /* Early failure check for exclusive open; otherwise the case in sem_open() 88 fd = open(name, FLAGS); in sem_open() 121 fd = open(tmp, O_CREAT|O_EXCL|FLAGS, mode); in sem_open() 139 /* Failure is only fatal when doing an exclusive open; in sem_open() 140 * otherwise, next iteration will try to open the in sem_open()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcode_ninja.py | 46 with open(workspace_file) as input_file: 54 with open(workspace_file, "w") as output_file:
|
/third_party/node/deps/icu-small/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 372 inf.open(infile.c_str(), std::ios::in); in convert() 375 fprintf(stderr, "%s: could not open input file %s\n", prog.c_str(), infile.c_str()); in convert() 382 outf.open(outfile.c_str(), std::ios::out); in convert() 385 fprintf(stderr, "%s: could not open output file %s\n", prog.c_str(), outfile.c_str()); in convert()
|
/third_party/icu/icu4c/source/tools/escapesrc/ |
H A D | escapesrc.cpp | 372 inf.open(infile.c_str(), std::ios::in); in convert() 375 fprintf(stderr, "%s: could not open input file %s\n", prog.c_str(), infile.c_str()); in convert() 382 outf.open(outfile.c_str(), std::ios::out); in convert() 385 fprintf(stderr, "%s: could not open output file %s\n", prog.c_str(), outfile.c_str()); in convert()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress07.c | 155 if ((rofd = open(tmpname, O_RDONLY | O_CREAT, 0777)) == -1) { 163 if ((rwfd = open(tmpname, O_RDWR)) == -1) {
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify22.c | 75 ret = open(MOUNT_PATH"/"BAD_DIR, O_RDONLY, 0); in trigger_bad_file_lookup() 86 ret = open(MOUNT_PATH"/"BAD_LINK, O_RDONLY, 0); in trigger_bad_link_lookup() 88 tst_res(TFAIL, "Unexpected open result(%d) of %s (%d!=%d)", in trigger_bad_link_lookup()
|
/third_party/libevdev/test/ |
H A D | test-common-uinput.c | 30 int dev_fd; /* open fd to the devnode */ 128 fd = open("/dev/uinput", O_RDWR); in uinput_device_create() 142 d->dev_fd = open(devnode, O_RDWR); in uinput_device_create()
|
/third_party/lz4/contrib/gen_manual/ |
H A D | gen_manual.cpp | 123 istream.open(argv[2], ifstream::in); in main() 129 ostream.open(argv[3], ifstream::out); in main()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_device_info.py | 711 with open(header_path, "w") as header_file: 716 with open(impl_path, "w") as impl_file:
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_dispatch_table_gen.py | 704 with open(args.out_h, 'w') as f: 710 with open(args.out_c, 'w') as f:
|
/third_party/node/deps/openssl/openssl/crypto/rand/ |
H A D | randfile.c | 42 # define open _open macro 210 int fd = open(file, O_WRONLY | O_CREAT | O_BINARY, 0600); in RAND_write_file()
|
/third_party/rust/crates/bindgen/csmith-fuzzing/ |
H A D | driver.py | 205 with open(predicate_path, "w") as p: 230 with open(failing_test_case, "r") as f:
|
/third_party/rust/crates/clang-sys/build/ |
H A D | dynamic.rs | 16 let mut file = File::open(path)?; in parse_elf_header() 28 let mut file = File::open(path)?; in parse_pe_header()
|
/third_party/python/Tools/freeze/test/ |
H A D | freeze.py | 104 infile = open(filename, encoding='utf-8') 140 with open(scriptfile, 'w', encoding='utf-8') as outfile:
|
/third_party/python/Tools/i18n/ |
H A D | msgfmt.py | 113 with open(infile, 'rb') as f: 212 with open(outfile,"wb") as f:
|
/third_party/python/Tools/scripts/ |
H A D | cleanfuture.py | 94 f = open(file) 125 with open(file, "w") as g:
|