Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DDwarf.h582 template <typename Enum> struct EnumTraits : public std::false_type {}; struct
584 template <> struct EnumTraits<Attribute> : public std::true_type {
589 template <> struct EnumTraits<Form> : public std::true_type {
594 template <> struct EnumTraits<Index> : public std::true_type {
599 template <> struct EnumTraits<Tag> : public std::true_type {
612 Enum, typename std::enable_if<dwarf::EnumTraits<Enum>::value>::type> {
614 StringRef Str = dwarf::EnumTraits<Enum>::StringFn(E);
616 OS << "DW_" << dwarf::EnumTraits<Enum>::Type << "_unknown_"
/external/libchrome/mojo/public/cpp/base/
Dthread_priority_unittest.cc20 mojo::EnumTraits<mojo_base::mojom::ThreadPriority, in TEST()
23 (mojo::EnumTraits<mojo_base::mojom::ThreadPriority, in TEST()
Dtext_direction_unittest.cc20 mojo::EnumTraits<mojo_base::mojom::TextDirection, in TEST()
22 ASSERT_TRUE((mojo::EnumTraits< in TEST()
Dtext_direction_mojom_traits.cc11 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>::ToMojom( in ToMojom()
26 bool EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>::
Dthread_priority_mojom_traits.cc11 EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority>::ToMojom( in ToMojom()
28 bool EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority>::
Dthread_priority_mojom_traits.h15 EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority> { in COMPONENT_EXPORT()
Dtext_direction_mojom_traits.h16 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection> { in COMPONENT_EXPORT()
Dfile_error_mojom_traits.h14 struct EnumTraits<mojo_base::mojom::FileError, base::File::Error> {
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Denum_serialization_declaration.tmpl5 struct EnumTraits<{{mojom_type}}, {{mojom_type}}> {
18 using Traits = EnumTraits<{{mojom_type}}, UserType>;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_with_traits_impl_traits.cc26 EnumTraits<test::EnumWithTraits, test::EnumWithTraitsImpl>::ToMojom( in ToMojom()
39 bool EnumTraits<test::EnumWithTraits, test::EnumWithTraitsImpl>::FromMojom( in FromMojom()
Dstruct_with_traits_impl_traits.h30 struct EnumTraits<test::EnumWithTraits, test::EnumWithTraitsImpl> {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/BinaryFormat/
DDwarf.cpp692 constexpr char llvm::dwarf::EnumTraits<Attribute>::Type[];
693 constexpr char llvm::dwarf::EnumTraits<Form>::Type[];
694 constexpr char llvm::dwarf::EnumTraits<Index>::Type[];
695 constexpr char llvm::dwarf::EnumTraits<Tag>::Type[];
/external/libchrome/mojo/public/cpp/bindings/
Denum_traits.h25 struct EnumTraits { struct
DREADME.md1449 | `FooEnum` | Value of any type that has an appropriate `EnumTraits` specializat…
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbindings_internal.h325 bool result = EnumTraits<MojomType, T>::FromMojom(input, &output);