Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum_lite.cc74 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 …]
Djava_enum.cc75 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 …]
Djava_enum_lite.h76 vector<const EnumValueDescriptor*> canonical_values_; variable
Djava_enum.h76 vector<const EnumValueDescriptor*> canonical_values_; variable
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum.cc58 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()
Djavanano_enum_field.cc116 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()
Djavanano_enum_field.h66 vector<string> canonical_values_; variable
89 vector<string> canonical_values_; variable
116 vector<string> canonical_values_; variable
Djavanano_enum.h71 vector<const EnumValueDescriptor*> canonical_values_; variable
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.cc58 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()
Djavamicro_enum.h71 vector<const EnumValueDescriptor*> canonical_values_; variable