Searched refs:utf16 (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/windows/native/common/
H A Djni_util_md.c87 wchar_t *utf16; local
97 utf16 = calloc(len + 1, 2);
98 if (mbstowcs(utf16, str, len) == -1)
103 (*env)->SetCharArrayRegion(env, chars, 0, len, utf16);
109 free(utf16);
123 const jchar* utf16 = (*env)->GetStringChars(env, jstr, NULL); local
124 len = wcstombs(NULL, utf16, (*env)->GetStringLength(env, jstr) * 4) + 1;
129 if (wcstombs(result, utf16, len) == -1)
131 (*env)->ReleaseStringChars(env, jstr, utf16);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DXMLDeclarationParser.java92 boolean utf16 = false;
97 utf16 = true;
106 if (!utf16 && !utf8) {
112 if (utf16) {
/openjdk7/jdk/src/share/npt/
H A Dutf.h56 (struct UtfInst *ui, jchar *utf16, int len,
59 (struct UtfInst *ui, jchar *utf16, int len,
H A Dnpt.h72 (struct UtfInst *utf, jchar *utf16, int len,
75 (struct UtfInst *utf, jchar *utf16, int len,
H A Dutf.c92 utf16ToUtf8m(struct UtfInst *ui, unsigned short *utf16, int len, jbyte *output, int outputMaxLen) argument
97 UTF_ASSERT(utf16);
106 code = utf16[i];
126 utf16ToUtf8s(struct UtfInst *ui, unsigned short *utf16, int len, jbyte *output, int outputMaxLen) argument

Completed in 44 milliseconds