Home | History | Annotate | Download | only in re2

Lines Matching refs:Arg

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 ...
217 // We convert user-passed pointers into special Arg objects
218 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);
667 static inline Arg CRadix(unsigned short* x);
668 static inline Arg CRadix(int* x);
669 static inline Arg CRadix(unsigned int* x);
670 static inline Arg CRadix(long* x);
671 static inline Arg CRadix(unsigned long* x);
672 static inline Arg CRadix(long long* x);
673 static inline Arg CRadix(unsigned long long* x);
675 static inline Arg Hex(short* x);
676 static inline Arg Hex(unsigned short* x);
677 static inline Arg Hex(int* x);
678 static inline Arg Hex(unsigned int* x);
679 static inline Arg Hex(long* x);
680 static inline Arg Hex(unsigned long* x);
681 static inline Arg Hex(long long* x);
682 static inline Arg Hex(unsigned long long* x);
684 static inline Arg Octal(short* x);
685 static inline Arg Octal(unsigned short* x);
686 static inline Arg Octal(int* x);
687 static inline Arg Octal(unsigned int* x);
688 static inline Arg Octal(long* x);
689 static inline Arg Octal(unsigned long* x);
690 static inline Arg Octal(long long* x);
691 static inline Arg Octal(unsigned long long* x);
699 const Arg* const args[],
746 class RE2::Arg {
748 // Empty constructor so we can declare arrays of RE2::Arg
749 Arg();
752 Arg(void*);
758 Arg(type* p) : arg_(p), parser_(name) { } \
759 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { } \
781 template <class T> Arg(T*, Parser parser);
783 template <class T> Arg(T* p)
824 inline RE2::Arg::Arg() : arg_(NULL), parser_(parse_null) { }
825 inline RE2::Arg::Arg(void* p) : arg_(p), parser_(parse_null) { }
827 inline bool RE2::Arg::Parse(const char* str, int n) const {
833 inline RE2::Arg RE2::Hex(type* ptr) { \
834 return RE2::Arg(ptr, RE2::Arg::parse_ ## name ## _hex); } \
835 inline RE2::Arg RE2::Octal(type* ptr) { \
836 return RE2::Arg(ptr, RE2::Arg::parse_ ## name ## _octal); } \
837 inline RE2::Arg RE2::CRadix(type* ptr) { \
838 return RE2::Arg(ptr, RE2::Arg::parse_ ## name ## _cradix); }