Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUMSTD.c50 struct v4l2_standard std2; in test_VIDIOC_ENUMSTD() local
84 memset(&std2, 0, sizeof(std2)); in test_VIDIOC_ENUMSTD()
85 std2.index = std.index; in test_VIDIOC_ENUMSTD()
86 std2.id = std.id; in test_VIDIOC_ENUMSTD()
87 strncpy((char *)std2.name, (char *)std.name, in test_VIDIOC_ENUMSTD()
88 sizeof(std2.name)); in test_VIDIOC_ENUMSTD()
89 std2.frameperiod.numerator = std.frameperiod.numerator; in test_VIDIOC_ENUMSTD()
90 std2.frameperiod.denominator = in test_VIDIOC_ENUMSTD()
92 std2.framelines = std.framelines; in test_VIDIOC_ENUMSTD()
93 CU_ASSERT_EQUAL(memcmp(&std, &std2, sizeof(std)), 0); in test_VIDIOC_ENUMSTD()
[all …]