/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
test_VIDIOC_QUERYSTD.c | 35 int ret_query, errno_query; local 40 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYSTD, &id); 44 ("\t%s:%u: VIDIOC_QUERYSTD, ret_query=%i, errno_query=%i, id=0x%llx\n", 45 __FILE__, __LINE__, ret_query, errno_query, id); 47 if (ret_query == 0) { 48 CU_ASSERT_EQUAL(ret_query, 0); 54 CU_ASSERT_EQUAL(ret_query, -1); 62 int ret_query, errno_query; local 67 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYSTD, &id); 70 dprintf("\t%s:%u: VIDIOC_QUERYSTD: ret_query=%i, errno_query=%i\n" [all...] |
test_VIDIOC_QUERYMENU.c | 33 int ret_query, int errno_query, 38 if (ret_query == 0) { 39 CU_ASSERT_EQUAL(ret_query, 0); 66 CU_ASSERT_EQUAL(ret_query, -1); 78 int ret_query, errno_query; local 88 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYMENU, &menu); 92 ("\t%s:%u: VIDIOC_QUERYMENU, id=%u, (V4L2_CID_BASE+%i), index=%u, ret_query=%i, errno_query=%i\n", 93 __FILE__, __LINE__, id, id - V4L2_CID_BASE, i, ret_query, 96 do_check_menu(id, i, ret_query, errno_query, &menu); 99 } while (ret_query == 0) 105 int ret_query, errno_query; local 141 int ret_query, errno_query; local 208 int ret_query, errno_query; local 267 int ret_query, errno_query; local 286 int ret_query, errno_query; local [all...] |
test_VIDIOC_QUERYCTRL.c | 71 int ret_query, errno_query; local 94 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 98 ("\t%s:%u: VIDIOC_QUERYCTRL, id=%u (V4L2_CID_BASE+%i), ret_query=%i, errno_query=%i\n", 99 __FILE__, __LINE__, i, i - V4L2_CID_BASE, ret_query, 102 if (ret_query == 0) { 103 CU_ASSERT_EQUAL(ret_query, 0); 208 CU_ASSERT_EQUAL(ret_query, -1); 224 int ret_query, errno_query; local 230 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 234 ("\t%s:%u: VIDIOC_QUERYCTRL, id=%u (V4L2_CID_BASE-1), ret_query=%i, errno_query=%i\n" 248 int ret_query, errno_query; local 272 int ret_query, errno_query; local 296 int ret_query, errno_query; local 447 int ret_query, errno_query; local 586 int ret_query, errno_query; local 611 int ret_query, errno_query; local 646 int ret_query, errno_query; local [all...] |
test_VIDIOC_QUERYBUF.c | 36 int ret_query, errno_query; local 92 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); 124 ("\t%s:%u: VIDIOC_QUERYBUF, type=%i, index=%u, ret_query=%i, errno_query=%i\n", 125 __FILE__, __LINE__, buf.type, buf.index, ret_query, 127 if (ret_query == 0) 143 ret_query = 148 CU_ASSERT_EQUAL(ret_query, -1); 152 ("\t%s:%u: VIDIOC_QUERYBUF, type=%i, index=%u, ret_query=%i, errno_query=%i\n", 154 ret_query, errno_query); 155 if (ret_query == 0 [all...] |
test_VIDIOC_CTRL.c | 36 int ret_query, errno_query; local 47 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 51 ("\t%s:%u: VIDIOC_QUERYCTRL, id=%u (V4L2_CID_BASE+%i), ret_query=%i, errno_query=%i\n", 52 __FILE__, __LINE__, id, id - V4L2_CID_BASE, ret_query, 54 if (ret_query == 0) { 82 if (ret_query == 0) { 83 CU_ASSERT_EQUAL(ret_query, 0); 111 CU_ASSERT_EQUAL(ret_query, -1); 119 return ret_query; 185 int ret_query, errno_query local 595 int ret_query, errno_query; local [all...] |
test_VIDIOC_EXT_CTRLS.c | 180 int ret_query, errno_query; local 192 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 196 ("\t%s:%u: VIDIOC_QUERYCTRL, id=%u (V4L2_CID_BASE+%i), ret_query=%i, errno_query=%i\n", 197 __FILE__, __LINE__, id, id - V4L2_CID_BASE, ret_query, 199 if (ret_query == 0) { 233 if (ret_query == 0) { 234 CU_ASSERT_EQUAL(ret_query, 0); 269 CU_ASSERT_EQUAL(ret_query, -1); 277 return ret_query;
|