Home
last modified time | relevance | path

Searched refs:ret_size (Results 1 – 12 of 12) sorted by relevance

/external/strace/tests/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/strace/tests-m32/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/strace/tests-mx32/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/ltp/testcases/kernel/module/query_module/
Dquery_module03.c108 size_t *ret_size; member
119 static size_t ret_size; variable
130 {(char *)-1, QM_MODULES, (void *)out_buf, sizeof(out_buf), &ret_size,
140 {NULL, QM_MODULES, (void *)-1, sizeof(out_buf), &ret_size, EFAULT,
145 {NULL, QM_MODULES, (void *)out_buf, SMALLBUFSIZE, &ret_size, ENOSPC,
173 tdat[testno].ret_size)); in main()
Dquery_module02.c110 static size_t ret_size; variable
156 tdat[testno].bufsize, &ret_size)); in main()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c95 int fd, ret_size; in write_journal_file() local
110 ret_size = write(fd, buf, fs->blocksize); in write_journal_file()
111 if (ret_size < 0) { in write_journal_file()
115 if (ret_size != (int) fs->blocksize) in write_journal_file()
123 ret_size = write(fd, buf, fs->blocksize); in write_journal_file()
124 if (ret_size < 0) { in write_journal_file()
128 if (ret_size != (int) fs->blocksize) in write_journal_file()
Dfileio.c501 errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size) in ext2fs_file_get_lsize() argument
505 *ret_size = EXT2_I_SIZE(&file->inode); in ext2fs_file_get_lsize()
Dext2fs.h1300 errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size);
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUM_FRAMESIZES.c581 int ret_size, errno_size; in test_VIDIOC_ENUM_FRAMESIZES_NULL() local
651 ret_size = ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
656 framesize.index, framesize.pixel_format, ret_size, errno_size); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
664 if (ret_size == 0) { in test_VIDIOC_ENUM_FRAMESIZES_NULL()
665 CU_ASSERT_EQUAL(ret_size, 0); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
669 CU_ASSERT_EQUAL(ret_size, -1); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
/external/c-ares/
Dares_init.c611 static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size) in get_iphlpapi_dns_info() argument
615 size_t left = ret_size; in get_iphlpapi_dns_info()
/external/libusb/libusb/os/
Dwindows_winusb.c890 DWORD size, ret_size; in cache_config_descriptors() local
932 &cd_buf_short, size, &ret_size, NULL)) { in cache_config_descriptors()
937 …if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR)))… in cache_config_descriptors()
958 cd_buf_actual, size, &ret_size, NULL)) { in cache_config_descriptors()
965 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { in cache_config_descriptors()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo511 @deftypefun errcode_t ext2fs_file_get_lsize (ext2_file_t @var{file}, __u64 *@var{ret_size})
512 Return the size of the file @var{file} in @var{ret_size}.