Searched refs:decode (Results 26 - 50 of 318) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/
H A DUrlUtil.java46 public static final String decode(String s) throws MalformedURLException { method in class:UrlUtil
48 return decode(s, "8859_1");
64 public static final String decode(String s, String enc) method in class:UrlUtil
67 return URLDecoder.decode(s, enc);
/openjdk7/jdk/src/share/classes/com/sun/beans/editors/
H A DByteEditor.java45 setValue((text == null) ? null : Byte.decode(text));
H A DLongEditor.java45 setValue((text == null) ? null : Long.decode(text));
H A DShortEditor.java46 setValue((text == null) ? null : Short.decode(text));
/openjdk7/jdk/test/java/net/URLDecoder/
H A DB6463990.java26 * @summary java.net.URLDecoder.decode accepts negative hex numbers %-1 to %-f
36 String s = ud.decode("%-1", "iso-8859-1");
/openjdk7/hotspot/src/os/windows/vm/
H A Ddecoder_windows.hpp49 bool decode(address addr, char *buf, int buflen, int* offset, const char* modulepath = NULL);
50 bool decode(address addr, char *buf, int buflen, int* offset, const void* base) { function in class:WindowsDecoder
/openjdk7/hotspot/src/share/vm/utilities/
H A Ddecoder_elf.cpp37 bool ElfDecoder::decode(address addr, char *buf, int buflen, int* offset, const char* filepath) { function in class:ElfDecoder
46 if (!file->decode(addr, buf, buflen, offset)) {
/openjdk7/jdk/src/windows/classes/sun/misc/
H A DFileURLMapper.java61 String s = host + ParseUtil.decode (url.getFile());
66 file = ParseUtil.decode(path);
/openjdk7/jdk/test/java/net/URLEncoder/
H A DDecodeNonEncoded.java46 URLDecoder.decode(errorStrings[i]);
48 + "\" should have failed in URLDecoder.decode!");
59 temp = URLDecoder.decode(ignoreStrings[i]);
63 +" by URLDecoder.decode to ");
66 + "\" was left unchanged by URLDecoder.decode.");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DCoprocessorDecoder.java35 Instruction decode(int instruction, SPARCInstructionFactory factory) { method in class:CoprocessorDecoder
H A DV9DoneRetryDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { method in class:V9DoneRetryDecoder
H A DV9FlushwDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { method in class:V9FlushwDecoder
H A DV9SavedRestoredDecoder.java31 Instruction decode(int instruction, SPARCInstructionFactory factory) { method in class:V9SavedRestoredDecoder
H A DV9FMOVccDecoder.java50 Instruction decode(int instruction, SPARCInstructionFactory factory) { method in class:V9FMOVccDecoder
59 SPARCRegister rd = RegisterDecoder.decode(dataType, rdNum);
61 SPARCRegister rs = RegisterDecoder.decode(dataType, rs1Num);
H A DSPARCDisassembler.java48 return callDecoder.decode(instruction, factory);
56 return decoder.decode(instruction, factory);
83 return getFormat3Decoder(row, column).decode(instruction, factory);
93 return getFormat3ADecoder(row, column).decode(instruction, factory);
96 public void decode(InstructionVisitor visitor) { method in class:SPARCDisassembler
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DCharElementHandler.java69 int code = Integer.decode(value);
/openjdk7/jdk/test/java/nio/charset/Charset/
H A DEncDec.java25 * @summary Unit test for encode/decode convenience methods
39 String t = Charset.forName("UTF-8").decode(bb).toString();
/openjdk7/jdk/test/java/nio/charset/CharsetDecoder/
H A DEmptyInput.java26 * @summary Ensure that CharsetDecoder.decode throws BUE on empty input
40 cd.decode(bb, CharBuffer.allocate(10), true).throwException();
/openjdk7/jdk/test/sun/nio/cs/
H A DTestJIS0208Decoder.java51 String ret = dec.decode(ByteBuffer.wrap(inputBytes)).toString();
H A DEUCJPUnderflowDecodeTest.java55 // Now decode with endOfInput method param set to
59 CoderResult result = decoder.decode(bb, cc, false);
77 result = decoder.decode(bb, cc, false);
95 result = decoder.decode(bb, cc, false);
100 throw new Exception("test failed to decode EUC-JP (0xA1C0)");
/openjdk7/jdk/src/share/classes/java/net/
H A DURLDecoder.java63 * The encoding scheme used to decode these characters may be specified,
88 * @param s the <code>String</code> to decode
90 * default encoding. Instead, use the decode(String,String) method
95 public static String decode(String s) { method in class:URLDecoder
100 str = decode(s, dfltEncName);
121 * @param s the <code>String</code> to decode
132 public static String decode(String s, String enc) method in class:URLDecoder
/openjdk7/jdk/test/java/lang/Integer/
H A DDecode.java27 * @summary Test Integer.decode method
37 * public static Integer decode(String nm)
48 int n = (Integer.decode(val)).intValue();
50 throw new RuntimeException("Integer.decode failed. String:" +
56 int n = (Integer.decode(val)).intValue();
86 checkFailure("0x-10", "Integer.decode allows negative sign in wrong position.");
87 checkFailure("0x+10", "Integer.decode allows positive sign in wrong position.");
98 Integer.decode(null);
99 throw new RuntimeException("Integer.decode(null) expected to throw NPE");
/openjdk7/jdk/test/java/lang/Long/
H A DDecode.java27 * @summary Test Long.decode method
39 * public static Long decode(String nm)
50 long n = (Long.decode(val)).longValue();
52 throw new RuntimeException("Long.decode failed. String:" +
58 long n = (Long.decode(val)).longValue();
88 checkFailure("0x-10", "Long.decode allows negative sign in wrong position.");
89 checkFailure("0x+10", "Long.decode allows positive sign in wrong position.");
102 Long.decode(null);
103 throw new RuntimeException("Long.decode(null) expected to throw NPE");
/openjdk7/hotspot/src/share/vm/code/
H A DcompressedStream.cpp221 int xlen = (pos = decode.position()) - lastpos; lastpos = pos; \
248 // now decode it all
249 CompressedReadStream decode(bytes.buffer());
250 int pos, lastpos = decode.position();
253 jbyte y = decode.read_byte();
258 jint y1 = decode.read_int();
260 jint y2 = decode.read_signed_int();
262 jint y3 = jint_cast(decode.read_float());
267 jlong y1 = decode.read_long();
269 jlong y2 = jlong_cast(decode
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/transforms/implementations/
H A DTransformBase64Decode.java118 byte[] decodedBytes = Base64.decode(sb.toString());
121 Base64.decode(sb.toString(),os);
132 byte[] decodedBytes = Base64.decode(base64Bytes);
136 Base64.decode(input.getBytes(),os);
138 Base64.decode(new BufferedInputStream(input.getOctetStreamReal())
160 byte[] decodedBytes = Base64.decode(sb.toString());

Completed in 152 milliseconds

1234567891011>>