/kernel/linux/linux-6.6/tools/testing/selftests/drivers/s390x/uvdevice/ |
H A D | test_uvdevice.c | 40 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP() 162 self->uv_fd = open(UV_PATH, O_ACCMODE); in FIXTURE_SETUP() 268 int fd = open(UV_PATH, O_ACCMODE); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 49 fd = open(filename, O_WRONLY); in vmaybe_write_file() 53 ksft_exit_fail_msg("open of %s failed - %s\n", in vmaybe_write_file() 158 ksft_exit_fail_msg("open copy source - %s\n", strerror(errno)); in copy_fromat_to() 160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to() 224 int ourpath_fd = open(our_path, O_RDONLY | O_DIRECTORY); in do_tests() 226 ksft_exit_fail_msg("open '%s' - %s\n", in do_tests()
|
/kernel/linux/linux-6.6/kernel/trace/rv/ |
H A D | rv_reactors.c | 130 .open = available_reactors_open, 271 .open = monitor_reactors_open, 428 .open = simple_open,
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_stack.c | 369 .open = tracing_open_generic, 488 .open = stack_trace_open, 507 .open = stack_trace_filter_open,
|
/kernel/linux/linux-6.6/sound/soc/meson/ |
H A D | axg-toddr.c | 179 .open = axg_fifo_pcm_open, 240 .open = axg_fifo_pcm_open, 311 .open = axg_fifo_pcm_open,
|
H A D | axg-frddr.c | 158 .open = axg_fifo_pcm_open, 284 .open = axg_fifo_pcm_open, 355 .open = axg_fifo_pcm_open,
|
/kernel/linux/linux-6.6/sound/ |
H A D | sound_core.c | 120 * of SOUND_MAJOR to trap open attempts to any sound minor and 150 .open = soundcore_open, 443 * in open - see below. 591 if (!file->f_op->open) in soundcore_open() 594 return file->f_op->open(inode, file); in soundcore_open()
|
/third_party/elfutils/tests/ |
H A D | fillfile.c | 205 int fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, DEFFILEMODE); in check_elf() 208 printf ("cannot open `%s': %s\n", fname, strerror (errno)); in check_elf() 270 fd = open (fname, O_RDWR); in check_elf() 273 printf ("cannot (re)open `%s': %s\n", fname, strerror (errno)); in check_elf() 351 fd = open (fname, O_RDONLY); in check_elf() 354 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf()
|
H A D | elfstrtab.c | 138 int fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, DEFFILEMODE); in check_elf() 141 printf ("cannot open `%s': %s\n", fname, strerror (errno)); in check_elf() 284 fd = open (fname, O_RDWR); in check_elf() 287 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf() 353 fd = open (fname, O_RDONLY); in check_elf() 356 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); in check_elf()
|
/third_party/gptfdisk/ |
H A D | diskio-unix.cc | 57 // already open or is opened by this call, 0 if opening the file doesn't 63 if (isOpen) { // file is already open in OpenForRead() 72 fd = open(realFilename.c_str(), O_RDONLY); in OpenForRead() 118 // An extended file-open function. This includes some system-specific checks. 119 // Returns 1 if the file is open, 0 otherwise.... 124 // Close the disk, in case it's already open for reading only.... in OpenForWrite() 127 // try to open the device; may fail.... in OpenForWrite() 128 fd = open(realFilename.c_str(), O_WRONLY | O_CREAT, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH); in OpenForWrite() 133 fd = open(realFilename.c_str(), O_WRONLY | O_SHLOCK); in OpenForWrite() 165 // If disk isn't open, tr in GetBlockSize() [all...] |
/third_party/icu/icu4c/source/python/icutools/databuilder/ |
H A D | __main__.py | 139 with open(args.filter_file, "r") as f: 176 with open(schema_path) as schema_f: 260 with pyio.open(os.path.join(self.src_dir, filename), "r", encoding="utf-8-sig") as f:
|
/third_party/mesa3d/bin/ |
H A D | gen_release_notes.py | 288 with p.open('rt') as f: 300 with v.open('rt') as f: 317 with final.open('wt') as f:
|
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | check_protocol_compatibility.py | 238 input_file = open(file_name, "r") 461 expected_errors_file = open(arg_options.expected_errors, "r") 484 with open(arg_options.stamp, 'a') as _:
|
/third_party/node/test/parallel/ |
H A D | test-fs-null-bytes.js | 66 check(fs.open, fs.openSync, 'foo\u0000bar', 'r'); 101 check(fs.open, fs.openSync, fileUrl, 'r'); 133 check(fs.open, fs.openSync, fileUrl2, 'r');
|
H A D | test-trace-events-fs-async.js | 171 function open() { function 288 tests.open = wrapper(open);
|
/third_party/node/deps/v8/tools/ |
H A D | gen-postmortem-metadata.py | 409 objfile = io.open(objfilename, 'r', encoding='utf-8'); 645 inlfile = io.open(filename, 'r', encoding='utf-8'); 722 out = open(sys.argv[1], 'w');
|
/third_party/node/tools/inspector_protocol/ |
H A D | check_protocol_compatibility.py | 238 input_file = open(file_name, "r") 461 expected_errors_file = open(arg_options.expected_errors, "r") 484 with open(arg_options.stamp, 'a') as _:
|
/third_party/ninja/misc/ |
H A D | write_fake_manifests.py | 163 with open(h_path, 'w') as f: 166 with open(cc_path, 'w') as f: 221 f = open(path, 'w')
|
/third_party/rust/crates/bindgen/csmith-fuzzing/ |
H A D | predicate.py | 224 with open(bindings, mode="r") as f: 234 with open(bindings, mode="a") as outfile: 235 with open(args.extra_compile_file, mode="r") as infile:
|
/third_party/rust/crates/linux-raw-sys/gen/src/ |
H A D | main.rs | 44 let mut src_lib_rs_in = File::open("../src/lib.rs").unwrap(); in main() 63 let mut cargo_toml_in = File::open("../Cargo.toml").unwrap(); in main() 326 for ioctl in BufReader::new(File::open("ioctl/generated.txt").unwrap()).lines() {
|
/third_party/rust/crates/libloading/src/os/unix/ |
H A D | mod.rs | 105 /// This is equivalent to <code>[Library::open](filename, [RTLD_LAZY] | [RTLD_LOCAL])</code>. 121 Library::open(Some(filename), RTLD_LAZY | RTLD_LOCAL) in new() 137 /// This is equivalent to <code>[Library::open](None, [RTLD_LAZY] | [RTLD_LOCAL])</code>. 145 Library::open(None::<&OsStr>, RTLD_LAZY | RTLD_LOCAL).expect("this should never fail") in this() 166 pub unsafe fn open<P>(filename: Option<P>, flags: raw::c_int) -> Result<Library, crate::Error> in open() functions
|
/third_party/python/Tools/scripts/ |
H A D | fixcid.py | 126 f = open(filename, 'r') 128 err(filename + ': cannot open: ' + str(msg) + '\n') 150 g = open(tempname, 'w') 280 fp = open(substfile, 'r')
|
H A D | patchcheck.py | 187 with open(abspath, 'r') as f: 203 with open(abspath, 'rb') as f: 208 with open(abspath, 'wb') as f:
|
H A D | reindent.py | 120 with open(file, 'rb') as f: 127 with open(file, encoding=encoding) as f: 149 with open(file, "w", encoding=encoding, newline=newline) as f:
|
/third_party/python/Lib/idlelib/ |
H A D | replace.py | 28 dialog.open(text, insert_tags=insert_tags) 54 def open(self, text, insert_tags=None): member in ReplaceDialog 63 SearchDialogBase.open(self, text)
|