/third_party/python/Lib/distutils/tests/ |
H A D | test_install.py | 199 f = open(cmd.record) 234 f = open(cmd.record)
|
H A D | test_register.py | 63 def open(self, req, data=None, timeout=None): member in FakeOpener 133 f = open(self.rc)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | cmdline.py | 431 with open(ns.match_filename) as fp: 437 with open(ns.ignore_filename) as fp:
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | conv.py | 62 f = open(filename) 64 print("Can't open %s: %s" % (filename, err)) 113 f = open(filename) 115 print("Can't open %s: %s" % (filename, err))
|
/third_party/python/Lib/ |
H A D | shlex.py | 286 return (newfile, open(newfile, "r")) 349 with open(fn) as f:
|
H A D | _osx_support.py | 66 fp = open("/tmp/_osx_support.%s"%( 99 f = open('/System/Library/CoreServices/SystemVersion.plist', encoding="utf-8")
|
H A D | mimetypes.py | 209 with open(filename, encoding='utf-8') as fp: 390 f = open(file, encoding='utf-8')
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | gen_angle_format_table.py | 431 with open('Format_table_autogen.cpp', 'wt') as out_file: 442 with open('FormatID_autogen.h', 'wt') as out_file:
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_loader.py | 37 with open(header_path, "w") as out: 80 with open(source_path, "w") as out:
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
H A D | AudioInputStreamOpenSLES.cpp | 76 Result AudioInputStreamOpenSLES::open() { in open() function in AudioInputStreamOpenSLES 94 Result oboeResult = AudioStreamOpenSLES::open(); in open()
|
/third_party/python/Lib/test/ |
H A D | test_tabnanny.py | 265 with open(file_path) as f: 281 with open(file_path) as f:
|
H A D | test_shelve.py | 69 s = shelve.open(filename=filename if filename is not None else self.fn, 188 x = shelve.open(self.base_path + str(self.counter), **self._args)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/ |
H A D | update.py | 274 with open(src, 'r') as src_file: 276 with open(dst, 'w') as dst_file:
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | umapfile.cpp | 137 /* open the input file */ in uprv_mapFile() 166 // If we failed to open the file due to an out-of-memory error, then we want in uprv_mapFile() 231 /* open the file */ in uprv_mapFile() 232 fd=open(path, O_RDONLY); in uprv_mapFile() 298 /* open the input file */ in uprv_mapFile() 454 /* open the file */ in uprv_mapFile() 455 fd=open(path, O_RDONLY); in uprv_mapFile()
|
/third_party/toybox/toys/pending/ |
H A D | tftpd.c | 119 if (opcode == TFTPD_OP_RRQ) fd = open(file, O_RDONLY, 0666); in do_action() 120 else fd = open(file, in do_action() 124 send_errpkt(dstaddr, socklen, "can't open file"); in do_action()
|
/third_party/unity/auto/ |
H A D | parse_output.rb | 68 output = File.open('report.xml', 'w') 280 File.open(file_name, 'rb').each do |line|
|
/third_party/python/Objects/ |
H A D | fileobject.c | 37 /* import _io in case we are being used to open io.py */ in PyFile_FromFd() 41 stream = _PyObject_CallMethod(io, &_Py_ID(open), "isisssO", fd, mode, in PyFile_FromFd() 476 * open files that are going to be used by the runtime to execute code 516 f = _PyObject_CallMethod(iomod, &_Py_ID(open), "Os", path, "rb"); in PyFile_OpenCodeObject()
|
/third_party/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
H A D | SkottieActivity.java | 222 Button open = (Button)findViewById(R.id.open_lottie); in createLayout() 223 open.setOnClickListener(this); in createLayout()
|
/third_party/selinux/libselinux/src/ |
H A D | stringrep.c | 89 fd = open(path, O_RDONLY | O_CLOEXEC); in discover_class() 120 fd = open(path, O_RDONLY | O_CLOEXEC); in discover_class()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
H A D | to_toml.py | 273 with open(source, 'rb') as fin: 288 with open(destination, 'w') as fout:
|
/third_party/rust/crates/nix/test/ |
H A D | test_pty.rs | 8 use nix::fcntl::{open, OFlag}; 115 open(Path::new(&slave_name), OFlag::O_RDWR, stat::Mode::empty()) in open_ptty_pair()
|
/third_party/rust/crates/unicode-width/scripts/ |
H A D | unicode.py | 71 return open(filename, encoding="utf-8") 332 with open(out_name, "w", newline="\n", encoding="utf-8") as module:
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | random.c | 269 fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_pool_ready() 272 "random: Cannot open /dev/random: %s", in random_pool_ready() 418 wpa_printf(MSG_ERROR, "random: Could not open entropy file %s " in random_write_entropy() 466 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_init() 468 wpa_printf(MSG_ERROR, "random: Cannot open /dev/random: %s", in random_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | random.c | 269 fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_pool_ready() 272 "random: Cannot open /dev/random: %s", in random_pool_ready() 418 wpa_printf(MSG_ERROR, "random: Could not open entropy file %s " in random_write_entropy() 466 random_fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in random_init() 468 wpa_printf(MSG_ERROR, "random: Cannot open /dev/random: %s", in random_init()
|
/kernel/linux/linux-5.10/drivers/input/ |
H A D | joydev.c | 37 int open; member 207 else if (!joydev->open++) { in joydev_open_device() 210 joydev->open--; in joydev_open_device() 223 if (joydev->exist && !--joydev->open) in joydev_close_device() 715 .open = joydev_open, 744 /* joydev is marked dead so no one else accesses joydev->open */ in joydev_cleanup() 745 if (joydev->open) in joydev_cleanup()
|