/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_pass_pipeline.h | 46 template <typename T, typename... Args> 47 T& AddPass(Args&&... args) { 49 auto pass = new T(std::forward<Args>(args)...); 57 template <typename T, typename... Args> 58 T& AddInvariantChecker(Args&&... args) { 60 auto pass = new T(std::forward<Args>(args)...) [all...] |
/device/generic/goldfish-opengl/android-emu/android/base/ |
TypeTraits.h | 63 template <class F, class R, class... Args> 66 R(Args...), 69 std::declval<Args>()...))>::type, 83 template <class F, class R, class... Args> 86 R(Args...), 89 std::declval<Args>()...))>::type, 105 template <template <class...> class U, class... Args> 106 struct is_template_instantiation_of<U<Args...>, U> : std::true_type {};
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
fixed-expansion.cpp | 70 template <typename ...Args> tuple<Args...> &foo(Foo<Args...>); 130 template<typename... Args> struct foo { }; 131 template<typename T, typename... Args> using bar = foo<T, Args...>; // expected-note 2{{template parameter is declared here}} expected-note {{'bar' declared here}} 132 template<typename T, typename... Args> using baz = bar<Args..., T>; // expected-error {{pack expansion used as argument for non-pack parameter of alias template}}
|
/external/clang/test/FixIt/ |
fixit-cxx0x.cpp | 143 template <typename Args...> // expected-error {{'...' must immediately precede declared identifier}} 144 void misplacedEllipsisInTypeParameter(Args...); 146 template <typename... Args...> // expected-error {{'...' must immediately precede declared identifier}} 147 void redundantEllipsisInTypeParameter(Args...); 149 template <template <typename> class Args...> // expected-error {{'...' must immediately precede declared identifier}} 150 void misplacedEllipsisInTemplateTypeParameter(Args<int>...); 152 template <template <typename> class... Args...> // expected-error {{'...' must immediately precede declared identifier}} 153 void redundantEllipsisInTemplateTypeParameter(Args<int>...);
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
pass_fixture.h | 80 template <typename PassT, typename... Args> 82 const std::string& assembly, bool skip_nop, Args&&... args) { 83 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); 91 template <typename PassT, typename... Args> 94 Args&&... args) { 98 assembly, skip_nop, std::forward<Args>(args)...) [all...] |
/external/libcxx/test/std/utilities/meta/meta.rel/ |
is_nothrow_invocable.pass.cpp | 35 template <bool IsNoexcept, class Ret, class ...Args> 37 Ret operator()(Args&&...) const noexcept(IsNoexcept); 40 template <class Fn, class ...Args> 42 return std::is_invocable<Fn, Args...>::value && 43 !std::is_nothrow_invocable<Fn, Args...>::value; 46 template <class Ret, class Fn, class ...Args> 48 return std::is_invocable_r<Ret, Fn, Args...>::value && 49 !std::is_nothrow_invocable_r<Ret, Fn, Args...>::value;
|
/external/libxcam/modules/soft/ |
soft_copy_task.h | 38 struct Args : SoftArgs { 42 Args (const SmartPtr<ImageHandler::Parameters> ¶m) 53 virtual XCamReturn work_range (const SmartPtr<Arguments> &args, const WorkRange &range);
|
soft_geo_tasks_priv.h | 34 struct Args : SoftArgs { 40 Args ( 54 virtual XCamReturn work_range (const SmartPtr<Arguments> &args, const WorkRange &range);
|
/external/llvm/include/llvm/MC/ |
MCLinkerOptimizationHint.h | 104 SmallVector<MCSymbol *, 3> Args; 115 MCLOHDirective(MCLOHType Kind, const LOHArgs &Args) 116 : Kind(Kind), Args(Args.begin(), Args.end()) { 122 const LOHArgs &getArgs() const { return Args; } 152 /// \p Args to the container. 153 void addDirective(MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) { 154 Directives.push_back(MCLOHDirective(Kind, Args));
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_iccprofile.h | 20 template <typename T, typename... Args> 21 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_array.h | 61 template <typename T, typename... Args> 63 Args&&... args) { 65 Add(pdfium::MakeUnique<T>(std::forward<Args>(args)...))); 67 template <typename T, typename... Args> 69 Args&&... args) { 71 Add(pdfium::MakeUnique<T>(m_pPool, std::forward<Args>(args)...))) [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_dibtransferfunc.h | 20 template <typename T, typename... Args> 21 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
|
cpdf_transferfunc.h | 19 template <typename T, typename... Args> 20 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
|
cpdf_type3cache.h | 23 template <typename T, typename... Args> 24 friend RetainPtr<T> pdfium::MakeRetain(Args&&... args);
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
pass_fixture.h | 80 template <typename PassT, typename... Args> 82 const std::string& assembly, bool skip_nop, Args&&... args) { 83 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); 91 template <typename PassT, typename... Args> 94 Args&&... args) { 98 assembly, skip_nop, std::forward<Args>(args)...) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
MCLinkerOptimizationHint.h | 105 SmallVector<MCSymbol *, 3> Args; 116 MCLOHDirective(MCLOHType Kind, const LOHArgs &Args) 117 : Kind(Kind), Args(Args.begin(), Args.end()) { 123 const LOHArgs &getArgs() const { return Args; } 153 /// \p Args to the container. 154 void addDirective(MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) { 155 Directives.push_back(MCLOHDirective(Kind, Args));
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
Errno.h | 33 template <typename FailT, typename Fun, typename... Args> 35 const Args &... As) -> decltype(F(As...)) {
|
/external/syzkaller/sys/targets/ |
common.go | 19 Args: []prog.Arg{ 20 prog.MakeVmaPointerArg(meta.Args[0], addr, size), 21 prog.MakeConstArg(meta.Args[1], size), 22 prog.MakeConstArg(meta.Args[2], prot), 23 prog.MakeConstArg(meta.Args[3], flags), 24 prog.MakeResultArg(meta.Args[4], nil, invalidFD), 25 prog.MakeConstArg(meta.Args[5], 0), 37 Args: []prog.Arg{ 38 prog.MakeVmaPointerArg(meta.Args[0], addr, size), 39 prog.MakeConstArg(meta.Args[1], size) [all...] |
/external/clang/unittests/Tooling/ |
ToolingTest.cpp | 159 std::vector<std::string> Args; 160 Args.push_back("tool-executable"); 161 Args.push_back("-Idef"); 162 Args.push_back("-fsyntax-only"); 163 Args.push_back("test.cpp"); 164 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction, 185 std::vector<std::string> Args; 186 Args.push_back("tool-executable"); 187 Args.push_back("-Idef"); 188 Args.push_back("-fsyntax-only") [all...] |
/external/google-fruit/include/fruit/impl/component_storage/ |
component_storage_entry.h | 56 // entry. Note that the args are independent: e.g. a component with args can be replaced by a component with no 57 // args. This also means that the type_id of the two entries can be different (since it's the type_id of the 261 template <typename Component, typename... Args> 262 static ComponentStorageEntry create(Component (*fun)(Args...), std::tuple<Args...> args_tuple); 264 template <typename Component, typename Arg, typename... Args> 265 static ComponentStorageEntry create(fruit::ComponentFunction<Component, Arg, Args...> component_function); 267 template <typename Component, typename... Args> 268 static ComponentStorageEntry createReplacedComponentEntry(Component (*fun)(Args...) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/ |
SmmBaseOnSmmBase2Thunk.c | 142 mCommunicationData.FunctionData.Args.Register.FilePath = FilePath;
143 mCommunicationData.FunctionData.Args.Register.SourceBuffer = SourceBuffer;
144 mCommunicationData.FunctionData.Args.Register.SourceSize = SourceSize;
145 mCommunicationData.FunctionData.Args.Register.ImageHandle = ImageHandle;
146 mCommunicationData.FunctionData.Args.Register.LegacyIA32Binary = LegacyIA32Binary;
175 mCommunicationData.FunctionData.Args.UnRegister.ImageHandle = ImageHandle;
215 mCommunicationData.FunctionData.Args.Communicate.ImageHandle = ImageHandle;
216 mCommunicationData.FunctionData.Args.Communicate.CommunicationBuffer = CommunicationBuffer;
217 mCommunicationData.FunctionData.Args.Communicate.SourceSize = BufferSize;
257 mCommunicationData.FunctionData.Args.RegisterCallback.SmmImageHandle = SmmImageHandle; [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
apply.pass.cpp | 105 Tuple args; member in struct:CallInfo 107 template <class ...Args> 108 CallInfo(CallQuals q, Args&&... xargs) 109 : quals(q), arg_types(&makeArgumentID<Args&&...>()), args(std::forward<Args>(xargs)...) 113 template <class ...Args> 114 inline CallInfo<decltype(std::forward_as_tuple(std::declval<Args>()...))> 115 makeCallInfo(CallQuals quals, Args&&... args) { [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
util.h | 217 template <typename... Args> 218 Status InvalidArgument(const absl::FormatSpec<Args...>& format, 219 const Args&... args) { 221 tensorflow::errors::InvalidArgument(absl::StrFormat(format, args...))); 223 template <typename... Args> 224 Status Unimplemented(const absl::FormatSpec<Args...>& format, 225 const Args&... args) { 227 tensorflow::errors::Unimplemented(absl::StrFormat(format, args...))) [all...] |
/external/clang/lib/AST/ |
ExprObjC.cpp | 123 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, 135 initArgsAndSelLocs(Args, SelLocs, SelLocsK); 144 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, 153 initArgsAndSelLocs(Args, SelLocs, SelLocsK); 161 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, 171 initArgsAndSelLocs(Args, SelLocs, SelLocsK); 175 void ObjCMessageExpr::initArgsAndSelLocs(ArrayRef<Expr *> Args, 178 setNumArgs(Args.size()); 180 for (unsigned I = 0; I != Args.size(); ++I) { 181 if (Args[I]->isTypeDependent() [all...] |
/external/clang/tools/driver/ |
driver.cpp | 96 /// \param Args - The vector of command line arguments. 100 SmallVectorImpl<const char*> &Args, 109 Args.insert(Args.begin() + 1, Str); 114 Args.push_back(Str); 121 for (unsigned i = 1, e = Args.size(); i != e; ++i) { 123 if (Args[i] == nullptr) 125 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); 127 if (Repl != Args[i]) { 128 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n" [all...] |