/third_party/node/test/parallel/ |
H A D | test-fs-error-messages.js | 443 // open 449 `ENOENT: no such file or directory, open '${nonexistentFile}'`); 452 assert.strictEqual(err.syscall, 'open'); 456 fs.open(nonexistentFile, 'r', 0o666, common.mustCall(validateError)); 491 `ENOENT: no such file or directory, open '${nonexistentFile}'`); 494 assert.strictEqual(err.syscall, 'open');
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | genvk.py | 1071 errWarn = open(args.errfile, 'w', encoding='utf-8') 1076 diag = open(args.diagfile, 'w', encoding='utf-8') 1103 reg.dumpReg(filehandle=open('regdump.txt', 'w', encoding='utf-8'))
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
H A D | amber.cc | 302 std::cerr << "Failed to open " << input_file << std::endl; in ReadFile() 626 shader_file.open(options.shader_filename, std::ios::out); 628 std::cerr << "Cannot open file for shader dump: "; 686 image_file.open(image_filename, std::ios::out | std::ios::binary); 688 std::cerr << "Cannot open file for image dump: "; 701 buffer_file.open(options.buffer_filename, std::ios::out); 703 std::cerr << "Cannot open file for buffer dump: ";
|
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 452 transformations_stream.open(transformations_file, in ParseTransformations() 671 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary() 815 transformations_file.open(output_file_prefix + ".transformations", in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/ |
H A D | fuzz.cpp | 452 transformations_stream.open(transformations_file, in ParseTransformations() 671 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary() 815 transformations_file.open(output_file_prefix + ".transformations", in main()
|
/third_party/python/Lib/test/ |
H A D | test_runpy.py | 244 with open(mod_fname, "w") as mod_file: 414 del d1 # Ensure __loader__ entry doesn't keep file open 428 del d2 # Ensure __loader__ entry doesn't keep file open 461 with open(init, "wt", encoding="ascii") as mod_file: 748 with open(filename, 'w', encoding='latin1') as f:
|
H A D | test_tcl.py | 199 with open(filename, 'w') as f: 213 with open(filename, 'w') as f: 230 with open(filename, 'wb') as f:
|
H A D | test_support.py | 79 with open(TESTFN, "w", encoding="utf-8") as f: 111 with open(mod_filename, 'w', encoding="utf-8") as f: 670 # kernel or glibc versions, os.urandom() keeps a FD open on 675 fd = os.open(__file__, os.O_RDONLY)
|
H A D | test_logging.py | 690 stream=open('/dev/null', 'wt', encoding='utf-8')) 2188 f = open(fn, encoding="utf-8") 4494 # bpo-26789: FileHandler keeps a reference to the builtin open() 4495 # function to be able to open or reopen the file during Python 4510 # FileHandler._open() must be called again to re-open the file. 4516 # open() function. 4517 del builtins.open 4521 with open(filename, encoding="utf-8") as fp: 4853 with open('test.log', encoding='utf-8') as f: 4873 with open('tes [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 90 using google::protobuf::io::win32::open; 724 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F() 755 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
|
/third_party/python/Lib/lib2to3/ |
H A D | refactor.py | 313 f = open(filename, "rb") 315 self.log_error("Can't open %s: %s", filename, err) 321 with io.open(filename, "r", encoding=encoding, newline='') as f: 521 fp = io.open(filename, "w", encoding=encoding, newline='')
|
/third_party/skia/gn/ |
H A D | gn_to_cmake.py | 648 out = open(posixpath.join(project.build_path, 'CMakeLists.txt'), 'w+') 680 out = open(extName, 'w+') 731 with open(json_path, 'r') as json_file:
|
/third_party/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 446 transformations_stream.open(transformations_file, in ParseTransformations() 665 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary() 792 transformations_file.open(output_file_prefix + ".transformations", in main()
|
/third_party/eudev/src/udev/ |
H A D | udevd.c | 326 fd_lock = open(udev_device_get_devnode(d), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in worker_spawn() 807 fd = open(udev_device_get_devnode(dev), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in synthesize_change() 1194 fd = open("/dev/null", O_RDWR); in main() 1203 log_error("cannot open /dev/null"); in main() 1207 /* open control and netlink socket */ in main() 1291 fd = open("/dev/null", O_RDWR); in main()
|
/third_party/backends/backend/ |
H A D | canon_pp.c | 95 /* The default scanner to open */ 362 /* detect_mode succeeded, so the port is open. This beholdens in sane_init() 416 * open for business again - this will only work in sane_init() 421 /* leave the port open but not claimed - this is regardless in sane_init() 566 DBG(1,"sane_open: Request to open port with no scanner " in sane_open() 572 DBG(2,"sane_open; Oi!, That scanner's already open.\n"); in sane_open() 714 "open yet\n", h); in sane_get_option_descriptor() 761 "open yet\n", h); in sane_control_option() 933 "open yet\n", h); in sane_get_parameters() 1032 "open ye in sane_start() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_file.c | 251 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_TRUNC, in snd_pcm_file_open_output_file() 254 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_EXCL, in snd_pcm_file_open_output_file() 267 fd = open(tmpfname, in snd_pcm_file_open_output_file() 277 SYSERR("open %s for writing failed", in snd_pcm_file_open_output_file() 933 ifd = open(ifname, O_RDONLY); /* TODO: mind blocking mode */ in snd_pcm_file_open() 935 SYSERR("open %s for reading failed", ifname); in snd_pcm_file_open()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | iogen.c | 160 int Oflags; /* open(2) flags for creating files */ 161 int Ocbits; /* open(2) cbits for creating files */ 162 int Ocblks; /* open(2) cblks for creating files */ 317 * Map open flags (-f args) to values 559 if ((outfd = open(Outpipe, O_RDWR)) == -1) { in init_output() 561 "iogen%s: Couldn't open outpipe %s with flags O_RDWR: %s\n", in init_output() 629 * open flags, and possibly a pattern (for write/writea). in form_iorequest() 828 the file open read/write */ in form_iorequest() 1017 if ((fd = open(rec->f_path, O_RDWR | O_DIRECT, 0)) != -1) { in get_file_info() 1110 if ((fd = open(pat in create_file() [all...] |
/third_party/littlefs/scripts/ |
H A D | bench.py | 46 return open(path, mode, buffering) 153 with open(self.path) as f: 455 with open(args['source']) as sf: 1020 # truncate and open logs here so they aren't disconnected between benches 1135 with open(path) as f:
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_stdio.cpp | 273 int fp = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Fdopen() 691 int fd = open("/dev/zero", O_RDONLY); in Bm_function_Flock() 693 perror("open flock"); in Bm_function_Flock() 1348 perror("ungetc open"); in Bm_function_Ungetc() 1460 int oldFd = open(oldPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1462 perror("open renameat old"); in Bm_function_Renameat() 1466 int newFd = open(newPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1468 perror("open renameat new"); in Bm_function_Renameat()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | capture_replay_tests.py | 232 # On Mac, j value higher than 500 causes 'Too many open files' error 545 captured_context = open(capture_file, "r").readlines() 546 replayed_context = open(replay_file, "r").readlines() 570 with open(names_path, 'w') as f: 621 with open(expected_results_path, "rt") as f:
|
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 642 (LOG_CRIT, "setup_udp_socket: ERROR - can not open socket - %s\n", in bjnp_setup_udp_socket() 904 (LOG_CRIT, "create_broadcast_socket: ERROR - can not open socket - %s", in create_broadcast_socket() 961 * returns: open socket or -1 in prepare_socket() 1504 device[dn].open = 0; in bjnp_init_device_structure() 1533 device[dn].open = 0; in bjnp_init_device_structure() 1536 device[dn].open = 1; in bjnp_init_device_structure() 1548 device[dn].open = 0; in bjnp_free_device_structure() 1729 PDBG( bjnp_dbg( LOG_INFO, "bjnp_close_tcp: socket not open, nothing to do.\n")); in bjnp_close_tcp() 1731 device[devno].open = 0; in bjnp_close_tcp() 1859 if (device[bjnp_no_devices].open in bjnp_allocate_device() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 179 text.bind("<<open-config-dialog>>", self.config_dialog) 180 text.bind("<<open-module>>", self.open_module_event) 214 text.bind("<<open-new-window>>", self.new_callback) 216 text.bind("<<open-class-browser>>", self.open_module_browser) 217 text.bind("<<open-path-browser>>", self.open_path_browser) 218 text.bind("<<open-turtle-demo>>", self.open_turtle_demo) 317 text.event_add('<<try-open-completions>>', '<KeyRelease-period>', 319 text.event_add('<<try-open-calltip>>', '<KeyRelease-parenleft>') 328 text.bind("<<try-open-completions>>", 330 text.bind("<<force-open [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.cc | 107 using google::protobuf::io::win32::open; 473 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in WriteAllToDisk() 533 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in WriteAllToZip() 1066 fd = open(descriptor_set_name.c_str(), O_RDONLY | O_BINARY); in PopulateSingleSimpleDescriptorDatabase() 1350 std::cerr << "Failed to open argument file: " << (argv[i] + 1) in ParseArguments() 2129 fd = open(dependency_out_name_.c_str(), in GenerateDependencyManifestFile() 2356 fd = open(descriptor_set_out_name_.c_str(), in WriteDescriptorSet()
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | 124 xhr.open("GET", url, false); 139 xhr.open("GET", url, false); 154 xhr.open("GET", url, true); [all...] |
/applications/standard/contacts_data/test/unittest/src/ |
H A D | base_test.cpp | 44 fd = open("/dev/urandom", O_RDONLY); in ContactsRand()
|