/dalvik/dx/tests/048-dex-new-array/ |
Blort.java | 19 public static void sink(Object x) { method in class:Blort 24 sink(new boolean[0]); method 25 sink(new byte[1]); method 26 sink(new char[2]); method 27 sink(new short[3]); method 28 sink(new int[4]); method 29 sink(new long[5]); method 30 sink(new float[6]); method 31 sink(new double[7]); method 32 sink(new Object[0]) method [all...] |
/dalvik/dx/tests/054-dex-high16/ |
Blort.java | 19 public static void sink(int i) { method in class:Blort 23 public static void sink(long l) { method in class:Blort 27 public static void sink(float f) { method in class:Blort 31 public static void sink(double d) { method in class:Blort 36 sink(Integer.MIN_VALUE); 37 sink(0x40000000); 38 sink(0x20000000); 39 sink(0x10000000); 40 sink(0x00080000); 41 sink(0x00040000) [all...] |
/external/compiler-rt/test/asan/TestCases/ |
coverage-levels.cc | 20 volatile int sink; variable 23 sink = 0;
|
coverage-tracing.cc | 30 volatile int sink; variable 31 __attribute__((noinline)) void foo() { sink++; } 32 __attribute__((noinline)) void bar() { sink++; }
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
alltests.java | 46 * Build test suite by adding each test to the test sink 47 * @param sink test sink 49 public void build(DOMTestSink sink) { 50 // sink.addTest(attrgetownerelement01.class); // javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 51 sink.addTest(attrgetownerelement02.class); 52 sink.addTest(attrgetownerelement03.class); 53 sink.addTest(attrgetownerelement04.class); 54 sink.addTest(attrgetownerelement05.class); 55 sink.addTest(createAttributeNS01.class) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
alltests.java | 46 * Build test suite by adding each test to the test sink 47 * @param sink test sink 49 public void build(DOMTestSink sink) { 50 sink.addTest(attrcreatedocumentfragment.class); 51 sink.addTest(attrcreatetextnode.class); 52 sink.addTest(attrcreatetextnode2.class); 53 // sink.addTest(attrdefaultvalue.class); //javax.xml.parsers.ParserConfigurationException: No validating DocumentBuilder implementation available 54 sink.addTest(attreffectivevalue.class); 55 // sink.addTest(attrentityreplacement.class) [all...] |
/external/llvm/test/DebugInfo/Inputs/ |
dwarfdump-type-units.cc | 3 void sink(void*); 6 sink(&f); 8 sink(&b);
|
/external/compiler-rt/test/msan/ |
coverage-levels.cc | 13 volatile int sink; variable 20 sink = 0;
|
/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/ |
coverage-levels.cc | 17 volatile int sink; variable
|
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSinkTest.java | 75 private BufferedSink sink; 79 sink = factory.create(data); 83 sink.writeUtf8(""); 84 sink.flush(); 89 sink.writeByte(0xab); 90 sink.writeByte(0xcd); 91 sink.flush(); 96 sink.writeUtf8(repeat('a', Segment.SIZE - 1)); 97 sink.writeByte(0x20); 98 sink.writeByte(0x21) [all...] |
OkioTest.java | 38 BufferedSink sink = Okio.buffer(Okio.sink(file)); local 39 sink.writeUtf8("Hello, java.io file!"); 40 sink.close(); 52 BufferedSink sink = Okio.buffer(Okio.appendingSink(file)); local 53 sink.writeUtf8("Hello, "); 54 sink.close(); 58 sink = Okio.buffer(Okio.appendingSink(file)); 59 sink.writeUtf8("java.io file!"); 60 sink.close() 91 Sink sink = Okio.sink(out); local 104 Buffer sink = new Buffer(); local [all...] |
RealBufferedSinkTest.java | 32 RealBufferedSink sink = new RealBufferedSink(new Buffer()); local 33 OutputStream out = sink.outputStream(); 36 sink.writeUtf8("Hi!"); 44 Buffer sink = new Buffer(); local 45 BufferedSink bufferedSink = new RealBufferedSink(sink); 47 assertEquals(0, sink.size()); 49 assertEquals(Segment.SIZE, sink.size()); 54 Buffer sink = new Buffer(); local 55 BufferedSink bufferedSink = new RealBufferedSink(sink); 57 assertEquals(Segment.SIZE * 3, sink.size()) 62 Buffer sink = new Buffer(); local 72 Buffer sink = new Buffer(); local 80 Buffer sink = new Buffer(); local 87 Buffer sink = new Buffer(); local 95 Buffer sink = new Buffer(); local 102 Buffer sink = new Buffer(); local [all...] |
BufferedSourceTest.java | 44 result.sink = buffer; 58 result.sink = buffer; 72 result.sink = buffer; 74 @Override public long read(Buffer sink, long byteCount) throws IOException { 75 return super.read(sink, Math.min(byteCount, 1L)); 91 BufferedSink sink; field in class:BufferedSourceTest.Pipe 109 private BufferedSink sink; field in class:BufferedSourceTest 114 sink = pipe.sink; 119 sink.write(new byte[] { (byte) 0xab, (byte) 0xcd }) 218 Buffer sink = new Buffer(); local 232 Buffer sink = new Buffer(); local 240 Buffer sink = new Buffer(); local 252 Buffer sink = new Buffer(); local 260 Buffer sink = new Buffer(); local [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractStreamingHasherTest.java | 45 Sink sink = new Sink(4); // byte order insignificant here local 47 sink.putByte((byte) 1); 48 sink.putBytes(new byte[] { 2, 3, 4, 5, 6 }); 49 sink.putByte((byte) 7); 50 sink.putBytes(new byte[] {}); 51 sink.putBytes(new byte[] { 8 }); 52 sink.hash(); 53 sink.assertInvariants(8) 58 Sink sink = new Sink(4); local 66 Sink sink = new Sink(4); local 74 Sink sink = new Sink(8); local 82 Sink sink = new Sink(4); local 105 Sink sink = new Sink(4); local 113 Sink sink = new Sink(8); local 121 Sink sink = new Sink(4); local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
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.wasStreamOpened() && sink.wasStreamClosed()) [all...] |
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.wasStreamOpened() && sink.wasStreamClosed()) [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
Segment.java | 133 /** Moves {@code byteCount} bytes from this segment to {@code sink}. */ 134 public void writeTo(Segment sink, int byteCount) { 135 if (!sink.owner) throw new IllegalArgumentException(); 136 if (sink.limit + byteCount > SIZE) { 137 // We can't fit byteCount bytes at the sink's current position. Shift sink first. 138 if (sink.shared) throw new IllegalArgumentException(); 139 if (sink.limit + byteCount - sink.pos > SIZE) throw new IllegalArgumentException(); 140 System.arraycopy(sink.data, sink.pos, sink.data, 0, sink.limit - sink.pos) [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...] |
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;
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestSuite.java | 61 abstract public void build(DOMTestSink sink);
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
WebSocketWriter.java | 24 import okio.Sink; 53 private final BufferedSink sink; field in class:WebSocketWriter 64 public WebSocketWriter(boolean isClient, BufferedSink sink, Random random) { 65 if (sink == null) throw new NullPointerException("sink == null"); 68 this.sink = sink; 78 synchronized (sink) { 85 synchronized (sink) { 111 synchronized (sink) { [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
hard_rss_limit_mb_test.cc | 24 volatile char *sink[kNumAllocs]; variable 33 sink[i] = x;
|
sanitizer_set_death_callback_test.cc | 18 volatile char *sink; variable 33 sink = new char[100]; // trigger lsan report. 48 sink = 0;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SinkChannelTest.java | 42 private Pipe.SinkChannel sink; field in class:SinkChannelTest 53 sink = pipe.sink(); 64 assertEquals(SelectionKey.OP_WRITE, sink.validOps()); 77 sink.configureBlocking(sinkBlockingMode[i]); 79 // if sink and source both are blocking mode, source only needs read 80 // once to get what sink write. 85 sink.write(buf); 114 sink.write(ByteBuffer.wrap(strbytes)); 153 sink.write(nullBuf) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
IActivityRecognitionHardware.aidl | 39 * Registers a sink with Hardware Activity-Recognition. 41 boolean registerSink(in IActivityRecognitionHardwareSink sink); 44 * Unregisters a sink with Hardware Activity-Recognition. 46 boolean unregisterSink(in IActivityRecognitionHardwareSink sink);
|