/prebuilts/go/linux-x86/src/flag/ |
flag_test.go | 164 args := []string{ 176 if err := f.Parse(args); err != nil { 209 if len(f.Args()) != 1 { 210 t.Error("expected one argument, got", len(f.Args())) 211 } else if f.Args()[0] != extra { 212 t.Errorf("expected argument %q got %q", extra, f.Args()[0]) 246 t.Fatal("expected 3 args; got ", len(v)) 320 oldArgs := os.Args 321 defer func() { os.Args = oldArgs }() 322 os.Args = []string{"cmd", "-before", "subcmd", "-after", "args" [all...] |
/build/soong/androidmk/parser/ |
makething.go | 34 Args *MakeString 99 return d.Name + " " + d.Args.Dump()
|
/external/autotest/site_utils/ |
create_attr_whitelist.py | 24 args = parser.parse_args() 34 _WriteToFile(whitelist, args.path) 43 Args:
|
/external/libbrillo/brillo/dbus/ |
dbus_method_invoker.h | 84 // zero or more method call arguments in |args| which will be sent over D-Bus. 93 template<typename... Args> 100 const Args&... args) { 104 DBusParamWriter::Append(&writer, args...); 129 template<typename... Args> 135 const Args&... args) { 141 args...);
|
/external/libchrome/sandbox/win/src/ |
policy_params.h | 16 #define POLPARAMS_BEGIN(type) class type { public: enum Args {
|
/external/llvm/include/llvm/Support/ |
Program.h | 92 const char **args, ///< A vector of strings that are passed to the 127 ExecuteNoWait(StringRef Program, const char **args, const char **env = nullptr, 133 bool argumentsFitWithinSystemLimits(ArrayRef<const char*> Args);
|
/external/llvm/lib/IR/ |
MDBuilder.cpp | 86 SmallVector<Metadata *, 3> Args(1, Dummy.get()); 88 Args.push_back(Extra); 90 Args.push_back(createString(Name)); 91 MDNode *Root = MDNode::get(Context, Args);
|
/external/llvm/unittests/Option/ |
OptionParsingTest.cpp | 55 const char *Args[] = { 70 InputArgList AL = T.ParseArgs(Args, MAI, MAC); 115 InputArgList AL = T.ParseArgs(Args, MAI, MAC, 123 AL = T.ParseArgs(Args, MAI, MAC,
|
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/ |
LCML_CodecInterface.h | 110 OMX_STRING Args); 114 void *args[10] ); 127 void *args [10]);
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
atomic.go | 51 if len(call.Args) != 2 { 54 arg := call.Args[0]
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
atomic.go | 51 if len(call.Args) != 2 { 54 arg := call.Args[0]
|
/external/clang/lib/Sema/ |
SemaInit.cpp | [all...] |
SemaExprObjC.cpp | 3918 Expr *args[] = { SrcExpr }; local [all...] |
/prebuilts/go/darwin-x86/src/cmd/pack/ |
pack.go | 54 if len(os.Args) < 3 { 59 setOp(os.Args[1]) 63 ar = archive(os.Args[2], os.O_RDONLY, os.Args[3:]) 66 ar = archive(os.Args[2], os.O_RDWR, os.Args[3:]) 70 ar = archive(os.Args[2], os.O_RDWR|os.O_TRUNC, os.Args[3:]) 74 ar = archive(os.Args[2], os.O_RDONLY, os.Args[3:] [all...] |
/prebuilts/go/linux-x86/src/cmd/pack/ |
pack.go | 54 if len(os.Args) < 3 { 59 setOp(os.Args[1]) 63 ar = archive(os.Args[2], os.O_RDONLY, os.Args[3:]) 66 ar = archive(os.Args[2], os.O_RDWR, os.Args[3:]) 70 ar = archive(os.Args[2], os.O_RDWR|os.O_TRUNC, os.Args[3:]) 74 ar = archive(os.Args[2], os.O_RDONLY, os.Args[3:] [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 277 std::vector<std::unique_ptr<ExprAST>> Args; 281 std::vector<std::unique_ptr<ExprAST>> Args) 282 : ExprAST(Loc), Callee(Callee), Args(std::move(Args)) {} 286 for (const auto &Arg : Args) 358 std::vector<std::string> Args; 365 std::vector<std::string> Args, bool IsOperator = false, 367 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), 372 bool isUnaryOp() const { return IsOperator && Args.size() == 1; [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy.cpp | 180 std::vector<ExprAST*> Args; 182 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args) 183 : Callee(callee), Args(args) {} 223 std::vector<std::string> Args; 227 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 229 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 231 bool isUnaryOp() const { return isOperator && Args.size() == 1; } 232 bool isBinaryOp() const { return isOperator && Args.size() == 2; [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 199 std::vector<ExprAST*> Args; 201 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args) 202 : Callee(callee), Args(args) {} 242 std::vector<std::string> Args; 246 PrototypeAST(const std::string &name, const std::vector<std::string> &args, 248 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {} 250 bool isUnaryOp() const { return isOperator && Args.size() == 1; } 251 bool isBinaryOp() const { return isOperator && Args.size() == 2; [all...] |
/external/clang/lib/Driver/ |
MSVCToolChain.cpp | 48 const ArgList &Args) 49 : ToolChain(D, Triple, Args) { 606 MSVCToolChain::ComputeEffectiveClangTriple(const ArgList &Args, 609 ToolChain::ComputeEffectiveClangTriple(Args, InputType); 612 tools::visualstudio::getMSVCVersion(/*D=*/nullptr, Triple, Args, 638 MSVCToolChain::TranslateArgs(const llvm::opt::DerivedArgList &Args, 640 DerivedArgList *DAL = new DerivedArgList(Args.getBaseArgs()); 656 for (Arg *A : Args) { 669 for (Arg *A : Args) {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWC2On1Adapter.h | 398 template <typename ...Args> 400 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), 401 Args... args) { 406 auto error = ((*display).*member)(std::forward<Args>(args)...); 410 template <typename MF, MF memFunc, typename ...Args> 412 Args... args) { 414 std::forward<Args>(args)...) [all...] |
/prebuilts/go/darwin-x86/src/internal/trace/ |
parser.go | 29 Args [3]uint64 // event-type-specific arguments 85 args []uint64 124 ev.args = append(ev.args, v) 140 ev.args = append(ev.args, v) 170 narg := len(desc.Args) 178 if len(raw.args) != narg { 180 desc.Name, raw.off, narg, len(raw.args)) 187 lastP = int(raw.args[0] [all...] |
/prebuilts/go/linux-x86/src/internal/trace/ |
parser.go | 29 Args [3]uint64 // event-type-specific arguments 85 args []uint64 124 ev.args = append(ev.args, v) 140 ev.args = append(ev.args, v) 170 narg := len(desc.Args) 178 if len(raw.args) != narg { 180 desc.Name, raw.off, narg, len(raw.args)) 187 lastP = int(raw.args[0] [all...] |
/build/blueprint/ |
ninja_defs.go | 75 // build statement. Each field except for Args corresponds with a part of the 76 // Ninja build statement. The Args field contains variable names and values 85 Args map[string]string // The variable/value pairs to set. 256 Args map[Variable]*ninjaString 304 if len(params.Args) > 0 { 305 b.Args = make(map[Variable]*ninjaString) 306 for name, value := range params.Args { 323 b.Args[argVar] = ninjaValue 349 args := make(map[string]string) 351 for argVar, value := range b.Args { [all...] |
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 324 CallArgList &args) { 326 CGF.CGM.getTypes().arrangeFreeFunctionCall(resultType, args, 330 return CGF.EmitCall(fnInfo, fn, ReturnValueSlot(), args); 649 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args, 665 Args.add(RValue::get(Val), ValTy); 668 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)), 1768 CallArgList args; local [all...] |
/external/clang/lib/AST/ |
TypeLoc.cpp | 463 const TemplateArgument *Args, 467 switch (Args[i].getKind()) { 478 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); 483 Context.getTrivialTypeSourceInfo(Args[i].getAsType(), 490 TemplateName Template = Args[i].getAsTemplateOrTemplatePattern(); 498 Args[i].getKind() == TemplateArgument::Template ? SourceLocation()
|