/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | LittleEndien.java | 57 public int read() throws IOException { in read() method in LittleEndien 58 return in.read(); in read() 62 public int read(byte[] buf) throws IOException { in read() method in LittleEndien 63 return in.read(buf); in read() 67 public int read(byte[] buf, int off, int len) throws IOException { in read() method in LittleEndien 68 return in.read(buf, off, len); in read() 72 return (in.read() & 0xff) | ((in.read() & 0xff) << 8); in readUnsignedShort() 79 return ((in.read() & 0xff) in readUInt() 80 | ((in.read() & 0xff) << 8) in readUInt() 81 | ((in.read() & 0xff) << 16) in readUInt() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | LimitInputStreamTest.java | 36 int read = lin.read(); in testLimit() local 37 assertEquals(big[0], read); in testLimit() 39 read = lin.read(); in testLimit() 40 assertEquals(big[1], read); in testLimit() 42 read = lin.read(); in testLimit() 43 assertEquals(-1, read); in testLimit() 47 read = lin.read(small); in testLimit() 48 assertEquals(2, read); in testLimit() 53 read = lin.read(small, 2, 3); in testLimit() 54 assertEquals(2, read); in testLimit() [all …]
|
D | CountingInputStreamTest.java | 38 assertEquals(0, counter.read()); in testReadSingleByte() 43 assertEquals(10, counter.read(new byte[10])); in testReadArray() 48 assertEquals(3, counter.read(new byte[10], 1, 3)); in testReadArrayRange() 64 assertEquals(-1, counter.read()); in testSkipEOF() 69 assertEquals(20, counter.read(new byte[30])); in testReadArrayEOF() 71 assertEquals(-1, counter.read(new byte[30])); in testReadArrayEOF() 77 assertEquals(10, counter.read(new byte[10])); in testMark() 80 counter.read(); in testMark() 110 public int read() throws IOException { in read() method in CountingInputStreamTest.UnmarkableInputStream
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | BufferedReaderTest.java | 94 br.read(); in test_close() 113 br.read(buf, 0, 500); in test_markI() 121 br.read(buf, 0, 1000); in test_markI() 136 in.read(new char[14], 0, 14); in test_markI() 138 assertTrue("Wrong chars", in.read() == (char) 6 in test_markI() 139 && in.read() == (char) 7); in test_markI() 146 assertTrue("Wrong chars 2", in.read() == (char) 6 in test_markI() 147 && in.read() == (char) 7); in test_markI() 152 int result = br.read(carray); in test_markI() 157 assertEquals("Assert 3:", '3', br.read()); in test_markI() [all …]
|
D | InputStreamReaderTest.java | 69 public int read() { in read() method in InputStreamReaderTest.LimitedByteArrayInputStream 78 public int read(byte[] buffer, int offset, int length) { in read() method in InputStreamReaderTest.LimitedByteArrayInputStream 145 is.read(); in test_close() 172 int count = reader.read(new char[1]); in test_close() 178 reader.read(); in test_close() 329 assertEquals('T', (char) reader.read()); in test_read() 330 assertEquals('h', (char) reader.read()); in test_read() 331 assertEquals('i', (char) reader.read()); in test_read() 332 assertEquals('s', (char) reader.read()); in test_read() 333 assertEquals(' ', (char) reader.read()); in test_read() [all …]
|
D | BufferedInputStreamTest.java | 50 str.read(); in test_ConstructorLjava_io_InputStream() 63 str.read(); in test_ConstructorLjava_io_InputStreamI() 74 is.read(); in test_ConstructorLjava_io_InputStreamI() 81 is.read(); in test_ConstructorLjava_io_InputStreamI() 85 is.read(); in test_ConstructorLjava_io_InputStreamI() 150 public int read() { in test_close() 155 public int read(byte[] buf, int offset, int length) { in test_close() 186 bufin.read(new byte[100], 0, 99); in test_close() 201 is.read(buf1, 0, buf1.length); in test_markI() 203 is.read(buf2, 0, buf2.length); in test_markI() [all …]
|
D | PushbackReaderTest.java | 42 pbr.read(buf, 0, 5); in test_ConstructorLjava_io_Reader() 66 pbr.read(); in test_close() 101 pbr.read(); in test_read() 102 c = (char) pbr.read(); in test_read() 106 assertTrue("Wrong double byte character", reader.read() == '\u8765'); in test_read() 119 pbr.read(c, 0, 5); in test_read$CII() 133 pbr.read(null, 1, 0); in test_read_$CII_Exception() 138 pbr.read(charArray, 0, -1); in test_read_$CII_Exception() 143 pbr.read(charArray, -1, 0); in test_read_$CII_Exception() 148 pbr.read(charArray, 0, 0); in test_read_$CII_Exception() [all …]
|
D | FileInputStreamTest.java | 116 is.read(); in test_close() 128 fis1.read(); in test_close_shared_fd() 142 stdin.read(); in test_close_shared_fd() 163 int c = isr.read(); in test_read() 175 is.read(buf1); in test_read$B() 188 is.read(buf1, 0, buf1.length); in test_read$BII() 197 in.read(null, 0, 0); in test_read$BII() 214 is.read(buf, -1, 0); in test_read_$BII_IOException() 224 is.read(buf, 0, -1); in test_read_$BII_IOException() 234 is.read(buf, -1, -1); in test_read_$BII_IOException() [all …]
|
D | LineNumberInputStreamTest.java | 60 lnis.read(); in test_getLineNumber() 61 lnis.read(); in test_getLineNumber() 79 assertEquals("Failed to mark", '0', lnis.read()); in test_markI() 86 assertEquals("Failed to read correct byte", '0', lnis.read()); in test_read() 88 .read()); in test_read() 90 lnis2.read() == '\n'); in test_read() 92 .read()); in test_read() 94 lnis2.read() == '\n'); in test_read() 96 .read()); in test_read() 104 lnis.read(buf, 0, 100); in test_read$BII() [all …]
|
D | PrintStreamTest.java | 211 bis.read(rbytes, 0, fileString.length()); in test_print$C() 225 assertEquals("Incorrect char written", 't', isr.read()); in test_printC() 237 bis.read(rbuf, 0, 16); in test_printD() 252 bis.read(rbuf, 0, 8); in test_printF() 267 bis.read(rbuf, 0, 9); in test_printI() 282 bis.read(rbuf, 0, 13); in test_printJ() 297 bis.read(nullbytes, 0, 4); in test_printLjava_lang_Object() 310 bis.read(rbytes, 0, 2); in test_printLjava_lang_Object() 323 bis.read(nullbytes, 0, 4); in test_printLjava_lang_String() 336 bis.read(rbytes, 0, 11); in test_printLjava_lang_String() [all …]
|
D | PipedReaderTest.java | 130 preader.read(c, 0, 11); in test_close() 147 preader.read(c, 0, 11); in test_connectLjava_io_PipedWriter() 169 c[i] = (char) preader.read(); in test_read() 187 n = preader.read(c, x, 11 - x); in test_read$CII() 193 preader.read(c, 8, 7); in test_read$CII() 206 obj.read(new char[0], (int) 0, (int) -1); in test_read$CII_ExceptionPriority() 217 obj.read(new char[0], (int) -1, (int) 0); in test_read$CII_ExceptionPriority2() 228 obj.read(new char[0], (int) -1, (int) -1); in test_read$CII_ExceptionPriority3() 238 pr.read(null, -1, 1); in test_read$CII_ExceptionPriority4() 250 pr.read(null, 0, 10); in test_read_$CII_IOException() [all …]
|
D | CharArrayReaderTest.java | 44 int c = cr.read(); in test_Constructor$CII() 56 cr.read(); in test_close() 73 cr.read(); in test_markI() 75 assertEquals("Failed to mark correct position", 'W', cr.read()); in test_markI() 91 assertEquals("Read returned incorrect char", 'H', cr.read()); in test_read() 93 assertTrue("Incorrect double byte char", cr.read() == '\u8765'); in test_read() 102 cr.read(c, 1, 10); in test_read$CII() 140 cr.read(); in test_reset() 143 .read()); in test_reset() 155 assertEquals(data[offsetLength + i], (char) reader.read()); in test_reset() [all …]
|
D | PushbackInputStreamTest.java | 58 str.read(); in test_ConstructorLjava_io_InputStream() 99 str.read(); in test_ConstructorLjava_io_InputStreamL() 133 assertTrue("Incorrect byte read", pis.read() == fileString in test_read() 148 pis.read(buf, 0, buf.length); in test_read$BII() 163 pis.read(buf, 0, buf.length); in test_skipJ() 169 pis.read(buf2, 0, buf2.length); in test_skipJ() 181 pis.read(buf, 0, buf.length); in test_unread$B() 185 pis.read(buf, 0, 50); in test_unread$B() 200 pis.read(buf, 0, buf.length); in test_unread$BII() 204 pis.read(buf, 0, 50); in test_unread$BII() [all …]
|
D | ReaderTest.java | 32 mockReader.read(charBuffer); in test_Reader_CharBuffer_null() 46 int result = mockReader.read(charBuffer); in test_Reader_CharBuffer_ZeroChar() 49 mockReader.read(destBuffer); in test_Reader_CharBuffer_ZeroChar() 61 int result = mockReader.read(charBuffer); in test_Reader_CharBufferChar() 68 mockReader.read(destBuffer); in test_Reader_CharBufferChar() 93 assertEquals("Should be equal to -1", -1, reader.read()); in test_read() 102 .read()); in test_read() 106 mockReader.read(); in test_read() 107 assertEquals("Should be equal to -1", -1, reader.read()); in test_read() 141 assertEquals("Should be equal to \'M\'", 'M', mockReader.read()); in test_skip() [all …]
|
/external/llvm/test/CodeGen/PTX/ |
D | intrinsic.ll | 6 %x = call i32 @llvm.ptx.read.tid.x() 13 %x = call i32 @llvm.ptx.read.tid.y() 20 %x = call i32 @llvm.ptx.read.tid.z() 27 %x = call i32 @llvm.ptx.read.tid.w() 34 %x = call i32 @llvm.ptx.read.ntid.x() 41 %x = call i32 @llvm.ptx.read.ntid.y() 48 %x = call i32 @llvm.ptx.read.ntid.z() 55 %x = call i32 @llvm.ptx.read.ntid.w() 62 %x = call i32 @llvm.ptx.read.laneid() 69 %x = call i32 @llvm.ptx.read.warpid() [all …]
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
D | SourceChannelTest.java | 69 int count = source.read(ByteBuffer.allocate(10)); in test_read_LByteBuffer_DataAvailable() 79 source.read(nullBuf); in test_read_LByteBuffer_Exception() 93 long count = source.read(readBuf); in test_read_LByteBuffer_SinkClosed() 96 count = source.read(readBuf); in test_read_LByteBuffer_SinkClosed() 100 count = source.read(readBuf); in test_read_LByteBuffer_SinkClosed() 111 source.read(readBuf); in test_read_LByteBuffer_SourceClosed() 119 source.read(readBuf); in test_read_LByteBuffer_SourceClosed() 127 source.read(nullBuf); in test_read_LByteBuffer_SourceClosed() 135 source.read(bufArray); in test_read_LByteBuffer_SourceClosed() 143 source.read(nullBufArray); in test_read_LByteBuffer_SourceClosed() [all …]
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
D | DeflaterInputStreamTest.java | 42 assertEquals(120, dis.read()); in testAvailable() 44 assertEquals(22, dis.read(buf, 0, 1024)); in testAvailable() 46 assertEquals(-1, dis.read()); in testAvailable() 72 dis.read(buf, 0, 1024); in testClose() 110 assertEquals(120, dis.read()); in testRead() 112 assertEquals(156, dis.read()); in testRead() 114 assertEquals(243, dis.read()); in testRead() 118 dis.read(); in testRead() 132 assertEquals(23, dis.read(buf1, 0, 256)); in testReadByteArrayIntInt() 134 assertEquals(8, dis.read(buf2, 0, 256)); in testReadByteArrayIntInt() [all …]
|
D | InflaterInputStreamTest.java | 90 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 bytes in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() 107 while ((result = inflatIP.read()) != -1) { in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() 180 while ((result = inflatIP.read()) != -1) { in test_read() 204 result = inflatIP.read(null, 0, 1); in test_read_LBII() 210 assertEquals(0, inflatIP.read(b, 0, 0)); in test_read_LBII() 213 result = inflatIP.read(b, 5, 2); //offset higher in test_read_LBII() 221 inflatIP.read(b, 0, 1); //read after close in test_read_LBII() 234 assertEquals(1, in.read()); in testAvailableNonEmptySource() 236 assertEquals(3, in.read()); in testAvailableNonEmptySource() 238 assertEquals(4, in.read()); in testAvailableNonEmptySource() [all …]
|
D | GZIPInputStreamTest.java | 139 result += inGZIP.read(outBuf, result, outBuf.length - result); in test_read$BII() 152 inGZIP.read(outBuf, 100, 1); in test_read$BII() 178 while ((result = gin2.read(test)) != -1) { in test_read$BII() 181 assertEquals("Should return -1", -1, gin2.read()); in test_read$BII() 187 while ((result = gin2.read(new byte[200])) != -1) { in test_read$BII() 190 assertEquals("Should return -1", -1, gin2.read()); in test_read$BII() 196 while ((result = gin2.read(new byte[200])) != -1) { in test_read$BII() 199 assertEquals("Should return -1", -1, gin2.read()); in test_read$BII() 207 while (gin2.read(test) != -1) { in test_read$BII() 222 in.read(outBuf, 530, 1); in test_read$BII() [all …]
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
D | SFTPInputStream.java | 36 public int read(byte[] buffer, int offset, int len) throws IOException in read() method in SFTPInputStream 38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len); in read() local 39 if(read > 0) { in read() 40 readOffset += read; in read() 42 return read; in read() 60 public int read() throws IOException { in read() method in SFTPInputStream 62 int read = handle.getClient().read(handle, readOffset, buffer, 0, 1); in read() local 63 if(read > 0) { in read() 64 readOffset += read; in read() 66 return read; in read()
|
D | SCPInputStream.java | 39 int c = session.getStdout().read(); in SCPInputStream() 74 public int read() throws IOException in read() method in SCPInputStream 81 int read = super.read(); in read() local 82 if (read < 0) in read() 87 remaining -= read; in read() 89 return read; in read() 93 public int read(byte b[], int off, int len) throws IOException in read() method in SCPInputStream 106 int read = super.read(b, off, trans); in read() local 107 if (read < 0) in read() 112 remaining -= read; in read() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
D | IndefiniteLengthInputStream.java | 22 _b1 = in.read(); in IndefiniteLengthInputStream() 23 _b2 = in.read(); in IndefiniteLengthInputStream() 51 public int read(byte[] b, int off, int len) in read() method in IndefiniteLengthInputStream 57 return super.read(b, off, len); in read() 65 int numRead = _in.read(b, off + 2, len - 2); in read() 76 _b1 = _in.read(); in read() 77 _b2 = _in.read(); in read() 88 public int read() in read() method in IndefiniteLengthInputStream 96 int b = _in.read(); in read()
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
D | CipherInputStreamTest.java | 61 if ((byte) cis.read() != data[i]) { in testCipherInputStream() 66 if (cis.read() != -1) { in testCipherInputStream() 81 if ((res = (byte) cis.read()) != data[i]) { in testRead1() 86 if (cis.read() != -1) { in testRead1() 105 int got = cis.read(result); // the number of got bytes in testRead2() 119 got += cis.read(result); in testRead2() 122 if (cis.read(result) != -1) { in testRead2() 145 cis.read(null, 0, skip); in testRead3() 146 int got = skip + cis.read(result, 0, 1); // the number of got bytes in testRead3() 160 got += cis.read(result, 0, 3); in testRead3() [all …]
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeSchedule3.td | 19 // two source operands are read during the decode stage and the result is 26 , 1 // first operand read after one cycle 27 , 1 ]>, // second operand read after one cycle 33 // two source operands are read during the decode stage and the result is 40 , 1 // first operand read after one cycle 41 , 1 ]>, // second operand read after one cycle 46 // source operands are read during the decode stage and the result is ready 53 , 1 // first operand read after one cycle 54 , 1 ]>, // second operand read after one cycle 60 // are read during the decode stage and the result is ready after the execute [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | ShortArrayCodeInput.java | 46 public int read() throws EOFException { in read() method in ShortArrayCodeInput 58 int short0 = read(); in readInt() 59 int short1 = read(); in readInt() 66 long short0 = read(); in readLong() 67 long short1 = read(); in readLong() 68 long short2 = read(); in readLong() 69 long short3 = read(); in readLong()
|