/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_string_field.cc | 147 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 …]
|
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() 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 …]
|
D | java_primitive_field.cc | 205 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 …]
|
D | java_message_field_lite.cc | 121 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 …]
|
D | java_string_field_lite.cc | 132 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 …]
|
D | java_message_field.cc | 129 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 …]
|
D | java_enum_field_lite.cc | 142 &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 …]
|
D | java_map_field_lite.cc | 182 &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 …]
|
D | java_primitive_field_lite.cc | 205 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/ |
D | string_field.cc | 147 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 …]
|
D | enum_field.cc | 146 &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 …]
|
D | primitive_field.cc | 205 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 …]
|
D | message_field_lite.cc | 124 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 …]
|
D | string_field_lite.cc | 132 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 …]
|
D | message_field.cc | 132 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 …]
|
D | enum_field_lite.cc | 145 &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 …]
|
D | map_field_lite.cc | 185 &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 …]
|
D | primitive_field_lite.cc | 205 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/ |
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/cronet/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 …]
|
/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() 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 …]
|