HomeSort by relevance Sort by last modified time
    Searched refs:maxRecordLen (Results 1 - 2 of 2) sorted by null

  /system/core/include/cutils/
record_stream.h 31 extern RecordStream *record_stream_new(int fd, size_t maxRecordLen);
  /system/core/libcutils/
record_stream.c 35 size_t maxRecordLen;
45 extern RecordStream *record_stream_new(int fd, size_t maxRecordLen)
49 assert (maxRecordLen <= 0xffff);
54 ret->maxRecordLen = maxRecordLen;
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE;
117 * Records may not be larger than maxRecordLen

Completed in 44 milliseconds