Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_QUERYMENU.c36 struct v4l2_querymenu menu2; in do_check_menu() local
58 memset(&menu2, 0, sizeof(menu2)); in do_check_menu()
59 menu2.id = id; in do_check_menu()
60 menu2.index = index; in do_check_menu()
61 strncpy((char *)menu2.name, (char *)menu->name, in do_check_menu()
62 sizeof(menu2.name)); in do_check_menu()
63 CU_ASSERT_EQUAL(memcmp(menu, &menu2, sizeof(*menu)), 0); in do_check_menu()
69 memset(&menu2, 0xff, sizeof(menu2)); in do_check_menu()
70 menu2.id = id; in do_check_menu()
71 menu2.index = index; in do_check_menu()
[all …]