Lines Matching refs:wctomb
25 * @tc.desc : Test the wctomb method to copy wide characters into a string
31 int result = wctomb(byte, L'h');
33 t_error("%s wctomb get result is %d are not want 1\n", __func__, result);
39 * @tc.desc : Test the result of wctomb when the incoming wide character is the terminator
45 int result = wctomb(byte, L'\0');
47 t_error("%s wctomb get result is %d are not want 1\n", __func__, result);
53 * @tc.desc : wctomb result when test string is NULL
58 int result = wctomb(NULL, L'h');
60 t_error("%s wctomb get result is %d are not want 0\n", __func__, result);
66 * @tc.desc : wctomb result when test string is NULL and wide character is terminator
71 int result = wctomb(NULL, L'\0');
73 t_error("%s wctomb get result is %d are not want 0\n", __func__, result);