/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 750 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/ |
D | enum_definition.tmpl | 17 {%- for enum_field in enum.fields|groupby('numeric_value') %} 18 case {{enum_field[0]}}:
|
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/ |
D | enum_definition.tmpl | 23 {%- for enum_field in enum.fields|groupby('numeric_value') %} 24 case {{enum_field[0]}}:
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_multiple_nano.proto | 46 optional FileScopeEnum enum_field = 1; field 54 optional MessageScopeEnum enum_field = 1; field
|
/external/python/apitools/apitools/base/py/ |
D | base_api_test.py | 60 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)
|
D | util_test.py | 39 enum_field = messages.EnumField('AnEnum', 2) variable in MessageWithRemappings
|
D | encoding_test.py | 124 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/ |
D | enum_macros.tmpl | 63 {%- for enum_field in enum.fields|groupby('numeric_value') %} 64 case {{enum_field[0]}}:
|
/external/protobuf/src/google/protobuf/ |
D | lite_unittest.cc | 704 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()
|
D | unittest_lite.proto | 401 optional V1EnumLite enum_field = 2 [ default = V1_FIRST ]; field 406 optional V2EnumLite enum_field = 2 [ default = V2_FIRST ]; field
|
D | descriptor_unittest.cc | 2244 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/ |
D | test_bad_identifiers.proto | 131 repeated TestEnum enum_field = 2; field
|
/external/protobuf/js/ |
D | test.proto | 143 optional Enum enum_field = 4 [default=E1]; field
|
/external/protobuf/objectivec/Tests/ |
D | unittest_objc.proto | 412 optional OneBasedEnum enum_field = 1; field
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 928 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()
|