Searched refs:enum_descriptor (Results 1 – 6 of 6) sorted by relevance
132 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified) { in ClassName() argument133 if (enum_descriptor->containing_type() == NULL) { in ClassName()135 return DotsToColons(enum_descriptor->full_name()); in ClassName()137 return enum_descriptor->name(); in ClassName()140 string result = ClassName(enum_descriptor->containing_type(), qualified); in ClassName()142 result += enum_descriptor->name(); in ClassName()
61 string ClassName(const EnumDescriptor* enum_descriptor, bool qualified);
324 const EnumDescriptor& enum_descriptor = *file_->enum_type(i); in PrintTopLevelEnums() local325 PrintEnum(enum_descriptor); in PrintTopLevelEnums()328 for (int j = 0; j < enum_descriptor.value_count(); ++j) { in PrintTopLevelEnums()329 const EnumValueDescriptor& value_descriptor = *enum_descriptor.value(j); in PrintTopLevelEnums()353 void Generator::PrintEnum(const EnumDescriptor& enum_descriptor) const { in PrintEnum()355 m["descriptor_name"] = ModuleLevelDescriptorName(enum_descriptor); in PrintEnum()356 m["name"] = enum_descriptor.name(); in PrintEnum()357 m["full_name"] = enum_descriptor.full_name(); in PrintEnum()367 enum_descriptor.options().SerializeToString(&options_string); in PrintEnum()371 for (int i = 0; i < enum_descriptor.value_count(); ++i) { in PrintEnum()[all …]
78 void PrintEnum(const EnumDescriptor& enum_descriptor) const;
262 enum_descriptor = field.enum_type265 enum_value = enum_descriptor.values_by_number.get(number, None)269 enum_descriptor.full_name, number))272 enum_value = enum_descriptor.values_by_name.get(identifier, None)276 enum_descriptor.full_name, identifier))
228 const EnumDescriptor* enum_descriptor; member253 CONSTRUCTOR(EnumDescriptor , ENUM , enum_descriptor ) in CONSTRUCTOR()265 case ENUM : return enum_descriptor ->file(); in CONSTRUCTOR()933 return (result.type == Symbol::ENUM) ? result.enum_descriptor : NULL; in FindEnumTypeByName()1098 return result.enum_descriptor; in FindEnumTypeByName()1156 return result.enum_descriptor; in FindEnumTypeByName()3475 field->enum_type_ = type.enum_descriptor; in CrossLinkField()