/external/compiler-rt/test/asan/TestCases/ |
H A D | coverage-levels.cc | 20 volatile int sink; variable 23 sink = 0;
|
H A D | coverage-tracing.cc | 30 volatile int sink; variable 31 __attribute__((noinline)) void foo() { sink++; } 32 __attribute__((noinline)) void bar() { sink++; }
|
H A D | coverage-reset.cc | 9 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 D | coverage-levels.cc | 13 volatile int sink; variable 20 sink = 0;
|
/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/ |
H A D | coverage-levels.cc | 17 volatile int sink; variable
|
/external/compiler-rt/test/asan/TestCases/Android/ |
H A D | coverage-android.cc | 122 volatile int sink; variable 131 sink = 0;
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
H A D | hard_rss_limit_mb_test.cc | 24 volatile char *sink[kNumAllocs]; variable 33 sink[i] = x;
|
H A D | sanitizer_set_death_callback_test.cc | 18 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 D | Source.java | 65 * 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 D | ForwardingSource.java | 34 @Override public long read(Buffer sink, long byteCount) throws IOException { argument 35 return delegate.read(sink, byteCount);
|
H A D | DeflaterSink.java | 24 * 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 D | InflaterSource.java | 56 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 D | 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) { 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 D | sanitizer_atomic_test.cc | 24 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 D | atomic_norace.cc | 9 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 D | atomic_race.cc | 9 volatile T sink; local 19 sink = *p; 22 sink = __atomic_load_n(p, __ATOMIC_SEQ_CST); 29 sink = *p;
|
H A D | stack_sync_reuse.cc | 22 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 D | ByteSinkTest.java | 39 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 D | CharSinkTest.java | 40 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 D | bocsu.cpp | 99 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 D | weak_ptr.pass.cpp | 60 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 D | RequestBody.java | 40 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 D | Variant.java | 36 FrameWriter newWriter(BufferedSink sink, boolean client); argument
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
H A D | HttpEntityBody.java | 38 @Override public void writeTo(BufferedSink sink) throws IOException { argument 39 entity.writeTo(sink.outputStream());
|
/external/skia/dm/ |
H A D | DMSrcSinkAndroid.cpp | 37 ViaAndroidSDK::ViaAndroidSDK(Sink* sink) : fSink(sink) { } argument
|