Home
last modified time | relevance | path

Searched +defs:read +defs:string (Results 1 – 25 of 78) sorted by relevance

1234

/external/guava/android/guava-tests/test/com/google/common/io/
DCharSourceTester.java71 CharSourceFactory factory, String string, String name, String desc) { in suiteForString()
84 CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { in CharSourceTester()
99 int read; in testOpenStream() local
114 int read; in testOpenBufferedStream() local
141 String string = source.read(); in testRead_toString() local
218 private void assertExpectedString(String string) { in assertExpectedString()
DCharSequenceReaderTest.java49 String string = "abcdefghijklmnopqrstuvwxyz"; in testMarkAndReset() local
141 int read; in assertReadsCorrectly() local
194 int read; in readFully() local
/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTester.java74 CharSourceFactory factory, String string, String name, String desc) { in suiteForString()
87 CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { in CharSourceTester()
102 int read; in testOpenStream() local
117 int read; in testOpenBufferedStream() local
150 String string = source.read(); in testRead_toString() local
233 private void assertExpectedString(String string) { in assertExpectedString()
DCharSequenceReaderTest.java49 String string = "abcdefghijklmnopqrstuvwxyz"; in testMarkAndReset() local
141 int read; in assertReadsCorrectly() local
194 int read; in readFully() local
/external/kotlinx.serialization/formats/json/commonMain/src/kotlinx/serialization/json/internal/
DJsonTreeReader.kt78 val string = if (isLenient || !isString) { in readValue() constant
87 fun read(): JsonElement { in read() method
/external/guava/android/guava-tests/benchmark/com/google/common/io/
DByteSourceAsCharSourceReadBenchmark.java36 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
42 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
57 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
97 abstract String read(ByteSource byteSource, Charset cs) throws IOException; in read() method in ByteSourceAsCharSourceReadBenchmark.ReadStrategy
121 String string = sb.toString(); in setUp() local
/external/guava/guava-tests/benchmark/com/google/common/io/
DByteSourceAsCharSourceReadBenchmark.java36 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
42 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
57 String read(ByteSource byteSource, Charset cs) throws IOException { in read() method
97 abstract String read(ByteSource byteSource, Charset cs) throws IOException; in read() method in ByteSourceAsCharSourceReadBenchmark.ReadStrategy
121 String string = sb.toString(); in setUp() local
/external/rust/crates/nix/test/sys/
Dtest_termios.rs71 let string = "foofoofoo\r"; in test_output_flags() localVariable
109 let string = "foofoofoo\r"; in test_local_flags() localVariable
114 let read = read(pty.master.as_raw_fd(), &mut buf).unwrap_err(); in test_local_flags() localVariable
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DStringProvider.java34 public StringProvider(String string) { in StringProvider()
40 public int read(char[] cbuf, int off, int len) throws IOException { in read() method in StringProvider
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DStringProvider.java26 public StringProvider(String string) { in StringProvider()
32 public int read(char[] cbuf, int off, int len) throws IOException { in read() method in StringProvider
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStream.java104 final int read = IOUtils.readFully(input, realized); in getNextArEntry() local
129 final int read = IOUtils.readFully(input, metaData); in getNextArEntry() local
139 final int read = IOUtils.readFully(input, realized); in getNextArEntry() local
225 final String string = ArchiveUtils.toAsciiString(byteArray, offset, len).trim(); in asInt() local
263 public int read(final byte[] b, final int off, final int len) throws IOException { in read() method in ArArchiveInputStream
341 final int read = IOUtils.readFully(input, name); in getBSDLongName() local
372 private void trackReadBytes(final long read) { in trackReadBytes()
387 final int read = IOUtils.readFully(input, namebuffer, 0, bufflen); in readGNUStringTable() local
/external/rust/crates/utf-8/tests/
Dunit.rs77 let mut string = String::with_capacity(input.len() + REPLACEMENT_CHARACTER.len()); in string_from_utf8_lossy() localVariable
148 let mut string = String::new(); in test_incremental_decoder() localVariable
165 let string = BufReadDecoder::read_to_string_lossy(chunks).unwrap(); in test_bufread_decoder() localVariable
174 fn read(&mut self, _: &mut [u8]) -> io::Result<usize> { in read() method
/external/angle/src/compiler/preprocessor/
DInput.cpp24 Input::Input(size_t count, const char *const string[], const int length[]) in Input()
52 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() function in angle::pp::Input
/external/grpc-grpc-java/census/src/test/java/io/grpc/census/
DCensusTracingAnnotationEventTest.java74 final String string; field in CensusTracingAnnotationEventTest.StringInputStream
76 StringInputStream(String string) { in StringInputStream()
81 public int read() { in read() method in CensusTracingAnnotationEventTest.StringInputStream
/external/fonttools/Tests/ttLib/
DttFont_test.py39 def normalize_TTX(string): argument
296 def read(self, size): member in test_unseekable_file_lazy_loading_fails.NonSeekableFile
312 def read(self, size): member in test_unsupported_seek_operation_lazy_loading_fails.UnsupportedSeekFile
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/
DCAVLCReader.java102 public int readU(int i, String string) throws IOException { in readU()
106 public byte[] read(int payloadSize) throws IOException { in read() method in CAVLCReader
130 public int readME(String string) throws IOException { in readME()
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSink.java55 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8()
61 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) in writeUtf8()
74 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString()
80 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, in writeString()
111 long read = source.read(buffer, byteCount); in write() local
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DRealBufferedSink.java56 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8()
62 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) in writeUtf8()
75 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString()
81 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, in writeString()
112 long read = source.read(buffer, byteCount); in write() local
/external/rust/crates/bincode/src/de/
Dread.rs73 fn read(&mut self, out: &mut [u8]) -> io::Result<usize> { in read() method
92 fn read(&mut self, out: &mut [u8]) -> io::Result<usize> { in read() method
118 let string = match ::std::str::from_utf8(self.get_byte_slice(length)?) { in forward_read_str() localVariable
162 let string = match ::std::str::from_utf8(&self.temp_buffer[..]) { in forward_read_str() localVariable
/external/okhttp/okio/okio/src/test/java/okio/
DBufferedSourceTest.java305 int read = source.read(sink); in readIntoByteArray() local
321 int read = source.read(sink); in readIntoByteArrayNotEnough() local
337 int read = source.read(sink, 2, 3); in readIntoByteArrayOffsetAndCount() local
350 String string = "abcd" + repeat('e', Segment.SIZE); in readByteArray() local
549 int read = in.read(bytes); in inputStream() local
573 int read = in.read(bytes, 1, 3); in inputStreamOffsetCount() local
/external/python/pyserial/serial/
Dserialcli.py21 def as_byte_array(string): argument
154 def read(self, size=1): member in Serial
/external/okio/okio/src/jvmTest/kotlin/okio/
DByteStringJavaTest.kt101 fun read() { in read() method
261 val string = "04".decodeHex().string(UTF_16BE) in decodeMalformedStringReturnsReplacementCharacter() constant
/external/okio/okio/src/commonTest/kotlin/okio/
DAbstractBufferedSourceTest.kt359 val read = source.read(sink) in readIntoByteArray() constant
376 val read = source.read(sink) in readIntoByteArrayNotEnough() constant
394 val read = source.read(sink, 2, 3) in readIntoByteArrayOffsetAndCount() constant
408 val string = "abcd" + "e".repeat(Segment.SIZE) in readByteArray() constant
/external/freetype/src/sfnt/
Dsfobjs.c60 FT_String* string = NULL; in tt_name_ascii_from_utf16() local
62 FT_Byte* read = (FT_Byte*)entry->string; in tt_name_ascii_from_utf16() local
95 FT_String* string = NULL; in tt_name_ascii_from_other() local
97 FT_Byte* read = (FT_Byte*)entry->string; in tt_name_ascii_from_other() local
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialcli.py23 def as_byte_array(string): argument
152 def read(self, size=1): member in IronSerial

1234