Lines Matching defs:result
28 int result = wcsncasecmp(L"hello1", L"HELLO2", 5);
29 if (result != 0) {
30 t_error("%s wcsncasecmp get result is %d are not want 0\n", __func__, result);
36 * @tc.desc : Test that wcsncasecmp returns the result when ws1 is greater than ws2 in the dictionary
41 int result = wcsncasecmp(L"hello1", L"HELLO2", 6);
42 if (result >= 0) {
43 t_error("%s wcsncasecmp get result is %d are not want less 0\n", __func__, result);
49 * @tc.desc : Test that wcsncasecmp returns the result when ws1 is less than ws2 in the dictionary
54 int result = wcsncasecmp(L"hello2", L"HELLO1", 6);
55 if (result <= 0) {
56 t_error("%s wcsncasecmp get result is %d are not want gress 0\n", __func__, result);
62 * @tc.desc : Test that wcsncasecmp returns the result when ws1 is longer in the dictionary than ws2
67 int result = wcsncasecmp(L"hello", L"HELL", 5);
68 if (result <= 0) {
69 t_error("%s wcsncasecmp get result is %d are not want gress 0\n", __func__, result);
75 * @tc.desc : wcsncasecmp returns result when test ws1 is shorter than ws2 in dictionary
80 int result = wcsncasecmp(L"hell", L"HELLO", 5);
81 if (result >= 0) {
82 t_error("%s wcsncasecmp get result is %d are not want less 0\n", __func__, result);
88 * @tc.desc : Test the result returned by wcsncasecmp when the number of comparisons is 0
93 int result = wcsncasecmp(L"foo", L"bar", 0);
94 if (result != 0) {
95 t_error("%s wcsncasecmp get result is %d are not want 0\n", __func__, result);