Searched refs:toRead (Results 1 – 9 of 9) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 260 size_t toRead = reader->currentToRead(); in TEST() local 261 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 262 pos += toRead; in TEST() 263 reader->move(toRead); in TEST() 394 size_t toRead = reader->currentToRead(); in TEST() local 395 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() 396 pos += toRead; in TEST() 397 reader->move(toRead); in TEST() 456 size_t toRead = reader->currentToRead(); in TEST() local 457 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST() [all …]
|
D | UidMap_test.cpp | 179 size_t toRead = reader->currentToRead(); in protoOutputStreamToUidMapping() local 180 std::memcpy(&((bytes)[pos]), reader->readBuffer(), toRead); in protoOutputStreamToUidMapping() 181 pos += toRead; in protoOutputStreamToUidMapping() 182 reader->move(toRead); in protoOutputStreamToUidMapping()
|
D | statsd_test_util.cpp | 37 size_t toRead = reader->currentToRead(); in outputStreamToProto() local 38 std::memcpy(&((bytes)[pos]), reader->readBuffer(), toRead); in outputStreamToProto() 39 pos += toRead; in outputStreamToProto() 40 reader->move(toRead); in outputStreamToProto()
|
/packages/modules/StatsD/statsd/src/subscriber/ |
D | IncidentdReporter.cpp | 116 size_t toRead = reader->currentToRead(); in getProtoData() local 117 std::memcpy(&((*protoData)[pos]), reader->readBuffer(), toRead); in getProtoData() 118 pos += toRead; in getProtoData() 119 reader->move(toRead); in getProtoData()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 145 size_t toRead = reader->currentToRead(); in serializeProtoLocked() local 146 std::memcpy(&((*buffer)[pos]), reader->readBuffer(), toRead); in serializeProtoLocked() 147 pos += toRead; in serializeProtoLocked() 148 reader->move(toRead); in serializeProtoLocked()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 97 size_t toRead = reader->currentToRead(); in parseProtoOutputStream() local 98 pbBytes.append(reinterpret_cast<const char*>(reader->readBuffer()), toRead); in parseProtoOutputStream() 99 reader->move(toRead); in parseProtoOutputStream()
|
D | StatsLogProcessor.cpp | 117 size_t toRead = reader->currentToRead(); in flushProtoToBuffer() local 118 std::memcpy(&((*outData)[pos]), reader->readBuffer(), toRead); in flushProtoToBuffer() 119 pos += toRead; in flushProtoToBuffer() 120 reader->move(toRead); in flushProtoToBuffer()
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 609 size_t toRead = reader->currentToRead(); in writeExperimentIdsToProto() local 610 std::memcpy(protoOut->data() + pos, reader->readBuffer(), toRead); in writeExperimentIdsToProto() 611 pos += toRead; in writeExperimentIdsToProto() 612 reader->move(toRead); in writeExperimentIdsToProto()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 1089 size_t toRead = reader->currentToRead(); in dumpStats() local 1090 std::memcpy(&((*output)[pos]), reader->readBuffer(), toRead); in dumpStats() 1091 pos += toRead; in dumpStats() 1092 reader->move(toRead); in dumpStats()
|