/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...] |