Home | History | Annotate | Download | only in chromeos-dbus-bindings

Lines Matching full:c_str

40                       param_def.type.c_str(), param_def.name.c_str());
53 text.AddLine(StringPrintf("// - %s", interface.name.c_str()));
56 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str()));
57 text.AddLine(StringPrintf("#define %s", header_guard.c_str()));
85 parser.MakeProxyName(false).c_str()));
97 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str()));
111 text.AddLine(StringPrintf("// - %s", interface.name.c_str()));
114 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str()));
115 text.AddLine(StringPrintf("#define %s", header_guard.c_str()));
170 relative_path.value().c_str()));
181 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str()));
198 parser.MakeFullCppName().c_str()));
200 text->AddLine(StringPrintf("class %s {", base_interface_name.c_str()));
204 StringPrintf("virtual ~%s() = default;", base_interface_name.c_str()));
239 parser.MakeFullCppName().c_str()));
242 proxy_name.c_str(), base_interface_name.c_str()));
274 config.service_name.c_str()));
280 interface.path.c_str()));
287 proxy_name.c_str()));
295 NameParser{config.object_manager.name}.MakeProxyName(true).c_str()));
298 proxy_name.c_str()));
322 base_interface_name.c_str()));
324 mock_name.c_str(), base_interface_name.c_str()));
327 text->AddLine(StringPrintf("%s() = default;", mock_name.c_str()));
345 name.c_str(), type.c_str()));
349 name.c_str(), type.c_str()));
359 proxy_name.c_str()));
367 mock_name.c_str()),
390 block.AddLine(StringPrintf("%s(%s) :", class_name.c_str(),
391 GetParamString(args.front()).c_str()));
393 block.AddLine(StringPrintf("%s(", class_name.c_str()));
396 block.AddLine(StringPrintf("%s,", GetParamString(args[i]).c_str()));
398 block.AddLine(StringPrintf("%s) :", GetParamString(args.back()).c_str()));
402 block.AddLine(StringPrintf("%s_{%s},", arg.name.c_str(),
403 arg.name.c_str()));
421 block.AddLine(StringPrintf("~%s() override {", class_name.c_str()));
461 class_name.c_str(),
497 signal.name.c_str()));
509 block.AddLine(StringPrintf("\"%s\",", interface_name.c_str()));
510 block.AddLine(StringPrintf("\"%s\",", signal.name.c_str()));
538 block.AddLine(StringPrintf("\"%s\",", interface.name.c_str()));
546 prop.name.c_str(),
547 NameParser{prop.name}.MakeVariableName().c_str()));
559 type.c_str(),
560 NameParser{prop.name}.MakeVariableName().c_str()));
591 prop.name.c_str(),
592 prop.name.c_str()));
603 type.c_str(),
604 name.c_str(),
608 StringPrintf("return property_set_->%s.value();", name.c_str()),
618 name.c_str(),
619 type.c_str()),
627 StringPrintf("property_set_->%s.Set(value, callback);", name.c_str()),
646 method.name.c_str()));
657 "%s %s,", argument_type.c_str(), argument_name.c_str()));
666 "%s* %s,", argument_type.c_str(), argument_name.c_str()));
681 block.AddLine(StringPrintf("\"%s\",", interface_name.c_str()));
682 block.AddLine(StringPrintf("\"%s\",", method.name.c_str()));
685 block.AddLine(StringPrintf("%s,", last_argument.c_str()));
688 block.AddLine(StringPrintf("%s);", last_argument.c_str()));
713 method.name.c_str()));
724 "%s %s,", argument_type.c_str(), argument_name.c_str()));
732 base::StringAppendF(&argument_type, " /*%s*/", argument.name.c_str());
737 brillo::string_utils::Join(", ", out_params).c_str()));
751 block.AddLine(StringPrintf("\"%s\",", interface_name.c_str()));
752 block.AddLine(StringPrintf("\"%s\",", method.name.c_str()));
756 block.AddLine(StringPrintf("%s,", last_argument.c_str()));
759 block.AddLine(StringPrintf("%s);", last_argument.c_str()));
779 base::StringAppendF(&argument_type, " /*in_%s*/", argument.name.c_str());
787 base::StringAppendF(&argument_type, " /*out_%s*/", argument.name.c_str());
806 base::StringAppendF(&argument_type, " /*in_%s*/", argument.name.c_str());
815 base::StringAppendF(&argument_type, " /*%s*/", argument.name.c_str());
820 brillo::string_utils::Join(", ", out_params).c_str()));
837 return_type.c_str(),
838 method_name.c_str(),
839 arguments.front().c_str()),
842 block.AddLine(StringPrintf("%s,", arguments[i].c_str()));
843 c_str()));
850 method_name.c_str(), arguments.size()));
863 arguments.size(), method_name.c_str()),
866 StringPrintf("%s(%s,", return_type.c_str(), arguments.front().c_str()),
869 block.AddLine(StringPrintf("%s,", arguments[i].c_str()));
870 block.AddLine(StringPrintf("%s));", arguments.back().c_str()));
888 signal.name.c_str()),
911 signal_callback.c_str()));
919 StringPrintf("%s%s,", prefix.c_str(), last_argument.c_str()),
923 block->AddLine(StringPrintf("%s,", last_argument.c_str()));
930 prefix.c_str(),
931 last_argument.c_str(),
932 signal_callback.c_str()));
954 class_name.c_str()));
975 class_name.c_str()));
991 class_name.c_str()),
997 class_name.c_str()));
1010 text->AddLine(StringPrintf("\"%s\",", config.service_name.c_str()));
1013 config.object_manager.object_path.c_str()));
1021 itf.name.c_str()));
1032 text->AddLine(StringPrintf("~%s() override {", class_name.c_str()));
1037 itf.name.c_str()));
1062 itf_name.MakeProxyName(true).c_str(),
1063 itf_name.MakeProxyName(false).c_str()));
1069 map_name.c_str()));
1070 text->AddLine(StringPrintf("if (p != %s.end())", map_name.c_str()));
1081 itf_name.MakeProxyName(true).c_str(),
1082 itf_name.MakeProxyName(false).c_str()));
1084 text->AddLine(StringPrintf("if (%s.empty())", map_name.c_str()));
1087 map_name.c_str()));
1095 itf_name.MakeProxyName(true).c_str(),
1096 itf_name.type_name.c_str()));
1099 itf_name.MakeProxyName(true).c_str()));
1100 text->AddLine(StringPrintf("values.reserve(%s.size());", map_name.c_str()));
1101 text->AddLine(StringPrintf("for (const auto& pair : %s)", map_name.c_str()));
1109 itf_name.type_name.c_str()));
1113 itf_name.MakeProxyName(true).c_str()));
1117 itf_name.MakeVariableName().c_str()));
1123 itf_name.type_name.c_str()));
1130 itf_name.MakeVariableName().c_str()));
1169 itf.name.c_str()));
1173 map_name.c_str()));
1174 text->AddLine(StringPrintf("if (p == %s.end())", map_name.c_str()));
1202 itf.name.c_str()));
1208 itf_name.MakeProxyName(true).c_str()));
1216 itf_name.MakeProxyName(true).c_str(),
1217 var_name.c_str()));
1220 itf_name.MakeProxyName(true).c_str());
1234 var_name.c_str(), var_name.c_str()));
1236 var_name.c_str()));
1239 var_name.c_str()));
1263 itf.name.c_str()));
1266 var_name.c_str()));
1268 c_str()));
1271 var_name.c_str()));
1274 var_name.c_str()));
1277 var_name.c_str()));
1303 itf.name.c_str()));
1306 itf_name.MakeProxyName(true).c_str()));
1311 class_name.c_str()),
1347 itf_name.MakeProxyName(true).c_str(),
1348 var_name.c_str()));
1352 itf_name.MakeProxyName(true).c_str(),
1353 var_name.c_str()));
1356 var_name.c_str()));
1360 class_name.c_str()));
1366 return StringPrintf("On%sSignal", signal.c_str());