Searched defs:sink (Results 1 - 25 of 101) sorted by relevance

12345

/external/compiler-rt/test/asan/TestCases/
H A Dcoverage-levels.cc20 volatile int sink; variable
23 sink = 0;
H A Dcoverage-tracing.cc30 volatile int sink; variable
31 __attribute__((noinline)) void foo() { sink++; }
32 __attribute__((noinline)) void bar() { sink++; }
H A Dcoverage-reset.cc9 static volatile int sink; variable
10 __attribute__((noinline)) void bar() { sink = 2; }
11 __attribute__((noinline)) void foo() { sink = 1; }
/external/compiler-rt/test/msan/
H A Dcoverage-levels.cc13 volatile int sink; variable
20 sink = 0;
/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/
H A Dcoverage-levels.cc17 volatile int sink; variable
/external/compiler-rt/test/asan/TestCases/Android/
H A Dcoverage-android.cc122 volatile int sink; variable
131 sink = 0;
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dhard_rss_limit_mb_test.cc24 volatile char *sink[kNumAllocs]; variable
33 sink[i] = x;
H A Dsanitizer_set_death_callback_test.cc18 volatile char *sink; variable
33 sink = new char[100]; // trigger lsan report.
48 sink = 0;
/external/okhttp/okio/okio/src/main/java/okio/
H A DSource.java65 * them to {@code sink}. Returns the number of bytes read, or -1 if this
68 long read(Buffer sink, long byteCount) throws IOException; argument
H A DForwardingSource.java34 @Override public long read(Buffer sink, long byteCount) throws IOException { argument
35 return delegate.read(sink, byteCount);
H A DDeflaterSink.java24 * A sink that uses <a href="http://tools.ietf.org/html/rfc1951">DEFLATE</a> to
38 private final BufferedSink sink; field in class:DeflaterSink
42 public DeflaterSink(Sink sink, Deflater deflater) { argument
43 this(Okio.buffer(sink), deflater);
51 DeflaterSink(BufferedSink sink, Deflater deflater) { argument
52 if (sink == null) throw new IllegalArgumentException("source == null");
54 this.sink = sink;
67 // Deflate those bytes into sink.
86 Buffer buffer = sink
[all...]
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 DOkio.java51 * 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) { argument
56 if (sink == null) throw new IllegalArgumentException("sink == null");
57 return new RealBufferedSink(sink);
60 /** Returns a sink tha
61 public static Sink sink(final OutputStream out) { method in class:Okio
65 private static Sink sink(final OutputStream out, final Timeout timeout) { method in class:Okio
112 public static Sink sink(final Socket socket) throws IOException { method in class:Okio
172 public static Sink sink(File file) throws FileNotFoundException { method in class:Okio
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_atomic_test.cc24 static ValAndMagic<T> *sink; member in struct:__sanitizer::ValAndMagic
28 ValAndMagic<T> *ValAndMagic<T>::sink; member in class:__sanitizer::ValAndMagic
35 ValAndMagic<T>::sink = &val; member in class:__sanitizer::ValAndMagic
/external/compiler-rt/test/tsan/
H A Datomic_norace.cc9 volatile T sink; local
22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
27 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
29 sink = *p;
H A Datomic_race.cc9 volatile T sink; local
19 sink = *p;
22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST);
29 sink = *p;
H A Dstack_sync_reuse.cc22 long sink; variable
50 sink = __atomic_load_n(&s, __ATOMIC_ACQUIRE);
60 if (sink != 0)
/external/guava/guava-tests/test/com/google/common/io/
H A DByteSinkTest.java39 private TestByteSink sink; field in class:ByteSinkTest
43 sink = new TestByteSink();
47 OutputStream out = sink.openBufferedStream();
48 assertTrue(sink.wasStreamOpened());
49 assertFalse(sink.wasStreamClosed());
54 assertTrue(sink.wasStreamClosed());
55 assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes());
59 assertArrayEquals(new byte[0], sink.getBytes());
60 sink.write(bytes);
62 assertTrue(sink
[all...]
H A DCharSinkTest.java40 private TestCharSink sink; field in class:CharSinkTest
44 sink = new TestCharSink();
48 Writer writer = sink.openBufferedStream();
49 assertTrue(sink.wasStreamOpened());
50 assertFalse(sink.wasStreamClosed());
55 assertTrue(sink.wasStreamClosed());
56 assertEquals(STRING, sink.getString());
60 assertEquals("", sink.getString());
61 sink.write(STRING);
63 assertTrue(sink
[all...]
/external/icu/icu4c/source/i18n/
H A Dbocsu.cpp99 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink) { argument
105 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity);
108 // but we do not want to force the sink.GetAppendBuffer() to allocate
137 sink.Append(buffer, (int32_t)(p-reinterpret_cast<uint8_t *>(buffer)));
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Dweak_ptr.pass.cpp60 void sink (std::weak_ptr<T> &&) {} function
109 sink(std::move(pA)); // kill off the weak pointer
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DRequestBody.java40 public abstract void writeTo(BufferedSink sink) throws IOException; argument
70 @Override public void writeTo(BufferedSink sink) throws IOException {
71 sink.write(content);
95 @Override public void writeTo(BufferedSink sink) throws IOException {
96 sink.write(content, offset, byteCount);
114 @Override public void writeTo(BufferedSink sink) throws IOException {
118 sink.writeAll(source);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DVariant.java36 FrameWriter newWriter(BufferedSink sink, boolean client); argument
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
H A DHttpEntityBody.java38 @Override public void writeTo(BufferedSink sink) throws IOException { argument
39 entity.writeTo(sink.outputStream());
/external/skia/dm/
H A DDMSrcSinkAndroid.cpp37 ViaAndroidSDK::ViaAndroidSDK(Sink* sink) : fSink(sink) { } argument

Completed in 621 milliseconds

12345