Searched refs:numBytesWritten (Results 1 – 3 of 3) sorted by relevance
75 size_t numBytesWritten; member93 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 …]
263 int numBytesWritten = compressJpegFromYUV420p( in compressJpegFromYUV420Image()271 outBuf.limit(numBytesWritten); in compressJpegFromYUV420Image()273 return numBytesWritten; in compressJpegFromYUV420Image()
741 private void setMaxSize(final int maxSize, final int numBytesWritten) { in setMaxSize() argument743 if (numBytesWritten > maxSize) { in setMaxSize()