Home
last modified time | relevance | path

Searched refs:TYPE_ENUM (Results 1 – 25 of 59) sorted by relevance

123

/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py187 _FieldDescriptor.TYPE_ENUM: wire_format.EnumByteSize,
210 _FieldDescriptor.TYPE_ENUM: encoder.EnumEncoder,
233 _FieldDescriptor.TYPE_ENUM: encoder.EnumSizer,
256 _FieldDescriptor.TYPE_ENUM: decoder.EnumDecoder,
281 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc157 case FieldDescriptor::TYPE_ENUM: in type_name()
213 case FieldDescriptor::TYPE_ENUM: in has_default_value()
255 case FieldDescriptor::TYPE_ENUM: in is_nullable_type()
308 case FieldDescriptor::TYPE_ENUM: in default_value()
384 case FieldDescriptor::TYPE_ENUM: in capitalized_type_name()
Dcsharp_helpers.cc91 case FieldDescriptor::TYPE_ENUM: in GetCSharpType()
397 case FieldDescriptor::TYPE_ENUM : return -1; in GetFixedSize()
480 case FieldDescriptor::TYPE_ENUM: in CreateFieldGenerator()
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py253 _FieldDescriptor.TYPE_ENUM: wire_format.EnumByteSize,
276 _FieldDescriptor.TYPE_ENUM: encoder.EnumEncoder,
299 _FieldDescriptor.TYPE_ENUM: encoder.EnumSizer,
322 _FieldDescriptor.TYPE_ENUM: decoder.EnumDecoder,
347 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc208 Field::TYPE_ENUM, "optional_nested_enum", 21)); in TEST_F()
210 Field::TYPE_ENUM, "optional_foreign_enum", 22)); in TEST_F()
264 Field::TYPE_ENUM, "repeated_nested_enum", 51)); in TEST_F()
266 Field::TYPE_ENUM, "repeated_foreign_enum", 52)); in TEST_F()
Dtype_resolver_util.cc168 } else if (descriptor->type() == FieldDescriptor::TYPE_ENUM) { in ConvertFieldDescriptor()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java71 public static final int TYPE_ENUM = InternalNano.TYPE_ENUM; field in Extension
435 case TYPE_ENUM: in writeSingularData()
544 case TYPE_ENUM: in writeRepeatedData()
617 case TYPE_ENUM: in computePackedDataSize()
684 case TYPE_ENUM: in computeSingularSerializedSize()
DInternalNano.java64 public static final int TYPE_ENUM = 14; field in InternalNano
353 case TYPE_ENUM: in primitiveDefaultValue()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc294 case FieldDescriptor::TYPE_ENUM: in GetJavaType()
366 case FieldDescriptor::TYPE_ENUM : return "ENUM"; in FieldTypeName()
641 case FieldDescriptor::TYPE_ENUM : return "Enum"; in GetCapitalizedType()
671 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py612 field_proto.type = descriptor.FieldDescriptor.TYPE_ENUM
621 if field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
636 elif field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
654 elif field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
Ddescriptor.py435 TYPE_ENUM = 14 variable in FieldDescriptor
461 TYPE_ENUM: CPPTYPE_ENUM,
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py399 field_proto.type = descriptor.FieldDescriptor.TYPE_ENUM
408 if field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
423 elif field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
Ddescriptor.py375 TYPE_ENUM = 14 variable in FieldDescriptor
401 TYPE_ENUM: CPPTYPE_ENUM,
/external/protobuf/src/google/protobuf/
Dwire_format.cc165 int, WireFormatLite::TYPE_ENUM>(input, &value)) { in ReadPackedEnumPreserveUnknowns()
531 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField()
534 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField()
605 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField()
607 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField()
895 case FieldDescriptor::TYPE_ENUM: { in SerializeFieldWithCachedSizes()
1080 case FieldDescriptor::TYPE_ENUM: { in FieldDataOnlyByteSize()
Dextension_set.cc133 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_ENUM); in RegisterExtension()
157 GOOGLE_CHECK_EQ(type, WireFormatLite::TYPE_ENUM); in RegisterEnumExtension()
1200 case WireFormatLite::TYPE_ENUM: in ParseFieldWithExtensionInfo()
1203 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseFieldWithExtensionInfo()
1207 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, in ParseFieldWithExtensionInfo()
1258 case WireFormatLite::TYPE_ENUM: { in ParseFieldWithExtensionInfo()
1260 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseFieldWithExtensionInfo()
1268 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, value, in ParseFieldWithExtensionInfo()
1271 SetEnum(number, WireFormatLite::TYPE_ENUM, value, in ParseFieldWithExtensionInfo()
Ddescriptor_unittest.cc555 FieldDescriptorProto::TYPE_ENUM) in SetUp()
830 EXPECT_EQ(FieldDescriptor::TYPE_ENUM , bar_->type()); in TEST_F()
1738 FieldDescriptorProto::TYPE_ENUM) in SetUp()
1806 EXPECT_EQ(FieldDescriptor::TYPE_ENUM , foo_file_->extension(1)->type()); in TEST_F()
1994 } else if (type == FieldDescriptor::TYPE_ENUM) { in GetFieldDescriptorOfType()
2060 EXPECT_STREQ("enum" , GetTypeNameForFieldType(FD::TYPE_ENUM )); in TEST_F()
2085 EXPECT_STREQ("enum" , FD::TypeName(FD::TYPE_ENUM )); in TEST_F()
2110 EXPECT_EQ(FD::CPPTYPE_ENUM , GetCppTypeForFieldType(FD::TYPE_ENUM )); in TEST_F()
2135 EXPECT_STREQ("enum" , GetCppTypeNameForFieldType(FD::TYPE_ENUM )); in TEST_F()
2177 EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_ENUM )); in TEST_F()
[all …]
Dwire_format_lite.cc301 int, WireFormatLite::TYPE_ENUM>(input, &value)) { in ReadPackedEnumNoInline()
324 int, WireFormatLite::TYPE_ENUM>(input, &value)) { in ReadPackedEnumPreserveUnknowns()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc94 val->type() == FieldDescriptor::TYPE_ENUM) { in SetMessageVariables()
191 value_field->type() != FieldDescriptor::TYPE_ENUM) { in GenerateMergeFromCodedStream()
/external/mesa3d/src/mesa/main/
Dget.c103 TYPE_ENUM, enumerator
206 #define BUFFER_ENUM(field) BUFFER_FIELD(field, TYPE_ENUM)
213 #define CONTEXT_ENUM(field) CONTEXT_FIELD(field, TYPE_ENUM)
233 #define ARRAY_ENUM(field) ARRAY_FIELD(field, TYPE_ENUM)
1476 case TYPE_ENUM: in _mesa_GetBooleanv()
1569 case TYPE_ENUM: in _mesa_GetFloatv()
1682 case TYPE_ENUM: in _mesa_GetIntegerv()
1781 case TYPE_ENUM: in _mesa_GetInteger64v()
1884 case TYPE_ENUM: in _mesa_GetDoublev()
2516 case TYPE_ENUM: in _mesa_GetFloati_v()
[all …]
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h40 { GL_STENCIL_FAIL, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, NO_EXTRA },
41 { GL_STENCIL_FUNC, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, NO_EXTRA },
42 { GL_STENCIL_PASS_DEPTH_FAIL, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, NO_EXTRA },
43 { GL_STENCIL_PASS_DEPTH_PASS, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, NO_EXTRA },
174 …{ GL_TEXTURE_COORD_ARRAY_TYPE, LOC_CUSTOM, TYPE_ENUM, offsetof(struct gl_array_attributes, Type), …
188 …SIZE_ARRAY_TYPE_OES, ARRAY_FIELD(VertexAttrib[VERT_ATTRIB_POINT_SIZE].Type, TYPE_ENUM), NO_EXTRA },
227 { GL_READ_BUFFER, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, extra_NV_read_buffer_api_gl },
450 { GL_LIST_MODE, LOC_CUSTOM, TYPE_ENUM, 0, NO_EXTRA },
566 { GL_ACTIVE_STENCIL_FACE_EXT, LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, NO_EXTRA },
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc112 case FieldDescriptor::TYPE_ENUM : return "Enum" ; in GetCapitalizedType()
142 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_extension.cc66 case FieldDescriptor::TYPE_ENUM : return "TYPE_ENUM" ; in GetTypeConstantName()
Djavanano_primitive_field.cc114 case FieldDescriptor::TYPE_ENUM : return "Enum" ; in GetCapitalizedType()
144 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.h72 TYPE_ENUM = 8, enumerator
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc106 case FieldDescriptor::TYPE_ENUM: return "enum"; in TypeName()
344 (field->type() == FieldDescriptor::TYPE_ENUM && in UsesTypeFromFile()

123