Lines Matching refs:wcsncmp
23 * @tc.desc : Test the wcsncmp function to compare the first n bits of two wide strings
28 int result = wcsncmp(L"aaaa", L"aaab", 3);
30 t_error("%s wcsncmp get result is %d are not 0", __func__, result);
36 * @tc.desc : Test the wcsncmp result when comparing the top 0 bits
41 int result = wcsncmp(L"foo", L"bar", 0);
43 t_error("%s wcsncmp get result is %d are not 0", __func__, result);
49 * @tc.desc : Test wcsncmp result when first wide string is lexicographically lower than second wide string
54 int result = wcsncmp(L"aaaa", L"aaab", 4);
56 t_error("%s wcsncmp get result is %d are not less 0", __func__, result);
62 * @tc.desc : Test wcsncmp result when first wide string is lexicographically higher than second wide string
67 int result = wcsncmp(L"aaab", L"aaaa", 4);
69 t_error("%s wcsncmp get result is %d are not more 0", __func__, result);