/external/openscreen/util/ |
D | enum_name_table_unittest.cc | 51 EXPECT_EQ(TestEnum::kFoo, GetEnum(kTestEnumNames, "foo").value()); in TEST() 52 EXPECT_EQ(TestEnum::kBar, GetEnum(kTestEnumNames, "bar").value()); in TEST() 53 EXPECT_EQ(TestEnum::kBaz, GetEnum(kTestEnumNames, "baz").value()); in TEST() 54 EXPECT_EQ(TestEnum::kBuzz, GetEnum(kTestEnumNames, "buzz").value()); in TEST() 58 EXPECT_FALSE(GetEnum(kTestEnumNames, "").is_value()); in TEST() 59 EXPECT_FALSE(GetEnum(kTestEnumNames, "1").is_value()); in TEST() 60 EXPECT_FALSE(GetEnum(kTestEnumNames, "foobar").is_value()); in TEST() 61 EXPECT_FALSE(GetEnum(kTestEnumNamesMissing, "bar").is_value()); in TEST() 62 EXPECT_FALSE(GetEnum(kTestEnumNamesMissing, "baz").is_value()); in TEST() 63 EXPECT_FALSE(GetEnum(kTestEnumNamesMissing, "buzz").is_value()); in TEST() [all …]
|
D | enum_name_table.h | 41 ErrorOr<Enum> GetEnum(const EnumNameTable<Enum, Size>& map, in GetEnum() function
|
/external/openscreen/cast/streaming/ |
D | message_fields.cc | 33 return GetEnum(kAudioCodecNames, name); in StringToAudioCodec() 41 return GetEnum(kVideoCodecNames, name); in StringToVideoCodec()
|
D | sender_message.cc | 34 ErrorOr<SenderMessage::Type> parsed = GetEnum(kMessageTypeNames, type); in GetMessageType()
|
D | receiver_message.cc | 37 ErrorOr<ReceiverMessage::Type> parsed = GetEnum(kMessageTypeNames, type); in GetMessageType()
|
/external/protobuf/src/google/protobuf/ |
D | preserve_unknown_enum_test.cc | 193 const EnumValueDescriptor* enum_value = r->GetEnum(message, field); in TEST() 198 const EnumValueDescriptor* enum_value_second = r->GetEnum(message, field); in TEST() 213 EXPECT_EQ(enum_value, r->GetEnum(*m, field)); in TEST() 233 const EnumValueDescriptor* enum_value = r->GetEnum(message, singular_field); in TEST() 256 EXPECT_EQ(r->GetEnum(message, singular_field)->number(), in TEST()
|
D | test_util.h | 534 reflection->GetEnum(message, F("optional_nested_enum"))); in ExpectAllFieldsSetViaReflection1() 536 reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectAllFieldsSetViaReflection1() 538 reflection->GetEnum(message, F("optional_import_enum"))); in ExpectAllFieldsSetViaReflection1() 792 reflection->GetEnum(message, F("default_nested_enum"))); in ExpectAllFieldsSetViaReflection3() 794 reflection->GetEnum(message, F("default_foreign_enum"))); in ExpectAllFieldsSetViaReflection3() 796 reflection->GetEnum(message, F("default_import_enum"))); in ExpectAllFieldsSetViaReflection3() 954 reflection->GetEnum(message, F("optional_nested_enum"))); in ExpectClearViaReflection() 956 reflection->GetEnum(message, F("optional_foreign_enum"))); in ExpectClearViaReflection() 958 reflection->GetEnum(message, F("optional_import_enum"))); in ExpectClearViaReflection() 1044 reflection->GetEnum(message, F("default_nested_enum"))); in ExpectClearViaReflection() [all …]
|
D | dynamic_message_unittest.cc | 207 reflection->GetEnum(*message, descriptor->FindFieldByName("foo_enum")) in TEST_P() 241 reflection->GetEnum(*message, descriptor->FindFieldByName("bar_enum")) in TEST_P()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_line.cpp | 45 return JSObject()->GetEnum(XFA_Attribute::Hand); in GetHand() 49 return JSObject()->GetEnum(XFA_Attribute::Slope) == XFA_AttributeValue::Slash; in GetSlope()
|
D | cxfa_checkbutton.cpp | 51 return JSObject()->GetEnum(XFA_Attribute::Shape) == XFA_AttributeValue::Round; in IsRound() 55 return JSObject()->GetEnum(XFA_Attribute::Mark); in GetMark()
|
D | cxfa_validate.cpp | 59 return JSObject()->GetEnum(XFA_Attribute::FormatTest); in GetFormatTest() 70 return JSObject()->GetEnum(XFA_Attribute::NullTest); in GetNullTest() 74 return JSObject()->GetEnum(XFA_Attribute::ScriptTest); in GetScriptTest()
|
D | cxfa_stroke.cpp | 91 return JSObject()->GetEnum(XFA_Attribute::Cap); in GetCapType() 95 return JSObject()->GetEnum(XFA_Attribute::Stroke); in GetStrokeType() 136 return JSObject()->GetEnum(XFA_Attribute::Join); in GetJoinType()
|
D | cxfa_image.cpp | 42 return JSObject()->GetEnum(XFA_Attribute::Aspect); in GetAspect() 55 JSObject()->GetEnum(XFA_Attribute::TransferEncoding)); in GetTransferEncoding()
|
D | cxfa_font.cpp | 116 return JSObject()->GetEnum(XFA_Attribute::Weight) == XFA_AttributeValue::Bold; in IsBold() 120 return JSObject()->GetEnum(XFA_Attribute::Posture) == in IsItalic()
|
D | cxfa_button.cpp | 45 return JSObject()->GetEnum(XFA_Attribute::Highlight); in GetHighlight()
|
D | cxfa_choicelist.cpp | 46 return JSObject()->GetEnum(XFA_Attribute::Open) == in GetValueNodeType()
|
D | cxfa_submit.cpp | 49 return JSObject()->GetEnum(XFA_Attribute::Format); in GetSubmitFormat()
|
D | cxfa_script.cpp | 61 return JSObject()->GetEnum(XFA_Attribute::RunAt); in GetRunAt()
|
D | cxfa_event.cpp | 51 return JSObject()->GetEnum(XFA_Attribute::Activity); in GetActivity()
|
D | cxfa_pattern.cpp | 49 return JSObject()->GetEnum(XFA_Attribute::Type); in GetType()
|
D | cxfa_document.cpp | 421 ? pTemplateNodeBind->JSObject()->GetEnum(XFA_Attribute::Match) in FindMatchingDataNode() 770 pDDNode->JSObject()->GetEnum(XFA_Attribute::Contains) == in MaybeCreateDataNode() 879 ? pTemplateNode->JSObject()->GetEnum(XFA_Attribute::Relation) in CopyContainer_SubformSet() 1124 ? pTemplateNodeBind->JSObject()->GetEnum(XFA_Attribute::Match) in UpdateBindingRelations() 1135 pFormNode->JSObject()->GetEnum(XFA_Attribute::Scope) != in UpdateBindingRelations()
|
/external/pdfium/xfa/fxfa/layout/ |
D | cxfa_viewlayoutprocessor.cpp | 371 m_pPageSetNode->JSObject()->GetEnum(XFA_Attribute::Relation); in InitLayoutPage() 450 pBreakNode->JSObject()->GetEnum(XFA_Attribute::Before) != in PrepareFirstPage() 698 pPageSetLayoutItem->GetFormNode()->JSObject()->GetEnum( in FinishPaginatedPageSets() 806 pCurNode->JSObject()->GetEnum(XFA_Attribute::TargetType), in ExecuteBreakBeforeOrAfter() 835 pCurNode->JSObject()->GetEnum( in ExecuteBreakBeforeOrAfter() 1204 pCurrentNode->JSObject()->GetEnum(XFA_Attribute::PagePosition); in FindPageAreaFromPageSet_SimplexDuplex() 1209 pCurrentNode->JSObject()->GetEnum(XFA_Attribute::OddOrEven) == in FindPageAreaFromPageSet_SimplexDuplex() 1225 pCurrentNode->JSObject()->GetEnum(XFA_Attribute::OddOrEven) == in FindPageAreaFromPageSet_SimplexDuplex() 1412 pPageSetNode->JSObject()->GetEnum(XFA_Attribute::Relation); in InitPageSetMap() 1961 pNode->JSObject()->GetEnum(XFA_Attribute::PagePosition); in ProcessSimplexOrDuplexPageSets() [all …]
|
D | cxfa_viewlayoutitem.cpp | 52 if (pMedium->JSObject()->GetEnum(XFA_Attribute::Orientation) == in GetPageSize()
|
D | cxfa_contentlayoutprocessor.cpp | 274 pParaNode->JSObject()->GetEnum(XFA_Attribute::VAlign); in RelocateTableRowCells() 313 if (pLayoutRow->GetFormNode()->JSObject()->GetEnum(XFA_Attribute::Layout) == in RelocateTableRowCells() 417 if (pBreakNode->JSObject()->GetEnum(eAttributeType) == in FindBreakNode() 549 pNode->JSObject()->GetEnum(XFA_Attribute::AnchorType); in CalculatePositionedContainerPos() 1216 pLayoutChild->GetFormNode()->JSObject()->GetEnum( in DoLayoutTableContainer() 1307 pLayoutChild->GetFormNode()->JSObject()->GetEnum( in DoLayoutTableContainer() 1320 switch (pLayoutChild->GetFormNode()->JSObject()->GetEnum( in DoLayoutTableContainer() 1366 GetFormNode()->JSObject()->GetEnum(XFA_Attribute::Layout); in IsAddNewRowForTrailer() 1583 HAlignEnumToInt(pLayoutNext->GetFormNode()->JSObject()->GetEnum( in DoLayoutFlowedContainer() 2138 pLayoutItem->GetFormNode()->JSObject()->GetEnum(XFA_Attribute::Layout); in UpdatePendingItemLayout() [all …]
|
/external/pdfium/fxjs/xfa/ |
D | cjx_object.h | 193 XFA_AttributeValue GetEnum(XFA_Attribute eAttr) const;
|