/external/mesa3d/src/intel/tools/ |
D | aub_read.c | 63 parse_error(struct aub_read *read, const uint32_t *p, const char *fmt, ...) in parse_error() argument 65 if (!read->error) in parse_error() 73 read->error(read->user_data, p, msg); in parse_error() 79 handle_trace_header(struct aub_read *read, const uint32_t *p) in handle_trace_header() argument 90 if (!gen_get_device_info_from_pci_id(aub_pci_id, &read->devinfo)) { in handle_trace_header() 91 parse_error(read, p, in handle_trace_header() 102 if (read->info) in handle_trace_header() 103 read->info(read->user_data, aub_pci_id, app_name); in handle_trace_header() 109 handle_memtrace_version(struct aub_read *read, const uint32_t *p) in handle_memtrace_version() argument 121 if (!gen_get_device_info_from_pci_id(aub_pci_id, &read->devinfo)) { in handle_memtrace_version() [all …]
|
/external/clang/test/OpenMP/ |
D | atomic_read_codegen.c | 83 #pragma omp atomic read in main() 87 #pragma omp atomic read in main() 91 #pragma omp atomic read in main() 95 #pragma omp atomic read in main() 99 #pragma omp atomic read in main() 103 #pragma omp atomic read in main() 107 #pragma omp atomic read in main() 111 #pragma omp atomic read in main() 115 #pragma omp atomic read in main() 119 #pragma omp atomic read in main() [all …]
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | random_inputstream_test.cc | 33 tstring read; in TEST() local 35 TF_ASSERT_OK(in.ReadNBytes(3, &read)); in TEST() 36 EXPECT_EQ(read, "012"); in TEST() 38 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST() 39 EXPECT_EQ(read, ""); in TEST() 41 TF_ASSERT_OK(in.ReadNBytes(5, &read)); in TEST() 42 EXPECT_EQ(read, "34567"); in TEST() 44 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST() 45 EXPECT_EQ(read, ""); in TEST() 47 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(20, &read))); in TEST() [all …]
|
D | inputbuffer_test.cc | 166 string read; in TEST() local 169 TF_CHECK_OK(in.ReadNBytes(3, &read)); in TEST() 170 EXPECT_EQ(read, "012"); in TEST() 172 TF_CHECK_OK(in.ReadNBytes(0, &read)); in TEST() 173 EXPECT_EQ(read, ""); in TEST() 175 TF_CHECK_OK(in.ReadNBytes(4, &read)); in TEST() 176 EXPECT_EQ(read, "3456"); in TEST() 178 TF_CHECK_OK(in.ReadNBytes(0, &read)); in TEST() 179 EXPECT_EQ(read, ""); in TEST() 181 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(5, &read))); in TEST() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
D | BoundedReaderTest.java | 78 mr.read(); in markReset() 79 mr.read(); in markReset() 80 mr.read(); in markReset() 82 mr.read(); in markReset() 83 mr.read(); in markReset() 84 mr.read(); in markReset() 85 assertEquals(-1, mr.read()); in markReset() 93 mr.read(); in markResetFromOffset1() 94 mr.read(); in markResetFromOffset1() 95 mr.read(); in markResetFromOffset1() [all …]
|
D | BOMInputStreamTest.java | 69 public int read() throws IOException { in read() method in BOMInputStreamTest.ExpectCloseInputStream 204 bytes = bomInputStream.read(bytesFromStream); in readFile() 213 assertEquals((byte) 0x33, is1.read()); in skipReturnValueWithBom() 222 assertEquals((byte) 0x33, is2.read()); in skipReturnValueWithoutBom() 258 assertEquals(-1, in.read(buf)); in testEmptyBufferWithBOM() 267 assertEquals(-1, in.read(buf)); in testEmptyBufferWithoutBOM() 278 assertEquals('A', in.read()); in testGetBOMFirstThenRead() 279 assertEquals('B', in.read()); in testGetBOMFirstThenRead() 280 assertEquals('C', in.read()); in testGetBOMFirstThenRead() 281 assertEquals(-1, in.read()); in testGetBOMFirstThenRead() [all …]
|
D | UnsynchronizedByteArrayInputStreamTest.java | 163 is.read(buf, 0, -1); in testInvalidReadArrayExplicitLenUnder() 173 is.read(buf, -1, 1); in testInvalidReadArrayExplicitOffsetUnder() 183 is.read(buf, 0, 1); in testInvalidReadArrayExplicitRangeOver() 193 is.read(buf); in testInvalidReadArrayNull() 211 assertEquals(0xa, is.read()); in testMarkReset() 216 assertEquals(0xb, is.read()); in testMarkReset() 217 assertEquals(0xc, is.read()); in testMarkReset() 221 assertEquals(0xb, is.read()); in testMarkReset() 222 assertEquals(0xc, is.read()); in testMarkReset() 223 assertEquals(END_OF_STREAM, is.read()); in testMarkReset() [all …]
|
D | CharSequenceReaderTest.java | 51 … assertEquals(expected.charAt(i), (char)reader.read(), "Read[" + i + "] of '" + expected + "'"); in checkRead() 120 assertEquals('F', reader.read()); in testRead() 121 assertEquals('o', reader.read()); in testRead() 122 assertEquals('o', reader.read()); in testRead() 123 assertEquals(-1, reader.read()); in testRead() 124 assertEquals(-1, reader.read()); in testRead() 127 assertEquals('o', reader.read()); in testRead() 128 assertEquals('o', reader.read()); in testRead() 129 assertEquals(-1, reader.read()); in testRead() 130 assertEquals(-1, reader.read()); in testRead() [all …]
|
D | SequenceReaderTest.java | 50 public int read(final char[] cbuf, final int off, final int len) throws IOException { in read() method in SequenceReaderTest.CustomReader 76 … assertEquals(expected.charAt(i), (char) reader.read(), "Read[" + i + "] of '" + expected + "'"); in checkRead() 82 assertEquals(-1, reader.read()); in checkReadEof() 112 public int read(final char[] cbuf, final int off, final int len) throws IOException { in testCloseReaders() 135 assertEquals('A', sequenceReader.read()); in testCloseReaders() 136 assertEquals(EOF, sequenceReader.read()); in testCloseReaders() 156 assertEquals('F', reader.read()); in testRead() 157 assertEquals('o', reader.read()); in testRead() 158 assertEquals('o', reader.read()); in testRead() 159 assertEquals('B', reader.read()); in testRead() [all …]
|
D | UnsynchronizedBufferedInputStreamTest.java | 141 public int read() { in test_close() 146 public int read(final byte[] buf, final int offset, final int length) { in test_close() 167 …assertThrows(IOException.class, () -> bufin.read(new byte[100], 0, 99), "Should throw IOException"… in test_close() 177 assertThrows(IOException.class, () -> str.read(), "Expected an IOException"); in test_ConstructorLjava_io_InputStream() 187 assertThrows(IOException.class, () -> str.read(), "Expected an IOException"); in test_ConstructorLjava_io_InputStreamI() 195 is.read(); in test_ConstructorLjava_io_InputStreamI() 202 is.read(); in test_ConstructorLjava_io_InputStreamI() 204 assertThrows(IOException.class, () -> is.read()); in test_ConstructorLjava_io_InputStreamI() 225 is.read(buf1, 0, buf1.length); in test_markI() 227 is.read(buf2, 0, buf2.length); in test_markI() [all …]
|
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-hugeurl/ |
D | README.md | 22 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 23 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 24 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 25 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 26 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 27 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 28 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 29 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 30 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 31 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 [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 | 11 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !range ![[BLK_IDX_XY:[0-9]+]] 13 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.x() 19 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.y(), !range ![[BLK_IDX_XY]] 21 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.y() 27 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.z(), !range ![[BLK_IDX_Z:[0-9]+]] 29 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.z() 36 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.w() 42 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.x(), !range ![[BLK_SIZE_XY:[0-9]+]] 44 %x = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x() 50 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.y(), !range ![[BLK_SIZE_XY]] [all …]
|
/external/arm-trusted-firmware/lib/extensions/amu/aarch64/ |
D | amu_helpers.S | 49 1: read AMEVCNTR00_EL0 /* index 0 */ 50 read AMEVCNTR01_EL0 /* index 1 */ 51 read AMEVCNTR02_EL0 /* index 2 */ 52 read AMEVCNTR03_EL0 /* index 3 */ 113 1: read AMEVCNTR10_EL0 /* index 0 */ 114 read AMEVCNTR11_EL0 /* index 1 */ 115 read AMEVCNTR12_EL0 /* index 2 */ 116 read AMEVCNTR13_EL0 /* index 3 */ 117 read AMEVCNTR14_EL0 /* index 4 */ 118 read AMEVCNTR15_EL0 /* index 5 */ [all …]
|
/external/rust/crates/combine/src/stream/ |
D | buf_reader.rs | 126 fn buffer<'a>(&'a self, read: &'a R) -> &'a [u8]; in buffer() 128 fn advance(&mut self, read: &mut R, len: usize); in advance() 131 fn advance_pin(&mut self, read: Pin<&mut R>, len: usize); in advance_pin() 136 fn extend_buf_sync(&mut self, read: &mut R) -> io::Result<usize>; in extend_buf_sync() 145 read: Pin<&mut R>, in poll_extend_buf() 155 read: Pin<&mut R>, in poll_extend_buf() 158 fn extend_buf<'a>(&'a mut self, read: Pin<&'a mut R>) -> ExtendBuf<'a, Self, R> in extend_buf() 168 read: Pin<&'a mut R> 181 me.buffer.poll_extend_buf(cx, me.read.as_mut()) in poll() 210 fn extend_buf_sync(&mut self, read: &mut R) -> io::Result<usize> { in extend_buf_sync() [all …]
|
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-seq/ |
D | README.md | 35 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 36 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 37 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 38 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 39 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 40 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 41 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 42 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 43 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 44 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 [all …]
|
/external/openthread/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_storage_format.v0.data | 3 PSA storage read: lifetime: (DEFAULT, LOCAL_STORAGE) 7 PSA storage read: lifetime: (READ_ONLY, LOCAL_STORAGE) 11 PSA storage read: lifetime: (2, LOCAL_STORAGE) 15 PSA storage read: lifetime: (254, LOCAL_STORAGE) 19 PSA storage read: lifetime: PERSISTENT 23 PSA storage read: usage with implication: 0 27 PSA storage read: usage without implication: 0 31 PSA storage read: usage with implication: COPY 35 PSA storage read: usage without implication: COPY 39 PSA storage read: usage with implication: DECRYPT [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | UnicodeEscapeProcessingProviderTest.java | 35 assertEquals("13" + '\u12aA' + "98", new String(read("13\\u12aA98"))); in testUnicodeEscape() 40 assertEquals("13\\\\u12aA98", new String(read("13\\\\u12aA98"))); in testEscapedUnicodeEscape() 45 assertEquals("13" + '\u12aA' + "98", new String(read("13\\uuuuuu12aA98"))); in testUnicodeEscapeWithMultipleUs() 50 assertEquals("foobar\\", new String(read("foobar\\"))); in testInputEndingInBackslash() 55 assertEquals("foobar\\u", new String(read("foobar\\u"))); in testInputEndingInBackslashU() 60 assertEquals("foobar\\uuuuuu", new String(read("foobar\\uuuuuu"))); in testInputEndingInBackslashUs() 65 assertEquals("foobar\\uA", new String(read("foobar\\uA"))); in testInputEndingInBackslashU1() 70 assertEquals("foobar\\uAB", new String(read("foobar\\uAB"))); in testInputEndingInBackslashU2() 75 assertEquals("foobar\\uABC", new String(read("foobar\\uABC"))); in testInputEndingInBackslashU3() 80 assertEquals("foobar\uABCD", new String(read("foobar\\uABCD"))); in testInputEndingUnicodeEscape() [all …]
|
/external/cronet/testing/libfuzzer/fuzzers/ |
D | skia_path_common.cc | 17 while (read<uint8_t>(data, size, &operation)) { in BuildPath() 20 if (!read<SkScalar>(data, size, &a) || !read<SkScalar>(data, size, &b)) in BuildPath() 26 if (!read<SkScalar>(data, size, &a) || !read<SkScalar>(data, size, &b)) in BuildPath() 32 if (!read<SkScalar>(data, size, &a) || in BuildPath() 33 !read<SkScalar>(data, size, &b) || in BuildPath() 34 !read<SkScalar>(data, size, &c) || in BuildPath() 35 !read<SkScalar>(data, size, &d)) in BuildPath() 41 if (!read<SkScalar>(data, size, &a) || in BuildPath() 42 !read<SkScalar>(data, size, &b) || in BuildPath() 43 !read<SkScalar>(data, size, &c) || in BuildPath() [all …]
|
/external/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_storage_format.v0.data | 3 read lifetime: (DEFAULT,LOCAL_STORAGE) 7 read lifetime: (READ_ONLY,LOCAL_STORAGE) 11 read lifetime: (2,LOCAL_STORAGE) 15 read lifetime: (254,LOCAL_STORAGE) 19 read lifetime: PERSISTENT 23 read usage without implication: 0 27 read usage without implication: COPY 31 read usage without implication: DECRYPT 35 read usage without implication: DERIVE 39 read usage without implication: ENCRYPT [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/ |
D | FramedSnappyCompressorInputStream.java | 140 public int read() throws IOException { in read() method in FramedSnappyCompressorInputStream 141 return read(oneByte, 0, 1) == -1 ? -1 : oneByte[0] & 0xFF; in read() 159 public int read(final byte[] b, final int off, final int len) throws IOException { in read() method in FramedSnappyCompressorInputStream 160 int read = readOnce(b, off, len); in read() local 161 if (read == -1) { in read() 166 read = readOnce(b, off, len); in read() 168 return read; in read() 199 int read = -1; in readOnce() local 205 read = in.read(b, off, amount); in readOnce() 206 if (read != -1) { in readOnce() [all …]
|
/external/libwebsockets/minimal-examples/http-client/minimal-http-client/ |
D | README.md | 41 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 42 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 43 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 44 [2018/03/04 14:43:22:0169] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 45 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 46 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 47 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 48 [2018/03/04 14:43:22:0174] USER: RECEIVE_CLIENT_HTTP_READ: read 1015 49 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 50 [2018/03/04 14:43:22:0179] USER: RECEIVE_CLIENT_HTTP_READ: read 1024 [all …]
|
/external/ImageMagick/PerlMagick/ |
D | MANIFEST | 37 t/bzlib/read.t 40 t/cgm/read.t 48 t/fpx/read.t 53 t/hdf/read.t 56 t/hpgl/read.t 105 t/jbig/read.t 119 t/jng/read.t 123 t/jpeg/read.t 129 t/mpeg/read.t 132 t/openjp2/read.t [all …]
|
/external/rust/crates/thiserror-impl/src/ |
D | fmt.rs | 22 let mut read = fmt.as_str(); in expand_shorthand() localVariable 35 while let Some(brace) = read.find('{') { in expand_shorthand() 36 out += &read[..brace + 1]; in expand_shorthand() 37 read = &read[brace + 1..]; in expand_shorthand() 38 if read.starts_with('{') { in expand_shorthand() 40 read = &read[1..]; in expand_shorthand() 43 let next = match read.chars().next() { in expand_shorthand() 49 let int = take_int(&mut read); in expand_shorthand() 61 let mut ident = take_ident(&mut read); in expand_shorthand() 68 let end_spec = match read.find('}') { in expand_shorthand() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharSequenceReaderTest.java | 77 reader.read(buf, 0, 11); in testIllegalArguments() 83 reader.read(buf, 10, 1); in testIllegalArguments() 89 reader.read(buf, 11, 0); in testIllegalArguments() 95 reader.read(buf, -1, 5); in testIllegalArguments() 101 reader.read(buf, 5, -1); in testIllegalArguments() 107 reader.read(buf, 0, 11); in testIllegalArguments() 130 reader.read(); in testMethodsThrowWhenClosed() 136 reader.read(new char[10]); in testMethodsThrowWhenClosed() 142 reader.read(new char[10], 0, 10); in testMethodsThrowWhenClosed() 148 reader.read(CharBuffer.allocate(10)); in testMethodsThrowWhenClosed() [all …]
|