/third_party/python/Modules/_decimal/tests/ |
H A D | formathelper.py | 139 with open("/var/lib/locales/supported.d/local") as f: 159 with open("/etc/locale.alias") as f:
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_searchbase.py | 47 # open calls create_widgets, which needs default_command 52 self.dialog.open(text) 57 self.dialog.open(text, searchphrase="hello")
|
/third_party/python/Lib/ |
H A D | lzma.py | 21 "open", "compress", "decompress", "is_check_supported", 120 self._fp = builtins.open(filename, mode) 271 def open(filename, mode="rb", *, function
|
H A D | bz2.py | 8 "open", "compress", "decompress"] 12 from builtins import open as _builtin_open 271 def open(filename, mode="rb", compresslevel=9, function
|
/third_party/skia/third_party/externals/tint/tools/ |
H A D | run_tests.py | 59 with open(self.GetInputPath()) as test: 237 with open(known_failure_file, 'r') as f:
|
/third_party/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 215 with open(args.extinst_grammar) as json_file: 237 with open(args.extinst_output_base + '.h', 'w') as f:
|
/third_party/toybox/toys/other/ |
H A D | lsattr.c | 102 if (-1 == (fd=open(path, O_RDONLY | O_NONBLOCK))) goto LABEL1; in print_file_attr() 270 if (-1 == (fd=open(fpath, O_RDONLY | O_NONBLOCK))) { in update_attr()
|
/third_party/python/Doc/tools/extensions/ |
H A D | c_annotations.py | 66 with open(refcount_filename, 'r') as fp: 94 with open(stable_abi_file, 'r') as fp:
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dir_util.py | 96 with open(a_file, 'w') as f: 112 with open(f, 'w') as fh:
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_main.py | 65 open(os.path.join(self.py2_src_dir, "__init__.py"), "w").close() 71 with open(self.trivial_py2_file, "w") as trivial:
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_threaded_import.py | 208 with open(os.path.join(TESTFN, name + ".py"), "wb") as f: 241 with open(filename, "wb") as f:
|
H A D | fixtures.py | 263 with full_name.open('wb') as f: 266 with full_name.open('w', encoding='utf-8') as f:
|
/third_party/selinux/libselinux/src/ |
H A D | procattr.c | 95 fd = open(path, flags | O_CLOEXEC); in openattr() 108 fd = open(path, flags | O_CLOEXEC); in openattr()
|
/third_party/rust/crates/nix/src/ |
H A D | dir.rs | 18 /// An open directory. 35 /// Opens the given path as with `fcntl::open`. 36 pub fn open<P: ?Sized + NixPath>( in open() functions 41 let fd = fcntl::open(path, oflag, mode)?; in open() 182 /// let d = Dir::open(dirname, OFlag::O_DIRECTORY, Mode::S_IXUSR).unwrap();
|
/kernel/linux/linux-5.10/arch/loongarch/kvm/intc/ |
H A D | irqchip-debug.c | 32 .open = irqchip_debug_open,
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | sc-debugfs.c | 46 .open = simple_open,
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | asids-debugfs.c | 58 .open = asids_debugfs_open,
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | chan_user.h | 20 int (*open)(int, int, int, void *, char **); member
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | tty.c | 32 fd = open("/dev/ptmx", O_RDWR); in get_pty() 35 printk(UM_KERN_ERR "get_pty : Couldn't open /dev/ptmx - " in get_pty()
|
/kernel/linux/linux-5.10/arch/um/include/shared/ |
H A D | net_user.h | 18 int (*open)(void *); member
|
/kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
H A D | decode_msr.py | 9 with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f:
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm-dev.c | 63 .open = tpm_open,
|
/kernel/linux/linux-5.10/tools/testing/selftests/splice/ |
H A D | splice_read.c | 23 fd = open(argv[1], O_RDONLY); in main()
|
/kernel/linux/linux-6.6/Documentation/trace/postprocess/ |
H A D | decode_msr.py | 9 with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f:
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc-loadavg-001.c | 44 fd = open("/proc/loadavg" , O_RDONLY); in main()
|