Home
last modified time | relevance | path

Searched refs:open (Results 1476 - 1500 of 9329) sorted by relevance

1...<<51525354555657585960>>...374

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c40 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 Dtest_execve.c49 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 Drv_reactors.c130 .open = available_reactors_open,
271 .open = monitor_reactors_open,
428 .open = simple_open,
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_stack.c369 .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 Daxg-toddr.c179 .open = axg_fifo_pcm_open,
240 .open = axg_fifo_pcm_open,
311 .open = axg_fifo_pcm_open,
H A Daxg-frddr.c158 .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 Dsound_core.c120 * 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 Dfillfile.c205 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 Delfstrtab.c138 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 Ddiskio-unix.cc57 // 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__.py139 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 Dgen_release_notes.py288 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 Dcheck_protocol_compatibility.py238 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 Dtest-fs-null-bytes.js66 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 Dtest-trace-events-fs-async.js171 function open() { function
288 tests.open = wrapper(open);
/third_party/node/deps/v8/tools/
H A Dgen-postmortem-metadata.py409 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 Dcheck_protocol_compatibility.py238 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 Dwrite_fake_manifests.py163 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 Dpredicate.py224 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 Dmain.rs44 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 Dmod.rs105 /// 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 Dfixcid.py126 f = open(filename, 'r')
128 err(filename + ': cannot open: ' + str(msg) + '\n')
150 g = open(tempname, 'w')
280 fp = open(substfile, 'r')
H A Dpatchcheck.py187 with open(abspath, 'r') as f:
203 with open(abspath, 'rb') as f:
208 with open(abspath, 'wb') as f:
H A Dreindent.py120 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 Dreplace.py28 dialog.open(text, insert_tags=insert_tags)
54 def open(self, text, insert_tags=None): member in ReplaceDialog
63 SearchDialogBase.open(self, text)

Completed in 16 milliseconds

1...<<51525354555657585960>>...374