Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 9 of 9) sorted by relevance

/io/
A Dtst-posix_fallocate64.c26 int ret; in do_test() local
34 ret = do_test_with_offset (512); in do_test()
35 if (ret == 1) in do_test()
39 ret = do_test_with_offset (base_offset); in do_test()
40 if (ret == 1) in do_test()
A Dtest-lfs.c94 int ret; in test_ftello() local
110 if (ret == -1) in test_ftello()
129 if (ret != 5) in test_ftello()
146 int ret, fd2; in do_test() local
160 if (ret == -1) in do_test()
200 if (ret != 5) in do_test()
203 ret = close (fd); in do_test()
205 if (ret == -1) in do_test()
212 else if (ret == -1) in do_test()
231 ret = close (fd2); in do_test()
[all …]
A Dtst-ttyname_r.c27 int ret = 0; in do_test() local
33 ret++; in do_test()
39 ret++; in do_test()
41 return ret; in do_test()
A Dbug-ftw4.c39 int ret, i, result = 0, fd, fd1, fd2; in main() local
55 ret = ftw64 (name, cb, 20); in main()
56 if (ret != 1) in main()
58 printf ("ftw64 returned %d instead of 1", ret); in main()
81 ret = ftw64 (name, cb, 20); in main()
82 if (ret != 1) in main()
84 printf ("ftw64 returned %d instead of 1", ret); in main()
A Dtst-open-tmpfile.c41 int ret = open (path, flags, mode); in wrap_open() local
42 if (ret < 0) in wrap_open()
47 return ret; in wrap_open()
56 if (ret < 0) in wrap_openat()
61 return ret; in wrap_openat()
70 if (ret < 0) in wrap_open64()
75 return ret; in wrap_open64()
84 if (ret < 0) in wrap_openat64()
89 return ret; in wrap_openat64()
137 if (ret < 0) in get_random_name()
[all …]
A Dtst-lchmod.c126 int ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1() local
127 TEST_COMPARE (ret, -1); in test_1()
151 ret = chmod_func (fd, arg, new_mode, AT_SYMLINK_NOFOLLOW); in test_1()
152 TEST_COMPARE (ret, -1); in test_1()
172 int ret = dup (STDOUT_FILENO); in test_1() local
173 if (ret == -1) in test_1()
179 fd_list_add (&fd_list, ret); in test_1()
190 ret = chmod_func (fd, arg, 2, AT_SYMLINK_NOFOLLOW); in test_1()
191 if (ret == 0) in test_1()
198 TEST_COMPARE (ret, -1); in test_1()
A Dstatx_generic.c60 int ret = __fstatat64 (fd, path, &st, flags & ~clear_flags); in statx_generic() local
61 if (ret != 0) in statx_generic()
62 return ret; in statx_generic()
A Dtst-copy_file_range.c243 ssize_t ret = copy_file_range (infd, NULL, outfd, NULL, 0, 0); in do_test() local
244 if (ret != 0) in do_test()
A Dfts.c1112 int ret, oerrno, newfd; in fts_safe_changedir() local
1121 ret = -1; in fts_safe_changedir()
1126 ret = -1; in fts_safe_changedir()
1129 ret = __fchdir(newfd); in fts_safe_changedir()
1135 return (ret); in fts_safe_changedir()

Completed in 10 milliseconds