/external/python/cffi/demo/ |
D | readdir_ctypes.py | 33 openat = C.openat variable 34 openat.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int] 35 openat.restype = ctypes.c_int 48 dirfd = openat(basefd, path, 0)
|
D | readdir.py | 14 dirfd = lib.openat(basefd, path, 0)
|
/external/igt-gpu-tools/runner/ |
D | runner_tests.c | 51 int fd = openat(dirfd, name, O_RDONLY); in dump_file() 133 clear_directory_fd(openat(dirfd, dirent->d_name, O_DIRECTORY | O_RDONLY)); in clear_directory_fd() 194 igt_assert_f((fd = openat(dirfd, name, O_RDONLY)) >= 0, in assert_execution_created() 306 igt_require((fd = openat(dirfd, tmptestlist, O_CREAT | O_EXCL | O_WRONLY, 0660)) >= 0); 772 igt_assert_f((fd = openat(dirfd, "metadata.txt", O_RDONLY)), 823 igt_assert_f((fd = openat(dirfd, "joblist.txt", O_RDONLY)) >= 0, 879 igt_assert_f(openat(dirfd, "0", O_DIRECTORY | O_RDONLY) < 0, 881 igt_assert_f((fd = openat(dirfd, "metadata.txt", O_RDONLY)) >= 0, 884 igt_assert_f((fd = openat(dirfd, "joblist.txt", O_RDONLY)) >= 0, 887 igt_assert_f((fd = openat(dirfd, "uname.txt", O_RDONLY)) < 0, [all …]
|
D | executor.c | 334 int fd = openat(dirfd, name, O_RDWR | O_CREAT | O_CLOEXEC, 0666); in open_at_end() 351 return openat(dirfd, name, O_RDONLY); in open_for_reading() 925 if ((dirfd = openat(resdirfd, name, O_DIRECTORY | O_RDONLY | O_CLOEXEC)) < 0) { in execute_next_entry() 1069 if ((resdirfd = openat(dirfd, name, O_DIRECTORY | O_RDONLY)) < 0) in clear_old_results() 1133 if ((resdirfd = openat(dirfd, name, O_DIRECTORY | O_RDONLY)) >= 0) in initialize_execute_state_from_resume() 1143 if ((fd = openat(resdirfd, filenames[_F_JOURNAL], O_RDONLY)) >= 0) { in initialize_execute_state_from_resume() 1216 if ((abortfd = openat(resdirfd, "aborted.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in write_abort_file() 1311 if ((unamefd = openat(resdirfd, "uname.txt", O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0) { in execute() 1319 if ((timefd = openat(resdirfd, "starttime.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in execute() 1441 if ((timefd = openat(resdirfd, "endtime.txt", O_CREAT | O_WRONLY | O_EXCL, 0666)) >= 0) { in execute()
|
D | runner_json_tests.c | 128 int testdirfd = openat(dirfd, dirname, O_RDONLY | O_DIRECTORY); in run_results_and_compare() 136 reference = openat(testdirfd, "reference.json", O_RDONLY); in run_results_and_compare()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat02.c | 123 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); in testfunc_append() 154 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); in testfunc_cloexec() 210 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); in testfunc_largefile() 245 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); in testfunc_noatime() 266 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); in testfunc_nofollow() 280 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777)); in testfunc_trunc()
|
D | openat.h | 29 int openat(int dirfd, const char *pathname, int flags, mode_t mode) in openat() function
|
/external/crosvm/seccomp/x86_64/ |
D | xhci.policy | 5 # xhci need "openat" to enumerate device. "openat" is disabled in comman_device policy. 6 openat: 1
|
D | tpm_device.policy | 28 #openat: return ENOENT 55 openat: 1
|
D | gpu_device.policy | 58 # mmap/mprotect/open/openat differ from the common_device.policy 62 openat: 1
|
/external/igt-gpu-tools/lib/ |
D | igt_sysfs.c | 183 params = openat(dir, in igt_sysfs_open_parameters() 222 fd = openat(dir, attr, O_WRONLY); in igt_sysfs_write() 248 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_read() 292 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_get() 346 fd = openat(dir, attr, O_RDONLY); in igt_sysfs_scanf() 372 fd = openat(dir, attr, O_WRONLY); in igt_sysfs_vprintf()
|
/external/linux-kselftest/tools/testing/selftests/proc/ |
D | read.c | 45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg() 58 fd = openat(dirfd(d), filename, O_WRONLY); in f_reg_write() 107 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
|
D | fd-003-kthread.c | 56 fd = openat(dir_fd, "stat", O_RDONLY); in kernel_thread_fd() 90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
|
/external/linux-kselftest/tools/testing/selftests/tmpfs/ |
D | bug-link-o-tmpfile.c | 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main() 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs05_make_tree.c | 142 fd = openat(dirfd, "makefile", O_CREAT | O_RDWR, in thread_fn() 156 fd = openat(dirfd, cfile, O_CREAT | O_RDWR, in thread_fn() 173 dirfd = openat(dirfd, "dir", O_DIRECTORY); in thread_fn()
|
/external/crosvm/seccomp/arm/ |
D | tpm_device.policy | 28 #openat: return ENOENT 56 openat: 1
|
/external/toybox/toys/other/ |
D | lspci.c | 50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY))) 61 if (-1 == (fd = openat(dirfd, *fields, O_RDONLY))) {
|
D | acpi.c | 37 if ((fd = openat(dirfd, name, O_RDONLY)) < 0) return -1; 56 if ((fd = openat(dfd, "type", O_RDONLY)) < 0) goto done; in acpi_callback()
|
/external/igt-gpu-tools/tests/ |
D | debugfs_test.c | 54 openat(path_fd, dirent->d_name, O_RDONLY | in read_and_discard_sysfs_entries() 68 sub_fd = openat(path_fd, dirent->d_name, O_RDONLY); in read_and_discard_sysfs_entries()
|
/external/strace/tests-mx32/ |
D | dev-yy.gen.test | 4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
|
/external/strace/tests/ |
D | dev-yy.gen.test | 4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
|
/external/strace/tests-m32/ |
D | dev-yy.gen.test | 4 run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
|
/external/igt-gpu-tools/tests/i915/ |
D | i915_hangman.c | 50 fd = openat(dir, "error", O_RDONLY); in has_error_state() 114 fd = openat(sysfs, "error", O_RDONLY); in open_error()
|
/external/ltp/include/lapi/syscalls/ |
D | hppa.in | 2 openat 275
|
/external/minijail/examples/ |
D | cat.policy | 13 openat: 1
|