Searched refs:kMaxLen (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/wasm/ |
D | wasm-module.h | 500 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];
|
D | function-body-decoder-impl.h | 2225 size_t remaining_len = kMaxLen - len_; 2266 static constexpr int kMaxLen = 512; 2268 char buffer_[kMaxLen];
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 47 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/ |
D | clock_tracker.h | 213 static constexpr size_t kMaxLen = 4; member 223 PERFETTO_DCHECK(prefix.len < kMaxLen); in ClockPath() 238 std::array<ClockGraphEdge, kMaxLen> path; // Deliberately uninitialized.
|
D | clock_tracker.cc | 186 if (cur_path.len >= ClockPath::kMaxLen) in FindPath()
|
/external/skqp/tools/trace/ |
D | SkDebugfTracer.cpp | 47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local 54 truncAt = SkTMin(truncAt, kMaxLen); in addTraceEvent()
|
/external/skia/tools/trace/ |
D | SkDebugfTracer.cpp | 47 static constexpr size_t kMaxLen = 20; in addTraceEvent() local 54 truncAt = std::min(truncAt, kMaxLen); in addTraceEvent()
|
/external/skqp/src/pdf/ |
D | SkPDFTypes.cpp | 121 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string() 122 SkASSERT(len <= kMaxLen); in write_string()
|
/external/skia/src/pdf/ |
D | SkPDFTypes.cpp | 120 SkDEBUGCODE(static const size_t kMaxLen = 65535;) in write_string() 121 SkASSERT(len <= kMaxLen); in write_string()
|