Home
last modified time | relevance | path

Searched refs:value_descriptor (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Denum_type_wrapper.py71 return [value_descriptor.name
72 for value_descriptor in self._enum_type.values]
80 return [value_descriptor.number
81 for value_descriptor in self._enum_type.values]
88 return [(value_descriptor.name, value_descriptor.number)
89 for value_descriptor in self._enum_type.values]
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_map_field.cc89 const FieldDescriptor* value_descriptor = in MapFieldGenerator() local
91 value_field_generator_.reset(FieldGenerator::Make(value_descriptor, options)); in MapFieldGenerator()
117 ObjectiveCType value_objc_type = GetObjectiveCType(value_descriptor); in MapFieldGenerator()
131 class_name += MapEntryTypeName(value_descriptor, false); in MapFieldGenerator()
153 const FieldDescriptor* value_descriptor = in FinishInitialization() local
155 if (GetObjectiveCType(value_descriptor) == OBJECTIVECTYPE_ENUM) { in FinishInitialization()
164 const FieldDescriptor* value_descriptor = in DetermineForwardDeclarations() local
166 if (GetObjectiveCType(value_descriptor) == OBJECTIVECTYPE_MESSAGE) { in DetermineForwardDeclarations()
/external/protobuf/php/src/Google/Protobuf/Internal/
DEnumDescriptor.php16 private $value_descriptor = []; variable in Google\\Protobuf\\Internal\\EnumDescriptor
37 $this->value_descriptor[] = new EnumValueDescriptor($value->getName(), $number);
58 if (isset($this->value_descriptor[$index])) {
59 return $this->value_descriptor[$index];
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_map_field.cc61 const FieldDescriptor* value_descriptor = in GenerateMembers() local
64 variables_["value_type_name"] = type_name(value_descriptor); in GenerateMembers()
68 CreateFieldGenerator(value_descriptor, 2, this->options())); in GenerateMembers()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc289 const EnumValueDescriptor* value_descriptor = descriptor->value(i); in ConvertEnumDescriptor() local
291 value->set_name(value_descriptor->name()); in ConvertEnumDescriptor()
292 value->set_number(value_descriptor->number()); in ConvertEnumDescriptor()
294 ConvertEnumValueOptions(value_descriptor->options(), in ConvertEnumDescriptor()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc477 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(j); in PrintTopLevelEnums() local
479 std::make_pair(value_descriptor.name(), value_descriptor.number())); in PrintTopLevelEnums()
1337 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(i); in FixOptionsForEnum() local
1339 OptionsValue(value_descriptor.options().SerializeAsString()); in FixOptionsForEnum()
1343 value_descriptor.name().c_str()), in FixOptionsForEnum()
/external/libprotobuf-mutator/src/
Dfield_instance.h143 const protobuf::EnumValueDescriptor* value_descriptor = in Load() local
147 *value = {static_cast<size_t>(value_descriptor->index()), in Load()
148 static_cast<size_t>(value_descriptor->type()->value_count())}; in Load()
/external/protobuf/src/google/protobuf/
Dtext_format.cc415 const Descriptor* value_descriptor = in ConsumeField() local
418 if (value_descriptor == nullptr) { in ConsumeField()
423 DO(ConsumeAnyValue(value_descriptor, &serialized_value)); in ConsumeField()
1121 bool ConsumeAnyValue(const Descriptor* value_descriptor, in ConsumeAnyValue() argument
1124 const Message* value_prototype = factory.GetPrototype(value_descriptor); in ConsumeAnyValue()
1138 "Value of type \"" + value_descriptor->full_name() + in ConsumeAnyValue()
1939 const Descriptor* value_descriptor = in PrintAny() local
1942 if (value_descriptor == nullptr) { in PrintAny()
1948 factory.GetPrototype(value_descriptor)->New()); in PrintAny()
Dmap_test.cc2694 const FieldDescriptor* value_descriptor = in TEST() local
2699 value_descriptor)); in TEST()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1101 const FieldDescriptor* value_descriptor = in InitAttributes() local
1103 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()