Lines Matching defs:ucs2str
74 k5_utf8s_to_ucs2s(krb5_ucs2 *ucs2str,
85 *ucs2str = 0;
110 if (ucs2str != NULL) {
116 ucs2str[ucs2len] = SWAP16(ch);
119 ucs2str[ucs2len] = ch;
128 if (ucs2str != NULL) {
130 ucs2str[ucs2len] = 0;
261 k5_ucs2s_to_utf8s(char *utf8str, const krb5_ucs2 *ucs2str,
269 if (ucs2str == NULL) /* Treat input ptr NULL as an empty string */
270 ucs2str = ∅
274 while (ucs2len == -1 ? *ucs2str : --ucs2len >= 0) {
276 ch = *ucs2str++;
295 n = 1; /* In case of empty ucs2str */
296 while (ucs2len == -1 ? *ucs2str != 0 : --ucs2len >= 0) {
297 ch = *ucs2str++;