Searched refs:MAX_EVENT_PAYLOAD_SIZE (Results 1 – 1 of 1) sorted by relevance
27 const size_t MAX_EVENT_PAYLOAD_SIZE = 512 - 1; // Leave room for final '\n'. variable35 payload_(std::make_unique<uint8_t[]>(MAX_EVENT_PAYLOAD_SIZE)) { in EventLogListBuilder()36 memset(payload_.get(), 0, MAX_EVENT_PAYLOAD_SIZE); in EventLogListBuilder()87 DCHECK_LT(payload_size_ + size, MAX_EVENT_PAYLOAD_SIZE); in AppendData()93 DCHECK_LT(payload_size_ + sizeof(byte), MAX_EVENT_PAYLOAD_SIZE); in AppendByte()99 if (payload_size_ + space_needed > MAX_EVENT_PAYLOAD_SIZE) { in IsSpaceAvailable()100 size_t remaining = MAX_EVENT_PAYLOAD_SIZE - payload_size_; in IsSpaceAvailable()