/third_party/python/Python/ |
H A D | makeopcodetargets.py | 55 with open(target, "w") as f:
|
/third_party/python/Doc/tools/extensions/ |
H A D | glossary_search.py | 55 with open(os.path.join(dest_dir, JSON), 'w') as f:
|
/third_party/rust/crates/memchr/scripts/ |
H A D | make-byte-frequency-table | 43 corpus.append(open(fpath, 'rb').read())
|
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_wasm.py | 76 with open(os.path.join(out_dir, name+'.json'), 'w') as output:
|
H A D | buildstats_web.py | 62 with open(os.path.join(out_dir, name+'.json'), 'w') as output:
|
/third_party/rust/crates/regex/scripts/ |
H A D | frequencies.py | 43 corpus.append(open(fpath, 'rb').read())
|
/third_party/selinux/libselinux/src/ |
H A D | get_initial_context.c | 37 fd = open(path, O_RDONLY | O_CLOEXEC); in security_get_initial_context_raw()
|
/third_party/vk-gl-cts/scripts/src_util/ |
H A D | check_license.py | 41 f = open(file, 'rt')
|
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/ |
H A D | video2bin.py | 28 with open(binFile, 'wb+') as f:
|
/third_party/libfuse/test/ |
H A D | test_syscalls.c | 326 int fd = open(path, O_RDONLY); in check_data() 328 PERROR("open"); in check_data() 523 path_fd = open(path, O_PATH); in create_path_fd() 525 PERROR("open(O_PATH)"); in create_path_fd() 715 fd = open(testfile, O_WRONLY); in test_ftruncate() 717 PERROR("open"); in test_ftruncate() 840 fd_in = open(testfile, O_CREAT | O_RDWR, 0644); in test_copy_file_range() 1023 fd = open(testfile, O_CREAT | O_RDWR | O_TRUNC, 0644); in test_create_unlink() 1116 start_test("open(%s, %s, 0%03o)", exist ? "+" : "-", flags_str, mode); in do_test_open() 1126 fd = open(testfil in do_test_open() [all...] |
/third_party/glslang/StandAlone/ |
H A D | spirv-remap.cpp | 94 fp.open(inFilename, std::fstream::in | std::fstream::binary); in read() 128 fp.open(inFilename, std::fstream::in); in read() 155 fp.open(outFile, std::fstream::out | std::fstream::binary); in write()
|
/third_party/EGL/api/ |
H A D | genheaders.py | 602 reg.dumpReg(filehandle = open('regdump.txt','w')) 606 errWarn = open(errFilename,'w') 609 diag = open(diagFilename, 'w')
|
/third_party/curl/lib/ |
H A D | file.c | 79 # define open_readonly(p,f) open((p),(f),(0)) 81 # define open_readonly(p,f) open((p),(f)) 244 failf(data, "Couldn't open file %s", data->state.up.path); in file_connect() 320 fd = open(file->path, mode, data->set.new_file_perms); in file_upload() 322 failf(data, "Can't open %s for writing", file->path); in file_upload()
|
/third_party/PyYAML/tests/lib/ |
H A D | test_constructor.py | 260 with open(data_filename, 'rb') as file: 264 with open(code_filename, 'rb') as file: 289 with open(data_filename, 'rb') as file:
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuTextWriter.java | 89 // TODO: Replace with "open(root, out)" once happy with differences (it adds a blank line). in writeTo() 131 open(path.getSegment(depth - 1), out); in openNextPath() 135 private void open(String label, PrintWriter out) { in open() method in IcuTextWriter 243 open("", out); in appendValues()
|
/third_party/mesa3d/src/drm-shim/ |
H A D | drm_shim.c | 74 REAL_FUNCTION_POINTER(open); variable 215 GET_FUNCTION_POINTER(open); in init_shim() 275 /* Intercepts open(render_node_path) to redirect it to the simulator. */ 276 PUBLIC int open(const char *path, int flags, ...) in open() function 294 PUBLIC int open64(const char*, int, ...) __attribute__((alias("open")));
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | progress.py | 199 with open(self.options.ci_test_completion, "a") as f: 371 self.outfile = open(junitout, "wb") 493 with open(self.options.json_test_results, "w") as f:
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fusermount.c | 176 fprintf(stderr, "%s: failed to open %s: %s\n", progname, mtab, in count_fuse_fs() 487 *currdir_fd = open(".", O_RDONLY); in check_perm() 489 fprintf(stderr, "%s: failed to open current directory: %s\n", in check_perm() 521 *mountpoint_fd = open(mnt, O_WRONLY); in check_perm() 523 fprintf(stderr, "%s: failed to open %s: %s\n", progname, mnt, in check_perm() 558 fd = open(dev, O_RDWR); in try_open() 572 fprintf(stderr, "%s: failed to open %s: %s\n", progname, dev, in try_open()
|
/third_party/libfuse/example/ |
H A D | passthrough_fh.c | 364 fd = open(path, fi->flags, mode); in xmp_create() 376 fd = open(path, fi->flags); in xmp_open() 462 /* This is called from every close on an open file, so call the in xmp_flush() 464 called multiple times for an open file, this must not really in xmp_flush() 629 .open = xmp_open,
|
/third_party/libfuse/lib/ |
H A D | mount.c | 342 int fd = open("/dev/null", O_RDONLY); in setup_auto_unmount() 403 int fd = open("/dev/null", O_RDONLY); in fuse_mount_fusermount() 471 fd = open(devname, O_RDWR | O_CLOEXEC); in fuse_mount_sys() 476 fuse_log(FUSE_LOG_ERR, "fuse: failed to open %s: %s\n", in fuse_mount_sys()
|
/third_party/node/deps/v8/ |
H A D | PRESUBMIT.py | 197 with open(self._path) as f: 464 with open(f.LocalPath()) as j: 516 with open(f.LocalPath()) as fh:
|
/third_party/musl/libc-test/src/functionalext/unittest/ |
H A D | unit_test_ldso_dynlink.c | 336 fd = open(path, O_RDWR); in dynlink_test_0220() 390 int fd = open(path, O_RDWR); in dynlink_test_0250() 424 int fd = open("/system/lib/libutils.z.so", O_RDONLY|O_CLOEXEC); in dynlink_test_0260()
|
/third_party/libabigail/src/ |
H A D | abg-elf-reader.cc | 14 #include <fcntl.h> /* For open(3) */ 193 // dwarf_getalt doesn't exist yet, so let's open code its in find_alt_dwarf_debug_info() 227 // open it and read it. in find_alt_dwarf_debug_info() 228 int fd = open(alt_file_path.c_str(), O_RDONLY); in find_alt_dwarf_debug_info() 298 /// Setup the necessary plumbing to open the ELF file and find all 326 // we've just cracked open. in crack_open_elf_file() 362 // First let's see if the ELF file that was cracked open does have in locate_dwarf_debug_info() 409 if ((fd = open(file_path.c_str(), O_RDONLY)) == -1) in locate_alt_ctf_debug_info() 961 int fd = open(path.c_str(), O_RDONLY); in get_type_of_elf_file()
|
/third_party/python/Lib/ |
H A D | telnetlib.py | 149 server. The instance is initially not connected; the open() 221 self.open(host, port, timeout) 223 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): member in Telnet 237 sys.audit("telnetlib.Telnet.open", self, host, port) 675 tn.open(host, port, timeout=0.5)
|
/third_party/python/Lib/test/ |
H A D | _test_eintr.py | 321 # block when trying to open it for writing. 347 fp = open(path, 'w') 353 self._test_open("fp = open(path, 'r')\nfp.close()", 357 fd = os.open(path, os.O_WRONLY) 363 self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)", 493 "with open('%s', 'wb') as f:" % os_helper.TESTFN, 499 with open(os_helper.TESTFN, 'wb') as f:
|