Searched refs:canonical_values_ (Results 1 – 10 of 10) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum_lite.cc | 74 canonical_values_.push_back(value); in EnumLiteGenerator() 94 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 96 vars["name"] = canonical_values_[i]->name(); in Generate() 97 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 98 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate() 99 if (canonical_values_[i]->options().deprecated()) { in Generate() 158 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 161 "name", canonical_values_[i]->name(), in Generate() 162 "number", SimpleItoa(canonical_values_[i]->number())); in Generate() 204 if (canonical_values_.size() != descriptor_->value_count()) { in CanUseEnumValues() [all …]
|
D | java_enum.cc | 75 canonical_values_.push_back(value); in EnumGenerator() 97 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 98 if (canonical_values_[i]->index() != i) { in Generate() 105 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 107 vars["name"] = canonical_values_[i]->name(); in Generate() 108 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate() 109 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 110 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate() 111 if (canonical_values_[i]->options().deprecated()) { in Generate() 195 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() [all …]
|
D | java_enum_lite.h | 76 vector<const EnumValueDescriptor*> canonical_values_; variable
|
D | java_enum.h | 76 vector<const EnumValueDescriptor*> canonical_values_; variable
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum.cc | 58 canonical_values_.push_back(value); in EnumGenerator() 91 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 93 RenameJavaKeywords(canonical_values_[i]->name()); in Generate() 118 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 121 "name", RenameJavaKeywords(canonical_values_[i]->name()), in Generate() 122 "canonical_value", SimpleItoa(canonical_values_[i]->number())); in Generate()
|
D | javanano_enum_field.cc | 116 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in EnumFieldGenerator() 153 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode() 269 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in AccessorEnumFieldGenerator() 321 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode() 379 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in RepeatedEnumFieldGenerator() 416 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode() 461 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCodeFromPacked() 484 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCodeFromPacked()
|
D | javanano_enum_field.h | 66 vector<string> canonical_values_; variable 89 vector<string> canonical_values_; variable 116 vector<string> canonical_values_; variable
|
D | javanano_enum.h | 71 vector<const EnumValueDescriptor*> canonical_values_; variable
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.cc | 58 canonical_values_.push_back(value); in EnumGenerator() 72 for (int i = 0; i < canonical_values_.size(); i++) { in Generate() 74 vars["name"] = canonical_values_[i]->name(); in Generate() 75 vars["canonical_value"] = SimpleItoa(canonical_values_[i]->number()); in Generate()
|
D | javamicro_enum.h | 71 vector<const EnumValueDescriptor*> canonical_values_; variable
|