/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 72 .open = simple_open, 142 .open = simple_open, 188 .open = simple_open, 240 .open = simple_open, 284 .open = simple_open, 308 .open = simple_open, 355 .open = simple_open, 396 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 72 .open = simple_open, 142 .open = simple_open, 188 .open = simple_open, 240 .open = simple_open, 284 .open = simple_open, 308 .open = simple_open, 355 .open = simple_open, 391 .open = simple_open,
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | file.c | 46 /* Curiouser and curiouser... NULL ->open() as "no device" ? */ in usb_open() 47 if (file->f_op->open) in usb_open() 48 err = file->f_op->open(inode, file); in usb_open() 56 .open = usb_open,
|
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | cpupower.c | 29 fd = open(path, O_RDONLY); in cpupower_read_sysfs() 50 fd = open(path, O_WRONLY); in cpupower_write_sysfs() 97 fd = open(path, O_RDONLY); in cpupower_is_cpu_online()
|
/third_party/alsa-utils/alsactl/ |
H A D | lock.c | 69 fd = open(lock_file, O_RDWR); in state_lock_() 75 fd = open(lock_file, O_RDWR|O_CREAT|O_EXCL, 0644); in state_lock_() 82 fd = open(lock_file, O_RDWR); in state_lock_()
|
/third_party/benchmark/tools/gbench/ |
H A D | util.py | 27 with open(filename, mode='rb') as f: 50 with open(filename, 'r') as f: 135 with open(fname, 'r') as f:
|
/third_party/NuttX/drivers/pipes/ |
H A D | pipe.c | 68 .open = pipecommon_open, /* open */ 147 /* Release the pipe when there are no further open references to it. */ in pipe_close() 177 /* Release the pipe when there are no further open references to it. */ in pipe_unlink() 313 fd[1] = open(devname, O_WRONLY); in pipe() 322 fd[0] = open(devname, O_RDONLY); in pipe()
|
/third_party/NuttX/fs/driver/ |
H A D | fs_devsyslog.c | 82 SYSLOG_REOPEN, /* SYSLOG open failed... try again later */ 83 SYSLOG_FAILURE, /* SYSLOG open failed... don't try again */ 84 SYSLOG_OPENED, /* SYSLOG device is open and ready to use */ 256 /* Try to open the device. in syslog_initialize() 258 * Note that we cannot just call open. The syslog device must work on all in syslog_initialize() 261 * essentially re-implement the guts of open() here so that we can get to in syslog_initialize() 274 /* The inode was not found. In this case, we will attempt to re-open in syslog_initialize() 313 /* Perform the low-level open operation. */ in syslog_initialize() 316 if (inode_ptr->u.i_ops->open) in syslog_initialize() 328 ret = inode_ptr->u.i_mops->open( in syslog_initialize() [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | test_config_script.py | 127 with open(stdout_filename, 'wb') as out: 128 with open(stderr_filename, 'wb') as err: 133 with open(status_filename, 'w') as status_file:
|
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/ |
H A D | glcpp_test.py | 78 with open(expfile, 'r') as f: 104 with open(testfile, 'rb') as f: 135 with open(testfile, 'rt') as f:
|
/third_party/ltp/pan/cgi/ |
H A D | browse.cgi | 43 open (UF, $pf) || next; 55 open (UF, "gunzip -c $pf|") || next; 57 open (UF, "$pf") || next;
|
/third_party/node/deps/v8/tools/ |
H A D | generate-header-include-checks.py | 119 with open(cc_file_name) as cc_file: 124 with open(cc_file_name, 'w') as cc_file: 131 with open(gni_file, 'w') as gn:
|
/third_party/node/test/parallel/ |
H A D | test-fs-write-optional-params.js | 32 fs.open(dest, 'w', common.mustSucceed((fd) => { 36 fs.open(dest, 'r', common.mustSucceed((fd) => { 113 fs.open(destInvalid, 'w+', common.mustSucceed(async (fd) => {
|
/third_party/ninja/misc/ |
H A D | output_test.py | 23 with open(os.path.join(d, 'build.ninja'), 'w') as f: 132 with open(os.path.join(d, 'build.ninja'), 'w'): 135 with open(os.path.join(d, '.ninja_log'), 'w') as f:
|
/third_party/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/ |
H A D | index.js | 126 // open a file with the default application as defined by the user's OS 127 const open = (_args, opts = {}, extra = {}) => { 133 // we want to treat things as win32 anyway so the host can open the argument 149 command = 'open' 151 command = 'xdg-open' 157 promiseSpawn.open = open
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown02.c | 197 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) in setup_eperm() 198 tst_brkm(TBROK | TERRNO, cleanup, "open failed"); in setup_eperm() 231 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) in setup_eacces() 232 tst_brkm(TBROK | TERRNO, cleanup, "open failed"); in setup_eacces() 266 if ((fd = open(TFILE3, O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup_enotdir() 267 tst_brkm(TBROK | TERRNO, cleanup, "open(2) %s failed", TFILE3); in setup_enotdir()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink03.c | 267 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) { in setup1() 269 "open(%s, O_RDWR|O_CREAT, 0666) failed, errno=%d : %s", in setup1() 287 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) { in setup2() 289 "open(%s, O_RDWR|O_CREAT, 0666) failed, errno=%d : %s", in setup2() 327 /* Creat/open a testfile and close it */ in setup3() 328 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) { in setup3() 330 "open(2) on t_file failed, errno=%d : %s", in setup3()
|
/third_party/ltp/testcases/kernel/pty/ |
H A D | hangup01.c | 165 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child() 166 printf("open[1] failed: %s\n", strerror(errno)); in child() 177 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child() 178 printf("open[2] failed: %s\n", strerror(errno)); in child() 189 if ((slavefd = open(slavename, O_RDWR)) < 0) { in child() 190 printf("open[3] failed: %s\n", strerror(errno)); in child()
|
/third_party/mesa3d/src/util/perf/ |
H A D | u_trace.py | 461 with open(cpath, 'w') as f: 475 with open(hpath, 'w') as f: 550 with open(hpath, 'wb') as f:
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_syscall.cpp | 72 int fp = open("/dev/zero", O_RDWR, OPEN_MODE); in Bm_function_Syscall_write() 74 perror("open SYS_write"); in Bm_function_Syscall_write() 82 // Transfer 10 bytes into the BUFF in the open file 86 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_read() 88 perror("open SYS_read"); in Bm_function_Syscall_read() 104 int fd = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Syscall_fcntl() 106 perror("open SYS_fcntl"); in Bm_function_Syscall_fcntl()
|
/third_party/node/deps/undici/src/lib/websocket/ |
H A D | connection.js | 20 channels.open = diagnosticsChannel.channel('undici:websocket:open') 194 if (channels.open.hasSubscribers) { 195 channels.open.publish({
|
/third_party/python/Tools/msi/ |
H A D | csv_to_wxs.py | 44 with open(file_source, 'r', newline='') as f: 115 with open(install_target, 'r') as f: 122 with open(install_target, 'w') as f:
|
/third_party/python/Tools/scripts/ |
H A D | generate_token.py | 16 with open(path) as fp: 40 with open(file, 'r') as fobj: 45 with open(file, 'w') as fobj:
|
/third_party/python/Tools/wasm/ |
H A D | wasm_assets.py | 130 with open("pybuilddir.txt", encoding="utf-8") as f: 177 with open(args.buildroot / "Makefile") as f: 186 with open(args.sysconfig_data) as f:
|
/third_party/python/Lib/distutils/ |
H A D | text_file.py | 33 TextFile creates its own using 'io.open()'. 100 self.open(filename) 111 def open(self, filename): member in TextFile 115 self.file = io.open(self.filename, 'r', errors=self.errors)
|