Home
last modified time | relevance | path

Searched refs:open (Results 2726 - 2750 of 9314) sorted by relevance

1...<<101102103104105106107108109110>>...373

/third_party/python/Lib/distutils/tests/
H A Dtest_install.py199 f = open(cmd.record)
234 f = open(cmd.record)
H A Dtest_register.py63 def open(self, req, data=None, timeout=None): member in FakeOpener
133 f = open(self.rc)
/third_party/python/Lib/test/libregrtest/
H A Dcmdline.py431 with open(ns.match_filename) as fp:
437 with open(ns.ignore_filename) as fp:
/third_party/python/Lib/lib2to3/pgen2/
H A Dconv.py62 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 Dshlex.py286 return (newfile, open(newfile, "r"))
349 with open(fn) as f:
H A D_osx_support.py66 fp = open("/tmp/_osx_support.%s"%(
99 f = open('/System/Library/CoreServices/SystemVersion.plist', encoding="utf-8")
H A Dmimetypes.py209 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 Dgen_angle_format_table.py431 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 Dgenerate_loader.py37 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 DAudioInputStreamOpenSLES.cpp76 Result AudioInputStreamOpenSLES::open() { in open() function in AudioInputStreamOpenSLES
94 Result oboeResult = AudioStreamOpenSLES::open(); in open()
/third_party/python/Lib/test/
H A Dtest_tabnanny.py265 with open(file_path) as f:
281 with open(file_path) as f:
H A Dtest_shelve.py69 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 Dupdate.py274 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 Dumapfile.cpp137 /* 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 Dtftpd.c119 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 Dparse_output.rb68 output = File.open('report.xml', 'w')
280 File.open(file_name, 'rb').each do |line|
/third_party/python/Objects/
H A Dfileobject.c37 /* 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 DSkottieActivity.java222 Button open = (Button)findViewById(R.id.open_lottie); in createLayout()
223 open.setOnClickListener(this); in createLayout()
/third_party/selinux/libselinux/src/
H A Dstringrep.c89 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 Dto_toml.py273 with open(source, 'rb') as fin:
288 with open(destination, 'w') as fout:
/third_party/rust/crates/nix/test/
H A Dtest_pty.rs8 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 Dunicode.py71 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 Drandom.c269 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 Drandom.c269 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 Djoydev.c37 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()

Completed in 18 milliseconds

1...<<101102103104105106107108109110>>...373