Lines Matching defs:Radix
35 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
38 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
40 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix,
42 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result);
464 /// \p Radix is specified as zero, this does radix autosensing using
470 template <typename T> bool getAsInteger(unsigned Radix, T &Result) const {
473 if (getAsSignedInteger(*this, Radix, LLVal) ||
482 if (getAsUnsignedInteger(*this, Radix, ULLVal) ||
491 /// \p Radix is specified as zero, this does radix autosensing using
499 template <typename T> bool consumeInteger(unsigned Radix, T &Result) {
502 if (consumeSignedInteger(*this, Radix, LLVal) ||
508 if (consumeUnsignedInteger(*this, Radix, ULLVal) ||
516 /// Parse the current string as an integer of the specified \p Radix, or of
517 /// an autosensed radix if the \p Radix given is 0. The current value in
526 bool getAsInteger(unsigned Radix, APInt &Result) const;
528 /// Parse the current string as an integer of the specified \p Radix. If
529 /// \p Radix is specified as zero, this does radix autosensing using
537 bool consumeInteger(unsigned Radix, APInt &Result);