Searched defs:utf8 (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/windows/npt/
H A Dutf_md.c100 utf8ToPlatform(struct UtfInst *ui, jbyte *utf8, int len, char* output, int outputMaxLen) argument
118 wstr = getWideString(CP_UTF8, (char*)utf8, len, &wlen);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipCoder.java105 // assume invoked only if "this" is not utf8
109 if (utf8 == null)
110 utf8 = new ZipCoder(StandardCharsets.UTF_8);
111 return utf8.getBytes(s);
118 if (utf8 == null)
119 utf8 = new ZipCoder(StandardCharsets.UTF_8);
120 return utf8.toString(ba, len);
131 private ZipCoder utf8; field in class:ZipCoder
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/util/
H A DUri.java53 private static String utf8 = "UTF-8"; field in class:Uri
90 bytes = tem.getBytes(utf8);
93 utf8 = "UTF8";
95 bytes = tem.getBytes(utf8);
/openjdk7/jdk/src/solaris/npt/
H A Dutf_md.c60 if (strcmp(codeset, "UTF-8") == 0 || strcmp(codeset, "utf8") == 0 ) {
144 utf8ToPlatform(struct UtfInst*ui, jbyte *utf8, int len, char *output, int outputMaxLen) argument
157 return iconvConvert(ui->iconvToPlatform, (char*)utf8, len, output, outputMaxLen);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipCoder.java102 // assume invoked only if "this" is not utf8
106 if (utf8 == null)
107 utf8 = new ZipCoder(Charset.forName("UTF-8"));
108 return utf8.getBytes(s);
114 if (utf8 == null)
115 utf8 = new ZipCoder(Charset.forName("UTF-8"));
116 return utf8.toString(ba, len);
125 private ZipCoder utf8; field in class:ZipCoder
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/util/
H A DUri.java43 private static String utf8 = "UTF-8"; field in class:Uri
80 bytes = tem.getBytes(utf8);
83 utf8 = "UTF8";
85 bytes = tem.getBytes(utf8);
/openjdk7/jdk/src/solaris/instrument/
H A DEncodingSupport_md.c76 if (strcmp(codeset, "UTF-8") == 0 || strcmp(codeset, "utf8") == 0 ) {
159 utf8ToPlatform(char *utf8, int len, char *output, int outputMaxLen) argument
161 return iconvConvert(iconvToPlatform, utf8, len, output, outputMaxLen);
/openjdk7/jdk/src/share/classes/sun/invoke/anon/
H A DConstantPoolVisitor.java78 * @param utf8 string encoded in modified UTF-8 format passed as a {@code String}
82 public void visitUTF8(int index, byte tag, String utf8) { argument
H A DConstantPoolPatch.java171 public void visitUTF8(int index, byte tag, String utf8) {
172 putUTF8(index, utf8Map.get(utf8));
173 if (usedUtf8Keys != null) usedUtf8Keys.add(utf8);
211 public void visitUTF8(int index, byte tag, String utf8) {
212 show(index, tag, utf8);
299 * @param utf8 a string
303 public void putUTF8(int index, String utf8) { argument
304 if (utf8 == null) { clear(index); return; }
306 patchArray[index] = utf8;
/openjdk7/jdk/src/share/npt/
H A Dutf.c54 utf8ToUtf16(struct UtfInst *ui, jbyte *utf8, int len, unsigned short *output, int outputMaxLen) argument
59 UTF_ASSERT(utf8);
72 x = (unsigned char)utf8[i++];
75 y = (unsigned char)utf8[i++];
76 z = (unsigned char)utf8[i++];
79 y = (unsigned char)utf8[i++];
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/
H A Djava_crw_demo.c534 char *utf8 = NULL; local
574 utf8 = (char*)duplicate(ci, str, len);
580 fillin_cpool_entry(ci, i, tag, index1, index2, (const char *)utf8, len);
659 char * utf8; local
666 utf8 = NULL;
694 utf8 = (char*)allocate(ci, len+1);
695 read_bytes(ci, (void*)utf8, len);
696 utf8[len] = 0;
697 write_bytes(ci, (void*)utf8, len);
715 fillin_cpool_entry(ci, ipos, tag, index1, index2, (const char *)utf8, le
[all...]

Completed in 130 milliseconds