Home
last modified time | relevance | path

Searched refs:rootfd (Results 1 – 6 of 6) sorted by relevance

/external/strace/tests/
Dbtrfs.c2056 int rootfd = open(path, O_RDONLY|O_DIRECTORY); in rm_test_dir() local
2058 unlinkat(rootfd, dir_name, AT_REMOVEDIR); in rm_test_dir()
2096 int rootfd; in main() local
2109 rootfd = open(path, O_RDONLY|O_DIRECTORY); in main()
2110 if (rootfd < 0) in main()
2113 ret = mkdirat(rootfd, dir_name, 0755); in main()
2121 btrfs_test_dir_fd = openat(rootfd, dir_name, in main()
2125 close(rootfd); in main()
/external/strace/tests-mx32/
Dbtrfs.c2056 int rootfd = open(path, O_RDONLY|O_DIRECTORY); in rm_test_dir() local
2058 unlinkat(rootfd, dir_name, AT_REMOVEDIR); in rm_test_dir()
2096 int rootfd; in main() local
2109 rootfd = open(path, O_RDONLY|O_DIRECTORY); in main()
2110 if (rootfd < 0) in main()
2113 ret = mkdirat(rootfd, dir_name, 0755); in main()
2121 btrfs_test_dir_fd = openat(rootfd, dir_name, in main()
2125 close(rootfd); in main()
/external/strace/tests-m32/
Dbtrfs.c2056 int rootfd = open(path, O_RDONLY|O_DIRECTORY); in rm_test_dir() local
2058 unlinkat(rootfd, dir_name, AT_REMOVEDIR); in rm_test_dir()
2096 int rootfd; in main() local
2109 rootfd = open(path, O_RDONLY|O_DIRECTORY); in main()
2110 if (rootfd < 0) in main()
2113 ret = mkdirat(rootfd, dir_name, 0755); in main()
2121 btrfs_test_dir_fd = openat(rootfd, dir_name, in main()
2125 close(rootfd); in main()
/external/curl/tests/server/
Dsws.c1464 curl_socket_t rootfd, in http_connect() argument
1526 FD_SET(rootfd, &input); in http_connect()
1527 maxfd = rootfd; in http_connect()
1584 (serverfd[DATA] == CURL_SOCKET_BAD) && FD_ISSET(rootfd, &input)) { in http_connect()
1586 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect()
/external/python/cpython3/Lib/test/
Dtest_os.py1060 for root, dirs, files, rootfd in self.fwalk(**fwalk_kwargs):
1082 for root, dirs, files, rootfd in self.fwalk(*args, follow_symlinks=follow_symlinks):
1084 os.fstat(rootfd)
1086 os.stat(rootfd)
1088 self.assertEqual(set(os.listdir(rootfd)), set(dirs) | set(files))
/external/python/cpython3/Doc/library/
Dos.rst2933 for root, dirs, files, rootfd in os.fwalk('python/Lib/email'):
2935 print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
2950 for root, dirs, files, rootfd in os.fwalk(top, topdown=False):
2952 os.unlink(name, dir_fd=rootfd)
2954 os.rmdir(name, dir_fd=rootfd)