Home
last modified time | relevance | path

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

12345678910>>...28

/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/clang/tools/scan-build/libexec/
Dccc-analyzer505 my $Arg = $ARGV[$i];
506 my ($ArgKey) = split /=/,$Arg,2;
514 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
515 elsif ($Arg eq '-c') { $Action = 'compile'; }
516 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
519 if ($Arg eq "-arch") {
531 if ($Arg =~ /^-isysroot/) {
538 push @CompileOpts,$Arg;
543 if ($Arg =~ /^-iquote.*/) {
544 push @CompileOpts,$Arg;
[all …]
/external/llvm/lib/Option/
DArgList.cpp37 void ArgList::append(Arg *A) { in append()
43 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
47 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { in getLastArgNoClaim()
55 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArgNoClaim()
64 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
74 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
84 Arg *ArgList::getLastArg(OptSpecifier Id) const { in getLastArg()
85 Arg *Res = nullptr; in getLastArg()
96 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArg()
97 Arg *Res = nullptr; in getLastArg()
[all …]
DArg.cpp21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() function in Arg
25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
26 const Arg *BaseArg) in Arg()
32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
33 const char *Value1, const Arg *BaseArg) in Arg()
40 Arg::~Arg() { in ~Arg()
47 void Arg::print(raw_ostream& O) const { in print()
64 LLVM_DUMP_METHOD void Arg::dump() const { print(dbgs()); } in dump()
66 std::string Arg::getAsString(const ArgList &Args) const { in getAsString()
82 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { in renderAsInput()
[all …]
/external/pcre/pcrecpp/include/
Dpcrecpparg.h57 class 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) in Arg() function
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg() function
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg() function
141 inline bool Arg::Parse(const char* str, int n) const { in Parse()
[all …]
/external/jcommander/src/test/java/com/beust/jcommander/
DPositiveIntegerTest.java11 class Arg { in validateTest() class
15 Arg arg = new Arg(); in validateTest()
23 class Arg { in validateTest2() class
27 Arg arg = new Arg(); in validateTest2()
34 class Arg { in validateTest3() class
38 Arg arg = new Arg(); in validateTest3()
45 class Arg { in validateTest4() class
49 Arg arg = new Arg(); in validateTest4()
56 class Arg { in validateTest5() class
61 Arg arg = new Arg(); in validateTest5()
DFinderTest.java12 class Arg { in caseInsensitiveOption() class
17 Arg a = new Arg(); in caseInsensitiveOption()
37 class Arg { in abbreviatedOptions() class
41 Arg a = new Arg(); in abbreviatedOptions()
49 class Arg { in abbreviatedOptionsCaseInsensitive() class
53 Arg a = new Arg(); in abbreviatedOptionsCaseInsensitive()
63 class Arg { in ambiguousAbbreviatedOptions() class
69 Arg a = new Arg(); in ambiguousAbbreviatedOptions()
78 class Arg { in ambiguousAbbreviatedOptionsCaseInsensitive() class
84 Arg a = new Arg(); in ambiguousAbbreviatedOptionsCaseInsensitive()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp105 void handleByValParam(Argument *Arg);
143 void NVPTXLowerKernelArgs::handleByValParam(Argument *Arg) { in handleByValParam() argument
144 Function *Func = Arg->getParent(); in handleByValParam()
146 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam()
151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleByValParam()
155 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleByValParam()
156 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
161 LoadInst *LI = new LoadInst(ArgInParam, Arg->getName(), FirstInst); in handleByValParam()
171 if (Argument *Arg = dyn_cast<Argument>(Ptr)) { in markPointerAsGlobal() local
[all …]
/external/libcxx/benchmarks/
Dunordered_set_operations.bench.cpp127 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
132 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
137 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
142 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
154 getRandomIntegerInputs<uint32_t>)->Arg(TestNumInputs);
159 getSortedIntegerInputs<uint32_t>)->Arg(TestNumInputs);
165 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
170 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
176 getRandomStringInputs)->Arg(TestNumInputs);
181 getRandomStringInputs)->Arg(TestNumInputs);
[all …]
/external/clang/test/OpenMP/
Dtask_if_codegen.cpp20 int Arg; variable
47 int tmain(T Arg) { in tmain() argument
52 #pragma omp task if (Arg) in tmain()
54 #pragma omp task if (task: Arg) depend(in : Arg) in tmain()
56 #pragma omp task if (Arg) depend(out : Arg) in tmain()
58 #pragma omp task if (Arg) depend(inout : Arg) in tmain()
90 #pragma omp task if (Arg) in main()
105 #pragma omp task if (Arg) depend(inout : Arg) in main()
108 return tmain(Arg); in main()
/external/llvm/include/llvm/Option/
DArgList.h33 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; }
96 typedef SmallVector<Arg*, 16> arglist_type;
131 void append(Arg *A);
198 Arg *getLastArgNoClaim(OptSpecifier Id) const;
199 Arg *getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) 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/libchrome/base/strings/
Dsafe_sprintf.h137 struct Arg { struct
141 Arg(signed char c) : type(INT) { in Arg() argument
145 Arg(unsigned char c) : type(UINT) { in Arg() function
149 Arg(signed short j) : type(INT) { in Arg() argument
153 Arg(unsigned short j) : type(UINT) { in Arg() argument
157 Arg(signed int j) : type(INT) { in Arg() function
161 Arg(unsigned int j) : type(UINT) { in Arg() function
165 Arg(signed long j) : type(INT) { in Arg() argument
169 Arg(unsigned long j) : type(UINT) { in Arg() argument
173 Arg(signed long long j) : type(INT) { in Arg() argument
[all …]
/external/clang/lib/Driver/
DSanitizerArgs.cpp58 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
63 static int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A);
77 static std::string describeSanitizeArg(const llvm::opt::Arg *A,
128 const auto *Arg = *I; in parseSanitizeTrapArgs() local
129 if (Arg->getOption().matches(options::OPT_fsanitize_trap_EQ)) { in parseSanitizeTrapArgs()
130 Arg->claim(); in parseSanitizeTrapArgs()
131 SanitizerMask Add = parseArgValues(D, Arg, true); in parseSanitizeTrapArgs()
140 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_trap_EQ)) { in parseSanitizeTrapArgs()
141 Arg->claim(); in parseSanitizeTrapArgs()
142 TrapRemove |= expandSanitizerGroups(parseArgValues(D, Arg, true)); in parseSanitizeTrapArgs()
[all …]
DJob.cpp82 void Command::printArg(raw_ostream &OS, const char *Arg, bool Quote) { in printArg() argument
83 const bool Escape = std::strpbrk(Arg, "\"\\$"); in printArg()
86 OS << Arg; in printArg()
92 while (const char c = *Arg++) { in printArg()
103 for (const char *Arg : InputFileList) { in writeResponseFile() local
104 OS << Arg << '\n'; in writeResponseFile()
112 for (const char *Arg : Arguments) { in writeResponseFile() local
115 for (; *Arg != '\0'; Arg++) { in writeResponseFile()
116 if (*Arg == '\"' || *Arg == '\\') { in writeResponseFile()
119 OS << *Arg; in writeResponseFile()
[all …]
/external/llvm/include/llvm/Analysis/
DAliasAnalysisEvaluator.h44 AAEvaluator(AAEvaluator &&Arg) in AAEvaluator() argument
45 : FunctionCount(Arg.FunctionCount), NoAliasCount(Arg.NoAliasCount), in AAEvaluator()
46 MayAliasCount(Arg.MayAliasCount), in AAEvaluator()
47 PartialAliasCount(Arg.PartialAliasCount), in AAEvaluator()
48 MustAliasCount(Arg.MustAliasCount), NoModRefCount(Arg.NoModRefCount), in AAEvaluator()
49 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
50 ModRefCount(Arg.ModRefCount) { in AAEvaluator()
51 Arg.FunctionCount = 0; in AAEvaluator()
DLazyValueInfo.h46 LazyValueInfo(LazyValueInfo &&Arg) in LazyValueInfo() argument
47 : AC(Arg.AC), TLI(Arg.TLI), DT(Arg.DT), PImpl(Arg.PImpl) { in LazyValueInfo()
48 Arg.PImpl = nullptr; in LazyValueInfo()
50 LazyValueInfo &operator=(LazyValueInfo &&Arg) {
52 AC = Arg.AC;
53 TLI = Arg.TLI;
54 DT = Arg.DT;
55 PImpl = Arg.PImpl;
56 Arg.PImpl = nullptr;
/external/llvm/include/llvm/IR/
DPassManager.h71 PreservedAnalyses(const PreservedAnalyses &Arg) in PreservedAnalyses() argument
72 : PreservedPassIDs(Arg.PreservedPassIDs) {} in PreservedAnalyses()
73 PreservedAnalyses(PreservedAnalyses &&Arg) in PreservedAnalyses() argument
74 : PreservedPassIDs(std::move(Arg.PreservedPassIDs)) {} in PreservedAnalyses()
107 void intersect(const PreservedAnalyses &Arg) { in intersect() argument
108 if (Arg.areAllPreserved()) in intersect()
111 PreservedPassIDs = Arg.PreservedPassIDs; in intersect()
115 if (!Arg.PreservedPassIDs.count(P)) in intersect()
123 void intersect(PreservedAnalyses &&Arg) { in intersect() argument
124 if (Arg.areAllPreserved()) in intersect()
[all …]
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc114 using sandbox::bpf_dsl::Arg;
127 const Arg<unsigned long> flags(0); in RestrictCloneToThreadsAndEPERMFork()
152 const Arg<int> option(0); in RestrictPrctl()
191 const Arg<int> request(1); in RestrictIoctl()
205 const Arg<int> flags(3); in RestrictMmapFlags()
215 const Arg<int> prot(2); in RestrictMprotectFlags()
229 const Arg<int> cmd(1); in RestrictFcntlCommands()
230 const Arg<long> long_arg(2); in RestrictFcntlCommands()
255 const Arg<int> call(0); in RestrictSocketcallCommand()
274 const Arg<pid_t> pid(0); in RestrictKillTarget()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp159 static Option *LookupOption(StringRef &Arg, StringRef &Value, in LookupOption() argument
162 if (Arg.empty()) return 0; in LookupOption()
164 size_t EqualPos = Arg.find('='); in LookupOption()
169 StringMap<Option*>::const_iterator I = OptionsMap.find(Arg); in LookupOption()
176 OptionsMap.find(Arg.substr(0, EqualPos)); in LookupOption()
179 Value = Arg.substr(EqualPos+1); in LookupOption()
180 Arg = Arg.substr(0, EqualPos); in LookupOption()
188 static Option *LookupNearestOption(StringRef Arg, in LookupNearestOption() argument
192 if (Arg.empty()) return 0; in LookupNearestOption()
195 std::pair<StringRef, StringRef> SplitArg = Arg.split('='); in LookupNearestOption()
[all …]
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.h141 class SANDBOX_EXPORT Arg {
145 explicit Arg(int num);
147 Arg(const Arg& arg) : num_(arg.num_), mask_(arg.mask_) {} in Arg() function
151 friend Arg operator&(const Arg& lhs, uint64_t rhs) {
152 return Arg(lhs.num_, lhs.mask_ & rhs);
157 friend BoolExpr operator==(const Arg& lhs, T rhs) { return lhs.EqualTo(rhs); }
161 friend BoolExpr operator!=(const Arg& lhs, T rhs) { return Not(lhs == rhs); }
164 Arg(int num, uint64_t mask) : num_(num), mask_(mask) {} in Arg() function
171 DISALLOW_ASSIGN(Arg);
200 friend Caser<T> Switch(const Arg<T>&);
[all …]
/external/llvm/tools/llvm-config/
Dllvm-config.cpp455 StringRef Arg = argv[i]; in main() local
457 if (Arg.startswith("-")) { in main()
459 if (Arg == "--version") { in main()
461 } else if (Arg == "--prefix") { in main()
463 } else if (Arg == "--bindir") { in main()
465 } else if (Arg == "--includedir") { in main()
467 } else if (Arg == "--libdir") { in main()
469 } else if (Arg == "--cppflags") { in main()
471 } else if (Arg == "--cflags") { in main()
473 } else if (Arg == "--cxxflags") { in main()
[all …]

12345678910>>...28