Home
last modified time | relevance | path

Searched refs:GetEnum (Results 1 – 25 of 43) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc193 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()
Dtest_util.h534 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 …]
Ddynamic_message_unittest.cc207 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/
Dcxfa_line.cpp45 return JSObject()->GetEnum(XFA_Attribute::Hand); in GetHand()
49 return JSObject()->GetEnum(XFA_Attribute::Slope) == XFA_AttributeValue::Slash; in GetSlope()
Dcxfa_checkbutton.cpp51 return JSObject()->GetEnum(XFA_Attribute::Shape) == XFA_AttributeValue::Round; in IsRound()
55 return JSObject()->GetEnum(XFA_Attribute::Mark); in GetMark()
Dcxfa_stroke.cpp91 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()
Dcxfa_validate.cpp59 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()
Dcxfa_image.cpp42 return JSObject()->GetEnum(XFA_Attribute::Aspect); in GetAspect()
55 JSObject()->GetEnum(XFA_Attribute::TransferEncoding)); in GetTransferEncoding()
Dcxfa_font.cpp116 return JSObject()->GetEnum(XFA_Attribute::Weight) == XFA_AttributeValue::Bold; in IsBold()
120 return JSObject()->GetEnum(XFA_Attribute::Posture) == in IsItalic()
Dcxfa_button.cpp45 return JSObject()->GetEnum(XFA_Attribute::Highlight); in GetHighlight()
Dcxfa_choicelist.cpp46 return JSObject()->GetEnum(XFA_Attribute::Open) == in GetValueNodeType()
Dcxfa_submit.cpp49 return JSObject()->GetEnum(XFA_Attribute::Format); in GetSubmitFormat()
Dcxfa_script.cpp61 return JSObject()->GetEnum(XFA_Attribute::RunAt); in GetRunAt()
Dcxfa_event.cpp51 return JSObject()->GetEnum(XFA_Attribute::Activity); in GetActivity()
Dcxfa_pattern.cpp49 return JSObject()->GetEnum(XFA_Attribute::Type); in GetType()
Dcxfa_document.cpp421 ? 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()
Dcxfa_box.cpp80 return JSObject()->GetEnum(XFA_Attribute::Hand); in GetHand()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_viewlayoutprocessor.cpp371 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 …]
Dcxfa_viewlayoutitem.cpp52 if (pMedium->JSObject()->GetEnum(XFA_Attribute::Orientation) == in GetPageSize()
Dcxfa_contentlayoutprocessor.cpp274 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/
Dcjx_object.h193 XFA_AttributeValue GetEnum(XFA_Attribute eAttr) const;
/external/perfetto/src/trace_processor/util/
Dproto_to_json.cc85 : ref->GetEnum(message, field_desc)->name()); in FieldToJson()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc233 : reflection->GetEnum(options, field); in ConvertOptionField()
/external/flatbuffers/tests/
Dtest.cpp2176 TEST_EQ(cts->GetEnum<Character>(0) == Character_Belle, true); in UnionVectorTest()
2177 TEST_EQ(cts->GetEnum<Character>(1) == Character_MuLan, true); in UnionVectorTest()
2178 TEST_EQ(cts->GetEnum<Character>(2) == Character_BookFan, true); in UnionVectorTest()
2179 TEST_EQ(cts->GetEnum<Character>(3) == Character_Other, true); in UnionVectorTest()
2180 TEST_EQ(cts->GetEnum<Character>(4) == Character_Unused, true); in UnionVectorTest()
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h517 …cters[_i].value = CharacterUnion::UnPack(_e->Get(_i), characters_type()->GetEnum<Character>(_i), _… in UnPackTo()
575 verifier, values->Get(i), types->GetEnum<Character>(i))) { in VerifyCharacterVector()

12