Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/wasm/
Dwasm-module.h683 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];
Dfunction-body-decoder-impl.h2476 size_t remaining_len = kMaxLen - len_;
2525 static constexpr int kMaxLen = 512;
2527 char buffer_[kMaxLen];
/third_party/skia/tools/trace/
DSkDebugfTracer.cpp47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local
54 truncAt = std::min(truncAt, kMaxLen); in addTraceEvent()
/third_party/skia/src/pdf/
DSkPDFTypes.cpp123 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()
124 SkASSERT(len <= kMaxLen); in write_string()