Home
last modified time | relevance | path

Searched refs:CPPTYPE_ENUM (Results 1 – 25 of 41) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc151 case FieldDescriptor::CPPTYPE_ENUM: in MakeGenerator()
166 case FieldDescriptor::CPPTYPE_ENUM: in MakeGenerator()
181 case FieldDescriptor::CPPTYPE_ENUM: in MakeGenerator()
Dcpp_extension.cc69 case FieldDescriptor::CPPTYPE_ENUM: in ExtensionGenerator()
180 case FieldDescriptor::CPPTYPE_ENUM: in GenerateRegistration()
Dcpp_map_field.cc69 case FieldDescriptor::CPPTYPE_ENUM: in SetMessageVariables()
201 case FieldDescriptor::CPPTYPE_ENUM: in GenerateMergeFromCodedStream()
Dcpp_helpers.cc299 case FieldDescriptor::CPPTYPE_ENUM : return "int"; in PrimitiveTypeName()
406 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValue()
582 case FieldDescriptor::CPPTYPE_ENUM: in IsStringOrMessage()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc122 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >); in FieldSpaceUsed()
147 case FD::CPPTYPE_ENUM : return sizeof(int ); in FieldSpaceUsed()
178 case FD::CPPTYPE_ENUM : return sizeof(int ); in OneofFieldSpaceUsed()
372 case FieldDescriptor::CPPTYPE_ENUM: in SharedCtor()
833 case FieldDescriptor::CPPTYPE_ENUM: in ConstructDefaultOneofInstance()
Dmap_field.cc306 case google::protobuf::FieldDescriptor::CPPTYPE_ENUM: in SyncRepeatedFieldWithMapNoLock()
337 case google::protobuf::FieldDescriptor::CPPTYPE_ENUM: in SyncRepeatedFieldWithMapNoLock()
388 case google::protobuf::FieldDescriptor::CPPTYPE_ENUM: in SyncMapWithRepeatedFieldNoLock()
Dmap.h186 case FieldDescriptor::CPPTYPE_ENUM:
214 case FieldDescriptor::CPPTYPE_ENUM:
240 case FieldDescriptor::CPPTYPE_ENUM: in CopyFrom()
328 TYPE_CHECK(FieldDescriptor::CPPTYPE_ENUM, in SetEnumValue()
374 TYPE_CHECK(FieldDescriptor::CPPTYPE_ENUM, in GetEnumValue()
1693 case google::protobuf::FieldDescriptor::CPPTYPE_ENUM:
Dextension_set.cc388 case WireFormatLite::CPPTYPE_ENUM: in MutableRawRepeatedField()
438 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in SetEnum()
467 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); in AddEnum()
797 case WireFormatLite::CPPTYPE_ENUM: in RemoveLast()
848 case WireFormatLite::CPPTYPE_ENUM: in SwapElements()
Drepeated_field_reflection.h286 FieldDescriptor::CPPTYPE_ENUM;
Dgenerated_message_reflection.cc347 case FieldDescriptor::CPPTYPE_ENUM : in SpaceUsed()
833 case FieldDescriptor::CPPTYPE_ENUM: in ClearField()
2056 case FieldDescriptor::CPPTYPE_ENUM: in HasBit()
2240 (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM && in RepeatedFieldData()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc159 case FieldDescriptor::CPPTYPE_ENUM: { in AssignItem()
251 case FieldDescriptor::CPPTYPE_ENUM: { in Item()
403 case FieldDescriptor::CPPTYPE_ENUM: { in Append()
Dmap_container.cc222 case FieldDescriptor::CPPTYPE_ENUM: in MapValueRefToPython()
282 case FieldDescriptor::CPPTYPE_ENUM: { in PythonToMapValueRef()
Dmessage.cc1130 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in CheckAndGetInteger()
1181 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in CheckAndGetInteger()
1445 field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in CheckAndGetInteger()
1684 if (field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_ENUM && in CheckAndGetInteger()
2276 case FieldDescriptor::CPPTYPE_ENUM: { in CheckAndGetInteger()
2389 case FieldDescriptor::CPPTYPE_ENUM: { in CheckAndGetInteger()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc410 && field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in DefaultValue()
467 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValue()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc135 } else if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField()
157 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in GenerateField()
/external/tensorflow/tensorflow/tools/proto_text/
Dgen_proto_text_functions_lib.cc278 case FieldDescriptor::CPPTYPE_ENUM: in AppendFieldValueAppend()
530 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { in AppendParseMessageFunction()
744 case FieldDescriptor::CPPTYPE_ENUM: in GetAllFileDescriptorsFromMessage()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc768 case FieldDescriptor::CPPTYPE_ENUM: in JSFieldDefault()
883 case FieldDescriptor::CPPTYPE_ENUM: in JSTypeName()
901 (field->cpp_type() != FieldDescriptor::CPPTYPE_ENUM && in JSFieldTypeAnnotation()
1050 assert(field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM || in RelativeTypeName()
1056 string type = (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) ? in RelativeTypeName()
1215 case FieldDescriptor::CPPTYPE_ENUM: in Proto3PrimitiveFieldDefault()
1616 if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM && in FindRequiresForField()
2578 case FieldDescriptor::CPPTYPE_ENUM: in GenerateClassSerializeBinaryField()
/external/protobuf/src/google/protobuf/util/
Dfield_comparator.cc86 case FieldDescriptor::CPPTYPE_ENUM: in Compare()
Dtype_resolver_util.cc236 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValueAsString()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc450 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValue()
486 case FieldDescriptor::CPPTYPE_ENUM: in IsDefaultValueJavaDefault()
/external/protobuf/python/google/protobuf/
Djson_format.py179 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM:
554 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM:
Ddescriptor.py453 CPPTYPE_ENUM = 8 variable in FieldDescriptor
461 TYPE_ENUM: CPPTYPE_ENUM,
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc670 case FieldDescriptor::CPPTYPE_ENUM: in GPBGenericValueFieldName()
742 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValue()
787 case FieldDescriptor::CPPTYPE_ENUM: in HasNonZeroDefaultValue()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc338 case FieldDescriptor::CPPTYPE_ENUM: in DefaultValue()
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py77 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:

12