• Home
  • Raw
  • Download

Lines Matching refs:arg

435 static std::string wrapPassthroughArg(Formatter& out, const NamedReference<Type>* arg,  in wrapPassthroughArg()  argument
437 if (!arg->type().isInterface()) { in wrapPassthroughArg()
441 const Interface &iface = static_cast<const Interface &>(arg->type()); in wrapPassthroughArg()
490 for (const auto &arg : method->args()) { in generatePassthroughMethod() local
491 std::string name = wrapPassthroughArg(out, arg, arg->name(), [&] { in generatePassthroughMethod()
511 for (const std::string& arg : wrappedArgNames) { in generatePassthroughMethod() local
512 out << ", " << arg; in generatePassthroughMethod()
522 out.join(method->args().begin(), method->args().end(), ", ", [&](const auto &arg) { in generatePassthroughMethod() argument
523 out << (arg->type().isInterface() ? "_hidl_wrapped_" : "") << arg->name(); in generatePassthroughMethod()
541 out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) { in generatePassthroughMethod() argument
543 << arg->name(); in generatePassthroughMethod()
555 for (const auto &arg : method->results()) { in generatePassthroughMethod() local
557 wrapPassthroughArg(out, arg, "_hidl_out_" + arg->name(), kHandlePassthroughError)); in generatePassthroughMethod()
562 [&](const std::string& arg) { out << arg; }); in generatePassthroughMethod() argument
976 for (const auto &arg : args) { in declareCppReaderLocals() local
977 const Type &type = arg->type(); in declareCppReaderLocals()
981 << (forResults ? "_hidl_out_" : "") + arg->name() in declareCppReaderLocals()
989 const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode, in emitCppReaderWriter() argument
991 const Type &type = arg->type(); in emitCppReaderWriter()
995 addPrefixToName ? ("_hidl_out_" + arg->name()) : arg->name(), in emitCppReaderWriter()
1003 bool parcelObjIsPointer, const NamedReference<Type>* arg, in emitCppResolveReferences() argument
1006 const Type &type = arg->type(); in emitCppResolveReferences()
1010 addPrefixToName ? ("_hidl_out_" + arg->name()) : arg->name(), in emitCppResolveReferences()
1050 out.join(method->args().begin(), method->args().end(), ", ", [&](const auto &arg) { in generateProxyMethodSource() argument
1051 out << arg->name(); in generateProxyMethodSource()
1125 for (const auto &arg : method->args()) { in generateStaticProxyMethodSource() local
1126 if (arg->type().isInterface()) { in generateStaticProxyMethodSource()
1133 arg, in generateStaticProxyMethodSource()
1140 for (const auto &arg : method->args()) { in generateStaticProxyMethodSource() local
1145 arg, in generateStaticProxyMethodSource()
1175 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource() local
1180 arg, in generateStaticProxyMethodSource()
1187 for (const auto &arg : method->results()) { in generateStaticProxyMethodSource() local
1192 arg, in generateStaticProxyMethodSource()
1201 … out.join(method->results().begin(), method->results().end(), ", ", [&] (const auto &arg) { in generateStaticProxyMethodSource() argument
1202 if (arg->type().resultNeedsDeref()) { in generateStaticProxyMethodSource()
1205 out << "_hidl_out_" << arg->name(); in generateStaticProxyMethodSource()
1508 for (const auto &arg : method->args()) { in generateStaticStubMethodSource() local
1513 arg, in generateStaticStubMethodSource()
1520 for (const auto &arg : method->args()) { in generateStaticStubMethodSource() local
1525 arg, in generateStaticStubMethodSource()
1556 out.join(method->args().begin(), method->args().end(), ", ", [&] (const auto &arg) { in generateStaticStubMethodSource() argument
1557 if (arg->type().resultNeedsDeref()) { in generateStaticStubMethodSource()
1560 out << arg->name(); in generateStaticStubMethodSource()
1600 out.join(method->args().begin(), method->args().end(), ", ", [&] (const auto &arg) { in generateStaticStubMethodSource() argument
1601 if (arg->type().resultNeedsDeref()) { in generateStaticStubMethodSource()
1605 out << arg->name(); in generateStaticStubMethodSource()
1615 … out.join(method->results().begin(), method->results().end(), ", ", [&](const auto &arg) { in generateStaticStubMethodSource() argument
1616 out << "const auto &_hidl_out_" << arg->name(); in generateStaticStubMethodSource()
1634 for (const auto &arg : method->results()) { in generateStaticStubMethodSource() local
1639 arg, in generateStaticStubMethodSource()
1646 for (const auto &arg : method->results()) { in generateStaticStubMethodSource() local
1651 arg, in generateStaticStubMethodSource()
1941 for (const auto &arg : method->args()) { in generateCppInstrumentationCall() local
1943 << (arg->type().resultNeedsDeref() ? "" : "&") in generateCppInstrumentationCall()
1944 << arg->name() in generateCppInstrumentationCall()
1952 for (const auto &arg : method->results()) { in generateCppInstrumentationCall() local
1954 << arg->name() in generateCppInstrumentationCall()
1962 for (const auto &arg : method->args()) { in generateCppInstrumentationCall() local
1964 << arg->name() in generateCppInstrumentationCall()
1972 for (const auto &arg : method->results()) { in generateCppInstrumentationCall() local
1974 << (arg->type().resultNeedsDeref() ? "" : "&") in generateCppInstrumentationCall()
1976 << arg->name() in generateCppInstrumentationCall()
1984 for (const auto &arg : method->args()) { in generateCppInstrumentationCall() local
1986 << arg->name() in generateCppInstrumentationCall()
1994 for (const auto &arg : method->results()) { in generateCppInstrumentationCall() local
1996 << arg->name() in generateCppInstrumentationCall()