/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_string_field.cc | 145 name_resolver_, &variables_); in ImmutableStringFieldGenerator() 194 printer->Print(variables_, in GenerateInterfaceMembers() 198 printer->Print(variables_, in GenerateInterfaceMembers() 201 printer->Print(variables_, in GenerateInterfaceMembers() 208 printer->Print(variables_, "private volatile java.lang.Object $name$_;\n"); in GenerateMembers() 209 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 214 variables_, in GenerateMembers() 223 variables_, in GenerateMembers() 234 printer->Print(variables_, " $name$_ = s;\n"); in GenerateMembers() 236 printer->Print(variables_, in GenerateMembers() [all …]
|
D | java_enum_field.cc | 143 &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() 178 variables_, in GenerateMembers() 187 variables_, in GenerateMembers() 194 printer->Print(variables_, in GenerateMembers() 205 printer->Print(variables_, "private int $name$_ = $default_number$;\n"); in GenerateBuilderMembers() [all …]
|
D | java_primitive_field.cc | 193 name_resolver_, &variables_); in ImmutablePrimitiveFieldGenerator() 210 printer->Print(variables_, in GenerateInterfaceMembers() 214 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 219 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers() 220 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 224 variables_, in GenerateMembers() 232 printer->Print(variables_, in GenerateMembers() 241 printer->Print(variables_, "private $field_type$ $name$_ $default_init$;\n"); in GenerateBuilderMembers() 246 variables_, in GenerateBuilderMembers() 254 printer->Print(variables_, in GenerateBuilderMembers() [all …]
|
D | java_message_field_lite.cc | 113 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator() 125 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers() 127 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 133 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers() 134 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 139 variables_, in GenerateMembers() 147 variables_, in GenerateMembers() 156 variables_, in GenerateMembers() 164 variables_, in GenerateMembers() 174 printer->Print(variables_, in GenerateMembers() [all …]
|
D | java_message_field.cc | 128 name_resolver_, &variables_); in ImmutableMessageFieldGenerator() 148 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers() 150 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 154 variables_, in GenerateInterfaceMembers() 160 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers() 161 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 166 variables_, in GenerateMembers() 173 variables_, in GenerateMembers() 181 variables_, in GenerateMembers() 190 variables_, in GenerateMembers() [all …]
|
D | java_string_field_lite.cc | 129 name_resolver_, &variables_); in ImmutableStringFieldLiteGenerator() 167 printer->Print(variables_, in GenerateInterfaceMembers() 171 printer->Print(variables_, in GenerateInterfaceMembers() 174 printer->Print(variables_, in GenerateInterfaceMembers() 181 printer->Print(variables_, "private java.lang.String $name$_;\n"); in GenerateMembers() 182 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 187 variables_, in GenerateMembers() 197 variables_, in GenerateMembers() 205 variables_, in GenerateMembers() 214 printer->Print(variables_, in GenerateMembers() [all …]
|
D | java_enum_field_lite.cc | 134 &variables_); in ImmutableEnumFieldLiteGenerator() 147 printer->Print(variables_, in GenerateInterfaceMembers() 152 printer->Print(variables_, in GenerateInterfaceMembers() 156 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 161 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers() 162 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 166 variables_, in GenerateMembers() 176 variables_, in GenerateMembers() 184 printer->Print(variables_, in GenerateMembers() 195 printer->Print(variables_, in GenerateMembers() [all …]
|
D | java_map_field_lite.cc | 150 &variables_); in ImmutableMapFieldLiteGenerator() 160 printer->Print(variables_, in GenerateInterfaceMembers() 164 printer->Print(variables_, in GenerateInterfaceMembers() 169 printer->Print(variables_, in GenerateInterfaceMembers() 179 variables_, in GenerateInterfaceMembers() 185 variables_, in GenerateInterfaceMembers() 192 variables_, in GenerateInterfaceMembers() 198 variables_, in GenerateInterfaceMembers() 207 printer->Print(variables_, in GenerateInterfaceMembers() 212 printer->Print(variables_, in GenerateInterfaceMembers() [all …]
|
D | java_map_field.cc | 165 &variables_); in ImmutableMapFieldGenerator() 177 printer->Print(variables_, in GenerateInterfaceMembers() 181 printer->Print(variables_, in GenerateInterfaceMembers() 186 printer->Print(variables_, in GenerateInterfaceMembers() 196 variables_, in GenerateInterfaceMembers() 202 variables_, in GenerateInterfaceMembers() 209 variables_, in GenerateInterfaceMembers() 215 variables_, in GenerateInterfaceMembers() 224 printer->Print(variables_, in GenerateInterfaceMembers() 229 printer->Print(variables_, in GenerateInterfaceMembers() [all …]
|
D | java_primitive_field_lite.cc | 189 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator() 202 printer->Print(variables_, in GenerateInterfaceMembers() 206 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 215 variables_, in GenerateMembers() 218 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers() 219 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 223 variables_, in GenerateMembers() 232 printer->Print(variables_, in GenerateMembers() 240 printer->Print(variables_, in GenerateMembers() 248 printer->Print(variables_, in GenerateMembers() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_primitive_field.cc | 240 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 …]
|
D | javanano_enum_field.cc | 115 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 …]
|
D | javanano_message_field.cc | 79 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/csharp/ |
D | csharp_primitive_field.cc | 57 variables_["has_property_check"] = variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator() 58 … variables_["other_has_property_check"] = "other." + variables_["property_name"] + ".Length != 0"; in PrimitiveFieldGenerator() 71 variables_, in GenerateMembers() 76 variables_, in GenerateMembers() 84 variables_, in GenerateMembers() 90 variables_, in GenerateMembers() 97 variables_, in GenerateMembers() 104 variables_, in GenerateMembers() 109 variables_, in GenerateMembers() 113 variables_, in GenerateMembers() [all …]
|
D | csharp_message_field.cc | 57 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 …]
|
D | csharp_wrapper_field.cc | 52 variables_["has_property_check"] = name() + "_ != null"; in WrapperFieldGenerator() 53 variables_["has_not_property_check"] = name() + "_ == null"; in WrapperFieldGenerator() 58 variables_["nonnullable_type_name"] = type_name(wrapped_field); in WrapperFieldGenerator() 67 variables_, in GenerateMembers() 71 variables_, in GenerateMembers() 77 variables_, in GenerateMembers() 86 variables_, in GenerateMembers() 90 variables_, in GenerateMembers() 95 variables_, in GenerateMembers() 99 variables_, in GenerateMembers() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_primitive_field.cc | 219 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 …]
|
D | javamicro_enum_field.cc | 76 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 …]
|
D | javamicro_message_field.cc | 75 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/cpp/ |
D | cpp_primitive_field.cc | 124 SetPrimitiveVariables(descriptor, &variables_, options); in PrimitiveFieldGenerator() 131 Formatter format(printer, variables_); in GeneratePrivateMembers() 137 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 146 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 160 Formatter format(printer, variables_); in GenerateClearingCode() 165 Formatter format(printer, variables_); in GenerateMergingCode() 170 Formatter format(printer, variables_); in GenerateSwappingCode() 176 Formatter format(printer, variables_); in GenerateConstructorCode() 182 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 188 Formatter format(printer, variables_); in GenerateMergeFromCodedStream() [all …]
|
D | cpp_enum_field.cc | 65 SetEnumVariables(descriptor, &variables_, options); in EnumFieldGenerator() 71 Formatter format(printer, variables_); in GeneratePrivateMembers() 77 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 86 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 104 Formatter format(printer, variables_); in GenerateClearingCode() 109 Formatter format(printer, variables_); in GenerateMergingCode() 114 Formatter format(printer, variables_); in GenerateSwappingCode() 119 Formatter format(printer, variables_); in GenerateConstructorCode() 125 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 131 Formatter format(printer, variables_); in GenerateMergeFromCodedStream() [all …]
|
D | cpp_message_field.cc | 92 SetMessageVariables(descriptor, options, implicit_weak_field_, &variables_); in MessageFieldGenerator() 98 Formatter format(printer, variables_); in GeneratePrivateMembers() 108 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 128 Formatter format(printer, variables_); in GenerateNonInlineAccessorDefinitions() 152 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 258 Formatter format(printer, variables_); in GenerateInternalAccessorDeclarations() 275 Formatter format(printer, variables_); in GenerateInternalAccessorDefinitions() 349 Formatter format(printer, variables_); in GenerateClearingCode() 365 Formatter format(printer, variables_); in GenerateMessageClearingCode() 382 Formatter format(printer, variables_); in GenerateMergingCode() [all …]
|
D | cpp_string_field.cc | 93 SetStringVariables(descriptor, &variables_, options); in StringFieldGenerator() 99 Formatter format(printer, variables_); in GeneratePrivateMembers() 120 Formatter format(printer, variables_); in GenerateStaticMembers() 134 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 210 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 391 Formatter format(printer, variables_); in GenerateNonInlineAccessorDefinitions() 401 Formatter format(printer, variables_); in GenerateClearingCode() 425 Formatter format(printer, variables_); in GenerateMessageClearingCode() 480 Formatter format(printer, variables_); in GenerateMergingCode() 492 Formatter format(printer, variables_); in GenerateSwappingCode() [all …]
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 158 SetCommonFieldVariables(descriptor, &variables_); in FieldGenerator() 165 variables_, in GenerateFieldNumberConstant() 189 variables_, in GenerateFieldDescription() 202 variables_, in GenerateFieldDescription() 216 variables_["has_index"] = StrCat(has_index); in SetRuntimeHasBit() 220 variables_["has_index"] = "GPBNoHasBit"; in SetNoHasBit() 239 variables_["has_index"] = StrCat(-index); in SetOneofIndexBase() 245 if ((variables_.find("property_type") == variables_.end()) && in FinishInitialization() 246 (variables_.find("storage_type") != variables_.end())) { in FinishInitialization() 247 variables_["property_type"] = variable("storage_type"); in FinishInitialization() [all …]
|
D | objectivec_oneof.cc | 46 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"] = StrCat(descriptor_->index()); in OneofGenerator() 51 variables_["owning_message_class"] = ClassName(msg_descriptor); in OneofGenerator() 60 variables_["comments"] = comments; in OneofGenerator() 68 variables_["index"] = StrCat(-index); in SetOneofIndexBase() 73 variables_, in GenerateCaseEnum() 77 variables_, in GenerateCaseEnum() 79 string enum_name = variables_["enum_name"]; in GenerateCaseEnum() [all …]
|