Searched refs:sink (Results 76 - 100 of 325) sorted by relevance

1234567891011>>

/external/webrtc/talk/app/webrtc/
H A Dlocalaudiosource.h56 void AddSink(AudioTrackSinkInterface* sink) override {}
57 void RemoveSink(AudioTrackSinkInterface* sink) override {}
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DContractionsAndExpansions.java32 private CESink sink; field in class:ContractionsAndExpansions
49 sink = s;
120 if (sink != null) {
121 sink.handleCE(Collation.ceFromSimpleCE32(ce32));
136 if (sink != null) {
137 sink.handleCE(Collation.ceFromLongPrimaryCE32(ce32));
141 if (sink != null) {
142 sink.handleCE(Collation.ceFromLongSecondaryCE32(ce32));
146 if (sink != null) {
149 sink
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DContractionsAndExpansions.java28 private CESink sink; field in class:ContractionsAndExpansions
45 sink = s;
116 if (sink != null) {
117 sink.handleCE(Collation.ceFromSimpleCE32(ce32));
132 if (sink != null) {
133 sink.handleCE(Collation.ceFromLongPrimaryCE32(ce32));
137 if (sink != null) {
138 sink.handleCE(Collation.ceFromLongSecondaryCE32(ce32));
142 if (sink != null) {
145 sink
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
H A DFileSystem.java47 @Override public Sink sink(File file) throws FileNotFoundException {
49 return Okio.sink(file);
53 return Okio.sink(file);
112 Sink sink(File file) throws FileNotFoundException; method in interface:FileSystem
/external/okhttp/okio/okio/src/main/java/okio/
H A DInflaterSource.java56 Buffer sink, long byteCount) throws IOException {
64 // Decompress the inflater's compressed data into the sink.
66 Segment tail = sink.writableSegment(1);
70 sink.size += bytesInflated;
77 sink.head = tail.pop();
55 read( Buffer sink, long byteCount) argument
H A DRealBufferedSource.java44 @Override public long read(Buffer sink, long byteCount) throws IOException { argument
45 if (sink == null) throw new IllegalArgumentException("sink == null");
55 return buffer.read(sink, toRead);
101 @Override public int read(byte[] sink) throws IOException { argument
102 return read(sink, 0, sink.length);
105 @Override public void readFully(byte[] sink) throws IOException { argument
107 require(sink.length);
112 int read = buffer.read(sink, offse
121 read(byte[] sink, int offset, int byteCount) argument
133 readFully(Buffer sink, long byteCount) argument
144 readAll(Sink sink) argument
[all...]
/external/clang/test/OpenMP/
H A Dordered_doacross_codegen.cpp49 #pragma omp ordered depend(sink : i - 2)
104 #pragma omp ordered depend(sink : j, i - 2) depend(sink : j - 1, i)
/external/compiler-rt/test/asan/TestCases/
H A Dcoverage-pc-buffer.cc11 static volatile int sink; variable
12 __attribute__((noinline)) void bar() { sink = 2; }
13 __attribute__((noinline)) void foo() { sink = 1; }
H A Dcoverage-reset.cc12 static volatile int sink; variable
13 __attribute__((noinline)) void bar() { sink = 2; }
14 __attribute__((noinline)) void foo() { sink = 1; }
/external/libcxx/test/std/utilities/optional/optional.object/
H A Dspecial_member_gen.pass.cpp42 template <class ...Args> static void sink(Args&&...) {} function
46 DoTestsMetafunction() { sink(SpecialMemberTest<TestTypes>{}...); }
67 sink(
/external/okhttp/okio/okio/src/test/java/okio/
H A DGzipSinkTest.java30 Buffer sink = new Buffer();
31 GzipSink gzipSink = new GzipSink(sink);
34 Buffer inflated = gunzip(sink);
H A DAsyncTimeoutTest.java183 Sink sink = new ForwardingSink(new Buffer()) {
194 Sink timeoutSink = timeout.sink(sink);
204 @Override public long read(Buffer sink, long byteCount) throws IOException {
224 Sink sink = new ForwardingSink(new Buffer()) {
236 Sink timeoutSink = timeout.sink(sink);
247 Sink sink = new ForwardingSink(new Buffer()) {
254 Sink timeoutSink = timeout.sink(sink);
[all...]
H A DInflaterSourceTest.java98 Sink sink = Okio.sink(new DeflaterOutputStream(result.outputStream()));
99 sink.write(new Buffer().write(source), source.size());
100 sink.close();
H A DBufferTest.java177 Buffer sink = new Buffer();
178 sink.writeUtf8(repeat('b', Segment.SIZE - 10));
182 sink.write(source, writeSize);
184 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes());
192 Buffer sink = new Buffer();
193 sink.writeUtf8(repeat('b', Segment.SIZE - 10));
197 sink.write(source, writeSize);
199 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes());
204 Buffer sink = new Buffer();
205 sink
[all...]
/external/swiftshader/src/OpenGL/compiler/
H A DintermOut.cpp33 TOutputTraverser(TInfoSinkBase& i) : sink(i) { }
34 TInfoSinkBase& sink; member in class:TOutputTraverser
68 void OutputTreeText(TInfoSinkBase& sink, TIntermNode* node, const int depth) argument
72 sink.location(node->getLine());
75 sink << " ";
89 OutputTreeText(sink, node, mDepth);
91 sink << "'" << node->getSymbol() << "' ";
92 sink << "(" << node->getCompleteString() << ")\n";
97 TInfoSinkBase& out = sink;
161 TInfoSinkBase& out = sink;
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DHashTestUtils.java94 for (PrimitiveSink sink : sinks) {
95 sink.putBoolean(value);
102 for (PrimitiveSink sink : sinks) {
103 sink.putByte((byte) value);
110 for (PrimitiveSink sink : sinks) {
111 sink.putShort(value);
118 for (PrimitiveSink sink : sinks) {
119 sink.putChar(value);
126 for (PrimitiveSink sink : sinks) {
127 sink
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dstrtest.cpp364 SimpleByteSink sink(buffer);
365 sink.Append("abc", 3);
366 sink.Flush();
367 if(!(sink.length() == 4 && 0 == memcmp("abcz", buffer, 4) && buffer[4] == '!')) {
373 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
378 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
383 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
393 CheckedArrayByteSink sink(buffer, (int32_t)sizeof(buffer));
394 sink.Append("abc", 3);
395 if(!(sink
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DCache.java578 BufferedSink sink = Okio.buffer(editor.newSink(ENTRY_METADATA));
580 sink.writeUtf8(url);
581 sink.writeByte('\n');
582 sink.writeUtf8(requestMethod);
583 sink.writeByte('\n');
584 sink.writeDecimalLong(varyHeaders.size());
585 sink.writeByte('\n');
587 sink.writeUtf8(varyHeaders.name(i));
588 sink.writeUtf8(": ");
589 sink
637 writeCertList(BufferedSink sink, List<Certificate> certificates) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
H A DFramedStream.java65 final FramedDataSink sink; field in class:FramedStream
86 this.sink = new FramedDataSink();
88 this.sink.finished = outFinished;
111 && (sink.finished || sink.closed)
175 this.sink.finished = true;
200 * Returns a sink that can be used to write data to the peer.
208 throw new IllegalStateException("reply before requesting the sink");
211 return sink;
243 if (source.finished && sink
337 read(Buffer sink, long byteCount) argument
[all...]
H A DHttp2.java83 @Override public FrameWriter newWriter(BufferedSink sink, boolean client) { argument
84 return new Writer(sink, client);
364 private final BufferedSink sink; field in class:Http2.Writer
371 Writer(BufferedSink sink, boolean client) { argument
372 this.sink = sink;
381 sink.flush();
392 sink.flush();
401 sink.write(CONNECTION_PREFACE.toByteArray());
402 sink
606 read(Buffer sink, long byteCount) argument
766 writeMedium(BufferedSink sink, int i) argument
[all...]
/external/webrtc/webrtc/base/
H A Dvirtualsocket_unittest.cc240 testing::StreamSink sink; local
248 sink.Monitor(client);
255 sink.Monitor(server);
263 EXPECT_FALSE(sink.Check(server, testing::SSE_READ));
275 EXPECT_FALSE(sink.Check(client, testing::SSE_OPEN));
276 EXPECT_FALSE(sink.Check(client, testing::SSE_CLOSE));
282 EXPECT_FALSE(sink.Check(client, testing::SSE_OPEN));
283 EXPECT_FALSE(sink.Check(client, testing::SSE_CLOSE));
286 EXPECT_TRUE(sink.Check(server, testing::SSE_READ));
300 EXPECT_TRUE(sink
307 testing::StreamSink sink; local
342 testing::StreamSink sink; local
429 testing::StreamSink sink; local
479 testing::StreamSink sink; local
743 testing::StreamSink sink; local
[all...]
/external/autotest/client/cros/chameleon/
H A Daudio_widget_link.py26 | source |------->| input output |------->| sink |
32 _sink: An AudioWidget object. The audio sink. This should be an
34 _link: An WidgetLink object to link source and sink.
37 source and sink.
39 def __init__(self, source, link, sink):
44 After connection, the channel map of link will be set to the sink
45 widget, and it will remains the same until the sink widget is connected
46 to a different link. This is to make sure sink widget knows the channel
50 @param link: A WidgetLink object to connect source and sink.
51 @param sink
[all...]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
H A DRealWebSocketTest.java67 client = new RealWebSocket(true, server2client.source(), client2Server.sink(), random,
80 server = new RealWebSocket(false, client2Server.source(), server2client.sink(), random,
144 @Override public void writeTo(BufferedSink sink) throws IOException {
145 sink.writeUtf8("Hel").flush();
146 sink.writeUtf8("lo!").flush();
147 sink.close();
161 @Override public void writeTo(BufferedSink sink) throws IOException {
162 sink.writeUtf8("Hel").flush();
164 sink.writeUtf8("lo!").flush();
165 sink
477 BufferedSink sink() { method in class:RealWebSocketTest.MemorySocket
[all...]
/external/bsdiff/
H A Dsink_file.h20 // Creates a SinkFile based on the underlying |sink| function passed.
21 // The SinkFile will call |sink| function upon write.
23 explicit SinkFile(const sink_func& sink);
35 // The sink() function used to write data.
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DMockWebServer.java481 BufferedSink sink = Okio.buffer(Okio.sink(socket));
483 while (processOneRequest(socket, source, sink)) {
494 sink.close();
505 BufferedSink sink = Okio.buffer(Okio.sink(raw));
508 if (!processOneRequest(raw, source, sink)) {
519 private boolean processOneRequest(Socket socket, BufferedSource source, BufferedSink sink)
521 RecordedRequest request = readRequest(socket, source, sink, sequenceNumber);
543 handleWebSocketUpgrade(socket, source, sink, reques
590 readRequest(Socket socket, BufferedSource source, BufferedSink sink, int sequenceNumber) argument
660 handleWebSocketUpgrade(Socket socket, BufferedSource source, BufferedSink sink, RecordedRequest request, MockResponse response) argument
716 writeHttpResponse(Socket socket, BufferedSink sink, MockResponse response) argument
753 throttledTransfer(MockResponse policy, Socket socket, BufferedSource source, BufferedSink sink, long byteCount, boolean isRequest) argument
[all...]

Completed in 891 milliseconds

1234567891011>>