Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/ext/base/
Dstring_writer.h148 constexpr auto kSizeNeeded = kMaxDigits > padding ? kMaxDigits : padding; in AppendPaddedInt() local
149 PERFETTO_DCHECK(pos_ + kSizeNeeded <= size_); in AppendPaddedInt()
151 char data[kSizeNeeded]; in AppendPaddedInt()
154 for (idx = kSizeNeeded - 1; absolute_value >= 10;) { in AppendPaddedInt()
162 size_t num_digits = kSizeNeeded - 1 - idx; in AppendPaddedInt()
172 AppendString(&data[idx + 1], kSizeNeeded - idx - 1); in AppendPaddedInt()