/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PushbackInputStreamTest.java | 27 PushbackInputStream pis; field in class:PushbackInputStreamTest 65 pis = new PushbackInputStream(new ByteArrayInputStream("Hello" 67 pis.unread("He".getBytes()); 81 pis = new PushbackInputStream(new ByteArrayInputStream("Hello" 83 pis.unread("Hellos".getBytes()); 112 assertTrue("Available returned incorrect number of bytes", pis 124 assertTrue("markSupported returned true", !pis.markSupported()); 133 assertTrue("Incorrect byte read", pis.read() == fileString 148 pis.read(buf, 0, buf.length); 162 pis.skip(50) [all...] |
PipedInputStreamTest.java | 55 PipedInputStream pis; field in class:PipedInputStreamTest 72 pis = new PipedInputStream(new PipedOutputStream()); 73 pis.available(); 81 pis = new PipedInputStream(); 85 pis.connect(pos); 89 pis.read(); 95 pis.close(); 105 pis = new PipedInputStream(); 108 pis.connect(pos); 116 + pis.available(), pis.available() == 1000) [all...] |
PipedOutputStreamTest.java | 165 PipedInputStream pis = new PipedInputStream(); local 168 pos = new PipedOutputStream(pis); 176 pis = new PipedInputStream(); 177 PipedOutputStream out = new PipedOutputStream(pis); 184 pis = new PipedInputStream(); 185 pos = new PipedOutputStream(pis); 190 pis = new PipedInputStream(); 191 pos = new PipedOutputStream(pis); 199 pis = new PipedInputStream(); 200 pos = new PipedOutputStream(pis); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPushbackInputStreamTest.java | 29 PushbackInputStream pis; field in class:OldPushbackInputStreamTest 36 pis = new PushbackInputStream(new ByteArrayInputStream("Hello" 38 pis.unread("He".getBytes()); 51 pis = new PushbackInputStream(bas, 0); 57 pis = new PushbackInputStream(bas, -1); 63 pis = new PushbackInputStream(bas , 5); 65 pis.unread("Hello world".getBytes()); 104 assertTrue("markSupported returned true", !pis.markSupported()); 121 fileString.getBytes()[0], pis.read()); 186 pis.skip(50) [all...] |
OldBufferedReaderTest.java | 383 final PipedInputStream pis = new PipedInputStream(); local 384 final PipedOutputStream pos = new PipedOutputStream(pis); 398 BufferedReader br = new BufferedReader(new InputStreamReader(pis));
|
OldPipedOutputStreamTest.java | 106 PipedInputStream pis = new PipedInputStream(new PipedOutputStream()); local 108 out = new PipedOutputStream(pis);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 199 PushbackInputStream pis = new PushbackInputStream(in); local 200 int tag = pis.read(); 207 pis.unread(tag); 211 return readPEMCertificate(pis); 215 return readDERCertificate(new ASN1InputStream(pis)); 280 PushbackInputStream pis = new PushbackInputStream(inStream); local 281 int tag = pis.read(); 288 pis.unread(tag); 292 return readPEMCRL(pis); 296 return readDERCRL(new ASN1InputStream(pis, true)) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/ |
ScannerTest.java | 5542 final PipedInputStream pis = new PipedInputStream(); local [all...] |
/prebuilts/tools/common/netbeans-visual/ |
org-openide-util.jar | |