Home
last modified time | relevance | path

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

123456

/external/cronet/third_party/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_, "private volatile java.lang.Object $name$_;\n"); in GenerateMembers()
211 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
216 variables_, in GenerateMembers()
226 variables_, in GenerateMembers()
238 printer->Print(variables_, " $name$_ = s;\n"); in GenerateMembers()
240 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum_field.cc143 &variables_); in ImmutableEnumFieldGenerator()
160 printer->Print(variables_, in GenerateInterfaceMembers()
165 printer->Print(variables_, in GenerateInterfaceMembers()
169 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
173 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
174 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
177 printer->Print(variables_, in GenerateMembers()
186 printer->Print(variables_, in GenerateMembers()
194 printer->Print(variables_, in GenerateMembers()
206 printer->Print(variables_, "private int $name$_ = $default_number$;\n"); in GenerateBuilderMembers()
[all …]
Djava_primitive_field.cc205 name_resolver_, &variables_); in ImmutablePrimitiveFieldGenerator()
222 printer->Print(variables_, in GenerateInterfaceMembers()
226 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
231 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers()
232 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
236 variables_, in GenerateMembers()
245 printer->Print(variables_, in GenerateMembers()
255 printer->Print(variables_, "private $field_type$ $name$_ $default_init$;\n"); in GenerateBuilderMembers()
260 variables_, in GenerateBuilderMembers()
269 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_message_field_lite.cc121 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator()
137 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
139 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
145 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
146 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
151 variables_, in GenerateMembers()
159 variables_, in GenerateMembers()
168 variables_, in GenerateMembers()
176 variables_, in GenerateMembers()
186 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_string_field_lite.cc132 name_resolver_, &variables_); in ImmutableStringFieldLiteGenerator()
170 printer->Print(variables_, in GenerateInterfaceMembers()
174 printer->Print(variables_, in GenerateInterfaceMembers()
177 printer->Print(variables_, in GenerateInterfaceMembers()
184 printer->Print(variables_, "private java.lang.String $name$_;\n"); in GenerateMembers()
185 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
190 variables_, in GenerateMembers()
200 variables_, in GenerateMembers()
208 variables_, in GenerateMembers()
217 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_message_field.cc129 name_resolver_, &variables_); in ImmutableMessageFieldGenerator()
149 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
151 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
155 variables_, in GenerateInterfaceMembers()
161 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
162 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
167 variables_, in GenerateMembers()
175 variables_, in GenerateMembers()
184 variables_, in GenerateMembers()
194 variables_, in GenerateMembers()
[all …]
Djava_enum_field_lite.cc142 &variables_); in ImmutableEnumFieldLiteGenerator()
155 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
169 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
170 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
174 variables_, in GenerateMembers()
184 variables_, in GenerateMembers()
192 printer->Print(variables_, in GenerateMembers()
203 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_map_field_lite.cc182 &variables_); in ImmutableMapFieldLiteGenerator()
192 printer->Print(variables_, in GenerateInterfaceMembers()
196 printer->Print(variables_, in GenerateInterfaceMembers()
201 printer->Print(variables_, in GenerateInterfaceMembers()
211 variables_, in GenerateInterfaceMembers()
216 printer->Print(variables_, in GenerateInterfaceMembers()
225 variables_, in GenerateInterfaceMembers()
231 variables_, in GenerateInterfaceMembers()
240 printer->Print(variables_, in GenerateInterfaceMembers()
245 printer->Print(variables_, in GenerateInterfaceMembers()
[all …]
Djava_primitive_field_lite.cc205 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator()
218 printer->Print(variables_, in GenerateInterfaceMembers()
222 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
231 variables_, in GenerateMembers()
234 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers()
235 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
239 variables_, in GenerateMembers()
248 printer->Print(variables_, in GenerateMembers()
256 printer->Print(variables_, in GenerateMembers()
264 printer->Print(variables_, in GenerateMembers()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Dstring_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_, "private volatile java.lang.Object $name$_;\n"); in GenerateMembers()
211 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
216 variables_, in GenerateMembers()
226 variables_, in GenerateMembers()
238 printer->Print(variables_, " $name$_ = s;\n"); in GenerateMembers()
240 printer->Print(variables_, in GenerateMembers()
[all …]
Denum_field.cc146 &variables_); in ImmutableEnumFieldGenerator()
163 printer->Print(variables_, in GenerateInterfaceMembers()
168 printer->Print(variables_, in GenerateInterfaceMembers()
172 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
176 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
177 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
180 printer->Print(variables_, in GenerateMembers()
189 printer->Print(variables_, in GenerateMembers()
197 printer->Print(variables_, in GenerateMembers()
209 printer->Print(variables_, "private int $name$_ = $default_number$;\n"); in GenerateBuilderMembers()
[all …]
Dprimitive_field.cc205 name_resolver_, &variables_); in ImmutablePrimitiveFieldGenerator()
222 printer->Print(variables_, in GenerateInterfaceMembers()
226 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
231 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers()
232 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
236 variables_, in GenerateMembers()
245 printer->Print(variables_, in GenerateMembers()
255 printer->Print(variables_, "private $field_type$ $name$_ $default_init$;\n"); in GenerateBuilderMembers()
260 variables_, in GenerateBuilderMembers()
269 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Dmessage_field_lite.cc124 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator()
140 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
142 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
148 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
149 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
154 variables_, in GenerateMembers()
162 variables_, in GenerateMembers()
171 variables_, in GenerateMembers()
179 variables_, in GenerateMembers()
189 printer->Print(variables_, in GenerateMembers()
[all …]
Dstring_field_lite.cc132 name_resolver_, &variables_); in ImmutableStringFieldLiteGenerator()
170 printer->Print(variables_, in GenerateInterfaceMembers()
174 printer->Print(variables_, in GenerateInterfaceMembers()
177 printer->Print(variables_, in GenerateInterfaceMembers()
184 printer->Print(variables_, "private java.lang.String $name$_;\n"); in GenerateMembers()
185 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
190 variables_, in GenerateMembers()
200 variables_, in GenerateMembers()
208 variables_, in GenerateMembers()
217 printer->Print(variables_, in GenerateMembers()
[all …]
Dmessage_field.cc132 name_resolver_, &variables_); in ImmutableMessageFieldGenerator()
152 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
154 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
158 variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
165 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
170 variables_, in GenerateMembers()
178 variables_, in GenerateMembers()
187 variables_, in GenerateMembers()
197 variables_, in GenerateMembers()
[all …]
Denum_field_lite.cc145 &variables_); in ImmutableEnumFieldLiteGenerator()
158 printer->Print(variables_, in GenerateInterfaceMembers()
163 printer->Print(variables_, in GenerateInterfaceMembers()
167 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
172 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
173 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
177 variables_, in GenerateMembers()
187 variables_, in GenerateMembers()
195 printer->Print(variables_, in GenerateMembers()
206 printer->Print(variables_, in GenerateMembers()
[all …]
Dmap_field_lite.cc185 &variables_); in ImmutableMapFieldLiteGenerator()
195 printer->Print(variables_, in GenerateInterfaceMembers()
199 printer->Print(variables_, in GenerateInterfaceMembers()
204 printer->Print(variables_, in GenerateInterfaceMembers()
214 variables_, in GenerateInterfaceMembers()
219 printer->Print(variables_, in GenerateInterfaceMembers()
228 variables_, in GenerateInterfaceMembers()
234 variables_, in GenerateInterfaceMembers()
243 printer->Print(variables_, in GenerateInterfaceMembers()
248 printer->Print(variables_, in GenerateInterfaceMembers()
[all …]
Dprimitive_field_lite.cc205 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator()
218 printer->Print(variables_, in GenerateInterfaceMembers()
222 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
231 variables_, in GenerateMembers()
234 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers()
235 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
239 variables_, in GenerateMembers()
248 printer->Print(variables_, in GenerateMembers()
256 printer->Print(variables_, in GenerateMembers()
264 printer->Print(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()
270 printer->Print(variables_, in GenerateMembers()
274 printer->Print(variables_, in GenerateMembers()
281 printer->Print(variables_, in GenerateClearCode()
[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()
147 printer->Print(variables_, in GenerateMergingCode()
151 printer->Print(variables_, in GenerateMergingCode()
154 printer->Print(variables_, in GenerateMergingCode()
169 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/cronet/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_primitive_field.cc57 variables_["has_property_check"] = variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
58variables_["other_has_property_check"] = "other." + variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
82 variables_, in GenerateMembers()
84 variables_["default_value_access"] = in GenerateMembers()
85 variables_["property_name"] + "DefaultValue"; in GenerateMembers()
87 variables_["default_value_access"] = variables_["default_value"]; in GenerateMembers()
92 variables_, in GenerateMembers()
100 printer->Print(variables_, "$access_level$ $type_name$ $property_name$ {\n"); in GenerateMembers()
106 variables_, in GenerateMembers()
110 variables_, in GenerateMembers()
[all …]
Dcsharp_message_field.cc57 variables_["has_property_check"] = name() + "_ != null"; in MessageFieldGenerator()
58 variables_["has_not_property_check"] = name() + "_ == null"; in MessageFieldGenerator()
68 variables_, in GenerateMembers()
73 variables_, in GenerateMembers()
82 variables_, in GenerateMembers()
86 variables_, in GenerateMembers()
91 variables_, in GenerateMembers()
95 variables_, in GenerateMembers()
104 variables_, in GenerateMergingCode()
115 variables_, in GenerateParsingCode()
[all …]
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_primitive_field.cc57 variables_["has_property_check"] = variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
58variables_["other_has_property_check"] = "other." + variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator()
82 variables_, in GenerateMembers()
84 variables_["default_value_access"] = in GenerateMembers()
85 variables_["property_name"] + "DefaultValue"; in GenerateMembers()
87 variables_["default_value_access"] = variables_["default_value"]; in GenerateMembers()
92 variables_, in GenerateMembers()
100 printer->Print(variables_, "$access_level$ $type_name$ $property_name$ {\n"); in GenerateMembers()
106 variables_, in GenerateMembers()
110 variables_, in GenerateMembers()
[all …]
Dcsharp_message_field.cc57 variables_["has_property_check"] = name() + "_ != null"; in MessageFieldGenerator()
58 variables_["has_not_property_check"] = name() + "_ == null"; in MessageFieldGenerator()
68 variables_, in GenerateMembers()
73 variables_, in GenerateMembers()
82 variables_, in GenerateMembers()
86 variables_, in GenerateMembers()
91 variables_, in GenerateMembers()
95 variables_, in GenerateMembers()
104 variables_, in GenerateMergingCode()
115 variables_, in GenerateParsingCode()
[all …]

123456