Searched refs:audioout2 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMAUDOUT.c | 47 struct v4l2_audioout audioout2; in test_VIDIOC_ENUMAUDOUT() local 79 memset(&audioout2, 0, sizeof(audioout2)); in test_VIDIOC_ENUMAUDOUT() 80 audioout2.index = audioout.index; in test_VIDIOC_ENUMAUDOUT() 81 strncpy((char *)audioout2.name, (char *)audioout.name, in test_VIDIOC_ENUMAUDOUT() 82 sizeof(audioout2.name)); in test_VIDIOC_ENUMAUDOUT() 83 audioout2.capability = audioout.capability; in test_VIDIOC_ENUMAUDOUT() 84 audioout2.mode = audioout.mode; in test_VIDIOC_ENUMAUDOUT() 86 (&audioout, &audioout2, in test_VIDIOC_ENUMAUDOUT() 104 memset(&audioout2, 0xff, sizeof(audioout2)); in test_VIDIOC_ENUMAUDOUT() 105 audioout2.index = i; in test_VIDIOC_ENUMAUDOUT() [all …]
|
D | test_VIDIOC_AUDOUT.c | 55 struct v4l2_audioout audioout2; in test_VIDIOC_G_AUDOUT() local 83 memset(&audioout2, 0, sizeof(audioout2)); in test_VIDIOC_G_AUDOUT() 84 audioout2.index = audioout.index; in test_VIDIOC_G_AUDOUT() 85 strncpy((char *)audioout2.name, (char *)audioout.name, in test_VIDIOC_G_AUDOUT() 86 sizeof(audioout2.name)); in test_VIDIOC_G_AUDOUT() 87 audioout2.capability = audioout.capability; in test_VIDIOC_G_AUDOUT() 88 audioout2.mode = audioout.mode; in test_VIDIOC_G_AUDOUT() 89 CU_ASSERT_EQUAL(memcmp(&audioout, &audioout2, sizeof(audioout)), in test_VIDIOC_G_AUDOUT() 107 memset(&audioout2, 0xff, sizeof(audioout2)); in test_VIDIOC_G_AUDOUT() 108 CU_ASSERT_EQUAL(memcmp(&audioout, &audioout2, sizeof(audioout)), in test_VIDIOC_G_AUDOUT() [all …]
|