/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UnitTest.java | 124 String out = name; local 126 out += " - PASSED"; 129 out += " - FAILED"; 131 return out;
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
ListPreferenceDialogFragmentCompat.java | 75 private static void putCharSequenceArray(Bundle out, String key, CharSequence[] entries) { 82 out.putStringArrayList(key, stored);
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
intel_galileo_rev_g.c | 22 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 131 char out[MAX_SIZE]; local 132 int length = snprintf(out, MAX_SIZE, "%d", period); 133 if (write(period_f, out, length * sizeof(char)) == -1) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
SSLSocketBenchmark.java | 84 OutputStream out = s.getOutputStream(); local 85 out.write(webSite.request);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ConsoleTest.java | 43 private OutputStream out = new ByteArrayOutputStream(); field in class:ConsoleTest 52 console = constructor.newInstance(in, out); 68 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); 75 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); 94 String prompt = new String(((ByteArrayOutputStream) out).toByteArray());
|
OutputStreamTesterTest.java | 121 PipedOutputStream out = new PipedOutputStream(in); local 137 return out;
|
WriterTesterTest.java | 114 PipedWriter out = new PipedWriter(in); local 130 return out; 200 private ByteArrayOutputStream out; field in class:WriterTesterTest.OutputStreamWriterCharSinkTester 204 out = new ByteArrayOutputStream(); 205 return new OutputStreamWriter(out, "UTF-8"); 210 return new String(out.toByteArray(), "UTF-8").toCharArray();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTF16CharsetEncoderTest.java | 116 void assertByteArray(ByteBuffer out, byte[] expected) { 117 out = out.duplicate(); 118 if (out.position() > 0) { 119 out.flip(); 122 assertEquals(decoder.decode(out), decoder.decode(ByteBuffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NumberFormatTest.java | 37 StringBuffer out; local 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 43 assertEquals("Wrong result L1: " + out, "9,223,372,036,854,775,807", 44 out.toString()); 47 out = format.format(new Long(Long.MIN_VALUE), new StringBuffer(), pos); 48 assertEquals("Wrong result L2: " + out, "-9,223,372,036,854,775,808", 49 out.toString()); 52 out = format.format(new java.math.BigInteger(String 54 assertEquals("Wrong result BI1: " + out, "9,223,372,036,854,775,807", 55 out.toString()) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 50 public static void writeSingleByte(OutputStream out, int b) throws IOException { 53 out.write(buffer); 176 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed. 179 public static int copy(InputStream in, OutputStream out) throws IOException { 185 out.write(buffer, 0, c);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 89 byte[] out = new byte[buf.remaining()]; 90 buf.get(out); 92 return out; 117 CharBuffer out = cb.slice(); local 119 ByteBuffer.wrap(new byte[] { 'h', 'e', 'l', 'l', 'o'}), out, false); 121 assertEquals(5, out.position());
|
OldCharset_SingleByteAbstractTest.java | 48 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(); local 56 out.consume(outputCB.get()); 59 System.out.println(e); 118 // System.out.format("Mismatch at index %d: %d instead of expected %d.\n", 122 //// System.out.format("Match index %d: %d = %d\n", 141 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 144 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 149 // System.out.format("MISMATCH at index %d (byte %d): %d instead of expected %d.\n", 162 // System.out.println("for charset " + charsetName); 171 // System.out.format("MISMATCH at index %d: %d instead of expected %d.\n" [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 58 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 59 new ObjectOutputStream(out).writeObject(originalDfs); 60 byte[] bytes = out.toByteArray(); 133 // that use icu4c's probably-out-of-date time zone transition data.
|
/libcore/ojluni/src/main/java/java/io/ |
PipedInputStream.java | 89 * <code>in==out</code> implies the buffer is full 99 protected int out = 0; field in class:PipedInputStream 210 if (in == out) 214 out = 0; 237 if (in == out) 240 if (out < in) { 242 } else if (in < out) { 244 in = out = 0; 247 nextTransferAmount = out - in; 274 while (in == out) { [all...] |
PipedReader.java | 67 * <code>in==out</code> implies the buffer is full 75 int out = 0; field in class:PipedReader 184 while (in == out) { 203 out = 0; 277 int ret = buffer[out++]; 278 if (out >= buffer.length) { 279 out = 0; 281 if (in == out) { 331 cbuf[off + rlen] = buffer[out++]; 333 if (out >= buffer.length) [all...] |
/libcore/ojluni/src/main/java/java/net/ |
InetSocketAddress.java | 144 throw new IllegalArgumentException("port out of range:" + port); 279 private void writeObject(ObjectOutputStream out) 283 ObjectOutputStream.PutField pfields = out.putFields(); 287 out.writeFields();
|
/libcore/ojluni/src/main/java/java/security/ |
Identity.java | 444 String out = toString(); local 446 out += "\n"; 447 out += printKeys(); 448 out += "\n" + printCertificates(); 450 out += "\n\t" + info; 452 out += "\n\tno additional information available."; 455 return out; 469 String out = ""; local 473 out += "\tcertificates: \n"; 477 out += "\tcertificate " + i++ [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
GZIPOutputStream.java | 59 * the 3-argument constructor GZIPOutputStream(out, size, false). 61 * @param out the output stream 67 public GZIPOutputStream(OutputStream out, int size) throws IOException { 68 this(out, size, false); 75 * @param out the output stream 88 public GZIPOutputStream(OutputStream out, int size, boolean syncFlush) 91 super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true), 104 * the 2-argument constructor GZIPOutputStream(out, false). 106 * @param out the output stream 109 public GZIPOutputStream(OutputStream out) throws IOException [all...] |
/libcore/ojluni/src/main/java/sun/security/ec/ |
NamedCurve.java | 62 DerOutputStream out = new DerOutputStream(); local 63 out.putOID(oid); 64 encoded = out.toByteArray(); [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
CertId.java | 106 System.out.println("Issuer Name is " + issuerName); 107 System.out.println("issuerNameHash is " + 109 System.out.println("issuerKeyHash is " + 111 System.out.println("SerialNumber is " + serialNumber.getNumber()); 157 public void encode(DerOutputStream out) throws IOException { 164 out.write(DerValue.tag_Sequence, tmp); 168 System.out.println("Encoded certId is " + 169 encoder.encode(out.toByteArray()));
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
EDIPartyName.java | 121 * @param out the DER stream to encode the EDIPartyName to. 124 public void encode(DerOutputStream out) throws IOException { 143 out.write(DerValue.tag_Sequence, tagged);
|
Extension.java | 144 public void encode(OutputStream out) throws IOException { 145 if (out == null) { 159 out.write(dos2.toByteArray()); 165 * @param out the DerOutputStream to write the extension to. 168 public void encode(DerOutputStream out) throws IOException { 182 out.write(DerValue.tag_Sequence, dos);
|
OtherName.java | 149 * @param out the DER stream to encode the Other-Name to. 152 public void encode(DerOutputStream out) throws IOException { 155 gni.encode(out); 162 out.write(DerValue.tag_Sequence, tmp);
|
PolicyInformation.java | 268 * @param out the DerOutputStream to write the extension to. 271 public void encode(DerOutputStream out) throws IOException { 281 out.write(DerValue.tag_Sequence, tmp);
|
ReasonFlags.java | 224 * @param out the DerOutputStream to write the extension to. 227 public void encode(DerOutputStream out) throws IOException { 228 out.putTruncatedUnalignedBitString(new BitArray(this.bitString));
|