Searched defs:Args (Results 1 - 25 of 216) sorted by relevance

123456789

/external/chromium_org/tools/gn/
H A Dargs.h23 class Args { class
25 Args();
26 Args(const Args& other);
27 ~Args();
101 Args& operator=(const Args& other); // Disallow assignment.
H A Dargs.cc70 Args::Args() { function in class:Args
73 Args::Args(const Args& other) function in class:Args
79 Args::~Args() {
82 void Args::AddArgOverride(const char* name, const Value& value) {
89 void Args::AddArgOverrides(const Scope::KeyValueMap& overrides) {
99 const Value* Args
[all...]
/external/clang/lib/Tooling/
H A DArgumentsAdjusters.cpp27 ClangSyntaxOnlyAdjuster::Adjust(const CommandLineArguments &Args) { argument
29 for (size_t i = 0, e = Args.size(); i != e; ++i) {
30 StringRef Arg = Args[i];
34 AdjustedArgs.push_back(Args[i]);
41 ClangStripOutputAdjuster::Adjust(const CommandLineArguments &Args) { argument
43 for (size_t i = 0, e = Args.size(); i < e; ++i) {
44 StringRef Arg = Args[i];
46 AdjustedArgs.push_back(Args[i]);
/external/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp1 //===--- CreateInvocationFromCommandLine.cpp - CompilerInvocation from Args ==//
41 SmallVector<const char *, 16> Args; local
42 Args.push_back("<clang>"); // FIXME: Remove dummy argument.
43 Args.insert(Args.end(), ArgList.begin(), ArgList.end());
46 Args.push_back("-fsyntax-only");
55 std::unique_ptr<driver::Compilation> C(TheDriver.BuildCompilation(Args));
/external/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.h71 va_list Args; local
72 va_start(Args, A);
75 while (T Val = va_arg(Args, T))
77 va_end(Args);
/external/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp216 auto Args = llvm::make_unique<const char*[]>(NumArgs + 2); local
217 Args[0] = "clang (LLVM option parsing)";
219 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str();
220 Args[NumArgs + 1] = nullptr;
221 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args.get());
/external/clang/unittests/AST/
H A DSourceLocationTest.cpp236 std::vector<std::string> Args; local
237 Args.push_back("-fno-delayed-template-parsing");
243 unresolvedConstructExpr(), Args, Lang_CXX11));
H A DExternalASTSourceTest.cpp54 const char *Args[] = { "test.cc" }; local
55 CompilerInvocation::CreateFromArgs(*Invocation, Args,
56 Args + array_lengthof(Args),
H A DNamedDeclPrinterTest.cpp64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, argument
74 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName))
98 std::vector<std::string> Args(1, "-std=c++98");
100 Args,
110 std::vector<std::string> Args(1, "-std=c++11");
112 Args,
H A DStmtPrinterTest.cpp70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, argument
79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args))
103 std::vector<std::string> Args; local
104 Args.push_back("-std=c++98");
105 Args.push_back("-Wno-unused-value");
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
113 std::vector<std::string> Args; local
114 Args.push_back("-std=c++98");
115 Args.push_back("-Wno-unused-value");
117 Args,
126 std::vector<std::string> Args; local
136 std::vector<std::string> Args; local
[all...]
/external/chromium_org/third_party/tlslite/scripts/
H A Dtlsdb.py54 class Args: class in inherits:
66 args = Args(sys.argv)
/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { argument
66 return Index < Args.size() ? getArgLoc(Args[Index]) : SourceLocation();
72 ArrayRef<T *> Args,
78 Args, EndLoc))
87 Args, EndLoc))
99 ArrayRef<Expr *> Args,
101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc);
107 ArrayRef<Expr *> Args,
110 getArgLoc(Index, Args), EndLo
70 hasStandardSelLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<T *> Args, SourceLocation EndLoc) argument
97 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument
104 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument
114 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
121 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
[all...]
H A DTypeLoc.cpp354 const TemplateArgument *Args,
358 switch (Args[i].getKind()) {
369 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr());
374 Context.getTrivialTypeSourceInfo(Args[i].getAsType(),
381 TemplateName Template = Args[i].getAsTemplateOrTemplatePattern();
389 Args[i].getKind() == TemplateArgument::Template ? SourceLocation()
352 initializeArgLocs(ASTContext &Context, unsigned NumArgs, const TemplateArgument *Args, TemplateArgumentLocInfo *ArgInfos, SourceLocation Loc) argument
/external/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp39 llvm::Value *Args[] = { local
48 EmitRuntimeCall(RTLFn, Args);
/external/llvm/lib/Option/
H A DArg.cpp64 std::string Arg::getAsString(const ArgList &Args) const {
69 render(Args, ASL);
80 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { argument
82 render(Args, Output);
90 void Arg::render(const ArgList &Args, ArgStringList &Output) const { argument
105 Output.push_back(Args.MakeArgString(OS.str()));
110 Output.push_back(Args.GetOrMakeJoinedArgString(
117 Output.push_back(Args.MakeArgString(getSpelling()));
H A DOption.cpp103 Arg *Option::accept(const ArgList &Args, argument
110 Spelling = StringRef(Args.getArgString(Index), ArgSize);
112 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) +
118 if (ArgSize != strlen(Args.getArgString(Index)))
134 const char *Value = Args.getArgString(Index) + ArgSize;
139 const char *Str = Args.getArgString(Index) + ArgSize;
168 if (ArgSize != strlen(Args.getArgString(Index)))
172 if (Index > Args.getNumInputArgStrings())
176 Index - 2, Args.getArgString(Index - 1));
180 if (ArgSize != strlen(Args
[all...]
/external/llvm/unittests/ADT/
H A DVariadicFunctionTest.cpp19 std::string StringCatImpl(ArrayRef<const std::string *> Args) { argument
21 for (unsigned i = 0, e = Args.size(); i < e; ++i)
22 S += *Args[i];
42 long SumImpl(ArrayRef<const int *> Args) { argument
44 for (unsigned i = 0, e = Args.size(); i < e; ++i)
45 Result += *Args[i];
59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) { argument
61 for (unsigned i = 0, e = Args.size(); i < e; ++i) {
62 Chars += Args[i]->size();
63 *Dest += *Args[
88 CountInRangeImpl(int *NumInRange, int Low, int High, ArrayRef<const int *> Args) argument
[all...]
/external/clang/examples/clang-interpreter/
H A Dmain.cpp63 std::vector<std::string> Args; local
64 Args.push_back(Mod->getModuleIdentifier());
66 return EE->runFunctionAsMain(EntryFn, Args, envp);
85 SmallVector<const char *, 16> Args(argv, argv + argc);
86 Args.push_back("-fsyntax-only");
87 std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(Args));
/external/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp44 TargetLowering::ArgListTy Args; local
48 Args.push_back(Entry);
50 Args.push_back(Entry);
54 DAG.getExternalSymbol(bzeroEntry, IntPtr), std::move(Args), 0)
/external/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp37 TargetLowering::ArgListTy Args; local
40 Entry.Node = Dst; Args.push_back(Entry);
41 Entry.Node = Src; Args.push_back(Entry);
42 Entry.Node = Size; Args.push_back(Entry);
49 std::move(Args), 0)
/external/llvm/unittests/Option/
H A DOptionParsingTest.cpp55 const char *Args[] = { variable
71 T.ParseArgs(std::begin(Args), std::end(Args), MAI, MAC));
117 AL.reset(T.ParseArgs(std::begin(Args), std::end(Args), MAI, MAC,
125 AL.reset(T.ParseArgs(std::begin(Args), std::end(Args), MAI, MAC,
/external/openfst/src/include/fst/script/
H A Dscript-impl.h158 typedef ArgPack Args; typedef in struct:fst::script::Operation
183 typename OpReg::Args *args) {
/external/lldb/source/Interpreter/
H A DArgs.cpp1 //===-- Args.cpp ------------------------------------------------*- C++ -*-===//
18 #include "lldb/Interpreter/Args.h"
35 // Args constructor
37 Args::Args (const char *command) : function in class:Args
47 Args::Args (const char *command, size_t len) : function in class:Args
63 Args::Args (const Args function in class:Args
[all...]
/external/clang/include/clang/Driver/
H A DCompilation.h42 llvm::opt::InputArgList *Args; member in class:clang::driver::Compilation
77 llvm::opt::InputArgList *Args,
85 const llvm::opt::InputArgList &getInputArgs() const { return *Args; }
/external/clang/include/clang/Frontend/
H A DUtils.h178 createInvocationFromCommandLine(ArrayRef<const char *> Args,
184 int getLastArgIntValue(const llvm::opt::ArgList &Args,
188 inline int getLastArgIntValue(const llvm::opt::ArgList &Args, argument
191 return getLastArgIntValue(Args, Id, Default, &Diags);
194 uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args,
198 inline uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args, argument
202 return getLastArgUInt64Value(Args, Id, Default, &Diags);

Completed in 646 milliseconds

123456789