Home
last modified time | relevance | path

Searched refs:open (Results 676 - 700 of 3275) sorted by relevance

1...<<21222324252627282930>>...131

/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
H A Duser_tagp.c21 * which will open the correct kernel module, find the
113 tagp_fd = open(DEVICE_NAME, O_RDWR); in tagpopen()
142 if ((tagp_fd = open("/dev/agpgart", O_RDWR)) < 0) { in agpgart_io_test()
161 /* open the module */ in main()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_instance.py389 with open(header_path, "w") as header_file:
394 with open(impl_path, "w") as impl_file:
/third_party/node/lib/internal/repl/
H A Dhistory.js63 fs.open(historyPath, 'a+', 0o0600, oninit);
67 // Cannot open history file.
69 _writeToOutput(repl, '\nError: Could not open history file.\n' +
98 fs.open(historyPath, 'r+', onhandle);
/third_party/node/test/parallel/
H A Dtest-fs-readv-promises.js31 const handle = await fs.open(filename, 'r');
50 const handle = await fs.open(filename, 'r');
/third_party/node/tools/configure.d/
H A Dnodedownload.py64 with open(targetfile, 'rb') as f:
79 with contextlib.closing(tarfile.TarFile.open(packedfile, 'r')) as icuzip:
/third_party/node/deps/v8/tools/sanitizers/
H A Dsancov_formatter_test.py205 with open(json_input, 'w') as f:
219 with open(full_path) as f:
/third_party/node/test/abort/
H A Dtest-addon-uv-handle-leak.js24 // number of open handles in the worker thread's event loop is assessed in the
26 // open handles is retrieved at that time as well. Thus, we require
50 // uv loop at [0x559b65ed5770] has open handles:
61 // uv loop at [0x559b65ed5770] has 3 open handles in total
94 assert.match(line, /^uv loop at \[.+\] has open handles:$/);
98 if (/^uv loop at \[.+\] has \d+ open handles in total$/.test(line)) {
/third_party/node/tools/gyp/pylib/gyp/
H A Deasy_xml.py130 with open(path) as file:
137 with open(path, "wb") as file:
/third_party/node/test/fixtures/wpt/FileAPI/url/
H A Durl-in-tags-revoke.window.js47 const win = window.open(url);
80 const win = window.open();
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h35 int open(const char *, int, ...);
204 #define open64 open
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h34 int open(const char *, int, ...);
203 #define open64 open
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h34 int open(const char *, int, ...);
203 #define open64 open
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h34 int open(const char *, int, ...);
203 #define open64 open
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h34 int open(const char *, int, ...);
203 #define open64 open
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Deasy_xml.py134 with open(path) as file:
141 with open(path, "wb") as file:
/third_party/libfuse/test/
H A Dtest_ctests.py63 with open(filename, 'r') as fh:
66 with open(filename, 'r') as fh:
/third_party/ltp/testcases/kernel/syscalls/access/
H A Daccess02.c85 * has read access, attempt to open the file with O_RDONLY, in access_test()
88 TEST(open(tc->targetname, O_RDONLY)); in access_test()
92 "open %s with O_RDONLY as %s failed", in access_test()
103 * has write access, attempt to open the file with O_WRONLY, in access_test()
106 TEST(open(tc->targetname, O_WRONLY)); in access_test()
110 "open %s with O_WRONLY as %s failed", in access_test()
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap03.c24 * - The file descriptor is open for read
171 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup()
204 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup()
H A Dmmap04.c24 * - The file descriptor is open for read
144 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup()
174 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount07.c52 TST_EXP_FAIL2(open(link_file, 0, O_RDWR), ELOOP, in test_link_traversal()
53 "open(%s, 0, O_RDWR)", link_file); in test_link_traversal()
55 TST_EXP_FD(open(link_file, 0, O_RDWR)); in test_link_traversal()
/third_party/ltp/testcases/kernel/syscalls/writev/
H A Dwritev05.c125 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) { in main()
126 tst_resm(TFAIL, "open(2) failed: fname = %s, " in main()
142 if ((fd[0] = open(f_name, O_RDWR, 0666)) < 0) { in main()
143 tst_resm(TFAIL, "open failed: fname = %s, errno = %d", in main()
H A Dwritev02.c121 if ((fd[0] = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) in main()
123 "open(.., O_WRONLY|O_CREAT, ..) failed"); in main()
134 if ((fd[0] = open(f_name, O_RDWR, 0666)) < 0) in main()
136 "open(.., O_RDWR, ..) failed"); in main()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
H A Dcommon.h65 while ((fd = open(filename, O_RDONLY, 0666)) < 0) in io_read()
105 while ((fd = open(filename, O_RDONLY, 0666)) < 0) in io_read_eof()
/third_party/ltp/testcases/network/nfsv4/acl/
H A Dtest_acl.py66 f = open('/tmp/acl-result-10000','w')
90 f = open('/tmp/acl-result-getfacl','w')
/third_party/libdrm/tests/nouveau/
H A Dthreaded.c92 fd = open(device, O_RDWR); in main()
94 fd2 = open(device, O_RDWR); in main()

Completed in 13 milliseconds

1...<<21222324252627282930>>...131