Searched refs:EnumNameTable (Results 1 – 6 of 6) sorted by relevance
/external/openscreen/util/ |
D | enum_name_table_unittest.cc | 16 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
|
D | enum_name_table.h | 25 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/ |
D | message_fields.cc | 17 constexpr EnumNameTable<AudioCodec, 2> kAudioCodecNames{ 20 constexpr EnumNameTable<VideoCodec, 4> kVideoCodecNames{
|
D | sender_message.cc | 21 EnumNameTable<SenderMessage::Type, 4> kMessageTypeNames{
|
D | receiver_message.cc | 24 EnumNameTable<ReceiverMessage::Type, 5> kMessageTypeNames{
|
D | offer_messages.cc | 283 EnumNameTable<CastMode, 2> kCastModeNames{
|