Home
last modified time | relevance | path

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

/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/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/
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.c1322 curl_socket_t rootfd, in http_connect() argument
1384 FD_SET(rootfd, &input); in http_connect()
1385 maxfd = rootfd; in http_connect()
1442 (serverfd[DATA] == CURL_SOCKET_BAD) && FD_ISSET(rootfd, &input)) { in http_connect()
1444 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect()
/external/python/cpython3/Lib/test/
Dtest_os.py1343 for root, dirs, files, rootfd in self.fwalk(**fwalk_kwargs):
1365 for root, dirs, files, rootfd in self.fwalk(*args, follow_symlinks=follow_symlinks):
1367 os.fstat(rootfd)
1369 os.stat(rootfd)
1371 self.assertEqual(set(os.listdir(rootfd)), set(dirs) | set(files))
/external/python/cpython3/Doc/library/
Dos.rst3109 for root, dirs, files, rootfd in os.fwalk('python/Lib/email'):
3111 print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
3126 for root, dirs, files, rootfd in os.fwalk(top, topdown=False):
3128 os.unlink(name, dir_fd=rootfd)
3130 os.rmdir(name, dir_fd=rootfd)