Searched refs:decoded (Results 1 - 20 of 20) sorted by relevance

/openjdk9/jdk/test/sun/nio/cs/
H A DLatinCharReplacementTWTest.java68 char[] decoded = new char[128];
69 int numChars = isr.read(decoded);
76 if (decoded[i] != expected[i])
H A DSurrogateTestEUCTW.java85 String decoded = new String(encodedBytes, "EUC-TW");
87 if (!decoded.equals(testStr)) {
H A DTestISO2022CNDecoder.java50 char decoded[],
66 for (i = 0; i < decoded.length; i++) {
69 if (c != decoded[i]) {
72 + Integer.toHexString(decoded[i]));
94 if (decodedString.charAt(i) != decoded[i])
116 if (cb.get() != decoded[i])
48 decodeTest( byte encoded[], char decoded[], String label) argument
H A DTestISO2022JP.java559 String decoded = new String(encodedBytes, csName);
561 if (!decoded.equals(testStr)) {
H A DTestMS5022X.java658 String decoded = new String(encodedBytes, name);
659 if (!decoded.equals(testStr)) {
H A DSurrogateTestHKSCS.java1184 String decoded = new String(encodedBytes, "Big5-HKSCS");
1186 if (!decoded.equals(testStr)) {
/openjdk9/jdk/test/java/net/URLEncoder/
H A DDecoder.java53 String decoded = URLDecoder.decode(encoded, enc);
56 System.out.print("decoded: ");
57 printString(decoded);
58 if (strings[i].equals(decoded)) {
62 throw new RuntimeException ("Unexpected decoded output on string " + i);
H A DSurrogatePairs.java91 String decoded = URLDecoder.decode(encoded, "UTF-8");
94 + getHexBytes(decoded));
96 if (str.equals(decoded))
99 throw new Exception("The decoded is not equal to the original");
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DHexBinaryDV.java45 byte[] decoded = HexBin.decode(content);
46 if (decoded == null)
49 return new XHex(decoded);
H A DBase64BinaryDV.java45 byte[] decoded = Base64.decode(content);
46 if (decoded == null)
49 return new XBase64(decoded);
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm.sparc.test/src/org/graalvm/compiler/asm/sparc/test/
H A DBitSpecTest.java53 public void testSetGet(BitSpec bs, int encoded, int decoded) { argument
54 assertTrue(bs.valueFits(decoded));
55 assertEquals(encoded, bs.setBits(0, decoded));
56 assertEquals(decoded, bs.getBits(encoded));
/openjdk9/jdk/test/java/net/httpclient/http2/jdk.incubator.httpclient/jdk/incubator/http/internal/hpack/
H A DHuffmanTest.java555 private static void read(String hexdump, String decoded) { argument
559 assertEquals(actual.toString(), decoded);
562 private static void write(String decoded, String hexdump) { argument
563 int n = Huffman.INSTANCE.lengthOf(decoded);
567 writer.from(decoded, 0, decoded.length());
/openjdk9/jdk/test/java/util/Base64/
H A DTestBase64.java96 final byte[] decoded = Base64.getEncoder().encode(src);
97 testIOE(Base64.getDecoder(), decoded);
98 testIOE(Base64.getMimeDecoder(), decoded);
108 decoded[2] = (byte)0xe0;
109 checkIAE(() -> Base64.getDecoder().decode(decoded));
110 checkIAE(() -> Base64.getDecoder().decode(decoded, new byte[1024]));
111 checkIAE(() -> Base64.getDecoder().decode(ByteBuffer.wrap(decoded)));
149 byte[] decoded = dec.decode(encoded);
151 checkEqual(orig, decoded,
307 private static void testIOE(Base64.Decoder dec, byte[] decoded) throw argument
[all...]
H A DTestBase64Golden.java149 byte[] decoded = decoder.decode(encoded);
150 if (!Objects.deepEquals(src, decoded)) {
/openjdk9/jdk/test/java/net/httpclient/websocket/
H A DDummyWebSocketServer.java176 CharBuffer decoded;
179 decoded = ISO_8859_1.newDecoder().decode(buffer);
183 request.append(decoded);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/
H A DAttachmentPartImpl.java359 InputStream decoded = null;
362 decoded = MimeUtility.decode(content, "base64");
369 bos.write(decoded);
379 if (decoded != null)
380 decoded.close();
/openjdk9/jdk/src/java.base/share/classes/java/net/
H A DURI.java333 * A sequence of escaped octets is <i>decoded</i> by
1203 * Returns the decoded scheme-specific part of this URI.
1208 * href="#decode">decoded</a>. </p>
1210 * @return The decoded scheme-specific part of this URI
1239 * Returns the decoded authority component of this URI.
1243 * sequences of escaped octets are <a href="#decode">decoded</a>. </p>
1245 * @return The decoded authority component of this URI,
1271 * Returns the decoded user-information component of this URI.
1275 * sequences of escaped octets are <a href="#decode">decoded</a>. </p>
1277 * @return The decoded use
[all...]
/openjdk9/jdk/src/java.datatransfer/share/classes/java/awt/datatransfer/
H A DSystemFlavorMap.java67 * The list of valid, decoded text flavor representation classes, in order
398 String decoded = decodeJavaMIMEType(nat);
402 flavor = new DataFlavor(decoded);
407 decoded);
578 * native and a {@code DataFlavor} whose MIME type is a decoded version of
792 * native and a {@code DataFlavor} whose MIME type is a decoded version of
1029 * @return the decoded Java MIME type, or {@code null} if {@code nat} is not
1042 * @return the decoded {@code DataFlavor}, or {@code null} if {@code nat} is
/openjdk9/jdk/src/java.instrument/share/native/libinstrument/
H A DInvocationAdapter.c688 * returned. Otherwise the decoded path (heap allocated) is returned,
689 * along with the length of the decoded path. Note that the return
723 int decoded = decodeByte(b1, b2); local
724 *resultp++ = decoded;
795 * characters are escaped. Once the URI path is decoded we get a UTF8
/openjdk9/hotspot/src/cpu/arm/vm/
H A DmacroAssembler_arm.cpp2609 int decoded = encoded << 8 >> 6; local
2610 return offset == decoded;

Completed in 889 milliseconds