/external/regex-re2/re2/ |
variadic_function.h | 10 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 { 21 const Arg* const args[] = { &a0 }; 25 Result operator()(Param0 p0, Param1 p1, const Arg& a0, const Arg& a1) const { 26 const Arg* const args[] = { &a0, &a1 }; 30 Result operator()(Param0 p0, Param1 p1, const Arg& a0, const Arg& a1, 31 const Arg& a2) const [all...] |
re2.h | 155 // const RE2::Arg* args[10]; 157 // // ... populate args with pointers to RE2::Arg values ... 158 // // ... set n to the number of RE2::Arg objects ... 201 // We convert user-passed pointers into special Arg objects 202 class Arg; 310 const Arg* const args[], int argc); 312 bool, const StringPiece&, const RE2&, Arg, RE2::FullMatchN> FullMatch; 317 const Arg* const args[], int argc); 319 bool, const StringPiece&, const RE2&, Arg, RE2::PartialMatchN> PartialMatch; 325 const Arg* const args[], int argc) [all...] |
/external/clang/include/clang/Driver/ |
Arg.h | 1 //===--- Arg.h - Parsed Argument Classes ------------------------*- C++ -*-===// 23 /// Arg - A concrete instance of a particular driver option. 25 /// The Arg class encodes just enough information to be able to 26 /// derive the argument values efficiently. In addition, Arg 30 class Arg { 31 Arg(const Arg &); // DO NOT IMPLEMENT 32 void operator=(const Arg &); // DO NOT IMPLEMENT 40 const Arg *BaseArg; 57 Arg(const Option *Opt, unsigned Index, const Arg *BaseArg = 0) [all...] |
ArgList.h | 27 class Arg; 34 SmallVectorImpl<Arg*>::const_iterator Current; 52 typedef Arg * const * value_type; 53 typedef Arg * const & reference; 54 typedef Arg * const * pointer; 58 arg_iterator(SmallVectorImpl<Arg*>::const_iterator it, 65 operator const Arg*() { return *Current; } 91 /// The ArgList class manages a list of Arg instances as well as 93 /// check for the presence of Arg instances for a particular Option 101 typedef SmallVector<Arg*, 16> arglist_type [all...] |
/external/regex-re2/util/ |
pcre.h | 198 // We convert user-passed pointers into special Arg objects 199 class Arg; 201 // Marks end of arg list. 202 // ONLY USE IN OPTIONAL ARG DEFAULTS. 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 [all...] |
pcre.cc | 41 PCRE::Arg PCRE::no_more_args((void*)NULL); 144 const Arg& a0, 145 const Arg& a1, 146 const Arg& a2, 147 const Arg& a3, 148 const Arg& a4, 149 const Arg& a5, 150 const Arg& a6, 151 const Arg& a7, 152 const Arg& a8 [all...] |
/external/stlport/test/unit/ |
fadapter.h | 45 template <class Arg> 46 class pointer_to_unary_procedure /* :public unary_function<Arg, __void_tag> */ { 48 typedef void (*fun_type)(Arg); 51 typedef Arg argument_type; 54 void operator() (Arg x) const { ptr(x); } 57 template <class Arg> 58 inline pointer_to_unary_procedure<Arg> ptr_proc(void (*x)(Arg)) { 59 return pointer_to_unary_procedure<Arg>(x);
|
/ndk/tests/device/test-gnustl-full/unit/ |
fadapter.h | 45 template <class Arg> 46 class pointer_to_unary_procedure /* :public unary_function<Arg, __void_tag> */ { 48 typedef void (*fun_type)(Arg); 51 typedef Arg argument_type; 54 void operator() (Arg x) const { ptr(x); } 57 template <class Arg> 58 inline pointer_to_unary_procedure<Arg> ptr_proc(void (*x)(Arg)) { 59 return pointer_to_unary_procedure<Arg>(x);
|
/ndk/tests/device/test-stlport/unit/ |
fadapter.h | 45 template <class Arg> 46 class pointer_to_unary_procedure /* :public unary_function<Arg, __void_tag> */ { 48 typedef void (*fun_type)(Arg); 51 typedef Arg argument_type; 54 void operator() (Arg x) const { ptr(x); } 57 template <class Arg> 58 inline pointer_to_unary_procedure<Arg> ptr_proc(void (*x)(Arg)) { 59 return pointer_to_unary_procedure<Arg>(x);
|
/external/clang/test/SemaCXX/ |
generic-selection.cpp | 30 template <unsigned Arg, unsigned... Args> struct Or { 31 enum { result = Arg | Or<Args...>::result }; 34 template <unsigned Arg> struct Or<Arg> { 35 enum { result = Arg };
|
/external/clang/include/clang/Sema/ |
ParsedTemplate.h | 38 ParsedTemplateArgument() : Kind(Type), Arg(0) { } 42 /// \param Arg the template type argument or non-type template argument. 44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) 45 : Kind(Kind), Arg(Arg), Loc(Loc) { } 60 Arg(Template.getAsOpaquePtr()), 64 bool isInvalid() const { return Arg == 0; } 72 return ParsedType::getFromOpaquePtr(Arg); 78 return static_cast<Expr*>(Arg); 84 return ParsedTemplateTy::getFromOpaquePtr(Arg); [all...] |
/external/clang/lib/Driver/ |
Arg.cpp | 1 //===--- Arg.cpp - Argument Implementations -------------------------------===// 10 #include "clang/Driver/Arg.h" 19 Arg::Arg(const Option *_Opt, unsigned _Index, const Arg *_BaseArg) 24 Arg::Arg(const Option *_Opt, unsigned _Index, 25 const char *Value0, const Arg *_BaseArg) 31 Arg::Arg(const Option *_Opt, unsigned _Index, [all...] |
Option.cpp | 12 #include "clang/Driver/Arg.h" 115 Arg *OptionGroup::accept(const ArgList &Args, unsigned &Index) const { 123 Arg *InputOption::accept(const ArgList &Args, unsigned &Index) const { 131 Arg *UnknownOption::accept(const ArgList &Args, unsigned &Index) const { 140 Arg *FlagOption::accept(const ArgList &Args, unsigned &Index) const { 146 return new Arg(getUnaliasedOption(), Index++); 154 Arg *JoinedOption::accept(const ArgList &Args, unsigned &Index) const { 157 return new Arg(getUnaliasedOption(), Index++, Value); 166 Arg *CommaJoinedOption::accept(const ArgList &Args, 170 Arg *A = new Arg(getUnaliasedOption(), Index++) [all...] |
ArgList.cpp | 11 #include "clang/Driver/Arg.h" 45 void ArgList::append(Arg *A) { 60 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { 68 Arg *ArgList::getLastArg(OptSpecifier Id) const { 69 Arg *Res = 0; 80 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { 81 Arg *Res = 0; 94 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1, 96 Arg *Res = 0; 109 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1 [all...] |
/external/llvm/tools/llvm-config/ |
llvm-config.cpp | 48 /// \arg RequiredLibs. 250 StringRef Arg = argv[i]; 252 if (Arg.startswith("-")) { 254 if (Arg == "--version") { 256 } else if (Arg == "--prefix") { 258 } else if (Arg == "--bindir") { 260 } else if (Arg == "--includedir") { 262 } else if (Arg == "--libdir") { 264 } else if (Arg == "--cppflags") { 266 } else if (Arg == "--cflags") [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
Arg.java | 19 * $Id: Arg.java 468655 2006-10-28 07:12:06Z minchau $ 32 public class Arg 179 public Arg() 197 public Arg(QName qname, String expression, boolean isFromWithParam) 214 public Arg(QName qname, XObject val) 249 public Arg(QName qname, XObject val, boolean isFromWithParam)
|
/external/llvm/lib/Target/Hexagon/ |
HexagonRemoveSZExtArgs.cpp | 54 Argument* Arg = AI; 55 if (!isa<PointerType>(Arg->getType())) { 56 for (Instruction::use_iterator UI = Arg->use_begin(); 57 UI != Arg->use_end();) { 60 SExtInst* SI = new SExtInst(Arg, Use->getType());
|
/external/v8/src/ |
once.h | 96 typedef void (*PointerArgFunction)(void* arg); 103 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg); 112 template <typename Arg> 114 typename OneArgFunction<Arg*>::type init_func, Arg* arg) { 117 static_cast<void*>(arg));
|
/external/clang/tools/scan-build/ |
c++-analyzer | 206 foreach my $arg (@$AnalyzeArgs) { 207 push @Args, "-Xclang", $arg; 226 foreach my $arg (@CmdArgs) { 227 push @PrintArgs,"\'$arg\'"; 461 my $Arg = $ARGV[$i]; 462 my ($ArgKey) = split /=/,$Arg,2; 465 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; } 466 elsif ($Arg eq '-c') { $Action = 'compile'; } 467 elsif ($Arg =~ /^-print-prog-name/) { exit 0; } 470 if ($Arg eq "-arch") [all...] |
ccc-analyzer | 206 foreach my $arg (@$AnalyzeArgs) { 207 push @Args, "-Xclang", $arg; 226 foreach my $arg (@CmdArgs) { 227 push @PrintArgs,"\'$arg\'"; 461 my $Arg = $ARGV[$i]; 462 my ($ArgKey) = split /=/,$Arg,2; 465 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; } 466 elsif ($Arg eq '-c') { $Action = 'compile'; } 467 elsif ($Arg =~ /^-print-prog-name/) { exit 0; } 470 if ($Arg eq "-arch") [all...] |
/external/bison/lib/ |
argmatch.h | 39 matches with ARG. If VALLIST is not NULL, then use it to resolve 40 false ambiguities (i.e., different matches of ARG but corresponding 43 ptrdiff_t argmatch (char const *arg, char const *const *arglist, 46 # define ARGMATCH(Arg, Arglist, Vallist) \ 47 argmatch (Arg, Arglist, (char const *) (Vallist), sizeof *(Vallist)) 81 char const *arg, char const *const *arglist, 87 # define XARGMATCH(Context, Arg, Arglist, Vallist) \ 88 ((Vallist) [__xargmatch_internal (Context, Arg, Arglist, \
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCContainersASTChecker.cpp | 104 const Expr *Arg = 0; 109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 110 if (hasPointerToPointerSizedType(Arg)) 114 if (Arg == 0 && Name.equals("CFDictionaryCreate")) { 117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 118 if (hasPointerToPointerSizedType(Arg)) { 121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 122 if (hasPointerToPointerSizedType(Arg)) 140 << Arg->getType().getAsString() << "'"; 142 SourceRange R = Arg->getSourceRange() [all...] |
/frameworks/compile/mclinker/lib/Support/ |
CommandLine.cpp | 20 llvm::StringRef Arg, 23 Val.assign<llvm::StringRef::const_iterator>(Arg.begin(), Arg.end()); 56 llvm::StringRef Arg, 59 Val.assign(Arg);
|
/external/llvm/lib/Support/ |
CommandLine.cpp | 162 static Option *LookupOption(StringRef &Arg, StringRef &Value, 165 if (Arg.empty()) return 0; 167 size_t EqualPos = Arg.find('='); 172 StringMap<Option*>::const_iterator I = OptionsMap.find(Arg); 177 // return Arg unmolested. 179 OptionsMap.find(Arg.substr(0, EqualPos)); 182 Value = Arg.substr(EqualPos+1); 183 Arg = Arg.substr(0, EqualPos); 191 static Option *LookupNearestOption(StringRef Arg, 501 const char *arg = argv[i]; local [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
CommandLine.h | 31 StringRef Arg, 49 bool parse(Option &O, StringRef ArgName, StringRef Arg, mcld::MCLDDirectory &Val);
|