Home
last modified time | relevance | path

Searched refs:Arg (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/external/regex-re2/re2/
Dvariadic_function.h10 template <typename Result, typename Param0, typename Param1, typename Arg,
11 Result (*Func)(Param0, Param1, const Arg* const [], int count)>
20 Result operator()(Param0 p0, Param1 p1, const Arg& a0) const { in operator()
21 const Arg* const args[] = { &a0 }; in operator()
25 Result operator()(Param0 p0, Param1 p1, const Arg& a0, const Arg& a1) const { in operator()
26 const Arg* const args[] = { &a0, &a1 }; in operator()
30 Result operator()(Param0 p0, Param1 p1, const Arg& a0, const Arg& a1, in operator()
31 const Arg& a2) const { in operator()
32 const Arg* const args[] = { &a0, &a1, &a2 }; in operator()
36 Result operator()(Param0 p0, Param1 p1, const Arg& a0, const Arg& a1, in operator()
[all …]
Dre2.h218 class Arg;
329 const Arg* const args[], int argc);
331 bool, const StringPiece&, const RE2&, Arg, RE2::FullMatchN> FullMatch;
336 const Arg* const args[], int argc);
338 bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch;
344 const Arg* const args[], int argc);
346 bool, StringPiece*, const RE2&, Arg, RE2::ConsumeN> Consume;
353 const Arg* const args[], int argc);
355 bool, StringPiece*, const RE2&, Arg, RE2::FindAndConsumeN> FindAndConsume;
666 static inline Arg CRadix(short* x);
[all …]
/external/regex-re2/util/
Dpcre.h199 class Arg;
204 static Arg no_more_args;
281 const Arg& ptr1 = no_more_args,
282 const Arg& ptr2 = no_more_args,
283 const Arg& ptr3 = no_more_args,
284 const Arg& ptr4 = no_more_args,
285 const Arg& ptr5 = no_more_args,
286 const Arg& ptr6 = no_more_args,
287 const Arg& ptr7 = no_more_args,
288 const Arg& ptr8 = no_more_args,
[all …]
Dpcre.cc41 PCRE::Arg PCRE::no_more_args((void*)NULL);
144 const Arg& a0, in operator ()()
145 const Arg& a1, in operator ()()
146 const Arg& a2, in operator ()()
147 const Arg& a3, in operator ()()
148 const Arg& a4, in operator ()()
149 const Arg& a5, in operator ()()
150 const Arg& a6, in operator ()()
151 const Arg& a7, in operator ()()
152 const Arg& a8, in operator ()()
[all …]
/external/pcre/dist/
Dpcrecpp.h536 const Arg& ptr1 = no_arg,
537 const Arg& ptr2 = no_arg,
538 const Arg& ptr3 = no_arg,
539 const Arg& ptr4 = no_arg,
540 const Arg& ptr5 = no_arg,
541 const Arg& ptr6 = no_arg,
542 const Arg& ptr7 = no_arg,
543 const Arg& ptr8 = no_arg,
544 const Arg& ptr9 = no_arg,
545 const Arg& ptr10 = no_arg,
[all …]
Dpcrecpp.cc59 Arg RE::no_arg((void*)NULL);
73 extern Arg no_arg
153 const Arg& ptr1, in FullMatch()
154 const Arg& ptr2, in FullMatch()
155 const Arg& ptr3, in FullMatch()
156 const Arg& ptr4, in FullMatch()
157 const Arg& ptr5, in FullMatch()
158 const Arg& ptr6, in FullMatch()
159 const Arg& ptr7, in FullMatch()
160 const Arg& ptr8, in FullMatch()
[all …]
Dpcrecpparg.h.in57 class PCRECPP_EXP_DEFN Arg {
59 // Empty constructor so we can declare arrays of Arg
60 Arg();
63 Arg(void*);
69 Arg(type* p) : arg_(p), parser_(name) { } \
70 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }
95 template <class T> Arg(T*, Parser parser);
97 template <class T> Arg(T* p) function
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { } function
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } function
[all …]
/external/clang/tools/scan-build/
Dccc-analyzer492 my $Arg = $ARGV[$i];
493 my ($ArgKey) = split /=/,$Arg,2;
501 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
502 elsif ($Arg eq '-c') { $Action = 'compile'; }
503 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
506 if ($Arg eq "-arch") {
518 if ($Arg =~ /^-isysroot/) {
525 push @CompileOpts,$Arg;
530 if ($Arg =~ /^-iquote.*/) {
531 push @CompileOpts,$Arg;
[all …]
/external/llvm/include/llvm/Analysis/
DCGSCCPassManager.h59 Result(const Result &Arg) : CGAM(Arg.CGAM) {} in Result() argument
60 Result(Result &&Arg) : CGAM(std::move(Arg.CGAM)) {} in Result() argument
94 CGSCCAnalysisManagerModuleProxy(const CGSCCAnalysisManagerModuleProxy &Arg) in CGSCCAnalysisManagerModuleProxy() argument
95 : CGAM(Arg.CGAM) {} in CGSCCAnalysisManagerModuleProxy()
96 CGSCCAnalysisManagerModuleProxy(CGSCCAnalysisManagerModuleProxy &&Arg) in CGSCCAnalysisManagerModuleProxy() argument
97 : CGAM(std::move(Arg.CGAM)) {} in CGSCCAnalysisManagerModuleProxy()
141 Result(const Result &Arg) : MAM(Arg.MAM) {} in Result() argument
142 Result(Result &&Arg) : MAM(std::move(Arg.MAM)) {} in Result() argument
165 ModuleAnalysisManagerCGSCCProxy(const ModuleAnalysisManagerCGSCCProxy &Arg) in ModuleAnalysisManagerCGSCCProxy() argument
166 : MAM(Arg.MAM) {} in ModuleAnalysisManagerCGSCCProxy()
[all …]
/external/llvm/lib/Option/
DArgList.cpp39 void ArgList::append(Arg *A) { in append()
45 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
49 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { in getLastArgNoClaim()
57 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArgNoClaim()
66 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
76 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
86 Arg *ArgList::getLastArg(OptSpecifier Id) const { in getLastArg()
87 Arg *Res = nullptr; in getLastArg()
98 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArg()
99 Arg *Res = nullptr; in getLastArg()
[all …]
DArg.cpp20 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() function in Arg
24 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
25 const Arg *BaseArg) in Arg()
31 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
32 const char *Value1, const Arg *BaseArg) in Arg()
39 Arg::~Arg() { in ~Arg()
46 void Arg::dump() const { in dump()
63 std::string Arg::getAsString(const ArgList &Args) const { in getAsString()
79 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { in renderAsInput()
88 void Arg::render(const ArgList &Args, ArgStringList &Output) const { in render()
DOption.cpp100 Arg *Option::accept(const ArgList &Args, in accept()
118 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
132 return new Arg(UnaliasedOption, Spelling, Index++, Value); in accept()
137 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
173 return new Arg(UnaliasedOption, Spelling, in accept()
185 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept()
196 return new Arg(*this, Spelling, Index++, Value); in accept()
205 return new Arg(UnaliasedOption, Spelling, in accept()
215 return new Arg(UnaliasedOption, Spelling, Index - 2, in accept()
223 Arg *A = new Arg(UnaliasedOption, Spelling, Index++); in accept()
/external/llvm/include/llvm/Option/
DArgList.h26 class Arg; variable
33 SmallVectorImpl<Arg*>::const_iterator Current;
51 typedef Arg * const * value_type;
52 typedef Arg * const & reference;
53 typedef Arg * const * pointer;
57 arg_iterator(SmallVectorImpl<Arg *>::const_iterator it, const ArgList &Args,
64 operator const Arg*() { return *Current; }
100 typedef SmallVector<Arg*, 16> arglist_type;
124 void append(Arg *A);
191 Arg *getLastArgNoClaim(OptSpecifier Id) const;
[all …]
DArg.h31 class Arg {
32 Arg(const Arg &) = delete;
33 void operator=(const Arg &) = delete;
41 const Arg *BaseArg;
62 Arg(const Option Opt, StringRef Spelling, unsigned Index,
63 const Arg *BaseArg = nullptr);
64 Arg(const Option Opt, StringRef Spelling, unsigned Index,
65 const char *Value0, const Arg *BaseArg = nullptr);
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
67 const char *Value0, const char *Value1, const Arg *BaseArg = nullptr);
[all …]
/external/skia/include/core/
DSkOnce.h40 template <typename Arg>
41 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg);
47 template <typename Lock, typename Arg>
48 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg);
72 template <typename Lock, typename Arg>
73 static void sk_once_slow(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { in sk_once_slow() argument
92 template <typename Lock, typename Arg>
93 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { in SkOnce() argument
118 template <typename Arg>
119 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { in SkOnce() argument
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerStructArgs.cpp59 void NVPTXLowerStructArgs::handleParam(Argument *Arg) { in handleParam() argument
60 Function *Func = Arg->getParent(); in handleParam()
62 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleParam()
67 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleParam()
73 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleParam()
75 Arg->replaceAllUsesWith(AllocA); in handleParam()
86 new BitCastInst(Arg, Type::getInt8PtrTy(Func->getParent()->getContext(), in handleParam()
88 Arg->getName(), FirstInst)}; in handleParam()
94 Arg->getName(), FirstInst); in handleParam()
95 LoadInst *LI = new LoadInst(BitCast, Arg->getName(), FirstInst); in handleParam()
[all …]
/external/llvm/include/llvm/IR/
DPassManager.h74 PreservedAnalyses(const PreservedAnalyses &Arg) in PreservedAnalyses() argument
75 : PreservedPassIDs(Arg.PreservedPassIDs) {} in PreservedAnalyses()
76 PreservedAnalyses(PreservedAnalyses &&Arg) in PreservedAnalyses() argument
77 : PreservedPassIDs(std::move(Arg.PreservedPassIDs)) {} in PreservedAnalyses()
110 void intersect(const PreservedAnalyses &Arg) { in intersect() argument
111 if (Arg.areAllPreserved()) in intersect()
114 PreservedPassIDs = Arg.PreservedPassIDs; in intersect()
118 if (!Arg.PreservedPassIDs.count(P)) in intersect()
126 void intersect(PreservedAnalyses &&Arg) { in intersect() argument
127 if (Arg.areAllPreserved()) in intersect()
[all …]
DPassManagerInternal.h88 PassModel(const PassModel &Arg) : Pass(Arg.Pass) {}
89 PassModel(PassModel &&Arg) : Pass(std::move(Arg.Pass)) {}
114 PassModel(const PassModel &Arg) : Pass(Arg.Pass) {}
115 PassModel(PassModel &&Arg) : Pass(std::move(Arg.Pass)) {}
191 AnalysisResultModel(const AnalysisResultModel &Arg) : Result(Arg.Result) {}
192 AnalysisResultModel(AnalysisResultModel &&Arg)
193 : Result(std::move(Arg.Result)) {}
224 AnalysisResultModel(const AnalysisResultModel &Arg) : Result(Arg.Result) {}
225 AnalysisResultModel(AnalysisResultModel &&Arg)
226 : Result(std::move(Arg.Result)) {}
[all …]
/external/llvm/tools/llvm-config/
Dllvm-config.cpp274 StringRef Arg = argv[i]; in main() local
276 if (Arg.startswith("-")) { in main()
278 if (Arg == "--version") { in main()
280 } else if (Arg == "--prefix") { in main()
282 } else if (Arg == "--bindir") { in main()
284 } else if (Arg == "--includedir") { in main()
286 } else if (Arg == "--libdir") { in main()
288 } else if (Arg == "--cppflags") { in main()
290 } else if (Arg == "--cflags") { in main()
292 } else if (Arg == "--cxxflags") { in main()
[all …]
/external/clang/lib/Driver/
DSanitizerArgs.cpp88 static uint64_t parseArgValues(const Driver &D, const llvm::opt::Arg *A,
109 static std::string describeSanitizeArg(const llvm::opt::Arg *A, uint64_t Mask);
206 const auto *Arg = *I; in SanitizerArgs() local
207 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { in SanitizerArgs()
208 Arg->claim(); in SanitizerArgs()
209 uint64_t Add = parseArgValues(D, Arg, true); in SanitizerArgs()
236 const llvm::opt::Arg *NoRTTIArg = TC.getRTTIArg(); in SanitizerArgs()
255 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { in SanitizerArgs()
256 Arg->claim(); in SanitizerArgs()
257 uint64_t Remove = parseArgValues(D, Arg, true); in SanitizerArgs()
[all …]
DJob.cpp78 static void PrintArg(raw_ostream &OS, const char *Arg, bool Quote) { in PrintArg() argument
79 const bool Escape = std::strpbrk(Arg, "\"\\$"); in PrintArg()
82 OS << Arg; in PrintArg()
88 while (const char c = *Arg++) { in PrintArg()
99 for (const char *Arg : InputFileList) { in writeResponseFile() local
100 OS << Arg << '\n'; in writeResponseFile()
106 for (const char *Arg : Arguments) { in writeResponseFile() local
109 for (; *Arg != '\0'; Arg++) { in writeResponseFile()
110 if (*Arg == '\"' || *Arg == '\\') { in writeResponseFile()
113 OS << *Arg; in writeResponseFile()
[all …]
/external/clang/include/clang/Sema/
DParsedTemplate.h38 ParsedTemplateArgument() : Kind(Type), Arg(nullptr) { } in ParsedTemplateArgument()
44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) in ParsedTemplateArgument() argument
45 : Kind(Kind), Arg(Arg), Loc(Loc) { } in ParsedTemplateArgument()
60 Arg(Template.getAsOpaquePtr()), in ParsedTemplateArgument()
64 bool isInvalid() const { return Arg == nullptr; } in isInvalid()
72 return ParsedType::getFromOpaquePtr(Arg); in getAsType()
78 return static_cast<Expr*>(Arg); in getAsExpr()
84 return ParsedTemplateTy::getFromOpaquePtr(Arg); in getAsTemplate()
119 void *Arg; variable
/external/llvm/lib/Target/XCore/
DXCoreTargetTransformInfo.h44 XCoreTTIImpl(const XCoreTTIImpl &Arg) in XCoreTTIImpl() argument
45 : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {} in XCoreTTIImpl()
46 XCoreTTIImpl(XCoreTTIImpl &&Arg) in XCoreTTIImpl() argument
47 : BaseT(std::move(static_cast<BaseT &>(Arg))), ST(std::move(Arg.ST)), in XCoreTTIImpl()
48 TLI(std::move(Arg.TLI)) {} in XCoreTTIImpl()
/external/llvm/lib/Support/
DCommandLine.cpp208 Option *LookupOption(StringRef &Arg, StringRef &Value);
250 Option *CommandLineParser::LookupOption(StringRef &Arg, StringRef &Value) { in LookupOption() argument
252 if (Arg.empty()) in LookupOption()
255 size_t EqualPos = Arg.find('='); in LookupOption()
260 StringMap<Option *>::const_iterator I = OptionsMap.find(Arg); in LookupOption()
267 OptionsMap.find(Arg.substr(0, EqualPos)); in LookupOption()
271 Value = Arg.substr(EqualPos + 1); in LookupOption()
272 Arg = Arg.substr(0, EqualPos); in LookupOption()
280 static Option *LookupNearestOption(StringRef Arg, in LookupNearestOption() argument
284 if (Arg.empty()) in LookupNearestOption()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp55 static const Value *FindSingleUseIdentifiedObject(const Value *Arg) { in FindSingleUseIdentifiedObject() argument
56 if (Arg->hasOneUse()) { in FindSingleUseIdentifiedObject()
57 if (const BitCastInst *BC = dyn_cast<BitCastInst>(Arg)) in FindSingleUseIdentifiedObject()
59 if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Arg)) in FindSingleUseIdentifiedObject()
62 if (IsForwarding(GetBasicARCInstKind(Arg))) in FindSingleUseIdentifiedObject()
64 cast<CallInst>(Arg)->getArgOperand(0)); in FindSingleUseIdentifiedObject()
65 if (!IsObjCIdentifiedObject(Arg)) in FindSingleUseIdentifiedObject()
67 return Arg; in FindSingleUseIdentifiedObject()
72 if (IsObjCIdentifiedObject(Arg)) { in FindSingleUseIdentifiedObject()
73 for (const User *U : Arg->users()) in FindSingleUseIdentifiedObject()
[all …]

12345678910>>...15