Home
last modified time | relevance | path

Searched refs:numBytesWritten (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c75 size_t numBytesWritten; member
93 event->numBytesWritten = 2; // reserve first 2 bytes for root event type and number of elements in AStatsEvent_obtain()
133 const size_t totalBytesNeeded = event->numBytesWritten + size; in overflows()
158 event->buf[event->numBytesWritten] = value; in append_byte()
159 event->numBytesWritten += sizeof(value); in append_byte()
169 memcpy(&event->buf[event->numBytesWritten], &value, sizeof(value)); in append_int32()
170 event->numBytesWritten += sizeof(value); in append_int32()
176 memcpy(&event->buf[event->numBytesWritten], &value, sizeof(value)); in append_int64()
177 event->numBytesWritten += sizeof(value); in append_int64()
183 memcpy(&event->buf[event->numBytesWritten], &value, sizeof(value)); in append_float()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java263 int numBytesWritten = compressJpegFromYUV420p( in compressJpegFromYUV420Image()
271 outBuf.limit(numBytesWritten); in compressJpegFromYUV420Image()
273 return numBytesWritten; in compressJpegFromYUV420Image()
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java741 private void setMaxSize(final int maxSize, final int numBytesWritten) { in setMaxSize() argument
743 if (numBytesWritten > maxSize) { in setMaxSize()