/external/skqp/modules/skottie/src/ |
SkottieTool.cpp | 35 class Sink { 37 virtual ~Sink() = default; 38 Sink(const Sink&) = delete; 39 Sink& operator=(const Sink&) = delete; 55 Sink(const char* ext) : fExtension(ext) {} 63 class PNGSink final : public Sink { 98 using INHERITED = Sink; 101 class SKPSink final : public Sink { 177 std::unique_ptr<Sink> sink; local [all...] |
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/ |
FileSystem.java | 23 import com.android.okhttp.okio.Sink; 49 @Override public Sink sink(File file) throws FileNotFoundException { 51 return Okio.sink(file); 55 return Okio.sink(file); 59 @Override public Sink appendingSink(File file) throws FileNotFoundException { 114 Sink sink(File file) throws FileNotFoundException; method in interface:FileSystem 120 Sink appendingSink(File file) throws FileNotFoundException;
|
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/internal/io/ |
InMemoryFileSystem.java | 30 import okio.Sink; 40 private final Map<Sink, File> openSinks = new IdentityHashMap<>(); 57 openResources.add("Sink for " + file); 83 @Override public Sink sink(File file) throws FileNotFoundException { 84 return sink(file, false); 87 @Override public Sink appendingSink(File file) throws FileNotFoundException { 88 return sink(file, true); 91 private Sink sink(File file, boolean appending) [all...] |
/external/skia/dm/ |
DMSrcSink.h | 84 struct Sink { 85 virtual ~Sink() {} 90 // Force Tasks using this Sink to run on the main thread? 319 class NullSink : public Sink { 328 class GPUSink : public Sink { 410 class PDFSink : public Sink { 420 class XPSSink : public Sink { 429 class RasterSink : public Sink { 448 class SKPSink : public Sink { 457 class DebugSink : public Sink { [all...] |
/external/skqp/dm/ |
DMSrcSink.h | 84 struct Sink { 85 virtual ~Sink() {} 90 // Force Tasks using this Sink to run on the main thread? 333 class NullSink : public Sink { 342 class GPUSink : public Sink { 424 class PDFSink : public Sink { 434 class XPSSink : public Sink { 443 class RasterSink : public Sink { 462 class SKPSink : public Sink { 471 class DebugSink : public Sink { [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
Okio.java | 51 * Returns a new sink that buffers writes to {@code sink}. The returned sink 52 * will batch writes to {@code sink}. Use this wherever you write to a sink to 55 public static BufferedSink buffer(Sink sink) { 56 if (sink == null) throw new IllegalArgumentException("sink == null"); 57 return new RealBufferedSink(sink); 61 public static Sink sink(OutputStream out) { method in class:Okio 65 private static Sink sink(final OutputStream out, final Timeout timeout) { method in class:Okio [all...] |
AsyncTimeout.java | 31 * <p>Use {@link #sink} and {@link #source} to apply this timeout to a stream. 145 * Returns a new sink that delegates to {@code sink}, using this to implement 147 * {@code sink}'s current operation. 149 public final Sink sink(final Sink sink) { method in class:AsyncTimeout 150 return new Sink() { 155 sink.write(source, byteCount) [all...] |
DeflaterSink.java | 24 * A sink that uses <a href="http://tools.ietf.org/html/rfc1951">DEFLATE</a> to 37 public final class DeflaterSink implements Sink { 38 private final BufferedSink sink; field in class:DeflaterSink 42 public DeflaterSink(Sink sink, Deflater deflater) { 43 this(Okio.buffer(sink), deflater); 51 DeflaterSink(BufferedSink sink, Deflater deflater) { 52 if (sink == null) throw new IllegalArgumentException("source == null"); 54 this.sink = sink; [all...] |
GzipSink.java | 25 * A sink that uses <a href="http://www.ietf.org/rfc/rfc1952.txt">GZIP</a> to 26 * compress written data to another sink. 38 public final class GzipSink implements Sink { 39 /** Sink into which the GZIP format is written. */ 40 private final BufferedSink sink; field in class:GzipSink 46 * The deflater sink takes care of moving data between decompressed source and 47 * compressed sink buffers. 56 public GzipSink(Sink sink) { 57 if (sink == null) throw new IllegalArgumentException("sink == null") [all...] |
BufferedSink.java | 23 * A sink that keeps a buffer internally so that callers can do small writes 26 public interface BufferedSink extends Sink { 27 /** Returns this sink's internal buffer. */ 34 * this sink. 45 * Removes all bytes from {@code source} and appends them to this sink. Returns the 50 /** Removes {@code byteCount} bytes from {@code source} and appends them to this sink. */ 53 /** Encodes {@code string} in UTF-8 and writes it to this sink. */ 58 * UTF-8 and writes it to this sink. 62 /** Encodes {@code codePoint} in UTF-8 and writes it to this sink. */ 65 /** Encodes {@code string} in {@code charset} and writes it to this sink. * [all...] |
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
Okio.java | 53 * Returns a new sink that buffers writes to {@code sink}. The returned sink 54 * will batch writes to {@code sink}. Use this wherever you write to a sink to 57 public static BufferedSink buffer(Sink sink) { 58 if (sink == null) throw new IllegalArgumentException("sink == null"); 59 return new RealBufferedSink(sink); 63 public static Sink sink(OutputStream out) { method in class:Okio 67 private static Sink sink(final OutputStream out, final Timeout timeout) { method in class:Okio [all...] |
AsyncTimeout.java | 32 * <p>Use {@link #sink} and {@link #source} to apply this timeout to a stream. 147 * Returns a new sink that delegates to {@code sink}, using this to implement 149 * {@code sink}'s current operation. 151 public final Sink sink(final Sink sink) { method in class:AsyncTimeout 152 return new Sink() { 157 sink.write(source, byteCount) [all...] |
DeflaterSink.java | 25 * A sink that uses <a href="http://tools.ietf.org/html/rfc1951">DEFLATE</a> to 39 public final class DeflaterSink implements Sink { 40 private final BufferedSink sink; field in class:DeflaterSink 44 public DeflaterSink(Sink sink, Deflater deflater) { 45 this(Okio.buffer(sink), deflater); 53 DeflaterSink(BufferedSink sink, Deflater deflater) { 54 if (sink == null) throw new IllegalArgumentException("source == null"); 56 this.sink = sink; [all...] |
GzipSink.java | 26 * A sink that uses <a href="http://www.ietf.org/rfc/rfc1952.txt">GZIP</a> to 27 * compress written data to another sink. 40 public final class GzipSink implements Sink { 41 /** Sink into which the GZIP format is written. */ 42 private final BufferedSink sink; field in class:GzipSink 48 * The deflater sink takes care of moving data between decompressed source and 49 * compressed sink buffers. 58 public GzipSink(Sink sink) { 59 if (sink == null) throw new IllegalArgumentException("sink == null") [all...] |
/external/webrtc/talk/app/webrtc/ |
remoteaudiosource.cc | 57 class RemoteAudioSource::Sink : public AudioSinkInterface { 59 explicit Sink(RemoteAudioSource* source) : source_(source) {} 60 ~Sink() override { source_->OnAudioProviderGone(); } 69 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Sink); 100 ssrc, rtc::scoped_ptr<AudioSinkInterface>(new Sink(this))); 132 void RemoteAudioSource::AddSink(AudioTrackSinkInterface* sink) { 134 RTC_DCHECK(sink); 137 LOG(LS_ERROR) << "Can't register sink as the source isn't live."; 142 RTC_DCHECK(std::find(sinks_.begin(), sinks_.end(), sink) == sinks_.end()); 143 sinks_.push_back(sink); [all...] |
rtpsender.h | 47 // LocalAudioSinkAdapter receives data callback as a sink to the local 48 // AudioTrack, and passes the data to the sink of AudioRenderer. 64 void SetSink(cricket::AudioRenderer::Sink* sink) override; 66 cricket::AudioRenderer::Sink* sink_;
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
Component.cpp | 134 // Component::Sink 135 struct Component::Sink : public IInputSink { 147 Sink(const std::shared_ptr<Component>& component); 148 virtual ~Sink() override; 150 // Process-wide map: Component::Sink -> C2Component. 155 const sp<IInputSink>& sink); 159 Component::Sink::sSink2ComponentMutex{}; 161 Component::Sink::sSink2Component{}; 163 Component::Sink::Sink(const std::shared_ptr<Component>& component [all...] |
/external/icu/icu4c/source/i18n/ |
collationruleparser.h | 71 class U_I18N_API Sink : public UObject { 73 virtual ~Sink(); 106 * The Sink must be set before parsing. 113 * Sets the pointer to a Sink object. 116 void setSink(Sink *sinkAlias) { 117 sink = sinkAlias; 188 Sink *sink; member in class:CollationRuleParser
|
/external/okhttp/okio/okio/src/test/java/okio/ |
AsyncTimeoutTest.java | 183 Sink sink = new ForwardingSink(new Buffer()) { local 194 Sink timeoutSink = timeout.sink(sink); 204 @Override public long read(Buffer sink, long byteCount) throws IOException { 224 Sink sink = new ForwardingSink(new Buffer()) { local 236 Sink timeoutSink = timeout.sink(sink) 247 Sink sink = new ForwardingSink(new Buffer()) { local [all...] |
MockSink.java | 28 /** A scriptable sink. Like Mockito, but worse and requiring less configuration. */ 29 class MockSink implements Sink {
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
NettyServerStream.java | 46 private final Sink sink = new Sink(); field in class:NettyServerStream 76 protected Sink abstractServerStreamSink() { 77 return sink; 90 private class Sink implements AbstractServerStream.Sink {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
RandomIRBuilder.cpp | 108 // Also consider choosing no sink, meaning we want a new one. 111 if (Use *Sink = RS.getSelection()) { 112 User *U = Sink->getUser(); 113 unsigned OpNo = Sink->getOperandNo();
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
CacheAdapter.java | 32 import okio.Sink; 62 @Override public Sink body() throws IOException { 64 return body != null ? Okio.sink(body) : null;
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
CacheAdapter.java | 33 import com.android.okhttp.okio.Sink; 64 @Override public Sink body() throws IOException { 66 return body != null ? Okio.sink(body) : null;
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
AbstractClientStreamTest.java | 377 AbstractClientStream.Sink sink = mock(AbstractClientStream.Sink.class); local 383 sink, 390 verify(sink, never()).writeHeaders(any(Metadata.class), any(byte[].class)); 394 verify(sink).writeHeaders(any(Metadata.class), payloadCaptor.capture()); 397 verify(sink, never()) 410 AbstractClientStream.Sink sink = mock(AbstractClientStream.Sink.class) local 428 AbstractClientStream.Sink sink = mock(AbstractClientStream.Sink.class); local 452 private final Sink sink; field in class:AbstractClientStreamTest.BaseAbstractClientStream [all...] |