Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-module.h256 template <int kMaxLen = 50>
258 static_assert(kMaxLen >= 4, "minimum length is 4 (length of '...' plus one)");
269 : start_(start), length_(std::min(kMaxLen, static_cast<int>(len))) { in TruncatedUserString()
270 if (len > static_cast<size_t>(kMaxLen)) { in TruncatedUserString()
271 memcpy(buffer_, start, kMaxLen - 3); in TruncatedUserString()
272 memset(buffer_ + kMaxLen - 3, '.', 3); in TruncatedUserString()
284 char buffer_[kMaxLen];
Dfunction-body-decoder-impl.h1383 static constexpr int kMaxLen = 512;
1395 size_t remaining_len = kMaxLen - len_; in Append()
1403 char buffer_[kMaxLen];
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc47 uptr const kMaxLen = 30; in AppendNumber() local
51 RAW_CHECK(minimal_num_length < kMaxLen); in AppendNumber()
57 uptr num_buffer[kMaxLen]; in AppendNumber()
60 RAW_CHECK_MSG((uptr)pos < kMaxLen, "AppendNumber buffer overflow"); in AppendNumber()
/external/skqp/tools/trace/
DSkDebugfTracer.cpp47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local
54 truncAt = SkTMin(truncAt, kMaxLen); in addTraceEvent()
/external/skia/tools/trace/
DSkDebugfTracer.cpp47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local
54 truncAt = SkTMin(truncAt, kMaxLen); in addTraceEvent()
/external/skia/src/pdf/
DSkPDFTypes.cpp121 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()
122 SkASSERT(len <= kMaxLen); in write_string()
/external/skqp/src/pdf/
DSkPDFTypes.cpp121 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()
122 SkASSERT(len <= kMaxLen); in write_string()