Home
last modified time | relevance | path

Searched refs:kMaxMessageLength (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dsync_socket_posix.cc31 const size_t kMaxMessageLength = static_cast<size_t>(INT_MAX); variable
39 DCHECK_LE(length, kMaxMessageLength); in SendHelper()
130 DCHECK_LE(length, kMaxMessageLength); in Receive()
143 DCHECK_LE(length, kMaxMessageLength); in ReceiveWithTimeout()
227 DCHECK_LE(length, kMaxMessageLength); in Send()
/external/perfetto/src/protozero/
Dmessage.cc76 PERFETTO_DCHECK(size < proto_utils::kMaxMessageLength); in AppendBytes()
97 PERFETTO_DCHECK(size < proto_utils::kMaxMessageLength); in AppendScatteredBytes()
125 PERFETTO_DCHECK(size_ < proto_utils::kMaxMessageLength); in Finalize()
Dproto_decoder.cc99 if (PERFETTO_LIKELY(payload_length <= proto_utils::kMaxMessageLength)) { in ParseOneField()
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h113 constexpr size_t kMaxMessageLength = (1u << (kMessageLengthFieldSize * 7)) - 1; variable