Home
last modified time | relevance | path

Searched refs:currentToRead (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/protoutil/include/android/util/
DProtoReader.h52 virtual size_t currentToRead() = 0;
DProtoFileReader.h47 virtual size_t currentToRead();
DEncodedBuffer.h198 virtual size_t currentToRead();
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp475 if (!android::base::WriteFully(fd, reader->readBuffer(), reader->currentToRead())) { in flush()
478 reader->move(reader->currentToRead()); in flush()
493 reader->currentToRead()); in serializeToString()
494 reader->move(reader->currentToRead()); in serializeToString()
509 size_t size = reader->currentToRead(); in serializeToVector()
DEncodedBuffer.cpp245 size_t amt = reader->currentToRead(); in writeRaw()
261 size_t amt = reader->currentToRead(); in writeRaw()
385 EncodedBuffer::Reader::currentToRead() in currentToRead() function in android::util::EncodedBuffer::Reader
DProtoFileReader.cpp84 ProtoFileReader::currentToRead() in currentToRead() function in android::util::ProtoFileReader
/frameworks/base/cmds/incidentd/tests/
DProtoFileReader_test.cpp40 size_t amt = reader->currentToRead(); in read()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp236 err = WriteFully(fd, reader->readBuffer(), reader->currentToRead()) ? NO_ERROR : -errno; in writeData()
237 reader->move(reader->currentToRead()); in writeData()
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp135 reader1->move(reader1->currentToRead()); in TEST()
/frameworks/native/services/gpuservice/gpustats/
DGpuStats.cpp382 const size_t toRead = reader->currentToRead(); in protoOutputStreamToByteString()