/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ANTLRxxxxStreamFixture.cs | 78 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnEmptyANTLRInputStream() 79 Assert.AreEqual(0, inputStream.Count); in TestSizeOnEmptyANTLRInputStream() 89 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestSizeOnANTLRInputStream() 90 Assert.AreEqual(grammarStr.Length, inputStream.Count); in TestSizeOnANTLRInputStream() 100 ANTLRInputStream inputStream = new ANTLRInputStream(grammarStream, Encoding.Unicode); in TestConsumeAndIndexOnANTLRInputStream() 101 Assert.AreEqual(0, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 103 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 104 Assert.AreEqual(1, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() 106 inputStream.Consume(); in TestConsumeAndIndexOnANTLRInputStream() 107 Assert.AreEqual(2, inputStream.Index); in TestConsumeAndIndexOnANTLRInputStream() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ReadableBuffersTest.java | 90 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_available_returnsReadableBytes() local 91 assertEquals(5, inputStream.available()); in bufferInputStream_available_returnsReadableBytes() 92 while (inputStream.available() != 0) { in bufferInputStream_available_returnsReadableBytes() 93 inputStream.read(); in bufferInputStream_available_returnsReadableBytes() 95 assertEquals(-1, inputStream.read()); in bufferInputStream_available_returnsReadableBytes() 101 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_returnsUnsignedByte() local 102 assertEquals((int) 'h', inputStream.read()); in bufferInputStream_read_returnsUnsignedByte() 108 InputStream inputStream = ReadableBuffers.openStream(buffer, true); in bufferInputStream_read_writes() local 110 assertEquals(5, inputStream.read(dest, /*destOffset*/ 0, /*length*/ 5)); in bufferInputStream_read_writes() 112 assertEquals(-1, inputStream.read(/*dest*/ new byte[1], /*destOffset*/ 0, /*length*/1)); in bufferInputStream_read_writes() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | AACTrackImpl.java | 76 private BufferedInputStream inputStream; field in AACTrackImpl 83 public AACTrackImpl(InputStream inputStream, String lang) throws IOException { in AACTrackImpl() argument 85 parse(inputStream); in AACTrackImpl() 88 public AACTrackImpl(InputStream inputStream) throws IOException { in AACTrackImpl() argument 89 parse(inputStream); in AACTrackImpl() 92 private void parse(InputStream inputStream) throws IOException { in parse() argument 93 this.inputStream = new BufferedInputStream(inputStream); in parse() 217 inputStream.mark(100); in readVariables() 218 if (100 != inputStream.read(data, 0, 100)) { in readVariables() 221 inputStream.reset(); // Rewind in readVariables() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/ |
D | YamlBase64Test.java | 61 InputStream inputStream = YamlBase64Test.class in testYamlBase64Loading() local 63 Map<String, Object> bean = (Map<String, Object>) yaml.load(inputStream); in testYamlBase64Loading() 66 inputStream.close(); in testYamlBase64Loading() 93 InputStream inputStream = YamlBase64Test.class in testYamlBase64LoadingLiteral() local 96 yaml.load(inputStream); in testYamlBase64LoadingLiteral() 102 inputStream.close(); in testYamlBase64LoadingLiteral() 113 InputStream inputStream = YamlBase64Test.class in testRedefineBinaryTag() local 115 Map<String, Object> bean = (Map<String, Object>) yaml.load(inputStream); in testRedefineBinaryTag() 118 inputStream.close(); in testRedefineBinaryTag() 143 InputStream inputStream = YamlBase64Test.class in testLocalBinaryTag() local [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | DexUtil.java | 57 public static void verifyDexHeader(@Nonnull InputStream inputStream) throws IOException { in verifyDexHeader() argument 58 if (!inputStream.markSupported()) { in verifyDexHeader() 61 inputStream.mark(44); in verifyDexHeader() 64 ByteStreams.readFully(inputStream, partialHeader); in verifyDexHeader() 68 inputStream.reset(); in verifyDexHeader() 116 public static void verifyOdexHeader(@Nonnull InputStream inputStream) throws IOException { in verifyOdexHeader() argument 117 if (!inputStream.markSupported()) { in verifyOdexHeader() 120 inputStream.mark(8); in verifyOdexHeader() 123 ByteStreams.readFully(inputStream, partialHeader); in verifyOdexHeader() 127 inputStream.reset(); in verifyOdexHeader()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 36 private InputStream inputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 56 this.inputStream = inputStream; in StubSocket() 83 return inputStream; in getInputStream()
|