/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_message_field.cc | 48 map<string, string>* variables, in SetMessageVariables() argument 50 SetCommonFieldVariables(descriptor, variables, options); in SetMessageVariables() 51 (*variables)["type"] = FieldMessageTypeName(descriptor); in SetMessageVariables() 53 (*variables)["non_null_ptr_to_name"] = in SetMessageVariables() 54 StrCat("this->", (*variables)["name"], "_"); in SetMessageVariables() 56 (*variables)["stream_writer"] = in SetMessageVariables() 57 (*variables)["declared_type"] + in SetMessageVariables() 63 (*variables)["release_name"] = in SetMessageVariables() 66 (*variables)["full_name"] = descriptor->full_name(); in SetMessageVariables() 68 (*variables)["dependent_type"] = "T::" + DependentTypeName(descriptor); in SetMessageVariables() [all …]
|
D | cpp_map_field.cc | 48 map<string, string>* variables, in SetMessageVariables() argument 50 SetCommonFieldVariables(descriptor, variables, options); in SetMessageVariables() 51 (*variables)["type"] = FieldMessageTypeName(descriptor); in SetMessageVariables() 52 (*variables)["stream_writer"] = in SetMessageVariables() 53 (*variables)["declared_type"] + in SetMessageVariables() 57 (*variables)["full_name"] = descriptor->full_name(); in SetMessageVariables() 63 (*variables)["key_cpp"] = PrimitiveTypeName(key->cpp_type()); in SetMessageVariables() 66 (*variables)["val_cpp"] = FieldMessageTypeName(val); in SetMessageVariables() 67 (*variables)["wrapper"] = "EntryWrapper"; in SetMessageVariables() 70 (*variables)["val_cpp"] = ClassName(val->enum_type(), true); in SetMessageVariables() [all …]
|
D | cpp_field.cc | 62 map<string, string>* variables, in SetCommonFieldVariables() argument 64 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables() 65 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables() 66 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 67 (*variables)["classname"] = ClassName(FieldScope(descriptor), false); in SetCommonFieldVariables() 68 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type()); in SetCommonFieldVariables() 73 (*variables)["non_null_ptr_to_name"] = in SetCommonFieldVariables() 76 (*variables)["tag_size"] = SimpleItoa( in SetCommonFieldVariables() 78 (*variables)["deprecation"] = descriptor->options().deprecated() in SetCommonFieldVariables() 80 (*variables)["deprecated_attr"] = descriptor->options().deprecated() in SetCommonFieldVariables() [all …]
|
D | cpp_string_field.cc | 49 map<string, string>* variables, in SetStringVariables() argument 51 SetCommonFieldVariables(descriptor, variables, options); in SetStringVariables() 52 (*variables)["default"] = DefaultValue(descriptor); in SetStringVariables() 53 (*variables)["default_length"] = in SetStringVariables() 59 (*variables)["default_variable"] = default_variable_string; in SetStringVariables() 60 (*variables)["default_value_init"] = in SetStringVariables() 63 (*variables)["pointer_type"] = in SetStringVariables() 67 (*variables)["release_name"] = in SetStringVariables() 70 (*variables)["full_name"] = descriptor->full_name(); in SetStringVariables() 72 (*variables)["string_piece"] = "::std::string"; in SetStringVariables() [all …]
|
D | cpp_enum_field.cc | 49 map<string, string>* variables, in SetEnumVariables() argument 51 SetCommonFieldVariables(descriptor, variables, options); in SetEnumVariables() 53 (*variables)["type"] = ClassName(descriptor->enum_type(), true); in SetEnumVariables() 54 (*variables)["default"] = Int32ToString(default_value->number()); in SetEnumVariables() 55 (*variables)["full_name"] = descriptor->full_name(); in SetEnumVariables() 85 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions() local 86 variables["inline"] = is_inline ? "inline" : ""; in GenerateInlineAccessorDefinitions() 87 printer->Print(variables, in GenerateInlineAccessorDefinitions() 94 printer->Print(variables, in GenerateInlineAccessorDefinitions() 97 printer->Print(variables, in GenerateInlineAccessorDefinitions() [all …]
|
D | cpp_primitive_field.cc | 83 map<string, string>* variables, in SetPrimitiveVariables() argument 85 SetCommonFieldVariables(descriptor, variables, options); in SetPrimitiveVariables() 86 (*variables)["type"] = PrimitiveTypeName(descriptor->cpp_type()); in SetPrimitiveVariables() 87 (*variables)["default"] = DefaultValue(descriptor); in SetPrimitiveVariables() 88 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 91 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables() 93 (*variables)["wire_format_field_type"] = in SetPrimitiveVariables() 96 (*variables)["full_name"] = descriptor->full_name(); in SetPrimitiveVariables() 125 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions() local 126 variables["inline"] = is_inline ? "inline" : ""; in GenerateInlineAccessorDefinitions() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_primitive_field_lite.cc | 64 map<string, string>* variables) { in SetPrimitiveVariables() argument 65 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 67 (*variables)["type"] = PrimitiveTypeName(javaType); in SetPrimitiveVariables() 68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(javaType); in SetPrimitiveVariables() 69 (*variables)["field_type"] = (*variables)["type"]; in SetPrimitiveVariables() 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 71 (*variables)["capitalized_type"] = in SetPrimitiveVariables() 73 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 74 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() 85 (*variables)["field_list_type"] = in SetPrimitiveVariables() [all …]
|
D | java_map_field.cc | 83 map<string, string>* variables) { in SetMessageVariables() argument 84 SetCommonFieldVariables(descriptor, info, variables); in SetMessageVariables() 87 (*variables)["type"] = in SetMessageVariables() 94 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 95 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 96 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables() 97 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 98 (*variables)["key_null_check"] = IsReferenceType(keyJavaType) ? in SetMessageVariables() 100 (*variables)["value_null_check"] = IsReferenceType(valueJavaType) ? in SetMessageVariables() 104 (*variables)["value_type"] = "int"; in SetMessageVariables() [all …]
|
D | java_primitive_field.cc | 64 map<string, string>* variables) { in SetPrimitiveVariables() argument 65 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 69 (*variables)["field_type"] = (*variables)["type"]; in SetPrimitiveVariables() 70 (*variables)["field_list_type"] = "java.util.List<" + in SetPrimitiveVariables() 71 (*variables)["boxed_type"] + ">"; in SetPrimitiveVariables() 72 (*variables)["empty_list"] = "java.util.Collections.emptyList()"; in SetPrimitiveVariables() 73 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 74 (*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ? in SetPrimitiveVariables() [all …]
|
D | java_map_field_lite.cc | 83 map<string, string>* variables) { in SetMessageVariables() argument 84 SetCommonFieldVariables(descriptor, info, variables); in SetMessageVariables() 87 (*variables)["type"] = in SetMessageVariables() 94 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 95 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 96 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables() 97 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 98 (*variables)["key_null_check"] = IsReferenceType(keyJavaType) ? in SetMessageVariables() 100 (*variables)["value_null_check"] = IsReferenceType(valueJavaType) ? in SetMessageVariables() 105 (*variables)["value_type"] = "int"; in SetMessageVariables() [all …]
|
D | java_string_field.cc | 65 map<string, string>* variables) { in SetPrimitiveVariables() argument 66 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 68 (*variables)["empty_list"] = "com.google.protobuf.LazyStringArrayList.EMPTY"; in SetPrimitiveVariables() 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 71 (*variables)["default_init"] = in SetPrimitiveVariables() 73 (*variables)["capitalized_type"] = "String"; in SetPrimitiveVariables() 74 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 75 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() 77 (*variables)["null_check"] = in SetPrimitiveVariables() 81 (*variables)["writeString"] = in SetPrimitiveVariables() [all …]
|
D | java_enum_field.cc | 61 map<string, string>* variables) { in SetEnumVariables() argument 62 SetCommonFieldVariables(descriptor, info, variables); in SetEnumVariables() 64 (*variables)["type"] = in SetEnumVariables() 66 (*variables)["mutable_type"] = in SetEnumVariables() 68 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables() 69 (*variables)["default_number"] = SimpleItoa( in SetEnumVariables() 71 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 72 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables() 76 (*variables)["deprecation"] = descriptor->options().deprecated() in SetEnumVariables() 78 (*variables)["on_changed"] = "onChanged();"; in SetEnumVariables() [all …]
|
D | java_field.cc | 293 map<string, string>* variables) { in SetCommonFieldVariables() argument 294 (*variables)["field_name"] = descriptor->name(); in SetCommonFieldVariables() 295 (*variables)["name"] = info->name; in SetCommonFieldVariables() 296 (*variables)["capitalized_name"] = info->capitalized_name; in SetCommonFieldVariables() 297 (*variables)["disambiguated_reason"] = info->disambiguated_reason; in SetCommonFieldVariables() 298 (*variables)["constant_name"] = FieldConstantName(descriptor); in SetCommonFieldVariables() 299 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 304 map<string, string>* variables) { in SetCommonOneofVariables() argument 305 (*variables)["oneof_name"] = info->name; in SetCommonOneofVariables() 306 (*variables)["oneof_capitalized_name"] = info->capitalized_name; in SetCommonOneofVariables() [all …]
|
D | java_enum_field_lite.cc | 61 map<string, string>* variables) { in SetEnumVariables() argument 62 SetCommonFieldVariables(descriptor, info, variables); in SetEnumVariables() 64 (*variables)["type"] = in SetEnumVariables() 66 (*variables)["mutable_type"] = in SetEnumVariables() 68 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables() 69 (*variables)["default_number"] = SimpleItoa( in SetEnumVariables() 71 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 72 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables() 76 (*variables)["deprecation"] = descriptor->options().deprecated() in SetEnumVariables() 81 (*variables)["get_has_field_bit_message"] = GenerateGetBit(messageBitIndex); in SetEnumVariables() [all …]
|
D | java_message_field.cc | 59 map<string, string>* variables) { in SetMessageVariables() argument 60 SetCommonFieldVariables(descriptor, info, variables); in SetMessageVariables() 62 (*variables)["type"] = in SetMessageVariables() 64 (*variables)["mutable_type"] = in SetMessageVariables() 66 (*variables)["group_or_message"] = in SetMessageVariables() 71 (*variables)["deprecation"] = descriptor->options().deprecated() in SetMessageVariables() 73 (*variables)["on_changed"] = "onChanged();"; in SetMessageVariables() 74 (*variables)["ver"] = GeneratedCodeVersionSuffix(); in SetMessageVariables() 75 (*variables)["get_parser"] = in SetMessageVariables() 81 (*variables)["get_has_field_bit_message"] = GenerateGetBit(messageBitIndex); in SetMessageVariables() [all …]
|
D | java_string_field_lite.cc | 65 map<string, string>* variables) { in SetPrimitiveVariables() argument 66 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 68 (*variables)["empty_list"] = in SetPrimitiveVariables() 71 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 72 (*variables)["default_init"] = in SetPrimitiveVariables() 74 (*variables)["capitalized_type"] = "String"; in SetPrimitiveVariables() 75 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 76 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() 78 (*variables)["null_check"] = in SetPrimitiveVariables() 85 (*variables)["deprecation"] = descriptor->options().deprecated() in SetPrimitiveVariables() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_extension.cc | 81 map<string, string>* variables) { in SetVariables() argument 82 (*variables)["extends"] = ClassName(params, descriptor->containing_type()); in SetVariables() 83 (*variables)["name"] = RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); in SetVariables() 85 (*variables)["repeated"] = repeated ? "Repeated" : ""; in SetVariables() 86 (*variables)["type"] = GetTypeConstantName(descriptor->type()); in SetVariables() 90 (*variables)["ext_type"] = "MessageTyped"; in SetVariables() 95 (*variables)["class"] = message_type; in SetVariables() 98 (*variables)["tag_params"] = tag; in SetVariables() 100 (*variables)["ext_type"] = "PrimitiveTyped"; in SetVariables() 102 (*variables)["class"] = BoxedPrimitiveTypeName(java_type); in SetVariables() [all …]
|
D | javanano_field.cc | 154 map<string, string>* variables) { in SetCommonOneofVariables() argument 155 (*variables)["oneof_name"] = in SetCommonOneofVariables() 157 (*variables)["oneof_capitalized_name"] = in SetCommonOneofVariables() 159 (*variables)["oneof_index"] = in SetCommonOneofVariables() 161 (*variables)["set_oneof_case"] = in SetCommonOneofVariables() 162 "this." + (*variables)["oneof_name"] + in SetCommonOneofVariables() 164 (*variables)["clear_oneof_case"] = in SetCommonOneofVariables() 165 "this." + (*variables)["oneof_name"] + "Case_ = 0"; in SetCommonOneofVariables() 166 (*variables)["has_oneof_case"] = in SetCommonOneofVariables() 167 "this." + (*variables)["oneof_name"] + "Case_ == " + in SetCommonOneofVariables() [all …]
|
D | javanano_map_field.cc | 87 const FieldDescriptor* descriptor, map<string, string>* variables) { in SetMapVariables() argument 90 (*variables)["name"] = in SetMapVariables() 92 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetMapVariables() 93 (*variables)["key_type"] = TypeName(params, key, false); in SetMapVariables() 94 (*variables)["boxed_key_type"] = TypeName(params,key, true); in SetMapVariables() 95 (*variables)["key_desc_type"] = in SetMapVariables() 97 (*variables)["key_tag"] = SimpleItoa(internal::WireFormat::MakeTag(key)); in SetMapVariables() 98 (*variables)["value_type"] = TypeName(params, value, false); in SetMapVariables() 99 (*variables)["boxed_value_type"] = TypeName(params, value, true); in SetMapVariables() 100 (*variables)["value_desc_type"] = in SetMapVariables() [all …]
|
D | javanano_primitive_field.cc | 169 map<string, string>* variables) { in SetPrimitiveVariables() argument 170 (*variables)["name"] = in SetPrimitiveVariables() 172 (*variables)["capitalized_name"] = in SetPrimitiveVariables() 174 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetPrimitiveVariables() 177 (*variables)["type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 179 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 190 (*variables)["default"] = DefaultValue(params, descriptor); in SetPrimitiveVariables() 191 (*variables)["default_constant"] = FieldDefaultConstantName(descriptor); in SetPrimitiveVariables() 192 (*variables)["default_constant_value"] = strings::Substitute( in SetPrimitiveVariables() 195 (*variables)["default_copy_if_needed"] = in SetPrimitiveVariables() [all …]
|
D | javanano_enum_field.cc | 55 const FieldDescriptor* descriptor, map<string, string>* variables) { in SetEnumVariables() argument 56 (*variables)["name"] = in SetEnumVariables() 58 (*variables)["capitalized_name"] = in SetEnumVariables() 60 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetEnumVariables() 64 (*variables)["type"] = "java.lang.Integer"; in SetEnumVariables() 65 (*variables)["default"] = "null"; in SetEnumVariables() 67 (*variables)["type"] = "int"; in SetEnumVariables() 68 (*variables)["default"] = DefaultValue(params, descriptor); in SetEnumVariables() 70 (*variables)["repeated_default"] = in SetEnumVariables() 72 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_field_base.cc | 57 map<string, string>* variables) { in SetCommonFieldVariables() argument 70 (*variables)["access_level"] = "public"; in SetCommonFieldVariables() 71 (*variables)["tag"] = SimpleItoa(tag); in SetCommonFieldVariables() 72 (*variables)["tag_size"] = SimpleItoa(tag_size); in SetCommonFieldVariables() 73 (*variables)["tag_bytes"] = tag_bytes; in SetCommonFieldVariables() 75 (*variables)["property_name"] = property_name(); in SetCommonFieldVariables() 76 (*variables)["type_name"] = type_name(); in SetCommonFieldVariables() 77 (*variables)["name"] = name(); in SetCommonFieldVariables() 78 (*variables)["descriptor_name"] = descriptor_->name(); in SetCommonFieldVariables() 79 (*variables)["default_value"] = default_value(); in SetCommonFieldVariables() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum_field.cc | 49 map<string, string>* variables) { in SetEnumVariables() argument 51 (*variables)["storage_type"] = type; in SetEnumVariables() 57 (*variables)["property_type"] = "enum " + type; in SetEnumVariables() 59 (*variables)["enum_verifier"] = type + "_IsValidValue"; in SetEnumVariables() 60 (*variables)["enum_desc_func"] = type + "_EnumDescriptor"; in SetEnumVariables() 62 (*variables)["dataTypeSpecific_name"] = "enumDescFunc"; in SetEnumVariables() 63 (*variables)["dataTypeSpecific_value"] = (*variables)["enum_desc_func"]; in SetEnumVariables() 66 (*variables)["owning_message_class"] = ClassName(msg_descriptor); in SetEnumVariables()
|
D | objectivec_field.cc | 52 map<string, string>* variables) { in SetCommonFieldVariables() argument 67 (*variables)["comments"] = BuildCommentsString(location); in SetCommonFieldVariables() 69 (*variables)["comments"] = "\n"; in SetCommonFieldVariables() 72 (*variables)["classname"] = classname; in SetCommonFieldVariables() 73 (*variables)["name"] = camel_case_name; in SetCommonFieldVariables() 75 (*variables)["capitalized_name"] = capitalized_name; in SetCommonFieldVariables() 76 (*variables)["raw_field_name"] = raw_field_name; in SetCommonFieldVariables() 77 (*variables)["field_number_name"] = in SetCommonFieldVariables() 79 (*variables)["field_number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 80 (*variables)["field_type"] = GetCapitalizedType(descriptor); in SetCommonFieldVariables() [all …]
|
D | objectivec_message_field.cc | 48 map<string, string>* variables) { in SetMessageVariables() argument 50 (*variables)["type"] = message_type; in SetMessageVariables() 51 (*variables)["containing_class"] = ClassName(descriptor->containing_type()); in SetMessageVariables() 52 (*variables)["storage_type"] = message_type; in SetMessageVariables() 53 (*variables)["group_or_message"] = in SetMessageVariables() 56 (*variables)["dataTypeSpecific_value"] = "GPBStringifySymbol(" + message_type + ")"; in SetMessageVariables()
|