Searched refs:value_descriptor (Results 1 – 9 of 9) sorted by relevance
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_map_field.cc | 89 const FieldDescriptor* value_descriptor = in MapFieldGenerator() local 91 value_field_generator_.reset(FieldGenerator::Make(value_descriptor, options)); in MapFieldGenerator() 118 ObjectiveCType value_objc_type = GetObjectiveCType(value_descriptor); in MapFieldGenerator() 132 class_name += MapEntryTypeName(value_descriptor, false); in MapFieldGenerator() 154 const FieldDescriptor* value_descriptor = in FinishInitialization() local 156 if (GetObjectiveCType(value_descriptor) == OBJECTIVECTYPE_ENUM) { in FinishInitialization() 165 const FieldDescriptor* value_descriptor = in DetermineForwardDeclarations() local 167 if (GetObjectiveCType(value_descriptor) == OBJECTIVECTYPE_MESSAGE) { in DetermineForwardDeclarations() 177 const FieldDescriptor* value_descriptor = in DetermineObjectiveCClassDefinitions() local 179 if (GetObjectiveCType(value_descriptor) == OBJECTIVECTYPE_MESSAGE) { in DetermineObjectiveCClassDefinitions()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | enum_type_wrapper.py | 85 return [value_descriptor.name 86 for value_descriptor in self._enum_type.values] 95 return [value_descriptor.number 96 for value_descriptor in self._enum_type.values] 105 return [(value_descriptor.name, value_descriptor.number) 106 for value_descriptor in self._enum_type.values]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | EnumDescriptor.php | 16 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];
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_map_field.cc | 61 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()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 288 const EnumValueDescriptor* value_descriptor = descriptor->value(i); in ConvertEnumDescriptor() local 290 value->set_name(value_descriptor->name()); in ConvertEnumDescriptor() 291 value->set_number(value_descriptor->number()); in ConvertEnumDescriptor() 293 ConvertEnumValueOptions(value_descriptor->options(), in ConvertEnumDescriptor()
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 502 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(j); in PrintTopLevelEnums() local 504 std::make_pair(value_descriptor.name(), value_descriptor.number())); in PrintTopLevelEnums() 1382 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(i); in FixOptionsForEnum() local 1384 OptionsValue(value_descriptor.options().SerializeAsString()); in FixOptionsForEnum() 1388 value_descriptor.name().c_str()), in FixOptionsForEnum()
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format.cc | 401 const Descriptor* value_descriptor = in ConsumeField() local 404 if (value_descriptor == nullptr) { in ConsumeField() 409 DO(ConsumeAnyValue(value_descriptor, &serialized_value)); in ConsumeField() 1120 bool ConsumeAnyValue(const Descriptor* value_descriptor, in ConsumeAnyValue() argument 1123 const Message* value_prototype = factory.GetPrototype(value_descriptor); in ConsumeAnyValue() 1137 "Value of type \"" + value_descriptor->full_name() + in ConsumeAnyValue() 1967 const Descriptor* value_descriptor = in PrintAny() local 1970 if (value_descriptor == nullptr) { in PrintAny() 1977 factory.GetPrototype(value_descriptor)->New()); in PrintAny()
|
D | map_test.cc | 2808 const FieldDescriptor* value_descriptor = in TEST() local 2813 value_descriptor)); in TEST()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1127 const FieldDescriptor* value_descriptor = in InitAttributes() local 1129 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
|