Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-module.h500 template <int kMaxLen = 50>
502 static_assert(kMaxLen >= 4, "minimum length is 4 (length of '...' plus one)");
513 : start_(start), length_(std::min(kMaxLen, static_cast<int>(len))) { in TruncatedUserString()
514 if (len > static_cast<size_t>(kMaxLen)) { in TruncatedUserString()
515 memcpy(buffer_, start, kMaxLen - 3); in TruncatedUserString()
516 memset(buffer_ + kMaxLen - 3, '.', 3); in TruncatedUserString()
528 char buffer_[kMaxLen];
Dfunction-body-decoder-impl.h2225 size_t remaining_len = kMaxLen - len_;
2266 static constexpr int kMaxLen = 512;
2268 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/perfetto/src/trace_processor/importers/common/
Dclock_tracker.h213 static constexpr size_t kMaxLen = 4; member
223 PERFETTO_DCHECK(prefix.len < kMaxLen); in ClockPath()
238 std::array<ClockGraphEdge, kMaxLen> path; // Deliberately uninitialized.
Dclock_tracker.cc186 if (cur_path.len >= ClockPath::kMaxLen) in FindPath()
/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 = std::min(truncAt, kMaxLen); in addTraceEvent()
/external/skqp/src/pdf/
DSkPDFTypes.cpp121 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()
122 SkASSERT(len <= kMaxLen); in write_string()
/external/skia/src/pdf/
DSkPDFTypes.cpp120 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string()
121 SkASSERT(len <= kMaxLen); in write_string()