Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/BinaryFormat/
DDwarf.h719 template <typename Enum> struct EnumTraits : public std::false_type {}; struct
721 template <> struct EnumTraits<Attribute> : public std::true_type {
726 template <> struct EnumTraits<Form> : public std::true_type {
731 template <> struct EnumTraits<Index> : public std::true_type {
736 template <> struct EnumTraits<Tag> : public std::true_type {
741 template <> struct EnumTraits<LineNumberOps> : public std::true_type {
746 template <> struct EnumTraits<LocationAtom> : public std::true_type {
763 struct format_provider<Enum, std::enable_if_t<dwarf::EnumTraits<Enum>::value>> {
765 StringRef Str = dwarf::EnumTraits<Enum>::StringFn(E);
767 OS << "DW_" << dwarf::EnumTraits<Enum>::Type << "_unknown_"
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.h636 template <typename Enum> struct EnumTraits : public std::false_type {}; struct
638 template <> struct EnumTraits<Attribute> : public std::true_type {
643 template <> struct EnumTraits<Form> : public std::true_type {
648 template <> struct EnumTraits<Index> : public std::true_type {
653 template <> struct EnumTraits<Tag> : public std::true_type {
666 Enum, typename std::enable_if<dwarf::EnumTraits<Enum>::value>::type> {
668 StringRef Str = dwarf::EnumTraits<Enum>::StringFn(E);
670 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/llvm-project/llvm/lib/BinaryFormat/
DDwarf.cpp809 constexpr char llvm::dwarf::EnumTraits<Attribute>::Type[];
810 constexpr char llvm::dwarf::EnumTraits<Form>::Type[];
811 constexpr char llvm::dwarf::EnumTraits<Index>::Type[];
812 constexpr char llvm::dwarf::EnumTraits<Tag>::Type[];
813 constexpr char llvm::dwarf::EnumTraits<LineNumberOps>::Type[];
814 constexpr char llvm::dwarf::EnumTraits<LocationAtom>::Type[];
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DDwarf.cpp756 constexpr char llvm::dwarf::EnumTraits<Attribute>::Type[];
757 constexpr char llvm::dwarf::EnumTraits<Form>::Type[];
758 constexpr char llvm::dwarf::EnumTraits<Index>::Type[];
759 constexpr char llvm::dwarf::EnumTraits<Tag>::Type[];
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbindings_internal.h325 bool result = EnumTraits<MojomType, T>::FromMojom(input, &output);
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1119 template <typename Ty> struct EnumTraits {}; struct
1122 template <> struct EnumTraits<Ty> { \
1136 names.push_back(EnumTraits<EnumTy>::stringify(static_cast<EnumTy>(i))); in parseOptionalLLVMKeyword()