/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_PRIORITY.c | 137 int ret_null, errno_null; in test_VIDIOC_G_PRIORITY_NULL() local 147 ret_null = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, NULL); in test_VIDIOC_G_PRIORITY_NULL() 151 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_PRIORITY_NULL() 156 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_PRIORITY_NULL() 161 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_PRIORITY_NULL() 237 int ret_null, errno_null; in test_VIDIOC_S_PRIORITY_NULL() local 260 ret_null = ioctl(get_video_fd(), VIDIOC_S_PRIORITY, NULL); in test_VIDIOC_S_PRIORITY_NULL() 264 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_PRIORITY_NULL() 270 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_PRIORITY_NULL() 276 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_PRIORITY_NULL()
|
D | test_VIDIOC_OUTPUT.c | 230 int ret_null, errno_null; in test_VIDIOC_G_OUTPUT_NULL() local 240 ret_null = ioctl(get_video_fd(), VIDIOC_G_OUTPUT, NULL); in test_VIDIOC_G_OUTPUT_NULL() 244 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_OUTPUT_NULL() 248 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_OUTPUT_NULL() 253 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_OUTPUT_NULL() 263 int ret_null, errno_null; in test_VIDIOC_S_OUTPUT_NULL() local 283 ret_null = ioctl(get_video_fd(), VIDIOC_S_OUTPUT, NULL); in test_VIDIOC_S_OUTPUT_NULL() 287 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_OUTPUT_NULL() 290 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_OUTPUT_NULL() 293 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_OUTPUT_NULL()
|
D | test_VIDIOC_INPUT.c | 232 int ret_null, errno_null; in test_VIDIOC_G_INPUT_NULL() local 242 ret_null = ioctl(get_video_fd(), VIDIOC_G_INPUT, NULL); in test_VIDIOC_G_INPUT_NULL() 246 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_INPUT_NULL() 250 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_INPUT_NULL() 255 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_INPUT_NULL() 265 int ret_null, errno_null; in test_VIDIOC_S_INPUT_NULL() local 285 ret_null = ioctl(get_video_fd(), VIDIOC_S_INPUT, NULL); in test_VIDIOC_S_INPUT_NULL() 289 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_INPUT_NULL() 293 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_INPUT_NULL() 298 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_INPUT_NULL()
|
D | test_VIDIOC_QUERYSTD.c | 63 int ret_null, errno_null; in test_VIDIOC_QUERYSTD_NULL() local 73 ret_null = ioctl(get_video_fd(), VIDIOC_QUERYSTD, NULL); in test_VIDIOC_QUERYSTD_NULL() 77 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_QUERYSTD_NULL() 83 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_QUERYSTD_NULL() 89 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_QUERYSTD_NULL()
|
D | test_VIDIOC_STD.c | 441 int ret_null, errno_null; in do_test_VIDIOC_G_STD_NULL() local 451 ret_null = ioctl(get_video_fd(), VIDIOC_G_STD, NULL); in do_test_VIDIOC_G_STD_NULL() 455 __FILE__, __LINE__, ret_null, errno_null); in do_test_VIDIOC_G_STD_NULL() 462 CU_ASSERT_EQUAL(ret_null, -1); in do_test_VIDIOC_G_STD_NULL() 467 CU_ASSERT_EQUAL(ret_null, -1); in do_test_VIDIOC_G_STD_NULL() 472 CU_ASSERT_EQUAL(ret_null, -1); in do_test_VIDIOC_G_STD_NULL() 481 CU_ASSERT_EQUAL(ret_null, -1); in do_test_VIDIOC_G_STD_NULL() 486 CU_ASSERT_EQUAL(ret_null, -1); in do_test_VIDIOC_G_STD_NULL() 501 int ret_null, errno_null; in do_test_VIDIOC_S_STD_NULL() local 505 ret_null = ioctl(get_video_fd(), VIDIOC_S_STD, NULL); in do_test_VIDIOC_S_STD_NULL() [all …]
|
D | test_VIDIOC_JPEGCOMP.c | 97 int ret_null, errno_null; in test_VIDIOC_G_JPEGCOMP_NULL() local 106 ret_null = ioctl(get_video_fd(), VIDIOC_G_JPEGCOMP, NULL); in test_VIDIOC_G_JPEGCOMP_NULL() 109 dprintf("\tVIDIOC_G_JPEGCOMP, ret_null=%i, errno_null=%i\n", ret_null, in test_VIDIOC_G_JPEGCOMP_NULL() 114 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_JPEGCOMP_NULL() 119 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_JPEGCOMP_NULL()
|
D | test_VIDIOC_EXT_CTRLS.c | 308 int ret_null, errno_null; in test_VIDIOC_G_EXT_CTRLS_NULL() local 321 ret_null = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, NULL); in test_VIDIOC_G_EXT_CTRLS_NULL() 325 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_EXT_CTRLS_NULL() 330 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_EXT_CTRLS_NULL() 337 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_EXT_CTRLS_NULL() 495 int ret_null, errno_null; in test_VIDIOC_S_EXT_CTRLS_NULL() local 508 ret_null = ioctl(get_video_fd(), VIDIOC_S_EXT_CTRLS, NULL); in test_VIDIOC_S_EXT_CTRLS_NULL() 512 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_EXT_CTRLS_NULL() 517 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_EXT_CTRLS_NULL() 524 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_EXT_CTRLS_NULL() [all …]
|
D | test_VIDIOC_G_SLICED_VBI_CAP.c | 95 int ret_null, errno_null; in test_VIDIOC_G_SLICED_VBI_CAP_NULL() local 130 ret_null = ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, NULL); in test_VIDIOC_G_SLICED_VBI_CAP_NULL() 134 ret_null, errno_null); in test_VIDIOC_G_SLICED_VBI_CAP_NULL() 137 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_SLICED_VBI_CAP_NULL() 147 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_SLICED_VBI_CAP_NULL()
|
D | test_VIDIOC_AUDIO.c | 165 int ret_null, errno_null; in test_VIDIOC_G_AUDIO_NULL() local 175 ret_null = ioctl(get_video_fd(), VIDIOC_G_AUDIO, NULL); in test_VIDIOC_G_AUDIO_NULL() 179 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_AUDIO_NULL() 185 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_AUDIO_NULL() 191 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_AUDIO_NULL() 466 int ret_null, errno_null; in test_VIDIOC_S_AUDIO_NULL() local 485 ret_null = ioctl(get_video_fd(), VIDIOC_S_AUDIO, NULL); in test_VIDIOC_S_AUDIO_NULL() 489 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_AUDIO_NULL() 493 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_AUDIO_NULL() 498 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_AUDIO_NULL()
|
D | test_VIDIOC_QUERYCAP.c | 131 int ret_null, errno_null; in test_VIDIOC_QUERYCAP_NULL() local 133 ret_null = ioctl(get_video_fd(), VIDIOC_QUERYCAP, NULL); in test_VIDIOC_QUERYCAP_NULL() 137 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_QUERYCAP_NULL() 142 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_QUERYCAP_NULL()
|
D | test_VIDIOC_ENUMAUDIO.c | 170 int ret_null, errno_null; in test_VIDIOC_ENUMAUDIO_NULL() local 181 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, NULL); in test_VIDIOC_ENUMAUDIO_NULL() 185 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUMAUDIO_NULL() 189 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMAUDIO_NULL() 194 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMAUDIO_NULL()
|
D | test_VIDIOC_ENUMAUDOUT.c | 180 int ret_null, errno_null; in test_VIDIOC_ENUMAUDOUT_NULL() local 190 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, NULL); in test_VIDIOC_ENUMAUDOUT_NULL() 194 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUMAUDOUT_NULL() 198 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMAUDOUT_NULL() 203 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMAUDOUT_NULL()
|
D | test_VIDIOC_ENUMINPUT.c | 182 int ret_null, errno_null; in test_VIDIOC_ENUMINPUT_NULL() local 193 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, NULL); in test_VIDIOC_ENUMINPUT_NULL() 197 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUMINPUT_NULL() 201 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMINPUT_NULL() 206 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMINPUT_NULL()
|
D | test_VIDIOC_ENUMOUTPUT.c | 180 int ret_null, errno_null; in test_VIDIOC_ENUMOUTPUT_NULL() local 191 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, NULL); in test_VIDIOC_ENUMOUTPUT_NULL() 195 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUMOUTPUT_NULL() 199 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMOUTPUT_NULL() 204 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMOUTPUT_NULL()
|
D | test_VIDIOC_ENUMSTD.c | 186 int ret_null, errno_null; in test_VIDIOC_ENUMSTD_NULL() local 197 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMSTD, NULL); in test_VIDIOC_ENUMSTD_NULL() 201 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUMSTD_NULL() 205 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMSTD_NULL() 210 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUMSTD_NULL()
|
D | test_VIDIOC_TUNER.c | 280 int ret_null, errno_null; in test_VIDIOC_G_TUNER_NULL() local 290 ret_null = ioctl(get_video_fd(), VIDIOC_G_TUNER, NULL); in test_VIDIOC_G_TUNER_NULL() 294 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_TUNER_NULL() 300 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_TUNER_NULL() 306 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_TUNER_NULL() 528 int ret_null, errno_null; in test_VIDIOC_S_TUNER_NULL() local 550 ret_null = ioctl(get_video_fd(), VIDIOC_S_TUNER, NULL); in test_VIDIOC_S_TUNER_NULL() 558 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_TUNER_NULL() 563 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_TUNER_NULL()
|
D | test_VIDIOC_MODULATOR.c | 224 int ret_null, errno_null; in test_VIDIOC_G_MODULATOR_NULL() local 235 ret_null = ioctl(get_video_fd(), VIDIOC_G_MODULATOR, NULL); in test_VIDIOC_G_MODULATOR_NULL() 239 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_MODULATOR_NULL() 245 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_MODULATOR_NULL() 251 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_MODULATOR_NULL()
|
D | test_VIDIOC_CROPCAP.c | 213 int ret_null, errno_null; in test_VIDIOC_CROPCAP_NULL() local 257 ret_null = ioctl(get_video_fd(), VIDIOC_CROPCAP, NULL); in test_VIDIOC_CROPCAP_NULL() 261 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_CROPCAP_NULL() 267 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_CROPCAP_NULL() 283 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_CROPCAP_NULL()
|
D | test_VIDIOC_FREQUENCY.c | 151 int ret_null, errno_null; in test_VIDIOC_G_FREQUENCY_NULL() local 166 ret_null = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, NULL); in test_VIDIOC_G_FREQUENCY_NULL() 170 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_FREQUENCY_NULL() 175 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_FREQUENCY_NULL() 179 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_FREQUENCY_NULL() 738 int ret_null, errno_null; in test_VIDIOC_S_FREQUENCY_NULL() local 764 ret_null = ioctl(get_video_fd(), VIDIOC_S_FREQUENCY, NULL); in test_VIDIOC_S_FREQUENCY_NULL() 768 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_FREQUENCY_NULL() 777 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_FREQUENCY_NULL() 787 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_FREQUENCY_NULL()
|
D | test_VIDIOC_PARM.c | 273 int ret_null, errno_null; in test_VIDIOC_G_PARM_NULL() local 304 ret_null = ioctl(get_video_fd(), VIDIOC_G_PARM, NULL); in test_VIDIOC_G_PARM_NULL() 307 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_PARM_NULL() 313 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_PARM_NULL() 322 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_PARM_NULL()
|
D | test_VIDIOC_QUERYMENU.c | 288 int ret_null, errno_null; in test_VIDIOC_QUERYMENU_NULL() local 386 ret_null = ioctl(get_video_fd(), VIDIOC_QUERYMENU, NULL); in test_VIDIOC_QUERYMENU_NULL() 390 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_QUERYMENU_NULL() 393 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_QUERYMENU_NULL() 396 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_QUERYMENU_NULL()
|
D | test_VIDIOC_CTRL.c | 147 int ret_null, errno_null; in test_VIDIOC_G_CTRL_NULL() local 164 ret_null = ioctl(get_video_fd(), VIDIOC_G_CTRL, NULL); in test_VIDIOC_G_CTRL_NULL() 168 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_CTRL_NULL() 172 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_CTRL_NULL() 177 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_CTRL_NULL() 911 int ret_null, errno_null; in test_VIDIOC_S_CTRL_NULL() local 915 ret_null = ioctl(get_video_fd(), VIDIOC_S_CTRL, NULL); in test_VIDIOC_S_CTRL_NULL() 919 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_S_CTRL_NULL() 921 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_S_CTRL_NULL()
|
D | test_VIDIOC_CROP.c | 94 int ret_null, errno_null; in test_VIDIOC_G_CROP_NULL() local 124 ret_null = ioctl(get_video_fd(), VIDIOC_G_CROP, NULL); in test_VIDIOC_G_CROP_NULL() 128 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_CROP_NULL() 131 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_CROP_NULL() 141 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_CROP_NULL() 721 int ret_null, errno_null; in do_set_crop_null() local 762 ret_null = ioctl(get_video_fd(), VIDIOC_S_CROP, NULL); in do_set_crop_null() 765 __FILE__, __LINE__, ret_null, errno_null); in do_set_crop_null() 769 CU_ASSERT_EQUAL(ret_null, -1); in do_set_crop_null() 775 CU_ASSERT_EQUAL(ret_null, -1); in do_set_crop_null()
|
D | test_VIDIOC_AUDOUT.c | 155 int ret_null, errno_null; in test_VIDIOC_G_AUDOUT_NULL() local 165 ret_null = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, NULL); in test_VIDIOC_G_AUDOUT_NULL() 169 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_G_AUDOUT_NULL() 174 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_AUDOUT_NULL() 178 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_G_AUDOUT_NULL()
|
D | test_VIDIOC_ENUM_FMT.c | 352 int ret_null, errno_null; in test_VIDIOC_ENUM_FMT_NULL() local 447 ret_null = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, NULL); in test_VIDIOC_ENUM_FMT_NULL() 451 __FILE__, __LINE__, ret_null, errno_null); in test_VIDIOC_ENUM_FMT_NULL() 458 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUM_FMT_NULL() 479 CU_ASSERT_EQUAL(ret_null, -1); in test_VIDIOC_ENUM_FMT_NULL()
|