Searched refs:getBytes (Results 1 - 25 of 615) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/sql/
H A DRowId.java94 byte[] getBytes(); method in interface:RowId
/openjdk7/jdk/test/javax/security/auth/kerberos/
H A DKerberosHashEqualsTest.java59 k1 = new KerberosKey(new KerberosPrincipal("A"), "pass".getBytes(), 1, 1);
60 k2 = new KerberosKey(new KerberosPrincipal("A"), "pass".getBytes(), 1, 1);
72 k2 = new KerberosKey(new KerberosPrincipal("B"), "pass".getBytes(), 1, 1);
74 k2 = new KerberosKey(new KerberosPrincipal("A"), "ssap".getBytes(), 1, 1);
76 k2 = new KerberosKey(new KerberosPrincipal("A"), "pass".getBytes(), 2, 1);
78 k2 = new KerberosKey(new KerberosPrincipal("A"), "pass".getBytes(), 1, 2);
81 k1 = new KerberosKey(null, "pass".getBytes(), 1, 2);
83 k2 = new KerberosKey(null, "pass".getBytes(), 1, 2);
89 t1 = new KerberosTicket("asn1".getBytes(), new KerberosPrincipal("client"), new KerberosPrincipal("server"), "pass".getBytes(),
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/remote/
H A DBufferedMonitoredVm.java47 byte[] getBytes(); method in interface:BufferedMonitoredVm
H A DRemoteVm.java49 byte[] getBytes() throws RemoteException; method in interface:RemoteVm
/openjdk7/jdk/src/share/classes/sun/tools/jstatd/
H A DRemoteVmImpl.java50 public byte[] getBytes() { method in class:RemoteVmImpl
51 return mvm.getBytes();
/openjdk7/jdk/test/java/lang/StringCoding/
H A DEnormous.java32 new String(new char[16777217]).getBytes("ASCII");
/openjdk7/jdk/test/java/net/DatagramPacket/
H A DUnresolved.java37 DatagramPacket packet1 = new DatagramPacket( "Hellooo!".getBytes(), "Hellooo!".length(), remAddr );
/openjdk7/jdk/test/java/security/cert/CertPathBuilder/selfIssued/
H A DKeyUsageMatters.java179 new ByteArrayInputStream(selfSignedCertStr.getBytes());
197 is = new ByteArrayInputStream(targetCertStr.getBytes());
201 is = new ByteArrayInputStream(subCaCertStr.getBytes());
205 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
209 is = new ByteArrayInputStream(topCrlIssuerCertStr.getBytes());
213 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
218 is = new ByteArrayInputStream(topCrlStr.getBytes());
222 is = new ByteArrayInputStream(subCrlStr.getBytes());
238 is = new ByteArrayInputStream(subCaCertStr.getBytes());
240 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
[all...]
H A DStatusLoopDependency.java185 new ByteArrayInputStream(selfSignedCertStr.getBytes());
203 is = new ByteArrayInputStream(targetCertStr.getBytes());
207 is = new ByteArrayInputStream(subCaCertStr.getBytes());
211 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
215 is = new ByteArrayInputStream(topCrlIssuerCertStr.getBytes());
219 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
224 is = new ByteArrayInputStream(topCrlStr.getBytes());
228 is = new ByteArrayInputStream(subCrlStr.getBytes());
244 is = new ByteArrayInputStream(subCaCertStr.getBytes());
246 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
[all...]
H A DDisableRevocation.java145 new ByteArrayInputStream(selfSignedCertStr.getBytes());
163 is = new ByteArrayInputStream(targetCertStr.getBytes());
167 is = new ByteArrayInputStream(subCaCertStr.getBytes());
171 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
175 is = new ByteArrayInputStream(topCrlIssuerCertStr.getBytes());
179 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
195 is = new ByteArrayInputStream(subCaCertStr.getBytes());
197 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
199 is = new ByteArrayInputStream(targetCertStr.getBytes());
224 is = new ByteArrayInputStream(subCaCertStr.getBytes());
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DTestSJIS0213.java86 if (!winStr.equals(new String(winStr.getBytes("MS932"), "MS932_0213")))
89 if (!(Arrays.equals(compStr.getBytes("MS932_0213"), compBytes)) ||
93 if (!(Arrays.equals(mixedStr.getBytes("MS932_0213"), mixedBytes)) ||
97 if (!sjisStr.equals(new String(sjisStr.getBytes("SJIS"), "SJIS_0213")))
100 if (!(Arrays.equals(compStr.getBytes("SJIS_0213"), compBytes)) ||
104 if (!(Arrays.equals(mixedStr.getBytes("SJIS_0213"), mixedBytes)) ||
108 if (!(Arrays.equals(mixedCompStr.getBytes("SJIS_0213"), mixedCompBytes)) ||
112 if (!Arrays.equals(new String(unmappableChars).getBytes("SJIS_0213"), unmappableBytes) ||
113 !Arrays.equals(new String(unmappableChars).getBytes("MS932_0213"), unmappableBytes))
H A DHWKatakanaMS932EncodeTest.java49 testBytes = s.getBytes(encoding);
H A DTest4206507.java38 byte[] b = "".getBytes("ISO8859-9");
H A DTestUTF_32.java51 byte[] testBytes = input.getBytes(charset);
90 private static byte[] getBytes(boolean doBOM, boolean isBig) method in class:TestUTF_32
119 bb = getBytes(false, true);
126 bb = getBytes(true, false);
128 bb = getBytes(false, true);
134 bb = getBytes(false, true);
141 bb = getBytes(false, false);
147 bb = getBytes(true, true);
154 bb = getBytes(true, false);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DUserAgent.java53 w.write("HTTP/1.1 200 OK\r\n".getBytes());
54 w.write("Content-Type: text/plain\r\n".getBytes());
55 w.write("Content-Length: 5\r\n".getBytes());
56 w.write("\r\n".getBytes());
57 w.write("12345\r\n".getBytes());
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/xml/util/
H A DEncodingMap.java62 "x".getBytes(enc);
68 "x".getBytes(aliases[i + 1]);
/openjdk7/jdk/test/java/security/cert/CertPathValidator/indirectCRL/
H A DCircularCRLTwoLevel.java152 is = new ByteArrayInputStream(targetCertStr.getBytes());
155 is = new ByteArrayInputStream(subCaCertStr.getBytes());
158 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
174 new ByteArrayInputStream(selfSignedCertStr.getBytes());
191 new ByteArrayInputStream(topCrlStr.getBytes());
195 is = new ByteArrayInputStream(subCrlStr.getBytes());
200 is = new ByteArrayInputStream(topCrlIssuerCertStr.getBytes());
204 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
H A DCircularCRLTwoLevelRevoked.java153 is = new ByteArrayInputStream(targetCertStr.getBytes());
156 is = new ByteArrayInputStream(subCaCertStr.getBytes());
159 is = new ByteArrayInputStream(selfSignedCertStr.getBytes());
175 new ByteArrayInputStream(selfSignedCertStr.getBytes());
192 new ByteArrayInputStream(topCrlStr.getBytes());
196 is = new ByteArrayInputStream(subCrlStr.getBytes());
201 is = new ByteArrayInputStream(topCrlIssuerCertStr.getBytes());
205 is = new ByteArrayInputStream(subCrlIssuerCertStr.getBytes());
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DMethod.java54 return getHolder().replace('/', '.') + "::" + getName() + " @ " + osr_bci + " (" + getBytes() + " bytes)";
56 return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)";
62 return getHolder().replace('/', '.') + "::" + getName() + " (" + getBytes() + " bytes)";
97 public String getBytes() { method in class:Method
/openjdk7/jdk/test/java/security/cert/CertificateFactory/
H A DBadX509CertData.java40 InputStream is = new ByteArrayInputStream(data.getBytes("ISO8859_1"));
/openjdk7/jdk/test/java/security/cert/CertificateFactory/openssl/
H A DBadFooter.java73 new ByteArrayInputStream(cert.getBytes()));
/openjdk7/jdk/test/java/util/prefs/
H A DCommentsInXml.java55 ).getBytes());
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DConstantValue.java156 case Constants.CONSTANT_Long: buf = "" + ((ConstantLong)c).getBytes(); break;
157 case Constants.CONSTANT_Float: buf = "" + ((ConstantFloat)c).getBytes(); break;
158 case Constants.CONSTANT_Double: buf = "" + ((ConstantDouble)c).getBytes(); break;
159 case Constants.CONSTANT_Integer: buf = "" + ((ConstantInteger)c).getBytes(); break;
163 buf = "\"" + Utility.convertString(((ConstantUtf8)c).getBytes()) + "\"";
/openjdk7/jdk/test/sun/security/krb5/
H A DRFC396xTest.java59 assertStringEquals(hex((byte[])nfold.invoke(null, "012345".getBytes("UTF-8"), 64)), "be072631276b1955");
60 assertStringEquals(hex((byte[])nfold.invoke(null, "password".getBytes("UTF-8"), 56)), "78a07b6caf85fa");
61 assertStringEquals(hex((byte[])nfold.invoke(null, "Rough Consensus, and Running Code".getBytes("UTF-8"), 64)), "bb6ed30870b7f0e0");
62 assertStringEquals(hex((byte[])nfold.invoke(null, "password".getBytes("UTF-8"), 168)), "59e4a8ca7c0385c3c37b3f6d2000247cb6e6bd5b3e");
63 assertStringEquals(hex((byte[])nfold.invoke(null, "MASSACHVSETTS INSTITVTE OF TECHNOLOGY".getBytes("UTF-8"), 192)), "db3b0d8f0b061e603282b308a50841229ad798fab9540c1b");
64 assertStringEquals(hex((byte[])nfold.invoke(null, "Q".getBytes("UTF-8"), 168)), "518a54a215a8452a518a54a215a8452a518a54a215");
65 assertStringEquals(hex((byte[])nfold.invoke(null, "ba".getBytes("UTF-8"), 168)), "fb25d531ae8974499f52fd92ea9857c4ba24cf297e");
66 assertStringEquals(hex((byte[])nfold.invoke(null, "kerberos".getBytes("UTF-8"), 64)), "6b65726265726f73");
67 assertStringEquals(hex((byte[])nfold.invoke(null, "kerberos".getBytes("UTF-8"), 128)), "6b65726265726f737b9b5b2b93132b93");
68 assertStringEquals(hex((byte[])nfold.invoke(null, "kerberos".getBytes("UT
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DEncodingConstants.java289 XML_DECLARATION_VALUES[0] = "<?xml encoding='finf'?>".getBytes("UTF-8");
290 XML_DECLARATION_VALUES[1] = "<?xml version='1.0' encoding='finf'?>".getBytes("UTF-8");
291 XML_DECLARATION_VALUES[2] = "<?xml version='1.1' encoding='finf'?>".getBytes("UTF-8");
292 XML_DECLARATION_VALUES[3] = "<?xml encoding='finf' standalone='no'?>".getBytes("UTF-8");
293 XML_DECLARATION_VALUES[4] = "<?xml encoding='finf' standalone='yes'?>".getBytes("UTF-8");
294 XML_DECLARATION_VALUES[5] = "<?xml version='1.0' encoding='finf' standalone='no'?>".getBytes("UTF-8");
295 XML_DECLARATION_VALUES[6] = "<?xml version='1.1' encoding='finf' standalone='no'?>".getBytes("UTF-8");
296 XML_DECLARATION_VALUES[7] = "<?xml version='1.0' encoding='finf' standalone='yes'?>".getBytes("UTF-8");
297 XML_DECLARATION_VALUES[8] = "<?xml version='1.1' encoding='finf' standalone='yes'?>".getBytes("UTF-8");

Completed in 156 milliseconds

1234567891011>>