/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_string_field.cc | 144 name_resolver_, &variables_); in ImmutableStringFieldGenerator() 193 printer->Print(variables_, in GenerateInterfaceMembers() 197 printer->Print(variables_, in GenerateInterfaceMembers() 200 printer->Print(variables_, in GenerateInterfaceMembers() 207 printer->Print(variables_, "private volatile java.lang.Object $name$_;\n"); in GenerateMembers() 208 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 213 variables_, in GenerateMembers() 223 variables_, in GenerateMembers() 235 printer->Print(variables_, " $name$_ = s;\n"); in GenerateMembers() 237 printer->Print(variables_, in GenerateMembers() [all …]
|
D | java_enum_field.cc | 142 &variables_); in ImmutableEnumFieldGenerator() 159 printer->Print(variables_, in GenerateInterfaceMembers() 164 printer->Print(variables_, in GenerateInterfaceMembers() 168 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() 176 printer->Print(variables_, in GenerateMembers() 185 printer->Print(variables_, in GenerateMembers() 193 printer->Print(variables_, in GenerateMembers() 205 printer->Print(variables_, "private int $name$_ = $default_number$;\n"); in GenerateBuilderMembers() [all …]
|
D | java_primitive_field.cc | 192 name_resolver_, &variables_); in ImmutablePrimitiveFieldGenerator() 209 printer->Print(variables_, in GenerateInterfaceMembers() 213 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 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() 242 printer->Print(variables_, "private $field_type$ $name$_ $default_init$;\n"); in GenerateBuilderMembers() 247 variables_, in GenerateBuilderMembers() 256 printer->Print(variables_, in GenerateBuilderMembers() [all …]
|
D | java_message_field_lite.cc | 113 name_resolver_, &variables_); in ImmutableMessageFieldLiteGenerator() 129 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers() 131 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 137 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers() 138 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 143 variables_, in GenerateMembers() 151 variables_, in GenerateMembers() 160 variables_, in GenerateMembers() 168 variables_, in GenerateMembers() 178 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() 174 variables_, in GenerateMembers() 183 variables_, in GenerateMembers() 193 variables_, in GenerateMembers() [all …]
|
D | java_string_field_lite.cc | 124 name_resolver_, &variables_); in ImmutableStringFieldLiteGenerator() 162 printer->Print(variables_, in GenerateInterfaceMembers() 166 printer->Print(variables_, in GenerateInterfaceMembers() 169 printer->Print(variables_, in GenerateInterfaceMembers() 176 printer->Print(variables_, "private java.lang.String $name$_;\n"); in GenerateMembers() 177 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 182 variables_, in GenerateMembers() 192 variables_, in GenerateMembers() 200 variables_, in GenerateMembers() 209 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 | 148 &variables_); in ImmutableMapFieldLiteGenerator() 158 printer->Print(variables_, in GenerateInterfaceMembers() 162 printer->Print(variables_, in GenerateInterfaceMembers() 167 printer->Print(variables_, in GenerateInterfaceMembers() 177 variables_, in GenerateInterfaceMembers() 183 variables_, in GenerateInterfaceMembers() 190 variables_, in GenerateInterfaceMembers() 196 variables_, in GenerateInterfaceMembers() 205 printer->Print(variables_, in GenerateInterfaceMembers() 210 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 | 185 name_resolver_, &variables_); in ImmutablePrimitiveFieldLiteGenerator() 198 printer->Print(variables_, in GenerateInterfaceMembers() 202 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers() 211 variables_, in GenerateMembers() 214 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers() 215 PrintExtraFieldInfo(variables_, printer); in GenerateMembers() 219 variables_, in GenerateMembers() 228 printer->Print(variables_, in GenerateMembers() 236 printer->Print(variables_, in GenerateMembers() 244 printer->Print(variables_, in GenerateMembers() [all …]
|
/third_party/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() 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 …]
|
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 …]
|
D | csharp_repeated_primitive_field.cc | 60 variables_, in GenerateMembers() 63 printer->Print(variables_, in GenerateMembers() 68 variables_, in GenerateMembers() 76 variables_, in GenerateMergingCode() 86 variables_, in GenerateParsingCode() 98 variables_, in GenerateSerializationCode() 106 variables_, in GenerateSerializedSizeCode() 112 variables_, in WriteHash() 117 variables_, in WriteEquals() 121 printer->Print(variables_, in WriteToString() [all …]
|
D | csharp_repeated_enum_field.cc | 60 variables_, in GenerateMembers() 63 printer->Print(variables_, in GenerateMembers() 68 variables_, in GenerateMembers() 76 variables_, in GenerateMergingCode() 86 variables_, in GenerateParsingCode() 98 variables_, in GenerateSerializationCode() 106 variables_, in GenerateSerializedSizeCode() 112 variables_, in WriteHash() 118 variables_, in WriteEquals() 123 printer->Print(variables_, in WriteToString() [all …]
|
D | csharp_repeated_message_field.cc | 61 variables_, in GenerateMembers() 78 variables_, in GenerateMembers() 83 variables_, in GenerateMembers() 91 variables_, in GenerateMergingCode() 101 variables_, in GenerateParsingCode() 113 variables_, in GenerateSerializationCode() 121 variables_, in GenerateSerializedSizeCode() 127 variables_, in WriteHash() 133 variables_, in WriteEquals() 138 variables_["field_name"] = GetFieldName(descriptor_); in WriteToString() [all …]
|
D | csharp_map_field.cc | 63 variables_["key_type_name"] = type_name(key_descriptor); in GenerateMembers() 64 variables_["value_type_name"] = type_name(value_descriptor); in GenerateMembers() 71 variables_, in GenerateMembers() 78 variables_, in GenerateMembers() 84 variables_, in GenerateMembers() 92 variables_, in GenerateMergingCode() 102 variables_, in GenerateParsingCode() 114 variables_, in GenerateSerializationCode() 122 variables_, in GenerateSerializedSizeCode() 128 variables_, in WriteHash() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 166 SetCommonFieldVariables(descriptor, &variables_); in FieldGenerator() 173 variables_, in GenerateFieldNumberConstant() 202 variables_, in GenerateFieldDescription() 215 variables_, in GenerateFieldDescription() 229 variables_["has_index"] = StrCat(has_index); in SetRuntimeHasBit() 233 variables_["has_index"] = "GPBNoHasBit"; in SetNoHasBit() 253 variables_["has_index"] = StrCat(-index); in SetOneofIndexBase() 263 if ((variables_.find("property_type") == variables_.end()) && in FinishInitialization() 264 (variables_.find("storage_type") != variables_.end())) { in FinishInitialization() 265 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 …]
|
D | objectivec_map_field.cc | 94 variables_["field_type"] = value_field_generator_->variable("field_type"); in MapFieldGenerator() 95 variables_["default"] = value_field_generator_->variable("default"); in MapFieldGenerator() 96 variables_["default_name"] = value_field_generator_->variable("default_name"); in MapFieldGenerator() 102 if (variables_["fieldflags"].find("GPBFieldTextFormatNameCustom") != in MapFieldGenerator() 116 variables_["fieldflags"] = BuildFlagsString(FLAGTYPE_FIELD, field_flags); in MapFieldGenerator() 125 variables_["array_storage_type"] = "NSMutableDictionary"; in MapFieldGenerator() 126 variables_["array_property_type"] = in MapFieldGenerator() 134 variables_["array_storage_type"] = class_name; in MapFieldGenerator() 136 variables_["array_property_type"] = in MapFieldGenerator() 142 variables_["dataTypeSpecific_name"] = in MapFieldGenerator() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_primitive_field.cc | 123 SetPrimitiveVariables(descriptor, &variables_, options); in PrimitiveFieldGenerator() 130 Formatter format(printer, variables_); in GeneratePrivateMembers() 136 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 149 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 171 Formatter format(printer, variables_); in GenerateClearingCode() 176 Formatter format(printer, variables_); in GenerateMergingCode() 181 Formatter format(printer, variables_); in GenerateSwappingCode() 187 Formatter format(printer, variables_); in GenerateConstructorCode() 193 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 199 Formatter format(printer, variables_); in GenerateSerializeWithCachedSizesToArray() [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() 90 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 116 Formatter format(printer, variables_); in GenerateClearingCode() 121 Formatter format(printer, variables_); in GenerateMergingCode() 126 Formatter format(printer, variables_); in GenerateSwappingCode() 131 Formatter format(printer, variables_); in GenerateConstructorCode() 137 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 143 Formatter format(printer, variables_); in GenerateSerializeWithCachedSizesToArray() [all …]
|
D | cpp_string_field.cc | 92 SetStringVariables(descriptor, &variables_, options); in StringFieldGenerator() 98 Formatter format(printer, variables_); in GeneratePrivateMembers() 119 Formatter format(printer, variables_); in GenerateStaticMembers() 133 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 198 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 375 Formatter format(printer, variables_); in GenerateNonInlineAccessorDefinitions() 385 Formatter format(printer, variables_); in GenerateClearingCode() 407 Formatter format(printer, variables_); in GenerateMessageClearingCode() 460 Formatter format(printer, variables_); in GenerateMergingCode() 472 Formatter format(printer, variables_); in GenerateSwappingCode() [all …]
|
D | cpp_message_field.cc | 90 SetMessageVariables(descriptor, options, implicit_weak_field_, &variables_); in MessageFieldGenerator() 96 Formatter format(printer, variables_); in GeneratePrivateMembers() 106 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 160 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 298 Formatter format(printer, variables_); in GenerateInternalAccessorDeclarations() 315 Formatter format(printer, variables_); in GenerateInternalAccessorDefinitions() 390 Formatter format(printer, variables_); in GenerateClearingCode() 408 Formatter format(printer, variables_); in GenerateMessageClearingCode() 427 Formatter format(printer, variables_); in GenerateMergingCode() 442 Formatter format(printer, variables_); in GenerateSwappingCode() [all …]
|
D | cpp_extension.cc | 89 SetCommonVars(options, &variables_); in ExtensionGenerator() 90 variables_["extendee"] = ExtendeeClassName(descriptor_); in ExtensionGenerator() 91 variables_["type_traits"] = type_traits_; in ExtensionGenerator() 93 variables_["name"] = ResolveKeyword(name); in ExtensionGenerator() 94 variables_["constant_name"] = FieldConstantName(descriptor_); in ExtensionGenerator() 95 variables_["field_type"] = in ExtensionGenerator() 97 variables_["packed"] = descriptor_->is_packed() ? "true" : "false"; in ExtensionGenerator() 101 variables_["scope"] = scope; in ExtensionGenerator() 103 variables_["scoped_name"] = scoped_name; in ExtensionGenerator() 104 variables_["number"] = StrCat(descriptor_->number()); in ExtensionGenerator() [all …]
|