/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | ZipCoder.java | 105 // 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/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipCoder.java | 102 // 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/jdk/test/java/nio/charset/Charset/ |
H A D | default.sh | 80 go ja_JP.utf8 utf-8 88 go ja_JP.utf8 utf-8
|
/openjdk7/jdk/src/share/npt/ |
H A D | utf.h | 47 (struct UtfInst *ui, jbyte *utf8, 53 (struct UtfInst *ui, jbyte *utf8, int len,
|
H A D | npt.h | 63 (struct UtfInst *utf, jbyte *utf8, int len, 69 (struct UtfInst *utf, jbyte *utf8, int len,
|
H A D | utf.c | 54 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | XMLDeclarationParser.java | 93 boolean utf8 = false; 101 utf8 = true; 106 if (!utf16 && !utf8) {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/util/ |
H A D | Uri.java | 53 private static String utf8 = "UTF-8"; field in class:Uri 90 bytes = tem.getBytes(utf8); 93 utf8 = "UTF8"; 95 bytes = tem.getBytes(utf8);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/util/ |
H A D | Uri.java | 43 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/share/classes/sun/invoke/anon/ |
H A D | ConstantPoolVisitor.java | 78 * @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 D | ConstantPoolPatch.java | 171 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/langtools/test/tools/javac/unicode/ |
H A D | SupplementaryJavaID6.sh | 59 if [ -d /usr/lib/locale/en_US.UTF-8 -o -d /usr/lib/locale/en_US.utf8 ]
|
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | Rdn.java | 652 byte[] utf8 = getUtf8Octets(chars, i, end); 653 if (utf8.length > 0) { 655 builder.append(new String(utf8, "UTF8")); 659 i += utf8.length * 3 - 1; 660 } else { // no utf8 bytes available, invalid DN 715 byte[] utf8 = new byte[(end - beg) / 3]; // allow enough room 716 int len = 0; // index of first unused byte in utf8 725 utf8[len++] = (byte)((hi<<4) + lo); 727 if (len == utf8.length) { 728 return utf8; [all...] |
/openjdk7/jdk/test/java/lang/instrument/ilib/ |
H A D | ClassReaderWriter.java | 240 byte[] utf8 = readBytes(len); 243 str = new String(utf8, "UTF-8"); 255 writeBytes(utf8);
|
/openjdk7/jdk/src/solaris/instrument/ |
H A D | EncodingSupport_md.c | 76 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/solaris/npt/ |
H A D | utf_md.c | 60 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/windows/npt/ |
H A D | utf_md.c | 100 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/com/sun/jndi/ldap/ |
H A D | LdapName.java | 898 byte[] utf8 = getUtf8Octets(chars, i, end); 899 if (utf8.length > 0) { 901 buf.append(new String(utf8, "UTF8")); 905 i += utf8.length * 3 - 1; 960 byte[] utf8 = new byte[(end - beg) / 3]; // allow enough room 961 int len = 0; // index of first unused byte in utf8 970 utf8[len++] = (byte)((hi<<4) + lo); 973 if (len == utf8.length) { 974 return utf8; 977 System.arraycopy(utf8, [all...] |
/openjdk7/jdk/test/com/sun/jdi/sde/ |
H A D | InstallSDE.java | 265 byte[] utf8 = readBytes(len); 266 String str = new String(utf8, "UTF-8"); 273 writeBytes(utf8);
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | PBKDF2KeyImpl.java | 64 Charset utf8 = Charset.forName("UTF-8"); 66 ByteBuffer bb = utf8.encode(cb);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/ |
H A D | DkCrypto.java | 679 Charset utf8 = Charset.forName("UTF-8"); 682 ByteBuffer bb = utf8.encode(cb); 690 Charset utf8 = Charset.forName("UTF-16LE"); 693 ByteBuffer bb = utf8.encode(cb);
|
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/ |
H A D | java_crw_demo.c | 534 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...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | ConstantPoolGen.java | 207 int utf8 = addUtf8(str); 211 ConstantString s = new ConstantString(utf8);
|