Home
last modified time | relevance | path

Searched refs:EnumNameTable (Results 1 – 6 of 6) sorted by relevance

/external/openscreen/util/
Denum_name_table_unittest.cc16 constexpr EnumNameTable<TestEnum, 4> kTestEnumNames{{
23 constexpr EnumNameTable<TestEnum, 1> kTestEnumNamesMissing{{
27 constexpr EnumNameTable<TestEnum, 0> kTestEnumNamesEmpty{};
31 TEST(EnumNameTable, GetEnumNameValid) { in TEST() argument
38 TEST(EnumNameTable, GetEnumNameMissing) { in TEST() argument
44 TEST(EnumNameTable, GetEnumNameEmpty) { in TEST() argument
50 TEST(EnumNameTable, GetEnumValid) { in TEST() argument
57 TEST(EnumNameTable, GetEnumMissing) { in TEST() argument
66 TEST(EnumNameTable, GetEnumEmpty) { in TEST() argument
Denum_name_table.h25 using EnumNameTable = std::array<std::pair<const char*, Enum>, Size>; variable
29 ErrorOr<const char*> GetEnumName(const EnumNameTable<Enum, Size>& map, in GetEnumName()
41 ErrorOr<Enum> GetEnum(const EnumNameTable<Enum, Size>& map, in GetEnum()
/external/openscreen/cast/streaming/
Dmessage_fields.cc17 constexpr EnumNameTable<AudioCodec, 2> kAudioCodecNames{
20 constexpr EnumNameTable<VideoCodec, 4> kVideoCodecNames{
Dsender_message.cc21 EnumNameTable<SenderMessage::Type, 4> kMessageTypeNames{
Dreceiver_message.cc24 EnumNameTable<ReceiverMessage::Type, 5> kMessageTypeNames{
Doffer_messages.cc283 EnumNameTable<CastMode, 2> kCastModeNames{