/third_party/skia/infra/bots/assets/valgrind/ |
H A D | create.py | 40 with open(TARBALL, 'wb') as f:
|
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_flutter.py | 90 with open(os.path.join(out_dir, lib_name+'.json'), 'w') as output:
|
/third_party/skia/buildtools/checkdeps/ |
H A D | cpp_checker.py | 90 with codecs.open(filepath, encoding='utf-8') as f:
|
H A D | proto_checker.py | 96 with codecs.open(filepath, encoding='utf-8') as f:
|
H A D | results.py | 126 with open(self.output_path, 'w') as f:
|
/third_party/skia/bin/ |
H A D | compare | 25 for line in open(path):
|
/third_party/skia/build/fuchsia/ |
H A D | fidl_gen_cpp | 20 with open(path) as json_file:
|
/third_party/selinux/libselinux/src/ |
H A D | compute_create.c | 68 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_create_name_raw()
|
H A D | compute_av.c | 31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_av_flags_raw()
|
H A D | compute_user.c | 31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_user_raw()
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_framework_c.py | 68 with open(filename, 'rt') as f:
|
H A D | ohos_gen_framework_c.py | 68 with open(filename, 'rt') as f:
|
/third_party/zlib/ |
H A D | gzguts.h | 46 # define open _open macro
|
/third_party/python/Lib/test/ |
H A D | test_mailbox.py | 732 with open(foo_path, 'w', encoding='utf-8') as f: 734 with open(bar_path, 'w', encoding='utf-8') as f: 992 with open(self._path, 'rb') as f: 1065 with open(self._path, 'rb') as f: 1158 with open(self._path, encoding='utf-8') as f: 1163 with open(self._path, encoding='utf-8') as f: 1313 with open(self._path, 'rb') as f: 1398 with open(self._path, 'w+', encoding='utf-8') as f: 1407 with open(self._path, 'wb+') as f: 2029 self._file = open(sel [all...] |
H A D | test_tempfile.py | 289 with support.swap_attr(os, "open", raise_OSError): 290 # test again with failing os.open() 363 open(tempdir, 'wb').close() 571 fd = os.open(p, os.O_RDWR | os.O_CREAT) 903 os.close(os.open(self.name, self._bflags, 0o600)) 1064 mock.patch('io.open', mock.mock_open()) as mock_open: 1466 mock.patch('os.open') as mock_open, \ 1514 with open(os.path.join(path, "test%d.txt" % i), "wb") as f: 1548 with open(temp_path / "a_file.txt", "w+t") as open_file: 1590 open(file [all...] |
H A D | test_embed.py | 339 with open(script, encoding="utf-8") as fp: 1356 with open(os.path.join(exedir, 'pybuilddir.txt'), encoding='utf8') as f: 1392 with open(filename, "w", encoding="utf8") as fp: 1429 with open(filename, "w", encoding="utf8") as fp: 1476 with open(filename, "w", encoding="utf8") as fp: 1686 with open(startup, "w", encoding="utf-8") as f: 1699 with open(startup, "w", encoding="utf-8") as f:
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | result_reporter.py | 192 data_fd = os.open(data_js, os.O_CREAT | os.O_WRONLY, FilePermission.mode_644) 260 xml_file_open = os.open(xml_file, os.O_RDWR, stat.S_IWUSR | stat.S_IRUSR) 643 summary_filepath_open = os.open(summary_filepath, flags, 710 with open(file=record_file, mode="wb") as file: 738 with open(record_path, mode="rb") as file:
|
/third_party/elfutils/src/ |
H A D | ar.c | 382 int fd = open (arfname, flags, mode); in open_archive() 388 error_exit (errno, _("cannot open archive '%s'"), in open_archive() 398 error_exit (0, _("cannot open archive '%s': %s"), in open_archive() 611 xfd = open (arhdr->ar_name, flags, 0600); in do_oper_extract() 625 xfd = open (truncfname, flags, 0600); in do_oper_extract() 630 error (0, errno, _("cannot open %.*s"), in do_oper_extract() 1257 int newfd = open (argv[cnt], O_RDONLY); in do_oper_insert() 1260 error (0, errno, _("cannot open %s"), argv[cnt]); in do_oper_insert() 1399 newfd = open (arfname, O_RDWR | O_CREAT | O_EXCL, DEFFILEMODE); in do_oper_insert()
|
/third_party/libfuse/util/ |
H A D | fusermount.c | 146 mtablock = open(mtab_lock, O_RDWR | O_CREAT, 0600); in lock_umount() 148 fprintf(stderr, "%s: unable to open fuse lock file: %s\n", in lock_umount() 199 fprintf(stderr, "%s: failed to open %s: %s\n", progname, mtab, in may_unmount() 293 fprintf(stderr, "%s: failed to open %s: %s\n", progname, in check_is_mount_child() 305 fprintf(stderr, "%s: failed to open %s: %s\n", progname, in check_is_mount_child() 498 fprintf(stderr, "%s: failed to open %s: %s\n", progname, mtab, in count_fuse_fs() 597 fprintf(stderr, "%s: failed to open %s: %s\n", in read_conf() 992 *mountpoint_fd = open(mnt, O_WRONLY); in check_perm() 994 fprintf(stderr, "%s: failed to open %s: %s\n", in check_perm() 1085 int fd = open(de in try_open() [all...] |
/third_party/littlefs/scripts/ |
H A D | perf.py | 157 return open(path, mode, buffering) 194 z = os.open(output, os.O_RDWR | os.O_CREAT) 202 with z.open('perf.%d' % os.getpid(), 'w') as g: 588 with z.open(i) as f: 972 with open(path) as f:
|
/third_party/python/Lib/ |
H A D | imaplib.py | 202 self.open(host, port, timeout) 298 sys.audit("imaplib.open", self, self.host, self.port) 304 def open(self, host='', port=IMAP4_PORT, timeout=None): member in IMAP4 336 """Close I/O established in "open".""" 1330 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None): member in IMAP4.IMAP4_SSL 1336 IMAP4.open(self, host, port, timeout) 1358 def open(self, host=None, port=None, timeout=None): member in IMAP4_stream 1391 """Close I/O established in "open"."""
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_generic.c | 319 /* check that pipes are open */ in ugen_start_read() 332 /* check that pipes are open */ in ugen_start_write() 1415 struct usb_fs_open_stream open; in ugen_ioctl() local 1416 error = copyin((const void *)u.addr, &open.fs_open, sizeof(struct usb_fs_open)); in ugen_ioctl() 1420 u.popen = &open.fs_open; in ugen_ioctl() 1440 error = copyout((const void *)&open.fs_open, addr, sizeof(struct usb_fs_open)); in ugen_ioctl() 1474 error = copyin((const void *)u.addr, &open, sizeof(struct usb_fs_open_stream)); in ugen_ioctl() 1478 u.popen_stream = &open; in ugen_ioctl() 1522 error = copyout((const void *)&open.fs_open, addr, sizeof(struct usb_fs_open)); in ugen_ioctl()
|
H A D | usb_transfer.c | 1613 /* Only open the USB transfer once! */ in usbd_transfer_submit() 1614 if (!xfer->flags_int.open) { in usbd_transfer_submit() 1615 xfer->flags_int.open = 1; in usbd_transfer_submit() 1617 DPRINTF("open\n"); in usbd_transfer_submit() 1620 (xfer->endpoint->methods->open) (xfer); in usbd_transfer_submit() 1864 if (!xfer->flags_int.open) { in usbd_transfer_stop() 1881 * Clear "open" and "started" when both private and USB lock in usbd_transfer_stop() 1884 xfer->flags_int.open = 0; in usbd_transfer_stop() 2359 if ((!xfer->flags_int.open) && in usbd_callback_wrapper() 2779 if ((!xfer->flags_int.open) in usbd_callback_wrapper_sub() [all...] |
/third_party/python/Tools/scripts/ |
H A D | texi2html.py | 121 with open(self.dirname + '/' + makefile(self.name), 'w') as fp: 213 self.nodefp = None # open file we're writing to 517 print('*** No open func for @' + cmd + '{...}') 556 fp = open(file, 'r') 558 print('*** Can\'t open include file', repr(file)) 1057 # self.nodefp = open(file, 'w') 1772 with open(projectfile, 'w') as fp: 1802 with open(contentfile, 'w') as fp: 1826 with open(indexfile, 'w') as fp: 2058 fp = open(fil [all...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | handler.py | 63 result_fd = os.open(report_xml, os.O_CREAT | os.O_WRONLY | os.O_TRUNC, FilePermission.mode_644)
|