Lines Matching refs:dst
29 wchar_t dst[32] = {0};
30 wchar_t *result = wcsncat(dst, L"hello, world!", 5);
31 if (wcscmp(dst, result) != 0) {
32 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
34 if (wcscmp(dst, L"hello") != 0) {
35 t_error("%s wcsncat get result is %s are not 'hello'\n", __func__, dst);
46 wchar_t dst[32] = {0};
47 wchar_t *result = wcsncat(dst, L"hello, world!", 0);
48 if (wcscmp(dst, result) != 0) {
49 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
51 if (wcscmp(dst, L"") != 0) {
52 t_error("%s wcsncat get result is %s are not 'hello'\n", __func__, dst);
64 wchar_t dst[32] = {0};
65 wchar_t *result = wcsncat(dst, L"hello, world!", 16);
66 if (wcscmp(dst, result) != 0) {
67 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
69 if (wcscmp(dst, L"hello, world!") != 0) {
70 t_error("%s wcsncat get result is %s are not 'hello, world!'\n", __func__, dst);