Home
last modified time | relevance | path

Searched refs:enum_field (Results 1 – 15 of 15) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py750 enum_field = nested_type.field.add()
751 enum_field.number = 2
752 enum_field.name = 'bar_field'
753 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
754 enum_field.type = descriptor.FieldDescriptor.TYPE_ENUM
755 enum_field.type_name = 'Foo2.Sub.FOO'
784 enum_field = message_type.field.add()
785 enum_field.number = 2
786 enum_field.name = 'bar_field'
787 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Denum_definition.tmpl17 {%- for enum_field in enum.fields|groupby('numeric_value') %}
18 case {{enum_field[0]}}:
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Denum_definition.tmpl23 {%- for enum_field in enum.fields|groupby('numeric_value') %}
24 case {{enum_field[0]}}:
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_multiple_nano.proto46 optional FileScopeEnum enum_field = 1; field
54 optional MessageScopeEnum enum_field = 1; field
/external/python/apitools/apitools/base/py/
Dbase_api_test.py60 enum_field = messages.EnumField('AnEnum', 2) variable in MessageWithRemappings
278 str_field='foo', enum_field=MessageWithRemappings.AnEnum.value_one)
292 enum_field=MessageWithRemappings.AnEnum.value_one)
Dutil_test.py39 enum_field = messages.EnumField('AnEnum', 2) variable in MessageWithRemappings
Dencoding_test.py124 enum_field = messages.EnumField(SomeEnum, 1) variable in MessageWithRemappings
338 enum_field=MessageWithRemappings.SomeEnum.enum_value)
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Denum_macros.tmpl63 {%- for enum_field in enum.fields|groupby('numeric_value') %}
64 case {{enum_field[0]}}:
/external/protobuf/src/google/protobuf/
Dlite_unittest.cc704 EXPECT_EQ(v1_message.enum_field(), protobuf_unittest::V1_FIRST); in main()
713 EXPECT_EQ(v2_message.enum_field(), same_v2_message.enum_field()); in main()
Dunittest_lite.proto401 optional V1EnumLite enum_field = 2 [ default = V1_FIRST ]; field
406 optional V2EnumLite enum_field = 2 [ default = V2_FIRST ]; field
Ddescriptor_unittest.cc2244 FieldDescriptorProto* enum_field = in TEST_F() local
2246 enum_field->set_type_name("DummyEnum"); in TEST_F()
2247 enum_field->set_default_value("B"); in TEST_F()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto131 repeated TestEnum enum_field = 2; field
/external/protobuf/js/
Dtest.proto143 optional Enum enum_field = 4 [default=E1]; field
/external/protobuf/objectivec/Tests/
Dunittest_objc.proto412 optional OneBasedEnum enum_field = 1; field
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc928 PyObject* enum_field = PyObject_GetAttrString(dtype_field, "_type_enum"); in FastTensorDtype() local
933 tensorflow::int64 id = MakeInt(enum_field); in FastTensorDtype()
934 Py_DECREF(enum_field); in FastTensorDtype()