Home
last modified time | relevance | path

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

12345678910>>...59

/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/io/
H A 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()
H A DCharSequenceReaderTest.java49 String string = "abcdefghijklmnopqrstuvwxyz"; in testMarkAndReset() local
141 int read; in assertReadsCorrectly() local
194 int read; in readFully() local
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/io/
H A DCharSourceTester.java73 CharSourceFactory factory, String string, String name, String desc) { in suiteForString()
86 CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { in CharSourceTester()
101 int read; in testOpenStream() local
116 int read; in testOpenBufferedStream() local
149 String string = source.read(); in testRead_toString() local
232 private void assertExpectedString(String string) { in assertExpectedString()
H A DCharSequenceReaderTest.java49 String string = "abcdefghijklmnopqrstuvwxyz"; in testMarkAndReset() local
141 int read; in assertReadsCorrectly() local
194 int read; in readFully() local
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dpickle.cpp106 size_t VectorReader::read(uint64_t pos, void* buf, size_t n, const char* what) in read() function in torch::jit::VectorReader
113 size_t StringViewReader::read( in read() function in torch::jit::StringViewReader
169 c10::TypePtr (*type_parser)(const std::string&), in unpickle()
185 c10::TypePtr (*type_parser)(const std::string&)) { in unpickle()
196 c10::TypePtr (*type_parser)(const std::string&)) { in unpickle()
/aosp_15_r20/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp117 bool MtpDataPacket::getString(MtpStringBuffer& string) in getString()
418 void MtpDataPacket::putString(const MtpStringBuffer& string) { in putString()
424 MtpStringBuffer string(s); in putString() local
429 void MtpDataPacket::putString(const uint16_t* string) { in putString()
449 int MtpDataPacket::read(IMtpHandle *h) { in read() function in android::MtpDataPacket
478 int MtpDataPacket::read(struct usb_request *request) { in read() function in android::MtpDataPacket
505 int read = 0; in readData() local
/aosp_15_r20/external/kotlinx.serialization/formats/json/commonMain/src/kotlinx/serialization/json/internal/
H A DJsonTreeReader.kt78 val string = if (isLenient || !isString) { in readValue() constant
87 fun read(): JsonElement { in read() method
/aosp_15_r20/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jar ... public okio.Buffer writeUtf8 (java.lang.String) String string public okio.Buffer writeUtf8 (java ...
/aosp_15_r20/prebuilts/go/linux-x86/src/time/
Dzoneinfo_read.go24 func registerLoadFromEmbeddedTZData(f func(string) (string, error)) {
58 func (d *dataIO) read(n int) []byte { func
118 func LoadLocationFromTZData(name string, data []byte) (*Location, error) {
356 func findZone(zones []zone, name string, offset int, isDST bool) int {
367 func loadTzinfoFromDirOrZip(dir, name string) ([]byte, error) {
403 func loadTzinfoFromZip(zipfile, name string) ([]byte, error) {
520 func loadTzinfo(name string, source string) ([]byte, error) {
531 func loadLocation(name string, sources []string) (z *Location, firstErr error) {
575 func readFile(name string) ([]byte, error) {
/aosp_15_r20/external/guava/guava-tests/benchmark/com/google/common/io/
H A 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
/aosp_15_r20/external/guava/android/guava-tests/benchmark/com/google/common/io/
H A 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
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
H A 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
/aosp_15_r20/prebuilts/go/linux-x86/src/os/
Dfile_posix.go28 func (f *File) read(b []byte) (n int, err error) { func
76 func chmod(name string, mode FileMode) error {
105 func Chown(name string, uid, gid int) error {
121 func Lchown(name string, uid, gid int) error {
179 func Chtimes(name string, atime time.Time, mtime time.Time) error {
235 func (f *File) checkValid(op string) error {
Dfile_plan9.go20 func fixLongPath(path string) string {
54 func NewFile(fd uintptr, name string) *File {
95 func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
146 func openDirNolog(name string) (*File, error) {
290 func (f *File) read(b []byte) (n int, err error) { func
365 func Truncate(name string, size int64) error {
384 func Remove(name string) error {
391 func rename(oldname, newname string) error {
429 func chmod(name string, mode FileMode) error {
457 func Chtimes(name string, atime time.Time, mtime time.Time) error {
[all …]
/aosp_15_r20/external/rust/android-crates-io/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
/aosp_15_r20/external/okio/okio/src/commonTest/kotlin/okio/
H A 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
/aosp_15_r20/prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.9.0/
HDokio-1.9.0.jar ... Buffer) okio.Buffer this$0 public int read () public int read (byte[], ...
/aosp_15_r20/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
H A DBufferReader.kt97 fun string(group: Int): String { in string() method in trebuchet.util.MatchResult
114 fun <T> read(group: Int, cb: PreviewReader.() -> T): T { in read() method in trebuchet.util.MatchResult
154 …inline fun <T> read(slice: DataSlice, stringCache: StringCache? = null, init: BufferReader.() -> T… in read() method in trebuchet.util.BufferReader
/aosp_15_r20/external/okhttp/okio/okio/src/test/java/okio/
H A 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
/aosp_15_r20/external/rust/android-crates-io/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
/aosp_15_r20/external/okio/okio/src/jvmTest/kotlin/okio/
H A DByteStringJavaTest.kt101 fun read() { in read() method
261 val string = "04".decodeHex().string(UTF_16BE) in decodeMalformedStringReturnsReplacementCharacter() constant
H A DBufferedSourceTest.kt86 override fun read(sink: Buffer, byteCount: Long): Long { in pipe() method
438 val read = source.read(sink) in readIntoByteArray() constant
455 val read = source.read(sink) in readIntoByteArrayNotEnough() constant
472 val read = source.read(sink, 2, 3) in readIntoByteArrayOffsetAndCount() constant
486 val string = "abcd" + "e".repeat(SEGMENT_SIZE) in readByteArray() constant
925 var read = `in`.read(bytes) in inputStream() variable
948 val read = `in`.read(bytes, 1, 3) in inputStreamOffsetCount() constant
/aosp_15_r20/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
H A 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
/aosp_15_r20/external/okhttp/okio/okio/src/main/java/okio/
H A 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
/aosp_15_r20/external/rust/android-crates-io/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

12345678910>>...59