Searched defs:ret_size (Results 1 - 11 of 11) sorted by relevance

/external/strace/tests/
H A Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); local
86 if (ret_size < 0)
89 assert(ret_size <= (int) cpuset_size);
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
112 ret_size = getaffinity(pid, big_size, cpuset);
113 if (ret_size < 0)
116 assert(ret_size <= (int) big_size);
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuse
[all...]
/external/strace/tests-m32/
H A Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); local
86 if (ret_size < 0)
89 assert(ret_size <= (int) cpuset_size);
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
112 ret_size = getaffinity(pid, big_size, cpuset);
113 if (ret_size < 0)
116 assert(ret_size <= (int) big_size);
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuse
[all...]
/external/strace/tests-mx32/
H A Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); local
86 if (ret_size < 0)
89 assert(ret_size <= (int) cpuset_size);
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
112 ret_size = getaffinity(pid, big_size, cpuset);
113 if (ret_size < 0)
116 assert(ret_size <= (int) big_size);
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) {
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuse
[all...]
/external/ltp/testcases/kernel/module/query_module/
H A Dquery_module02.c110 static size_t ret_size; variable
156 tdat[testno].bufsize, &ret_size));
H A Dquery_module03.c108 size_t *ret_size; member in struct:test_case_t
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));
/external/e2fsprogs/lib/ext2fs/
H A Dfileio.c501 errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size) argument
505 *ret_size = EXT2_I_SIZE(&file->inode);
H A Dmkjournal.c95 int fd, ret_size; local
110 ret_size = write(fd, buf, fs->blocksize);
111 if (ret_size < 0) {
115 if (ret_size != (int) fs->blocksize)
123 ret_size = write(fd, buf, fs->blocksize);
124 if (ret_size < 0) {
128 if (ret_size != (int) fs->blocksize)
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_ENUM_FRAMESIZES.c581 int ret_size, errno_size; local
651 ret_size = ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize);
655 ("\tVIDIOC_ENUM_FRAMESIZES, index=%u, pixel_format=0x%x, ret_size=%i, errno_size=%i\n",
656 framesize.index, framesize.pixel_format, ret_size, errno_size);
664 if (ret_size == 0) {
665 CU_ASSERT_EQUAL(ret_size, 0);
669 CU_ASSERT_EQUAL(ret_size, -1);
/external/c-ares/
H A Dares_init.c606 * Note that ret_size should ideally be big enough to hold around
611 static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size) argument
615 size_t left = ret_size;
/external/libusb/libusb/os/
H A Dwindows_winusb.c890 DWORD size, ret_size; local
932 &cd_buf_short, size, &ret_size, NULL)) {
937 if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR))) {
958 cd_buf_actual, size, &ret_size, NULL)) {
965 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) {
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader.c7473 unsigned ret_size = LLVMCountStructElementTypes(ret_type); local
7475 for (unsigned i = 0; i < ret_size; ++i) {

Completed in 573 milliseconds