/external/guava/guava-tests/test/com/google/common/io/ |
D | LimitInputStreamTest.java | 36 int read = lin.read(); in testLimit() local 37 assertEquals(big[0], read); in testLimit() 39 read = lin.read(); in testLimit() 40 assertEquals(big[1], read); in testLimit() 42 read = lin.read(); in testLimit() 43 assertEquals(-1, read); in testLimit() 47 read = lin.read(small); in testLimit() 48 assertEquals(2, read); in testLimit() 53 read = lin.read(small, 2, 3); in testLimit() 54 assertEquals(2, read); in testLimit() [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/tests/ |
D | x86id.errwarn | 1 -:37: warning: Standard COFF does not support read-only data sections 2 -:6284: warning: Standard COFF does not support read-only data sections 3 -:6527: warning: Standard COFF does not support read-only data sections 4 -:6540: warning: Standard COFF does not support read-only data sections 5 -:6549: warning: Standard COFF does not support read-only data sections 6 -:6559: warning: Standard COFF does not support read-only data sections 7 -:6562: warning: Standard COFF does not support read-only data sections 8 -:6629: warning: Standard COFF does not support read-only data sections 9 -:7499: warning: Standard COFF does not support read-only data sections 10 -:7518: warning: Standard COFF does not support read-only data sections [all …]
|
/external/llvm/test/CodeGen/NVPTX/ |
D | envreg.ll | 4 declare i32 @llvm.nvvm.read.ptx.sreg.envreg0() 5 declare i32 @llvm.nvvm.read.ptx.sreg.envreg1() 6 declare i32 @llvm.nvvm.read.ptx.sreg.envreg2() 7 declare i32 @llvm.nvvm.read.ptx.sreg.envreg3() 8 declare i32 @llvm.nvvm.read.ptx.sreg.envreg4() 9 declare i32 @llvm.nvvm.read.ptx.sreg.envreg5() 10 declare i32 @llvm.nvvm.read.ptx.sreg.envreg6() 11 declare i32 @llvm.nvvm.read.ptx.sreg.envreg7() 12 declare i32 @llvm.nvvm.read.ptx.sreg.envreg8() 13 declare i32 @llvm.nvvm.read.ptx.sreg.envreg9() [all …]
|
D | intrinsic-old.ll | 7 %x = call i32 @llvm.ptx.read.tid.x() 14 %x = call i32 @llvm.ptx.read.tid.y() 21 %x = call i32 @llvm.ptx.read.tid.z() 28 %x = call i32 @llvm.ptx.read.tid.w() 35 %x = call i32 @llvm.ptx.read.ntid.x() 42 %x = call i32 @llvm.ptx.read.ntid.y() 49 %x = call i32 @llvm.ptx.read.ntid.z() 56 %x = call i32 @llvm.ptx.read.ntid.w() 63 %x = call i32 @llvm.ptx.read.laneid() 70 %x = call i32 @llvm.ptx.read.warpid() [all …]
|
/external/chromium_org/v8/test/webkit/ |
D | dfg-inline-arguments-use-from-all-the-places-broken-expected.txt | 29 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 30 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 31 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 32 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 33 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 34 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 35 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 36 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 37 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 38 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… [all …]
|
D | dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | input_test.cpp | 38 EXPECT_EQ(0u, input.read(NULL, 1)); in TEST() 81 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 83 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 85 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 87 EXPECT_EQ(0u, input1.read(buf, maxSize)); in TEST() 91 EXPECT_EQ(2u, input2.read(buf, maxSize)); in TEST() 93 EXPECT_EQ(1u, input2.read(buf, maxSize)); in TEST() 95 EXPECT_EQ(0u, input2.read(buf, maxSize)); in TEST() 99 EXPECT_EQ(3u, input3.read(buf, maxSize)); in TEST() 101 EXPECT_EQ(0u, input3.read(buf, maxSize)); in TEST() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | RecyclableBufferedInputStream.java | 125 int result = localIn.read(localBuf); in fillbuf() 156 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos); in fillbuf() 214 public synchronized int read() throws IOException { in read() method in RecyclableBufferedInputStream 263 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() method in RecyclableBufferedInputStream 295 int read; in read() local 301 read = localIn.read(buffer, offset, required); in read() 302 if (read == -1) { in read() 317 read = count - pos >= required ? required : count - pos; in read() 318 System.arraycopy(localBuf, pos, buffer, offset, read); in read() 319 pos += read; in read() [all …]
|
/external/chromium_org/chrome/common/ |
D | partial_circular_buffer.cc | 70 uint32 read = 0; in Read() local 80 read += to_read; in Read() 88 if (read >= buffer_size) { in Read() 89 DCHECK_EQ(read, buffer_size); in Read() 90 return read; in Read() 92 if (read >= to_eow) { in Read() 93 DCHECK_EQ(read, to_eow); in Read() 95 return read; in Read() 102 uint32 remaining_buffer_size = buffer_size - read; in Read() 106 memcpy(buffer_uint8 + read, buffer_data_->data + position_, to_read); in Read() [all …]
|
/external/llvm/test/CodeGen/R600/ |
D | wrong-transalu-pos-fix.ll | 14 %x.i = tail call i32 @llvm.r600.read.global.size.x() #1 15 %y.i18 = tail call i32 @llvm.r600.read.global.size.y() #1 17 %z.i17 = tail call i32 @llvm.r600.read.global.size.z() #1 19 %x.i.i = tail call i32 @llvm.r600.read.tgid.x() #1 20 %x.i12.i = tail call i32 @llvm.r600.read.local.size.x() #1 22 %x.i4.i = tail call i32 @llvm.r600.read.tidig.x() #1 25 %y.i.i = tail call i32 @llvm.r600.read.tgid.y() #1 26 %y.i14.i = tail call i32 @llvm.r600.read.local.size.y() #1 28 %y.i6.i = tail call i32 @llvm.r600.read.tidig.y() #1 32 %z.i.i = tail call i32 @llvm.r600.read.tgid.z() #1 [all …]
|
D | work-item-intrinsics.ll | 13 %0 = call i32 @llvm.r600.read.ngroups.x() #0 27 %0 = call i32 @llvm.r600.read.ngroups.y() #0 41 %0 = call i32 @llvm.r600.read.ngroups.z() #0 55 %0 = call i32 @llvm.r600.read.global.size.x() #0 69 %0 = call i32 @llvm.r600.read.global.size.y() #0 83 %0 = call i32 @llvm.r600.read.global.size.z() #0 97 %0 = call i32 @llvm.r600.read.local.size.x() #0 111 %0 = call i32 @llvm.r600.read.local.size.y() #0 125 %0 = call i32 @llvm.r600.read.local.size.z() #0 139 %0 = call i32 @llvm.r600.read.tgid.x() #0 [all …]
|
/external/chromium_org/remoting/host/native_messaging/ |
D | native_messaging_writer_unittest.cc | 46 int read = read_file_.ReadAtCurrentPos(reinterpret_cast<char*>(&length), 4); in TEST_F() local 47 EXPECT_EQ(4, read); in TEST_F() 49 read = read_file_.ReadAtCurrentPos(string_as_array(&content), length); in TEST_F() 50 EXPECT_EQ(static_cast<int>(length), read); in TEST_F() 60 read = read_file_.ReadAtCurrentPos(&unused, 1); in TEST_F() 61 EXPECT_LE(read, 0); in TEST_F() 74 int read; in TEST_F() local 77 read = read_file_.ReadAtCurrentPos(reinterpret_cast<char*>(&length), 4); in TEST_F() 78 EXPECT_EQ(4, read) << "i = " << i; in TEST_F() 80 read = read_file_.ReadAtCurrentPos(string_as_array(&content), length); in TEST_F() [all …]
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | WebSocketFrame.java | 145 public static WebSocketFrame read(InputStream in) throws IOException { in read() method in WebSocketFrame 146 byte head = (byte) checkedRead(in.read()); in read() 168 private static int checkedRead(int read) throws IOException { in checkedRead() argument 169 if (read < 0) { in checkedRead() 173 return read; in checkedRead() 178 byte b = (byte) checkedRead(in.read()); in readPayloadInfo() 184 _payloadLength = (checkedRead(in.read()) << 8 | checkedRead(in.read())) & 0xFFFF; in readPayloadInfo() 189 long _payloadLength = ((long) checkedRead(in.read())) << 56 | in readPayloadInfo() 190 ((long) checkedRead(in.read())) << 48 | in readPayloadInfo() 191 ((long) checkedRead(in.read())) << 40 | in readPayloadInfo() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | IndefiniteLengthInputStream.java | 22 _b1 = in.read(); in IndefiniteLengthInputStream() 23 _b2 = in.read(); in IndefiniteLengthInputStream() 51 public int read(byte[] b, int off, int len) in read() method in IndefiniteLengthInputStream 57 return super.read(b, off, len); in read() 65 int numRead = _in.read(b, off + 2, len - 2); in read() 76 _b1 = _in.read(); in read() 77 _b2 = _in.read(); in read() 88 public int read() in read() method in IndefiniteLengthInputStream 96 int b = _in.read(); in read()
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testfile.c | 98 if (0!=rwops->read(rwops,test_buf,1,1)) RWOP_ERR_QUIT(rwops); /* we are in write only mode */ in main() 105 if (7!=rwops->read(rwops,test_buf,1,7)) RWOP_ERR_QUIT(rwops); in main() 107 if (0!=rwops->read(rwops,test_buf,1,1)) RWOP_ERR_QUIT(rwops); in main() 108 if (0!=rwops->read(rwops,test_buf,10,100)) RWOP_ERR_QUIT(rwops); in main() 110 if (2!=rwops->read(rwops,test_buf,10,3)) RWOP_ERR_QUIT(rwops); in main() 122 if (1!=rwops->read(rwops,test_buf,1,1)) RWOP_ERR_QUIT(rwops); /* we are in read/write mode */ in main() 125 if (7!=rwops->read(rwops,test_buf,1,7)) RWOP_ERR_QUIT(rwops); in main() 127 if (0!=rwops->read(rwops,test_buf,1,1)) RWOP_ERR_QUIT(rwops); in main() 128 if (0!=rwops->read(rwops,test_buf,10,100)) RWOP_ERR_QUIT(rwops); in main() 130 if (2!=rwops->read(rwops,test_buf,10,3)) RWOP_ERR_QUIT(rwops); in main() [all …]
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
D | CipherInputStreamTest.java | 61 if ((byte) cis.read() != data[i]) { in testCipherInputStream() 66 if (cis.read() != -1) { in testCipherInputStream() 81 if ((res = (byte) cis.read()) != data[i]) { in testRead1() 86 if (cis.read() != -1) { in testRead1() 105 int got = cis.read(result); // the number of got bytes in testRead2() 119 got += cis.read(result); in testRead2() 122 if (cis.read(result) != -1) { in testRead2() 145 cis.read(null, 0, skip); in testRead3() 146 int got = skip + cis.read(result, 0, 1); // the number of got bytes in testRead3() 160 got += cis.read(result, 0, 3); in testRead3() [all …]
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 76 assertEquals('A', in.read()); in testSetBodyAdjustsHeaders() 77 assertEquals('B', in.read()); in testSetBodyAdjustsHeaders() 78 assertEquals('C', in.read()); in testSetBodyAdjustsHeaders() 79 assertEquals(-1, in.read()); in testSetBodyAdjustsHeaders() 229 in.read(); in testNonHexadecimalChunkSize() 247 assertEquals('A', in.read()); in testResponseTimeout() 248 assertEquals('B', in.read()); in testResponseTimeout() 249 assertEquals('C', in.read()); in testResponseTimeout() 251 in.read(); // if Content-Length was accurate, this would return -1 immediately in testResponseTimeout() 258 assertEquals('D', in2.read()); in testResponseTimeout() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | H264TrackImpl.java | 10 import com.googlecode.mp4parser.h264.read.CAVLCReader; 203 while ((c = reader.read()) != -1) { in findNextStartcode() 247 reader.read(data); in readSamples() 371 is.read(); in handleNALUnit() 372 seqParameterSet = SeqParameterSet.read(is); in handleNALUnit() 382 is.read(); in handleNALUnit() 383 pictureParameterSet = PictureParameterSet.read(is); in handleNALUnit() 443 is.read(); in SliceHeader() 524 int read() throws IOException { in read() method in H264TrackImpl.ReaderWrapper 526 return inputStream.read(); in read() [all …]
|
/external/okhttp/okio/src/main/java/okio/ |
D | RealBufferedSource.java | 43 @Override public long read(OkBuffer sink, long byteCount) throws IOException { in read() method in RealBufferedSource 48 long read = source.read(buffer, Segment.SIZE); in read() local 49 if (read == -1) return -1; in read() 53 return buffer.read(sink, toRead); in read() 58 return buffer.exhausted() && source.read(buffer, Segment.SIZE) == -1; in exhausted() 64 if (source.read(buffer, Segment.SIZE) == -1) throw new EOFException(); in require() 132 if (buffer.size == 0 && source.read(buffer, Segment.SIZE) == -1) { in skip() 147 if (source.read(buffer, Segment.SIZE) == -1) return -1L; in indexOf() 154 @Override public int read() throws IOException { in inputStream() 157 long count = source.read(buffer, Segment.SIZE); in inputStream() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | ShortArrayCodeInput.java | 46 public int read() throws EOFException { in read() method in ShortArrayCodeInput 58 int short0 = read(); in readInt() 59 int short1 = read(); in readInt() 66 long short0 = read(); in readLong() 67 long short1 = read(); in readLong() 68 long short2 = read(); in readLong() 69 long short3 = read(); in readLong()
|
/external/chromium_org/net/tools/balsa/ |
D | balsa_frame_test.cc | 96 size_t read = frame_->ProcessInput(input, strlen(input)); in TEST_F() local 97 EXPECT_EQ(2u, read); in TEST_F() 142 size_t read = frame_->ProcessInput(input, strlen(input)); in TEST_F() local 143 ASSERT_EQ(strlen(input), read); in TEST_F() 192 size_t read = frame_->ProcessInput(input, strlen(input)); in TEST_F() local 193 ASSERT_EQ(strlen(input), read); in TEST_F() 256 size_t read = frame_->ProcessInput(input, strlen(input)); in TEST_F() local 257 ASSERT_EQ(65u, read); in TEST_F() 260 read += frame_->ProcessInput(&input[read], strlen(input) - read); in TEST_F() 261 ASSERT_EQ(strlen(input), read); in TEST_F() [all …]
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 73 assertEquals('A', in.read()); in testSetBodyAdjustsHeaders() 74 assertEquals('B', in.read()); in testSetBodyAdjustsHeaders() 75 assertEquals('C', in.read()); in testSetBodyAdjustsHeaders() 76 assertEquals(-1, in.read()); in testSetBodyAdjustsHeaders() 169 in.read(); in testNonHexadecimalChunkSize() 187 assertEquals('A', in.read()); in testResponseTimeout() 188 assertEquals('B', in.read()); in testResponseTimeout() 189 assertEquals('C', in.read()); in testResponseTimeout() 191 in.read(); // if Content-Length was accurate, this would return -1 immediately in testResponseTimeout() 198 assertEquals('D', in2.read()); in testResponseTimeout() [all …]
|