Searched refs:kMaxLen (Results 1 – 4 of 4) sorted by relevance
683 template <int kMaxLen = 50>685 static_assert(kMaxLen >= 4, "minimum length is 4 (length of '...' plus one)");696 : start_(start), length_(std::min(kMaxLen, static_cast<int>(len))) { in TruncatedUserString()697 if (len > static_cast<size_t>(kMaxLen)) { in TruncatedUserString()698 memcpy(buffer_, start, kMaxLen - 3); in TruncatedUserString()699 memset(buffer_ + kMaxLen - 3, '.', 3); in TruncatedUserString()711 char buffer_[kMaxLen];
2476 size_t remaining_len = kMaxLen - len_;2525 static constexpr int kMaxLen = 512;2527 char buffer_[kMaxLen];
47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local54 truncAt = std::min(truncAt, kMaxLen); in addTraceEvent()
123 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()124 SkASSERT(len <= kMaxLen); in write_string()