/external/skia/src/shaders/gradients/ |
SkGradientShaderPriv.h | 85 template <typename T, typename... Args> 86 static Context* CheckedMakeContext(SkArenaAlloc* alloc, Args&&... args) { 87 auto* ctx = alloc->make<T>(std::forward<Args>(args)...);
|
/external/skqp/include/core/ |
SkTLazy.h | 48 * Return a pointer to an instance of the class initialized with 'args'. 53 template <typename... Args> T* init(Args&&... args) { 55 fPtr = new (&fStorage) T(std::forward<Args>(args)...);
|
/external/skqp/src/shaders/gradients/ |
SkGradientShaderPriv.h | 85 template <typename T, typename... Args> 86 static Context* CheckedMakeContext(SkArenaAlloc* alloc, Args&&... args) { 87 auto* ctx = alloc->make<T>(std::forward<Args>(args)...);
|
/external/swiftshader/third_party/LLVM/examples/Fibonacci/ |
fibonacci.cpp | 129 std::vector<GenericValue> Args(1);
130 Args[0].IntVal = APInt(32, n);
131 GenericValue GV = EE->runFunction(FibF, Args);
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Fibonacci/ |
fibonacci.cpp | 140 std::vector<GenericValue> Args(1); 141 Args[0].IntVal = APInt(32, n); 142 GenericValue GV = EE->runFunction(FibF, Args);
|
/external/syzkaller/pkg/ast/ |
clone.go | 59 var args []*Ident 60 for _, v := range n.Args { 61 args = append(args, v.Clone().(*Ident)) 74 Args: args, 90 Args: cloneFields(n.Args), 163 Args: cloneTypes(n.Args), [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
executor.h | 55 // RunAsync() is given a few arguments in Args. The caller must 56 // ensure objects passed in Args (rendezvous, stats_collector, etc.) 84 struct Args { 105 virtual void RunAsync(const Args& args, DoneCallback done) = 0; 108 Status Run(const Args& args) { 111 RunAsync(args, [&ret, &n](const Status& s) {
|
/external/v8/src/objects/ |
managed.h | 62 template <typename... Args> 65 Args&&... args) { 66 CppType* ptr = new CppType(std::forward<Args>(args)...);
|
/external/clang/unittests/AST/ |
DeclPrinterTest.cpp | 70 const std::vector<std::string> &Args, 80 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) 104 std::vector<std::string> Args(1, "-std=c++98"); 106 Args, 116 std::vector<std::string> Args(1, "-std=c++98"); 118 Args, 127 std::vector<std::string> Args(1, "-std=c++11"); 129 Args, 139 std::vector<std::string> Args(1, "-std=c++11"); 141 Args, [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 150 std::vector<ExprAST*> Args; 152 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args) 153 : Callee(callee), Args(args) {} 182 std::vector<std::string> Args; 186 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 188 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 190 bool isUnaryOp() const { return isOperator && Args.size() == 1; } 191 bool isBinaryOp() const { return isOperator && Args.size() == 2; [all...] |
/external/libchrome/base/containers/ |
flat_tree.h | 232 template <class... Args> 233 std::pair<iterator, bool> emplace(Args&&... args); 235 template <class... Args> 236 iterator emplace_hint(const_iterator position_hint, Args&&... args); 335 template <class... Args> 336 iterator unsafe_emplace(const_iterator position, Args&&... args); 339 // present, construct value_type from |args| and insert it. Returns a [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 586 std::tuple<TArgTs...> &Args) { 587 return unpackAndRunAsyncHelper(Handler, Responder, Args, 596 run(HandlerT &Handler, ArgTs &&... Args) { 597 Handler(std::move(Args)...); 605 run(HandlerT &Handler, TArgTs... Args) { 606 return Handler(std::move(Args)...); 617 static Error deserializeArgs(ChannelT &C, std::tuple<CArgTs...> &Args) { 618 return deserializeArgsHelper(C, Args, [all...] |
/external/syzkaller/sys/akaros/gen/ |
amd64.go | 67 {NR: 31, Name: "abort_sysc", CallName: "abort_sysc", Args: []Type{ 70 {NR: 33, Name: "abort_sysc_fd", CallName: "abort_sysc_fd", Args: []Type{ 73 {NR: 108, Name: "access", CallName: "access", Args: []Type{ 78 {NR: 2, Name: "block", CallName: "block", Args: []Type{ 83 {NR: 14, Name: "change_vcore", CallName: "change_vcore", Args: []Type{ 87 {NR: 116, Name: "chdir", CallName: "chdir", Args: []Type{ 92 {NR: 103, Name: "close", CallName: "close", Args: []Type{ 95 {NR: 125, Name: "dup_fds_to", CallName: "dup_fds_to", Args: []Type{ 100 {NR: 16, Name: "exec", CallName: "exec", Args: []Type{ 106 {NR: 124, Name: "fchdir", CallName: "fchdir", Args: []Type [all...] |
/external/syzkaller/pkg/compiler/ |
check.go | 160 comp.checkFieldGroup(n.Args, "argument", "syscall "+name) 161 if len(n.Args) > maxArgs { 163 name, len(n.Args), maxArgs) 194 if len(n.Args) == 0 { 205 for _, arg := range n.Args { 234 for _, a := range n.Args { 249 args []*ast.Type, base prog.IntTypeCommon) { 251 desc.CheckConsts(comp, t, args, base) 253 for i, arg := range args { 254 if check := desc.Args[i].Type.CheckConsts; check != nil [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
BPDG.py | 48 global Options, Args
52 Options, Args = MyOptionParser()
74 if (Args[0] != None) :
75 StartBpdg(Args[0], Options.filename, Options.bin_filename, Force)
88 # @retval args Target of BPDG command
112 (options, args) = parser.parse_args()
113 if len(args) == 0:
117 return options, args
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
p4.cpp | 63 template<typename ...Args> struct Var { 64 Var(const Args &...args, int *) { Foo(args...); } 85 template<typename T, typename... Args> void f(Args... args) { 87 constexpr T t(args...);
|
/external/googletest/googlemock/include/gmock/ |
gmock-actions.h | 327 virtual Result Perform(const ArgumentTuple& args) = 0; 348 template <typename... Args> 349 typename internal::Function<F>::Result operator()(Args&&... args) { 351 ::std::forward_as_tuple(::std::forward<Args>(args)...)); 390 Result Perform(ArgumentTuple args) const { 394 return internal::Apply(fun_, ::std::move(args)); 415 // Result Perform(const ArgumentTuple& args) const { 417 // // std::get<N>(args) to get the N-th (0-based) argument in the tuple [all...] |
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
lb_policy.cc | 29 LoadBalancingPolicy::LoadBalancingPolicy(const Args& args) 31 combiner_(GRPC_COMBINER_REF(args.combiner, "lb_policy")), 32 client_channel_factory_(args.client_channel_factory),
|
/external/grpc-grpc/src/core/lib/transport/ |
pid_controller.cc | 27 PidController::PidController(const Args& args) 28 : last_control_value_(args.initial_control_value()), args_(args) {}
|
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
bind_return_type.pass.cpp | 37 template <class Bind, class ...Args> 39 -> decltype((std::declval<Bind>()(std::declval<Args>()...)), std::true_type{}); 44 template <class ...Args> 46 return decltype(CheckCallImp<Args...>(0))::value;
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_F.pass.cpp | 29 template <class ...Args> 30 void operator()(Args&&...) && {} 33 template <class ...Args> 34 void operator()(Args&&...) & {}
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 165 std::vector<std::unique_ptr<ExprAST>> Args; 169 std::vector<std::unique_ptr<ExprAST>> Args) 170 : Callee(Callee), Args(std::move(Args)) {} 204 std::vector<std::string> Args; 207 PrototypeAST(const std::string &Name, std::vector<std::string> Args) 208 : Name(Name), Args(std::move(Args)) {} 298 std::vector<std::unique_ptr<ExprAST>> Args; 302 Args.push_back(std::move(Arg)) [all...] |
/external/llvm/include/llvm/Support/ |
Process.h | 90 GetArgumentVector(SmallVectorImpl<const char *> &Args,
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
OrcTestCommon.h | 167 template <typename... Args> 168 ReturnT operator()(Args...) const { return Val; } 176 template <typename... Args> 177 void operator()(Args...) const { }
|
/external/pcre/pcrecpp/include/ |
pcrecpparg.h | 180 template<typename ... ARGS> 181 struct Args; 184 struct Args<HEAD, TAIL...> { 185 typedef Args<TAIL...> next; 197 struct Args<> {
|