Searched refs:libinput_strverscmp (Results 1 – 2 of 2) sorted by relevance
/third_party/libinput/src/ |
D | libinput-versionsort.h | 33 libinput_strverscmp(const char *l0, const char *r0) in libinput_strverscmp() function 71 return libinput_strverscmp(l0, r0); in strverscmp() 77 return libinput_strverscmp((*a)->d_name, (*b)->d_name); in versionsort()
|
/third_party/libinput/test/ |
D | test-utils.c | 1216 ck_assert_int_eq(libinput_strverscmp("", ""), 0); in START_TEST() 1217 ck_assert_int_gt(libinput_strverscmp("0.0.1", ""), 0); in START_TEST() 1218 ck_assert_int_lt(libinput_strverscmp("", "0.0.1"), 0); in START_TEST() 1219 ck_assert_int_eq(libinput_strverscmp("0.0.1", "0.0.1"), 0); in START_TEST() 1220 ck_assert_int_eq(libinput_strverscmp("0.0.1", "0.0.2"), -1); in START_TEST() 1221 ck_assert_int_eq(libinput_strverscmp("0.0.2", "0.0.1"), 1); in START_TEST() 1222 ck_assert_int_eq(libinput_strverscmp("0.0.1", "0.1.0"), -1); in START_TEST() 1223 ck_assert_int_eq(libinput_strverscmp("0.1.0", "0.0.1"), 1); in START_TEST()
|