Lines Matching defs:result
29 wchar_t *result = wcspbrk(s, L"-");
30 if (result) {
37 * @tc.desc : Test the result of wcspbrk when the target character appears at the first position of the source
44 wchar_t *result = wcspbrk(s, L"abch");
45 if (wcscmp(result, s) != 0) {
46 t_error("%s wcspbrk get result is %lc are not %lc\n", __func__, result, s);
52 * @tc.desc : Test the result of wcspbrk when the target character appears in the middle of the source character
58 wchar_t *result = wcspbrk(s, L"l");
59 if (wcscmp(result, s + 2) != 0) {
60 t_error("%s wcspbrk get result is %lc are not %lc\n", __func__, result, s + 2);
66 * @tc.desc : Test the result of wcspbrk when the target character is punctuation
72 wchar_t *result = wcspbrk(s, L",. !");
73 if (wcscmp(result, s + 5) != 0) {
74 t_error("%s wcspbrk get result is %lc are not %lc\n", __func__, result, s + 5);