Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/trace/
DTraceBuffer.cpp35 constexpr char kBegin = 'B'; variable
90 tracebuffer::Add(tag, tracebuffer::kBegin); in BeginTrace()
98 tracebuffer::Add(tag, tracebuffer::kBegin); in Trace()
109 tracebuffer::Add(s.str(), tracebuffer::kBegin); in Trace()
118 tracebuffer::Add(tag, tracebuffer::kBegin); in FlushTrace()
130 tracebuffer::Add(s.str(), tracebuffer::kBegin); in FlushTrace()
142 tracebuffer::Add(s.str(), tracebuffer::kBegin); in FlushTrace()
/frameworks/native/include/ftl/
Denum.h153 static constexpr auto kBegin = to_underlying(enum_begin_v<E>);
155 static_assert(kBegin < kEnd, "Invalid range");
157 static constexpr std::size_t value = kEnd - kBegin;
179 static constexpr auto kBegin = to_underlying(enum_begin_v<E>);
183 const R values[kSize] = {F<static_cast<E>(Vs + kBegin)>::value...};
244 constexpr auto kBegin = to_underlying(enum_begin_v<E>);
246 if (value < kBegin || value > kLast) return {};
249 return kRange.values[value - kBegin];