Home
last modified time | relevance | path

Searched refs:newStream (Results 1 – 13 of 13) sorted by relevance

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeNodeStream.java39 public TreeNodeStream newStream(Object t) { in newStream() method in TestTreeNodeStream
50 TreeNodeStream stream = newStream(t); in testSingleNode()
67 TreeNodeStream stream = newStream(t); in test4Nodes()
90 TreeNodeStream stream = newStream(root); in testList()
107 TreeNodeStream stream = newStream(root); in testFlatList()
122 TreeNodeStream stream = newStream(root); in testListWithOneNode()
136 TreeNodeStream stream = newStream(t); in testAoverB()
153 TreeNodeStream stream = newStream(t); in testLT()
181 TreeNodeStream stream = newStream(r0); in testMarkRewindEntire()
212 TreeNodeStream stream = newStream(r0); in testMarkRewindInMiddle()
[all …]
DTestBufferedTreeNodeStream.java40 public TreeNodeStream newStream(Object t) { in newStream() method in TestBufferedTreeNodeStream
62 TreeNodeStream stream = newStream(r0); in testSeek()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java78 FramedStream stream = connection.newStream(headerEntries("b", "banana"), true, true); in clientCreatesStreamAndServerReplies()
107 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, false); in headersOnlyStreamIsClosedAfterReplyHeaders()
124 connection.newStream(headerEntries("b", "banana"), false, true); in clientCreatesStreamAndServerRepliesWithFin()
401 FramedStream stream = connection.newStream(headerEntries("a", "android"), true, false);
444 FramedStream stream = connection.newStream(headerEntries("a", "android"), true, true);
485 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, true);
529 FramedStream stream = connection.newStream(headerEntries("a", "android"), true, true);
573 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, true);
599 FramedStream stream = connection.newStream(headerEntries("c", "cola"), true, true);
667 FramedStream stream = connection.newStream(headerEntries("b", "banana"), true, true);
[all …]
DHttp2ConnectionTest.java131 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, true);
190 FramedStream stream1 = connection.newStream(headerEntries("a", "android"), true, true);
191 FramedStream stream2 = connection.newStream(headerEntries("b", "banana"), true, true);
206 connection.newStream(headerEntries("c", "cola"), true, true);
251 FramedStream stream = connection.newStream(headerEntries("b", "banana"), false, true);
290 FramedStream client = connection.newStream(headerEntries("b", "banana"), false, true);
310 FramedStream client = connection.newStream(headerEntries("b", "banana"), true, true);
337 FramedStream stream = connection.newStream(headerEntries("b", "banana"), true, true);
376 FramedStream client = connection.newStream(headerEntries("b", "banana"), false, true);
398 connection.newStream(headerEntries("b", "banana"), false, true);
[all …]
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DRandomAccessFileInputStreamFactoryTest.java75 RandomAccessFileInputStream rafis1 = factory.newStream(); in testNewStream_MakesIdenticalStreams()
76 RandomAccessFileInputStream rafis2 = factory.newStream(); in testNewStream_MakesIdenticalStreams()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java236 return newStream(associatedStreamId, requestHeaders, out, false); in pushStream()
247 public FramedStream newStream(List<Header> requestHeaders, boolean out, boolean in) in newStream() method in FramedConnection
249 return newStream(0, requestHeaders, out, in); in newStream()
252 private FramedStream newStream(int associatedStreamId, List<Header> requestHeaders, boolean out, in newStream() method in FramedConnection
668 newStream = new FramedStream(streamId, FramedConnection.this, outFinished, in headers()
671 streams.put(streamId, newStream); in headers()
675 listener.onStream(newStream); in headers()
679 newStream.close(ErrorCode.PROTOCOL_ERROR); in headers()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DMultiViewInputStreamFactory.java33 public T newStream() throws IOException; in newStream() method
DRandomAccessFileInputStreamFactory.java56 public RandomAccessFileInputStream newStream() throws IOException { in newStream() method in RandomAccessFileInputStreamFactory
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttree.py19 def newStream(self, t): member in TestTreeNodeStream
27 stream = self.newStream(t)
76 stream = self.newStream(t)
145 stream = self.newStream(t)
162 stream = self.newStream(t)
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStreamAllocation.java91 public HttpStream newStream(int connectTimeout, int readTimeout, int writeTimeout, in newStream() method in StreamAllocation
DHttp2xStream.java135 stream = framedConnection.newStream(requestHeaders, permitsRequestBody, hasResponseBody); in writeRequestHeaders()
DHttpEngine.java281 return streamAllocation.newStream(client.getConnectTimeout(), in connect()
/external/skia/src/xps/
DSkXPSDevice.cpp401 std::unique_ptr<SkMemoryStream> newStream(new SkMemoryStream()); in subset_typeface() local
402 newStream->setMemoryOwned(fontPackageBuffer.release(), bytesWritten + extra); in subset_typeface()
405 SkIStream::CreateFromSkStream(newStream.release(), true, &newIStream); in subset_typeface()