Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_QUERYMENU.c33 int ret_query, int errno_query, in do_check_menu() argument
38 if (ret_query == 0) { in do_check_menu()
39 CU_ASSERT_EQUAL(ret_query, 0); in do_check_menu()
66 CU_ASSERT_EQUAL(ret_query, -1); in do_check_menu()
78 int ret_query, errno_query; in do_query_menu() local
88 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYMENU, &menu); in do_query_menu()
93 __FILE__, __LINE__, id, id - V4L2_CID_BASE, i, ret_query, in do_query_menu()
96 do_check_menu(id, i, ret_query, errno_query, &menu); in do_query_menu()
99 } while (ret_query == 0); in do_query_menu()
105 int ret_query, errno_query; in do_query_menu_invalid() local
[all …]
Dtest_VIDIOC_QUERYCTRL.c71 int ret_query, errno_query; in test_VIDIOC_QUERYCTRL() local
94 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL()
99 __FILE__, __LINE__, i, i - V4L2_CID_BASE, ret_query, in test_VIDIOC_QUERYCTRL()
102 if (ret_query == 0) { in test_VIDIOC_QUERYCTRL()
103 CU_ASSERT_EQUAL(ret_query, 0); in test_VIDIOC_QUERYCTRL()
208 CU_ASSERT_EQUAL(ret_query, -1); in test_VIDIOC_QUERYCTRL()
224 int ret_query, errno_query; in test_VIDIOC_QUERYCTRL_BASE_1() local
230 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_BASE_1()
235 __FILE__, __LINE__, V4L2_CID_BASE - 1, ret_query, errno_query); in test_VIDIOC_QUERYCTRL_BASE_1()
237 CU_ASSERT_EQUAL(ret_query, -1); in test_VIDIOC_QUERYCTRL_BASE_1()
[all …]
Dtest_VIDIOC_QUERYSTD.c35 int ret_query, errno_query; in test_VIDIOC_QUERYSTD() local
40 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYSTD, &id); in test_VIDIOC_QUERYSTD()
45 __FILE__, __LINE__, ret_query, errno_query, id); in test_VIDIOC_QUERYSTD()
47 if (ret_query == 0) { in test_VIDIOC_QUERYSTD()
48 CU_ASSERT_EQUAL(ret_query, 0); in test_VIDIOC_QUERYSTD()
54 CU_ASSERT_EQUAL(ret_query, -1); in test_VIDIOC_QUERYSTD()
62 int ret_query, errno_query; in test_VIDIOC_QUERYSTD_NULL() local
67 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYSTD, &id); in test_VIDIOC_QUERYSTD_NULL()
71 __FILE__, __LINE__, ret_query, errno_query); in test_VIDIOC_QUERYSTD_NULL()
80 if (ret_query == 0) { in test_VIDIOC_QUERYSTD_NULL()
[all …]
Dtest_VIDIOC_QUERYBUF.c36 int ret_query, errno_query; in do_VIDIOC_QUERYBUF() local
92 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
125 __FILE__, __LINE__, buf.type, buf.index, ret_query, in do_VIDIOC_QUERYBUF()
127 if (ret_query == 0) in do_VIDIOC_QUERYBUF()
143 ret_query = in do_VIDIOC_QUERYBUF()
148 CU_ASSERT_EQUAL(ret_query, -1); in do_VIDIOC_QUERYBUF()
154 ret_query, errno_query); in do_VIDIOC_QUERYBUF()
155 if (ret_query == 0) in do_VIDIOC_QUERYBUF()
165 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
170 __FILE__, __LINE__, buf.type, buf.index, ret_query, errno_query); in do_VIDIOC_QUERYBUF()
[all …]
Dtest_VIDIOC_CTRL.c36 int ret_query, errno_query; in do_get_control() local
47 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_get_control()
52 __FILE__, __LINE__, id, id - V4L2_CID_BASE, ret_query, in do_get_control()
54 if (ret_query == 0) { in do_get_control()
82 if (ret_query == 0) { in do_get_control()
83 CU_ASSERT_EQUAL(ret_query, 0); in do_get_control()
111 CU_ASSERT_EQUAL(ret_query, -1); in do_get_control()
119 return ret_query; in do_get_control()
185 int ret_query, errno_query; in do_set_control() local
202 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_set_control()
[all …]
Dtest_VIDIOC_EXT_CTRLS.c180 int ret_query, errno_query; in do_get_ext_control_one() local
192 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_get_ext_control_one()
197 __FILE__, __LINE__, id, id - V4L2_CID_BASE, ret_query, in do_get_ext_control_one()
199 if (ret_query == 0) { in do_get_ext_control_one()
233 if (ret_query == 0) { in do_get_ext_control_one()
234 CU_ASSERT_EQUAL(ret_query, 0); in do_get_ext_control_one()
269 CU_ASSERT_EQUAL(ret_query, -1); in do_get_ext_control_one()
277 return ret_query; in do_get_ext_control_one()