/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.cc | 81 map<string, string> vars; in GenerateDefinition() local 82 vars["classname"] = classname_; in GenerateDefinition() 83 vars["short_name"] = descriptor_->name(); in GenerateDefinition() 84 vars["enumbase"] = classname_ + (options_.proto_h ? " : int" : ""); in GenerateDefinition() 86 printer->Print(vars, "enum $enumbase$ {\n"); in GenerateDefinition() 94 vars["name"] = EnumValueName(descriptor_->value(i)); in GenerateDefinition() 98 vars["number"] = Int32ToString(descriptor_->value(i)->number()); in GenerateDefinition() 99 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition() 101 vars["deprecation"] = descriptor_->value(i)->options().deprecated() ? in GenerateDefinition() 105 printer->Print(vars, "$prefix$$name$$deprecation$ = $number$"); in GenerateDefinition() [all …]
|
D | cpp_extension.cc | 95 map<string, string> vars; in GenerateDeclaration() local 96 vars["extendee" ] = ExtendeeClassName(descriptor_); in GenerateDeclaration() 97 vars["number" ] = SimpleItoa(descriptor_->number()); in GenerateDeclaration() 98 vars["type_traits" ] = type_traits_; in GenerateDeclaration() 99 vars["name" ] = descriptor_->name(); in GenerateDeclaration() 100 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateDeclaration() 101 vars["packed" ] = descriptor_->options().packed() ? "true" : "false"; in GenerateDeclaration() 102 vars["constant_name"] = FieldConstantName(descriptor_); in GenerateDeclaration() 108 vars["qualifier"] = "extern"; in GenerateDeclaration() 110 vars["qualifier"] = options_.dllexport_decl + " " + vars["qualifier"]; in GenerateDeclaration() [all …]
|
D | cpp_message.cc | 475 map<string, string> vars; in GenerateDependentFieldAccessorDeclarations() local 476 SetCommonFieldVariables(field, &vars, options_); in GenerateDependentFieldAccessorDeclarations() 482 printer->Print(vars, "$deprecated_attr$void clear_$name$();\n"); in GenerateDependentFieldAccessorDeclarations() 497 map<string, string> vars; in GenerateFieldAccessorDeclarations() local 498 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations() 499 vars["constant_name"] = FieldConstantName(field); in GenerateFieldAccessorDeclarations() 517 printer->Print(vars, "$deprecated_attr$int $name$_size() const;\n"); in GenerateFieldAccessorDeclarations() 519 printer->Print(vars, "$deprecated_attr$bool has_$name$() const;\n"); in GenerateFieldAccessorDeclarations() 521 printer->Print(vars, in GenerateFieldAccessorDeclarations() 530 printer->Print(vars, "$deprecated_attr$void clear_$name$();\n"); in GenerateFieldAccessorDeclarations() [all …]
|
D | cpp_service.cc | 164 map<string, string> vars; in GenerateDescriptorInitializer() local 165 vars["classname"] = descriptor_->name(); in GenerateDescriptorInitializer() 166 vars["index"] = SimpleItoa(index); in GenerateDescriptorInitializer() 168 printer->Print(vars, in GenerateDescriptorInitializer()
|
D | cpp_helpers.cc | 508 map<string, string> vars; in PrintHandlingOptionalStaticInitializers() local 510 vars[var1] = val1; in PrintHandlingOptionalStaticInitializers() 513 vars[var2] = val2; in PrintHandlingOptionalStaticInitializers() 516 vars, file, options, printer, with_static_init, without_static_init); in PrintHandlingOptionalStaticInitializers() 519 void PrintHandlingOptionalStaticInitializers(const map<string, string>& vars, in PrintHandlingOptionalStaticInitializers() argument 526 printer->Print(vars, with_static_init); in PrintHandlingOptionalStaticInitializers() 528 printer->Print(vars, (string( in PrintHandlingOptionalStaticInitializers()
|
D | cpp_message.h | 175 map<string, string> vars, 181 const map<string, string>& vars, 185 const map<string, string>& vars,
|
D | cpp_helpers.h | 235 void PrintHandlingOptionalStaticInitializers(const map<string, string>& vars,
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | printer.cc | 181 map<string, string> vars; in Print() local 182 vars[variable] = value; in Print() 183 Print(vars, text); in Print() 189 map<string, string> vars; in Print() local 190 vars[variable1] = value1; in Print() 191 vars[variable2] = value2; in Print() 192 Print(vars, text); in Print() 199 map<string, string> vars; in Print() local 200 vars[variable1] = value1; in Print() 201 vars[variable2] = value2; in Print() [all …]
|
D | printer_unittest.cc | 124 map<string, string> vars; in TEST() local 126 vars["foo"] = "World"; in TEST() 127 vars["bar"] = "$foo$"; in TEST() 128 vars["abcdefg"] = "1234"; in TEST() 130 printer.Print(vars, "Hello $foo$!\nbar = $bar$\n"); in TEST() 132 printer.Print(vars, "$abcdefg$\nA literal dollar sign: $$"); in TEST() 134 vars["foo"] = "blah"; in TEST() 135 printer.Print(vars, "\nNow foo = $foo$."); in TEST() 214 map<string, string> vars; in TEST() local 215 vars["foo"] = "3"; in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_extension.cc | 62 map<string, string> vars; in GenerateMembersHeader() local 63 vars["method_name"] = method_name_; in GenerateMembersHeader() 66 vars["comments"] = BuildCommentsString(location); in GenerateMembersHeader() 68 vars["comments"] = ""; in GenerateMembersHeader() 70 printer->Print(vars, in GenerateMembersHeader() 77 map<string, string> vars; in GenerateStaticVariablesInitialization() local 78 vars["root_class_and_method_name"] = root_class_and_method_name_; in GenerateStaticVariablesInitialization() 79 vars["extended_type"] = ClassName(descriptor_->containing_type()); in GenerateStaticVariablesInitialization() 80 vars["number"] = SimpleItoa(descriptor_->number()); in GenerateStaticVariablesInitialization() 88 vars["options"] = BuildFlagsString(options); in GenerateStaticVariablesInitialization() [all …]
|
D | objectivec_message.cc | 506 map<string, string> vars; in GenerateSource() local 507 vars["classname"] = class_name_; in GenerateSource() 508 vars["rootclassname"] = root_classname_; in GenerateSource() 509 vars["fields"] = has_fields ? "fields" : "NULL"; in GenerateSource() 511 vars["fields_count"] = in GenerateSource() 514 vars["fields_count"] = "0"; in GenerateSource() 524 vars["init_flags"] = BuildFlagsString(init_flags); in GenerateSource() 527 vars, in GenerateSource()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_extension.cc | 69 map<string, string> &vars = *vars_pointer; in InitTemplateVars() local 70 vars["scope"] = scope; in InitTemplateVars() 71 vars["name"] = UnderscoresToCamelCase(descriptor); in InitTemplateVars() 72 vars["containing_type"] = in InitTemplateVars() 74 vars["number"] = SimpleItoa(descriptor->number()); in InitTemplateVars() 75 vars["constant_name"] = FieldConstantName(descriptor); in InitTemplateVars() 76 vars["index"] = SimpleItoa(descriptor->index()); in InitTemplateVars() 77 vars["default"] = descriptor->is_repeated() ? in InitTemplateVars() 79 vars["type_constant"] = FieldTypeName(GetType(descriptor)); in InitTemplateVars() 80 vars["packed"] = descriptor->options().packed() ? "true" : "false"; in InitTemplateVars() [all …]
|
D | java_service.cc | 207 map<string, string> vars; in GenerateCallMethod() local 208 vars["index"] = SimpleItoa(i); in GenerateCallMethod() 209 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod() 210 vars["input"] = name_resolver_->GetImmutableClassName( in GenerateCallMethod() 212 vars["output"] = name_resolver_->GetImmutableClassName( in GenerateCallMethod() 214 printer->Print(vars, in GenerateCallMethod() 255 map<string, string> vars; in GenerateCallBlockingMethod() local 256 vars["index"] = SimpleItoa(i); in GenerateCallBlockingMethod() 257 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod() 258 vars["input"] = name_resolver_->GetImmutableClassName( in GenerateCallBlockingMethod() [all …]
|
D | java_enum_lite.cc | 98 map<string, string> vars; in Generate() local 99 vars["name"] = canonical_values_[i]->name(); in Generate() 100 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 105 printer->Print(vars, in Generate() 120 map<string, string> vars; in Generate() local 121 vars["classname"] = descriptor_->name(); in Generate() 122 vars["name"] = aliases_[i].value->name(); in Generate() 123 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() 125 printer->Print(vars, in Generate() 130 map<string, string> vars; in Generate() local [all …]
|
D | java_enum.cc | 108 map<string, string> vars; in Generate() local 109 vars["name"] = canonical_values_[i]->name(); in Generate() 110 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate() 111 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 117 printer->Print(vars, in Generate() 120 printer->Print(vars, in Generate() 140 map<string, string> vars; in Generate() local 141 vars["classname"] = descriptor_->name(); in Generate() 142 vars["name"] = aliases_[i].value->name(); in Generate() 143 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() [all …]
|
D | java_message.cc | 113 map<string, string> vars; in GenerateStaticVariables() local 114 vars["identifier"] = UniqueFileScopeIdentifier(descriptor_); in GenerateStaticVariables() 115 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariables() 116 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); in GenerateStaticVariables() 118 vars["parent"] = UniqueFileScopeIdentifier( in GenerateStaticVariables() 124 vars["private"] = ""; in GenerateStaticVariables() 126 vars["private"] = "private "; in GenerateStaticVariables() 129 vars["final"] = "final "; in GenerateStaticVariables() 131 vars["final"] = ""; in GenerateStaticVariables() 135 printer->Print(vars, in GenerateStaticVariables() [all …]
|
D | java_extension_lite.cc | 60 map<string, string> vars; in Generate() local 63 &vars); in Generate() 64 printer->Print(vars, in Generate() 70 vars, in Generate() 85 vars, in Generate()
|
D | java_message_builder_lite.cc | 109 map<string, string> vars; in Generate() local 111 vars["oneof_name"] = context_->GetOneofGeneratorInfo( in Generate() 113 vars["oneof_capitalized_name"] = context_->GetOneofGeneratorInfo( in Generate() 115 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 118 printer->Print(vars, in Generate()
|
D | java_message_lite.cc | 239 map<string, string> vars; in Generate() local 241 vars["oneof_name"] = context_->GetOneofGeneratorInfo( in Generate() 243 vars["oneof_capitalized_name"] = context_->GetOneofGeneratorInfo( in Generate() 245 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 247 printer->Print(vars, in Generate() 251 printer->Print(vars, in Generate() 267 ToUpper(vars["oneof_name"])); in Generate() 268 printer->Print(vars, in Generate() 273 printer->Print(vars, in Generate() 301 "cap_oneof_name", ToUpper(vars["oneof_name"])); in Generate() [all …]
|
D | java_message_builder.cc | 125 map<string, string> vars; in Generate() local 127 vars["oneof_name"] = context_->GetOneofGeneratorInfo( in Generate() 129 vars["oneof_capitalized_name"] = context_->GetOneofGeneratorInfo( in Generate() 131 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 133 printer->Print(vars, in Generate() 137 printer->Print(vars, in Generate()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 102 map<string, string> vars; in Generate() local 103 vars["class_name"] = class_name(); in Generate() 104 vars["access_level"] = class_access_level(); in Generate() 108 vars, in Generate() 114 vars, in Generate() 119 vars, in Generate() 124 vars["descriptor_accessor"] = GetReflectionClassName(descriptor_->file()) in Generate() 127 vars["descriptor_accessor"] = GetClassName(descriptor_->containing_type()) in Generate() 133 vars, in Generate() 140 vars, in Generate() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 185 map<string, string> vars; in Generate() local 186 vars["message_name"] = descriptor_->name(); in Generate() 189 vars["oneof_name"] = UnderscoresToCamelCase(oneof_desc); in Generate() 190 vars["oneof_capitalized_name"] = in Generate() 192 vars["oneof_index"] = SimpleItoa(oneof_desc->index()); in Generate() 196 vars["number"] = SimpleItoa(field->number()); in Generate() 197 vars["cap_field_name"] = ToUpper(field->name()); in Generate() 198 printer->Print(vars, in Generate() 202 printer->Print(vars, in Generate() 205 printer->Print(vars, in Generate() [all …]
|
/frameworks/base/startop/scripts/app_startup/ |
D | app_startup_runner_test.py | 88 return vars(asr.parse_options(shlex.split(args)))
|
D | app_startup_runner.py | 308 combos = lambda: generate_run_combinations(RunCommandArgs, vars(opts))
|
/frameworks/base/tools/hiddenapi/ |
D | generate_hiddenapi_lists.py | 269 args = vars(get_args())
|