/aosp_15_r20/external/skia/tests/ |
H A D | FrontBufferedStreamTest.cpp | 20 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() function 69 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 2); in test_incremental_buffering() 74 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 4); in test_incremental_buffering() 77 test_read(reporter, bufferedStream.get(), gAbcs + bufferSize / 4, bufferSize / 2); in test_incremental_buffering() 82 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize << 1); in test_incremental_buffering() 97 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_perfectly_sized_buffer() 103 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_perfectly_sized_buffer() 106 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), 1); in test_perfectly_sized_buffer() 121 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 4); in test_skipping() 127 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), bufferSize / 4); in test_skipping() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/input.output/file.streams/fstreams/ifstream.members/ |
H A D | buffered_reads.pass.cpp | 49 void test_read(BufferPolicy policy, const std::vector<std::streamsize>& payload_sizes) { in test_read() function 162 test_read(LibraryDefaultBuffer(), {x}); in test_1_read() 171 test_read(LibraryManagedBuffer(b), {x}); in test_1_read() 181 test_read(UserManagedBuffer(b), {x}); in test_1_read() 194 test_read(LibraryDefaultBuffer(), {a, b}); in test_2_reads() 205 test_read(LibraryManagedBuffer(buf), {a, b}); in test_2_reads() 217 test_read(UserManagedBuffer(buf), {a, b}); in test_2_reads()
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PipedReaderTest.java | 161 public void test_read() throws Exception { in test_read() method in PipedReaderTest 177 public void test_read$CII() throws Exception { in test_read$CII() 200 public void test_read$CII_ExceptionPriority() throws IOException { in test_read$CII_ExceptionPriority() 212 public void test_read$CII_ExceptionPriority2() throws IOException { in test_read$CII_ExceptionPriority2() 223 public void test_read$CII_ExceptionPriority3() throws IOException { in test_read$CII_ExceptionPriority3() 234 public void test_read$CII_ExceptionPriority4() throws IOException { in test_read$CII_ExceptionPriority4()
|
H A D | PipedInputStreamTest.java | 172 public void test_read() throws Exception { in test_read() method in PipedInputStreamTest 192 public void test_read$BII() throws Exception { in test_read$BII() 216 public void test_read$BII_2() throws IOException { in test_read$BII_2() 228 public void test_read$BII_3() throws IOException { in test_read$BII_3() 240 public void test_read$BII_4() throws IOException { in test_read$BII_4()
|
H A D | FilterInputStreamTest.java | 160 public void test_read() throws Exception { in test_read() method in FilterInputStreamTest 168 public void test_read$B() throws Exception { in test_read$B() 178 public void test_read$BII() throws Exception { in test_read$BII()
|
H A D | StringBufferInputStreamTest.java | 47 public void test_read() throws UnsupportedEncodingException { in test_read() method in StringBufferInputStreamTest 58 public void test_read$BII() { in test_read$BII()
|
H A D | FileInputStreamTest.java | 217 public void test_read() throws IOException { in test_read() method in FileInputStreamTest 227 public void test_read$B() throws IOException { in test_read$B() 240 public void test_read$BII() throws IOException { in test_read$BII()
|
H A D | LineNumberInputStreamTest.java | 85 public void test_read() throws IOException { in test_read() method in LineNumberInputStreamTest 102 public void test_read$BII() throws IOException, UnsupportedEncodingException { in test_read$BII()
|
H A D | BufferedInputStreamTest.java | 316 public void test_read() throws IOException { in test_read() method in BufferedInputStreamTest 339 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception() 382 public void test_read$BII() throws IOException { in test_read$BII()
|
H A D | StringReaderTest.java | 82 public void test_read() throws Exception { in test_read() method in StringReaderTest 94 public void test_read$CII() throws Exception { in test_read$CII()
|
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf/src/ |
D | coded_input_stream.rs | 788 fn test_read<F>(hex: &str, mut callback: F) in test_read() function 805 test_read(hex, |reader| { in test_read_v() 812 test_read("17", |is| { in test_input_stream_read_raw_byte() 896 test_read("", |reader| { in test_input_stream_skip_raw_bytes() 899 test_read("aa bb", |reader| { in test_input_stream_skip_raw_bytes() 902 test_read("aa bb cc dd ee ff", |reader| { in test_input_stream_skip_raw_bytes() 909 test_read("", |reader| { in test_input_stream_read_raw_bytes() 919 test_read("aa bb cc", |is| { in test_input_stream_limits() 932 test_read("aa bb cc", |is| { in test_input_stream_io_read() 941 test_read("aa bb cc", |is| { in test_input_stream_io_bufread()
|
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/coded_input_stream/ |
D | mod.rs | 731 fn test_read<F>(hex: &str, mut callback: F) in test_read() function 748 test_read(hex, |reader| { in test_read_v() 755 test_read("17", |is| { in test_input_stream_read_raw_byte() 847 test_read("", |reader| { in test_input_stream_skip_raw_bytes() 850 test_read("aa bb", |reader| { in test_input_stream_skip_raw_bytes() 853 test_read("aa bb cc dd ee ff", |reader| { in test_input_stream_skip_raw_bytes() 860 test_read("", |reader| { in test_input_stream_read_raw_bytes() 870 test_read("aa bb cc", |is| { in test_input_stream_limits() 883 test_read("aa bb cc", |is| { in test_input_stream_io_read() 892 test_read("aa bb cc", |is| { in test_input_stream_io_bufread()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 34 test_read(fd, ident, sizeof(ident)); in elfhdr_get() 82 test_read(fd, hdrp, sizeof(*hdrp)); in elfhdr_get() 148 test_read(fd, &phdr, sizeof(phdr)); in kvm_vm_elf_load() 188 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldFilterReaderTest.java | 107 public void test_read() throws IOException { in test_read() method in OldFilterReaderTest 112 public void test_read$CII() throws IOException { in test_read$CII() 118 public void test_read$CII_Exception() throws IOException { in test_read$CII_Exception()
|
H A D | OldLineNumberInputStreamTest.java | 48 public void test_read() throws IOException { in test_read() method in OldLineNumberInputStreamTest 71 public void test_read$BII() throws IOException { in test_read$BII() 86 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception()
|
H A D | OldLineNumberReaderTest.java | 55 public void test_read() throws IOException { in test_read() method in OldLineNumberReaderTest 77 public void test_read$CII() throws IOException { in test_read$CII() 95 public void test_read$CII_Exception() throws IOException { in test_read$CII_Exception()
|
H A D | OldInputStreamTest.java | 86 public void test_read$B() throws IOException { in test_read$B() 120 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception() 166 public void test_read$BII() throws IOException { in test_read$BII()
|
H A D | OldFilterInputStreamTest.java | 142 public void test_read() throws IOException { in test_read() method in OldFilterInputStreamTest 156 public void test_read$B() throws IOException { in test_read$B() 173 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception()
|
H A D | OldPushbackInputStreamTest.java | 107 public void test_read() throws IOException { in test_read() method in OldPushbackInputStreamTest 124 public void test_read$BII() throws IOException { in test_read$BII() 141 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception()
|
H A D | OldDataInputStreamTest.java | 58 public void test_read$B() throws IOException { in test_read$B() 89 public void test_read$BII() throws IOException { in test_read$BII() 121 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception()
|
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
H A D | UnsynchronizedFilterInputStreamTest.java | 119 public void test_read() throws IOException { in test_read() method in UnsynchronizedFilterInputStreamTest 130 public void test_read$B() throws IOException { in test_read$B() 142 public void test_read$BII() throws IOException { in test_read$BII()
|
/aosp_15_r20/external/fonttools/Tests/ttLib/tables/ |
H A D | otConverters_test.py | 14 def test_read(self): member in Char64Test 80 def test_read(self): member in GlyphIDTest 95 def test_read(self): member in LongTest 125 def test_read(self): member in NameIDTest 173 def test_read(self): member in UInt8Test
|
/aosp_15_r20/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestInputStream2Test.java | 92 public void test_read() throws IOException { in test_read() method in DigestInputStream2Test 107 public void test_read$BII() throws IOException { in test_read$BII() 136 public void test_read$BII_Exception() throws IOException { in test_read$BII_Exception()
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
H A D | InflaterInputStreamTest.java | 175 public void test_read() throws IOException { in test_read() method in InflaterInputStreamTest 276 public void test_read$BII() throws IOException { in test_read$BII() 308 public void test_read$BII2() throws IOException { in test_read$BII2() 325 public void test_read$BII3() throws IOException { in test_read$BII3()
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | FileChannelTest.java | 1397 public void test_read$LByteBuffer() throws Exception { in test_read$LByteBuffer() 1417 public void test_read$LByteBuffer_mock() throws Exception { in test_read$LByteBuffer_mock() 1429 public void test_read$LByteBufferII_Null() throws Exception { in test_read$LByteBufferII_Null() 1473 public void test_read$LByteBufferII_Closed() throws Exception { in test_read$LByteBufferII_Closed() 1526 public void test_read$LByteBufferII_WriteOnly() throws Exception { in test_read$LByteBufferII_WriteOnly() 1550 public void test_read$LByteBufferII_IndexOutOfBound() throws Exception { in test_read$LByteBufferII_IndexOutOfBound() 1591 public void test_read$LByteBufferII_EmptyFile() throws Exception { in test_read$LByteBufferII_EmptyFile() 1604 public void test_read$LByteBufferII_EmptyBuffers() throws Exception { in test_read$LByteBufferII_EmptyBuffers() 1627 public void test_read$LByteBufferII_EmptyFile_EmptyBuffers() in test_read$LByteBufferII_EmptyFile_EmptyBuffers() 1638 public void test_read$LByteBufferII_Length_Zero() throws Exception { in test_read$LByteBufferII_Length_Zero() [all …]
|