Lines Matching refs:wcsncasecmp
23 * @tc.desc : Test wcsncasecmp ignore case compares the first n digits of two wide strings
28 int result = wcsncasecmp(L"hello1", L"HELLO2", 5);
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);
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);
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);
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);
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);
95 t_error("%s wcsncasecmp get result is %d are not want 0\n", __func__, result);