Home
last modified time | relevance | path

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

/art/runtime/
Dexperimental_flags.h33 constexpr ExperimentalFlags(decltype(kNone) t) : value_(static_cast<uint32_t>(t)) {} in ExperimentalFlags()
35 constexpr operator decltype(kNone)() const { in decltype() function
36 return static_cast<decltype(kNone)>(value_); in decltype()
43 constexpr ExperimentalFlags operator|(const decltype(kNone)& b) const {
44 return static_cast<decltype(kNone)>(value_ | static_cast<uint32_t>(b));
47 return static_cast<decltype(kNone)>(value_ | b.value_);
51 return static_cast<decltype(kNone)>(value_ & b.value_);
53 constexpr ExperimentalFlags operator&(const decltype(kNone)& b) const { in decltype() function
54 return static_cast<decltype(kNone)>(value_ & static_cast<uint32_t>(b)); in decltype()
77 inline std::ostream& operator<<(std::ostream& stream, const decltype(ExperimentalFlags::kNone)& e) {
Ddex_file_verifier.h216 std::unordered_set<decltype(DexFile::ClassDef::class_idx_)> defined_classes_;
/art/compiler/optimizing/
Dnodes_shared.h69 auto Compute(T x, U y) const -> decltype(x & ~y) {
70 static_assert(std::is_same<decltype(x & ~y), decltype(x | ~y)>::value &&
71 std::is_same<decltype(x & ~y), decltype(x ^ ~y)>::value,
/art/runtime/lambda/
Dshorty_field_type.h64 inline constexpr ShortyFieldType(decltype(kByte) c) : value_(c) { in ShortyFieldType()
97 *out = ShortyFieldType(static_cast<decltype(kByte)>(shorty_field_type)); in MaybeCreate()
289 inline operator decltype(kByte)() const { in decltype() function
328 inline static decltype(kByte) StaticCastValue(const T& anything) { in decltype() function
329 return static_cast<decltype(value_)>(anything); in decltype()
333 decltype(kByte) value_;
435 template <decltype(ShortyFieldType::kByte) Shorty>
Dclosure_builder.h45 using ShortyTypeEnum = decltype(ShortyFieldType::kByte);
Dclosure.cc213 static_assert(ShortyFieldTypeTraits::IsPrimitiveNarrowType<decltype(result)>(), in GetCapturedPrimitiveNarrow()
259 static_assert(ShortyFieldTypeTraits::IsPrimitiveWideType<decltype(result)>(), in GetCapturedPrimitiveWide()
290 static_assert(ShortyFieldTypeTraits::IsObjectType<decltype(result)>(), in GetCapturedObject()
Dshorty_field_type_test.cc222 template <typename T, decltype(ShortyFieldType::kByte) kShortyEnum>
/art/cmdline/detail/
Dcmdline_parser_detail.h38 … std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3]
45 decltype(InsertionOperatorTest(FakeReference<TStream2>(), std::declval<T2>()))::value;
56 … std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3]
63 decltype(EqualityOperatorTest(std::declval<TLeft>(), std::declval<TRight>()))::value;
Dcmdline_parse_argument_detail.h306 : argument_info_(std::forward<decltype(argument_info)>(argument_info)), in CmdlineParseArgument()
307 save_argument_(std::forward<decltype(save_argument)>(save_argument)), in CmdlineParseArgument()
308 load_argument_(std::forward<decltype(load_argument)>(load_argument)) { in CmdlineParseArgument()
/art/runtime/base/
Dmacros.h26 decltype(exp) _rc; \