Home
last modified time | relevance | path

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

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_string_field.cc149 name_resolver_, &variables_); in ImmutableStringFieldGenerator()
198 printer->Print(variables_, in GenerateInterfaceMembers()
202 printer->Print(variables_, in GenerateInterfaceMembers()
205 printer->Print(variables_, in GenerateInterfaceMembers()
212 printer->Print(variables_, in GenerateMembers()
214 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
218 printer->Print(variables_, in GenerateMembers()
225 printer->Print(variables_, in GenerateMembers()
235 printer->Print(variables_, in GenerateMembers()
238 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_lazy_message_field_lite.cc61 printer->Print(variables_, in GenerateMembers()
64 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
67 printer->Print(variables_, in GenerateMembers()
72 printer->Print(variables_, in GenerateMembers()
79 printer->Print(variables_, in GenerateMembers()
89 printer->Print(variables_, in GenerateMembers()
103 printer->Print(variables_, in GenerateMembers()
115 printer->Print(variables_, in GenerateMembers()
133 printer->Print(variables_, in GenerateMembers()
147 printer->Print(variables_, in GenerateBuilderMembers()
[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_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.cc147 name_resolver_, &variables_); in ImmutableEnumFieldGenerator()
164 printer->Print(variables_, in GenerateInterfaceMembers()
169 printer->Print(variables_, in GenerateInterfaceMembers()
173 printer->Print(variables_, in GenerateInterfaceMembers()
179 printer->Print(variables_, in GenerateMembers()
181 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
184 printer->Print(variables_, in GenerateMembers()
191 printer->Print(variables_, in GenerateMembers()
197 printer->Print(variables_, in GenerateMembers()
206 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_primitive_field_lite.cc183 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator()
200 printer->Print(variables_, in GenerateInterfaceMembers()
204 printer->Print(variables_, in GenerateInterfaceMembers()
214 variables_, in GenerateMembers()
217 printer->Print(variables_, in GenerateMembers()
219 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
222 printer->Print(variables_, in GenerateMembers()
229 printer->Print(variables_, in GenerateMembers()
235 printer->Print(variables_, in GenerateMembers()
243 printer->Print(variables_, in GenerateMembers()
[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_map_field_lite.cc150 context, &variables_); in ImmutableMapFieldLiteGenerator()
168 variables_, in GenerateInterfaceMembers()
172 variables_, in GenerateInterfaceMembers()
177 variables_, in GenerateInterfaceMembers()
186 variables_, in GenerateInterfaceMembers()
191 variables_, in GenerateInterfaceMembers()
197 variables_, in GenerateInterfaceMembers()
202 variables_, in GenerateInterfaceMembers()
211 variables_, in GenerateInterfaceMembers()
216 variables_, in GenerateInterfaceMembers()
[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_message_field.cc134 name_resolver_, &variables_); in ImmutableMessageFieldGenerator()
156 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, in GenerateInterfaceMembers()
170 printer->Print(variables_, in GenerateMembers()
172 PrintExtraFieldInfo(variables_, printer); in GenerateMembers()
176 printer->Print(variables_, in GenerateMembers()
181 printer->Print(variables_, in GenerateMembers()
187 printer->Print(variables_, in GenerateMembers()
194 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_map_field.cc162 context, &variables_); in ImmutableMapFieldGenerator()
180 variables_, in GenerateInterfaceMembers()
184 variables_, in GenerateInterfaceMembers()
189 variables_, in GenerateInterfaceMembers()
198 variables_, in GenerateInterfaceMembers()
203 variables_, in GenerateInterfaceMembers()
209 variables_, in GenerateInterfaceMembers()
214 variables_, in GenerateInterfaceMembers()
223 variables_, in GenerateInterfaceMembers()
228 variables_, in GenerateInterfaceMembers()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
Dcsharp_message_field.cc55 variables_["has_property_check"] = name() + "_ != null"; in MessageFieldGenerator()
56 variables_["has_not_property_check"] = name() + "_ == null"; in MessageFieldGenerator()
65 variables_, in GenerateMembers()
70 variables_, in GenerateMembers()
81 variables_, in GenerateMergingCode()
92 variables_, in GenerateParsingCode()
102 variables_, in GenerateSerializationCode()
111 variables_, in GenerateSerializedSizeCode()
119 variables_, in WriteHash()
124 variables_, in WriteEquals()
[all …]
Dcsharp_repeated_primitive_field.cc61 variables_, in GenerateMembers()
64 printer->Print(variables_, in GenerateMembers()
69 variables_, in GenerateMembers()
77 variables_, in GenerateMergingCode()
83 variables_, in GenerateParsingCode()
89 variables_, in GenerateSerializationCode()
95 variables_, in GenerateSerializedSizeCode()
101 variables_, in WriteHash()
106 variables_, in WriteEquals()
110 printer->Print(variables_, in WriteToString()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_oneof.cc46 variables_["enum_name"] = OneofEnumName(descriptor_); in OneofGenerator()
47 variables_["name"] = OneofName(descriptor_); in OneofGenerator()
48 variables_["capitalized_name"] = OneofNameCapitalized(descriptor_); in OneofGenerator()
49 variables_["raw_index"] = SimpleItoa(descriptor_->index()); in OneofGenerator()
51 variables_["owning_message_class"] = ClassName(msg_descriptor); in OneofGenerator()
60 variables_["comments"] = comments; in OneofGenerator()
68 variables_["index"] = SimpleItoa(-index); in SetOneofIndexBase()
73 variables_, in GenerateCaseEnum()
77 variables_, in GenerateCaseEnum()
79 string enum_name = variables_["enum_name"]; in GenerateCaseEnum()
[all …]
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 …]

123