Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/cpp/bindings/lib/
Dnative_enum_serialization.h29 static_assert(sizeof(NativeEnum) >= sizeof(int),
58 static void Serialize(NativeEnum input, int32_t* output) { in Serialize()
61 static bool Deserialize(int32_t input, NativeEnum* output) { in Deserialize()
62 *output = static_cast<NativeEnum>(input); in Deserialize()
68 struct NativeEnumSerializerImpl<NativeEnum>
72 struct NativeEnumSerializerImpl<const NativeEnum>
76 struct Serializer<NativeEnum, MaybeConstUserType>
/external/libmojo/mojo/public/cpp/bindings/
Dnative_enum.h16 enum class NativeEnum : int32_t {}; enum
23 struct hash<mojo::NativeEnum>
24 : public mojo::internal::EnumHashImpl<mojo::NativeEnum> {};
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_declaration.tmpl31 using {{enum.name}} = mojo::NativeEnum;
Dwrapper_class_declaration.tmpl11 using {{enum.name}} = mojo::NativeEnum;
Dmodule.h.tmpl93 using {{enum.name}} = mojo::NativeEnum;