Home
last modified time | relevance | path

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

/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_enum.cc65 canonical_values_.push_back(value); in EnumGenerator()
90 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
91 if (canonical_values_[i]->index() != i) { in Generate()
98 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
100 vars["name"] = canonical_values_[i]->name(); in Generate()
101 vars["index"] = StrCat(canonical_values_[i]->index()); in Generate()
102 vars["number"] = StrCat(canonical_values_[i]->number()); in Generate()
103 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate()
104 if (canonical_values_[i]->options().deprecated()) { in Generate()
112 printer->Annotate("name", canonical_values_[i]); in Generate()
[all …]
Djava_enum_lite.cc66 canonical_values_.push_back(value); in EnumLiteGenerator()
89 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
91 vars["name"] = canonical_values_[i]->name(); in Generate()
92 vars["number"] = StrCat(canonical_values_[i]->number()); in Generate()
93 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate()
94 if (canonical_values_[i]->options().deprecated()) { in Generate()
98 printer->Annotate("name", canonical_values_[i]); in Generate()
173 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
175 canonical_values_[i]->name(), "number", in Generate()
176 StrCat(canonical_values_[i]->number())); in Generate()
Djava_enum_lite.h77 std::vector<const EnumValueDescriptor*> canonical_values_; variable
Djava_enum.h77 std::vector<const EnumValueDescriptor*> canonical_values_; variable
/external/protobuf/src/google/protobuf/compiler/java/
Denum.cc68 canonical_values_.push_back(value); in EnumGenerator()
93 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
94 if (canonical_values_[i]->index() != i) { in Generate()
101 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
103 vars["name"] = canonical_values_[i]->name(); in Generate()
104 vars["index"] = StrCat(canonical_values_[i]->index()); in Generate()
105 vars["number"] = StrCat(canonical_values_[i]->number()); in Generate()
106 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate()
107 if (canonical_values_[i]->options().deprecated()) { in Generate()
115 printer->Annotate("name", canonical_values_[i]); in Generate()
[all …]
Denum_lite.cc66 canonical_values_.push_back(value); in EnumLiteGenerator()
89 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
91 vars["name"] = canonical_values_[i]->name(); in Generate()
92 vars["number"] = StrCat(canonical_values_[i]->number()); in Generate()
93 WriteEnumValueDocComment(printer, canonical_values_[i]); in Generate()
94 if (canonical_values_[i]->options().deprecated()) { in Generate()
98 printer->Annotate("name", canonical_values_[i]); in Generate()
173 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
175 canonical_values_[i]->name(), "number", in Generate()
176 StrCat(canonical_values_[i]->number())); in Generate()
Denum_lite.h77 std::vector<const EnumValueDescriptor*> canonical_values_; variable
Denum.h77 std::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()
150 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode()
257 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in AccessorEnumFieldGenerator()
306 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode()
355 LoadEnumValues(params, descriptor->enum_type(), &canonical_values_); in RepeatedEnumFieldGenerator()
388 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCode()
421 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCodeFromPacked()
440 PrintCaseLabels(printer, canonical_values_); in GenerateMergingCodeFromPacked()
Djavanano_enum_field.h66 std::vector<std::string> canonical_values_; variable
89 std::vector<std::string> canonical_values_; variable
116 std::vector<std::string> canonical_values_; variable
Djavanano_enum.h71 std::vector<const EnumValueDescriptor*> canonical_values_; variable
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.cc57 canonical_values_.push_back(value); in EnumGenerator()
71 for (int i = 0; i < canonical_values_.size(); i++) { in Generate()
73 "name", canonical_values_[i]->name(), in Generate()
74 "canonical_value", SimpleItoa(canonical_values_[i]->number())); in Generate()
Djavamicro_enum.h71 std::vector<const EnumValueDescriptor*> canonical_values_; variable