Home
last modified time | relevance | path

Searched refs:test_read (Results 1 – 25 of 118) sorted by relevance

12345

/aosp_15_r20/external/skia/tests/
H A DFrontBufferedStreamTest.cpp20 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 Dbuffered_reads.pass.cpp49 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 DPipedReaderTest.java161 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 DPipedInputStreamTest.java172 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 DFilterInputStreamTest.java160 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 DStringBufferInputStreamTest.java47 public void test_read() throws UnsupportedEncodingException { in test_read() method in StringBufferInputStreamTest
58 public void test_read$BII() { in test_read$BII()
H A DFileInputStreamTest.java217 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 DLineNumberInputStreamTest.java85 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 DBufferedInputStreamTest.java316 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 DStringReaderTest.java82 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/
Dcoded_input_stream.rs788 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/
Dmod.rs731 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 Delf.c34 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 DOldFilterReaderTest.java107 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 DOldLineNumberInputStreamTest.java48 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 DOldLineNumberReaderTest.java55 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 DOldInputStreamTest.java86 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 DOldFilterInputStreamTest.java142 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 DOldPushbackInputStreamTest.java107 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 DOldDataInputStreamTest.java58 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 DUnsynchronizedFilterInputStreamTest.java119 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 DotConverters_test.py14 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 DDigestInputStream2Test.java92 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 DInflaterInputStreamTest.java175 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 DFileChannelTest.java1397 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 …]

12345