Home
last modified time | relevance | path

Searched refs:variables_ (Results 1 – 25 of 78) sorted by relevance

1234

/external/protobuf/src/google/protobuf/compiler/java/
Djava_string_field.cc147 name_resolver_, &variables_); in ImmutableStringFieldGenerator()
196 printer->Print(variables_, in GenerateInterfaceMembers()
200 printer->Print(variables_, in GenerateInterfaceMembers()
203 printer->Print(variables_, in GenerateInterfaceMembers()
210 printer->Print(variables_, in GenerateMembers()
212 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
216 printer->Print(variables_, in GenerateMembers()
223 printer->Print(variables_, in GenerateMembers()
233 printer->Print(variables_, in GenerateMembers()
236 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum_field_lite.cc128 name_resolver_, &variables_); in ImmutableEnumFieldLiteGenerator()
145 printer->Print(variables_, in GenerateInterfaceMembers()
150 printer->Print(variables_, in GenerateInterfaceMembers()
154 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateMembers()
162 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
165 printer->Print(variables_, in GenerateMembers()
172 printer->Print(variables_, in GenerateMembers()
178 printer->Print(variables_, in GenerateMembers()
187 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_lazy_message_field_lite.cc61 printer->Print(variables_, in GenerateMembers()
65 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
67 printer->Print(variables_, in GenerateMembers()
73 printer->Print(variables_, in GenerateMembers()
80 printer->Print(variables_, in GenerateMembers()
91 printer->Print(variables_, in GenerateMembers()
100 printer->Print(variables_, in GenerateMembers()
115 printer->Print(variables_, in GenerateMembers()
129 printer->Print(variables_, in GenerateBuilderMembers()
135 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_message_field_lite.cc116 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator()
138 printer->Print(variables_, in GenerateInterfaceMembers()
142 printer->Print(variables_, in GenerateInterfaceMembers()
148 printer->Print(variables_, in GenerateMembers()
150 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
154 printer->Print(variables_, in GenerateMembers()
159 printer->Print(variables_, in GenerateMembers()
165 printer->Print(variables_, in GenerateMembers()
170 printer->Print(variables_, in GenerateMembers()
178 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_string_field_lite.cc130 name_resolver_, &variables_); in ImmutableStringFieldLiteGenerator()
172 printer->Print(variables_, in GenerateInterfaceMembers()
176 printer->Print(variables_, in GenerateInterfaceMembers()
179 printer->Print(variables_, in GenerateInterfaceMembers()
186 printer->Print(variables_, in GenerateMembers()
188 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
192 printer->Print(variables_, in GenerateMembers()
199 printer->Print(variables_, in GenerateMembers()
204 printer->Print(variables_, in GenerateMembers()
211 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum_field.cc142 name_resolver_, &variables_); in ImmutableEnumFieldGenerator()
159 printer->Print(variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, in GenerateInterfaceMembers()
168 printer->Print(variables_, in GenerateInterfaceMembers()
174 printer->Print(variables_, in GenerateMembers()
176 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
179 printer->Print(variables_, in GenerateMembers()
186 printer->Print(variables_, in GenerateMembers()
192 printer->Print(variables_, in GenerateMembers()
201 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_primitive_field.cc159 name_resolver_, &variables_); in ImmutablePrimitiveFieldGenerator()
176 printer->Print(variables_, in GenerateInterfaceMembers()
180 printer->Print(variables_, in GenerateInterfaceMembers()
186 printer->Print(variables_, in GenerateMembers()
188 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
191 printer->Print(variables_, in GenerateMembers()
198 printer->Print(variables_, in GenerateMembers()
206 printer->Print(variables_, in GenerateBuilderMembers()
211 printer->Print(variables_, in GenerateBuilderMembers()
218 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_primitive_field_lite.cc180 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator()
197 printer->Print(variables_, in GenerateInterfaceMembers()
201 printer->Print(variables_, in GenerateInterfaceMembers()
207 printer->Print(variables_, in GenerateMembers()
209 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
212 printer->Print(variables_, in GenerateMembers()
219 printer->Print(variables_, in GenerateMembers()
225 printer->Print(variables_, in GenerateMembers()
233 printer->Print(variables_, in GenerateMembers()
240 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_message_field.cc130 name_resolver_, &variables_); in ImmutableMessageFieldGenerator()
152 printer->Print(variables_, in GenerateInterfaceMembers()
156 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateInterfaceMembers()
166 printer->Print(variables_, in GenerateMembers()
168 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
172 printer->Print(variables_, in GenerateMembers()
177 printer->Print(variables_, in GenerateMembers()
183 printer->Print(variables_, in GenerateMembers()
190 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_lazy_message_field.cc60 printer->Print(variables_, in GenerateMembers()
64 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
66 printer->Print(variables_, in GenerateMembers()
72 printer->Print(variables_, in GenerateMembers()
77 printer->Print(variables_, in GenerateMembers()
89 printer->Print(variables_, in GenerateBuilderMembers()
93 printer->Print(variables_, in GenerateBuilderMembers()
105 printer->Print(variables_, in GenerateBuilderMembers()
110 printer->Print(variables_, in GenerateBuilderMembers()
179 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_map_field_lite.cc144 context, &variables_); in ImmutableMapFieldLiteGenerator()
163 variables_, in GenerateInterfaceMembers()
169 variables_, in GenerateInterfaceMembers()
176 variables_, in GenerateInterfaceMembers()
185 variables_, in GenerateMembers()
198 variables_, in GenerateMembers()
215 variables_, in GenerateMembers()
225 variables_, in GenerateMembers()
234 variables_, in GenerateMembers()
246 variables_, in GenerateMembers()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc240 SetPrimitiveVariables(descriptor, params, &variables_); in PrimitiveFieldGenerator()
246 return variables_.find("default_constant") != variables_.end(); in SavedDefaultNeeded()
250 if (variables_.find("default_constant") != variables_.end()) { in GenerateInitSavedDefaultCode()
251 printer->Print(variables_, in GenerateInitSavedDefaultCode()
258 if (variables_.find("default_constant") != variables_.end()) { in GenerateMembers()
261 printer->Print(variables_, in GenerateMembers()
264 printer->Print(variables_, in GenerateMembers()
272 printer->Print(variables_, in GenerateMembers()
277 printer->Print(variables_, in GenerateMembers()
282 printer->Print(variables_, in GenerateMembers()
[all …]
Djavanano_enum_field.cc115 SetEnumVariables(params, descriptor, &variables_); in EnumFieldGenerator()
124 printer->Print(variables_, "$message_type_intdef$\n"); in GenerateMembers()
126 printer->Print(variables_, "public $type$ $name$;\n"); in GenerateMembers()
129 printer->Print(variables_, in GenerateMembers()
136 printer->Print(variables_, in GenerateClearCode()
140 printer->Print(variables_, in GenerateClearCode()
150 printer->Print(variables_, in GenerateMergingCode()
154 printer->Print(variables_, in GenerateMergingCode()
157 printer->Print(variables_, in GenerateMergingCode()
181 printer->Print(variables_, in GenerateSerializationCode()
[all …]
Djavanano_message_field.cc79 SetMessageVariables(params, descriptor, &variables_); in MessageFieldGenerator()
86 printer->Print(variables_, in GenerateMembers()
92 printer->Print(variables_, in GenerateClearCode()
98 printer->Print(variables_, in GenerateMergingCode()
104 printer->Print(variables_, in GenerateMergingCode()
107 printer->Print(variables_, in GenerateMergingCode()
114 printer->Print(variables_, in GenerateSerializationCode()
122 printer->Print(variables_, in GenerateSerializedSizeCode()
131 printer->Print(variables_, in GenerateFixClonedCode()
139 printer->Print(variables_, in GenerateEqualsCode()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum_field.cc65 SetEnumVariables(descriptor, &variables_, options); in EnumFieldGenerator()
72 printer->Print(variables_, "int $name$_;\n"); in GeneratePrivateMembers()
77 printer->Print(variables_, in GenerateAccessorDeclarations()
85 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions()
106 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
111 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
116 printer->Print(variables_, "std::swap($name$_, other->$name$_);\n"); in GenerateSwappingCode()
121 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateConstructorCode()
126 printer->Print(variables_, in GenerateMergeFromCodedStream()
132 printer->Print(variables_, in GenerateMergeFromCodedStream()
[all …]
Dcpp_string_field.cc82 SetStringVariables(descriptor, &variables_, options); in StringFieldGenerator()
101 printer->Print(variables_, "::google::protobuf::internal::ArenaStringPtr $name$_;\n"); in GeneratePrivateMembers()
107 printer->Print(variables_, "static ::std::string* $default_variable$;\n"); in GenerateStaticMembers()
141 printer->Print(variables_, in GenerateAccessorDeclarations()
151 printer->Print(variables_, in GenerateAccessorDeclarations()
168 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions()
286 printer->Print(variables_, in GenerateNonInlineAccessorDefinitions()
299 printer->Print(variables_, in GenerateClearingCode()
302 printer->Print(variables_, in GenerateClearingCode()
307 printer->Print(variables_, in GenerateClearingCode()
[all …]
Dcpp_primitive_field.cc106 SetPrimitiveVariables(descriptor, &variables_, options); in PrimitiveFieldGenerator()
113 printer->Print(variables_, "$type$ $name$_;\n"); in GeneratePrivateMembers()
118 printer->Print(variables_, in GenerateAccessorDeclarations()
125 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions()
141 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
146 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
151 printer->Print(variables_, "std::swap($name$_, other->$name$_);\n"); in GenerateSwappingCode()
156 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateConstructorCode()
161 printer->Print(variables_, in GenerateMergeFromCodedStream()
170 printer->Print(variables_, in GenerateSerializeWithCachedSizes()
[all …]
Dcpp_message_field.cc86 SetMessageVariables(descriptor, &variables_, options); in MessageFieldGenerator()
93 printer->Print(variables_, "$type$* $name$_;\n"); in GeneratePrivateMembers()
98 printer->Print(variables_, in GenerateGetterDeclaration()
108 printer->Print(variables_, in GenerateDependentAccessorDeclarations()
117 printer->Print(variables_, in GenerateAccessorDeclarations()
121 printer->Print(variables_, in GenerateAccessorDeclarations()
125 printer->Print(variables_, in GenerateAccessorDeclarations()
131 printer->Print(variables_, in GenerateAccessorDeclarations()
137 printer->Print(variables_, in GenerateAccessorDeclarations()
147 printer->Print(variables_, in GenerateNonInlineAccessorDefinitions()
[all …]
Dcpp_map_field.cc107 SetMessageVariables(descriptor, &variables_, options); in MapFieldGenerator()
114 printer->Print(variables_, in GeneratePrivateMembers()
130 printer->Print(variables_, in GenerateAccessorDeclarations()
140 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions()
157 map<string, string> variables(variables_); in GenerateClearingCode()
164 printer->Print(variables_, "$name$_.MergeFrom(from.$name$_);\n"); in GenerateMergingCode()
169 printer->Print(variables_, "$name$_.Swap(&other->$name$_);\n"); in GenerateSwappingCode()
175 printer->Print(variables_, in GenerateConstructorCode()
187 printer->Print(variables_, in GenerateMergeFromCodedStream()
192 printer->Print(variables_, in GenerateMergeFromCodedStream()
[all …]
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_primitive_field.cc58 variables_["has_property_check"] = variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
59variables_["other_has_property_check"] = "other." + variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
71 variables_, in GenerateMembers()
76 variables_, in GenerateMembers()
82 variables_, in GenerateMembers()
86 variables_, in GenerateMembers()
96 variables_, in GenerateMergingCode()
106 variables_, in GenerateParsingCode()
112 variables_, in GenerateSerializationCode()
121 variables_, in GenerateSerializedSizeCode()
[all …]
Dcsharp_wrapper_field.cc53 variables_["has_property_check"] = name() + "_ != null"; in WrapperFieldGenerator()
54 variables_["has_not_property_check"] = name() + "_ == null"; in WrapperFieldGenerator()
59 variables_["nonnullable_type_name"] = type_name(wrapped_field); in WrapperFieldGenerator()
68 variables_, in GenerateMembers()
72 variables_, in GenerateMembers()
78 variables_, in GenerateMembers()
89 variables_, in GenerateMergingCode()
99 variables_, in GenerateParsingCode()
108 variables_, in GenerateSerializationCode()
116 variables_, in GenerateSerializedSizeCode()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc219 SetPrimitiveVariables(descriptor, params, &variables_); in PrimitiveFieldGenerator()
226 printer->Print(variables_, in GenerateMembers()
232 printer->Print(variables_, in GenerateMembers()
248 printer->Print(variables_, in GenerateMembers()
260 printer->Print(variables_, in GenerateMembers()
277 printer->Print(variables_, in GenerateMergingCode()
285 printer->Print(variables_, in GenerateParsingCode()
292 printer->Print(variables_, in GenerateSerializationCode()
297 printer->Print(variables_, in GenerateSerializationCode()
307 printer->Print(variables_, in GenerateSerializedSizeCode()
[all …]
Djavamicro_enum_field.cc76 SetEnumVariables(params, descriptor, &variables_); in EnumFieldGenerator()
83 printer->Print(variables_, in GenerateMembers()
102 printer->Print(variables_, in GenerateMergingCode()
111 printer->Print(variables_, in GenerateParsingCode()
117 printer->Print(variables_, in GenerateSerializationCode()
125 printer->Print(variables_, in GenerateSerializedSizeCode()
141 SetEnumVariables(params, descriptor, &variables_); in RepeatedEnumFieldGenerator()
152 printer->Print(variables_, in GenerateMembers()
174 printer->Print(variables_, in GenerateMembers()
201 printer->Print(variables_, in GenerateMembers()
[all …]
Djavamicro_message_field.cc75 SetMessageVariables(params, descriptor, &variables_); in MessageFieldGenerator()
82 printer->Print(variables_, in GenerateMembers()
107 printer->Print(variables_, in GenerateMergingCode()
115 printer->Print(variables_, in GenerateParsingCode()
119 printer->Print(variables_, in GenerateParsingCode()
122 printer->Print(variables_, in GenerateParsingCode()
126 printer->Print(variables_, in GenerateParsingCode()
132 printer->Print(variables_, in GenerateSerializationCode()
140 printer->Print(variables_, in GenerateSerializedSizeCode()
156 SetMessageVariables(params, descriptor, &variables_); in RepeatedMessageFieldGenerator()
[all …]
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc159 SetCommonFieldVariables(descriptor, &variables_); in FieldGenerator()
166 variables_, in GenerateFieldNumberConstant()
190 variables_, in GenerateFieldDescription()
203 variables_, in GenerateFieldDescription()
217 variables_["has_index"] = SimpleItoa(has_index); in SetRuntimeHasBit()
221 variables_["has_index"] = "GPBNoHasBit"; in SetNoHasBit()
240 variables_["has_index"] = SimpleItoa(-index); in SetOneofIndexBase()
246 if ((variables_.find("property_type") == variables_.end()) && in FinishInitialization()
247 (variables_.find("storage_type") != variables_.end())) { in FinishInitialization()
248 variables_["property_type"] = variable("storage_type"); in FinishInitialization()
[all …]

1234