/third_party/boost/boost/spirit/home/x3/support/numeric_utils/detail/ |
D | extract_int.hpp | 53 template <typename T, unsigned Radix> 56 template <int Digits, unsigned Radix> 69 #define BOOST_PP_LOCAL_MACRO(Radix) \ argument 70 template <int Digits> struct digits2_to_n<Digits, Radix> \ 74 BOOST_PP_SEQ_ELEM(Radix, BOOST_SPIRIT_X3_LOG2))); \ 83 template <typename T, unsigned Radix> 84 struct digits_traits : digits2_to_n<std::numeric_limits<T>::digits, Radix> 109 template <unsigned Radix> 115 return (ch >= '0' && ch <= (Radix > 10 ? '9' : static_cast<Char>('0' + Radix -1))) in is_valid() 116 || (Radix > 10 && ch >= 'a' && ch <= static_cast<Char>('a' + Radix -10 -1)) in is_valid() [all …]
|
/third_party/boost/boost/spirit/home/qi/numeric/detail/ |
D | numeric_utils.hpp | 56 template <typename T, unsigned Radix> 59 template <int Digits, unsigned Radix> 72 #define BOOST_PP_LOCAL_MACRO(Radix) \ argument 73 template <int Digits> struct digits2_to_n<Digits, Radix> \ 77 BOOST_PP_SEQ_ELEM(Radix, BOOST_SPIRIT_LOG2))); \ 86 template <typename T, unsigned Radix> 87 struct digits_traits : digits2_to_n<std::numeric_limits<T>::digits, Radix> 112 template <unsigned Radix> 118 return (ch >= '0' && ch <= (Radix > 10 ? '9' : static_cast<Char>('0' + Radix -1))) in is_valid() 119 || (Radix > 10 && ch >= 'a' && ch <= static_cast<Char>('a' + Radix -10 -1)) in is_valid() [all …]
|
/third_party/boost/boost/spirit/home/qi/numeric/ |
D | int.hpp | 30 template <typename T, unsigned Radix, unsigned MinDigits 43 template <typename T = int, unsigned Radix = 10, unsigned MinDigits = 1 46 : spirit::terminal<tag::int_parser<T, Radix, MinDigits, MaxDigits> > 136 template <typename T, unsigned Radix, unsigned MinDigits 139 , tag::int_parser<T, Radix, MinDigits, MaxDigits> > 143 template <typename T, unsigned Radix, unsigned MinDigits 146 , terminal_ex<tag::int_parser<T, Radix, MinDigits, MaxDigits> 151 template <typename T, unsigned Radix, unsigned MinDigits 154 , tag::int_parser<T, Radix, MinDigits, MaxDigits>, 1 184 , unsigned Radix = 10 [all …]
|
D | uint.hpp | 31 template <typename T, unsigned Radix, unsigned MinDigits 44 template <typename T = int, unsigned Radix = 10, unsigned MinDigits = 1 47 : spirit::terminal<tag::uint_parser<T, Radix, MinDigits, MaxDigits> > 165 template <typename T, unsigned Radix, unsigned MinDigits 168 , tag::uint_parser<T, Radix, MinDigits, MaxDigits> > 172 template <typename T, unsigned Radix, unsigned MinDigits 175 , terminal_ex<tag::uint_parser<T, Radix, MinDigits, MaxDigits> 180 template <typename T, unsigned Radix, unsigned MinDigits 183 , tag::uint_parser<T, Radix, MinDigits, MaxDigits>, 1 218 template <typename T, unsigned Radix = 10, unsigned MinDigits = 1 [all …]
|
D | numeric_utils.hpp | 46 template <typename T, unsigned Radix, unsigned MinDigits, int MaxDigits 52 Radix >= 2 && Radix <= 36, 63 , Radix in call() 66 , detail::positive_accumulator<Radix> in call() 97 template <typename T, unsigned Radix, unsigned MinDigits, int MaxDigits> 102 Radix == 2 || Radix == 8 || Radix == 10 || Radix == 16, 112 T, Radix, MinDigits, MaxDigits> in call() 116 T, Radix, MinDigits, MaxDigits, detail::negative_accumulator<Radix> > in call()
|
/third_party/boost/boost/spirit/home/x3/support/numeric_utils/ |
D | extract_int.hpp | 40 template <typename T, unsigned Radix, unsigned MinDigits, int MaxDigits 46 (Radix >= 2 && Radix <= 36), 57 , Radix in call() 60 , detail::positive_accumulator<Radix> in call() 90 template <typename T, unsigned Radix, unsigned MinDigits, int MaxDigits> 95 (Radix == 2 || Radix == 8 || Radix == 10 || Radix == 16), 105 T, Radix, MinDigits, MaxDigits> in call() 109 T, Radix, MinDigits, MaxDigits, detail::negative_accumulator<Radix> > in call()
|
/third_party/boost/boost/spirit/home/karma/numeric/ |
D | int.hpp | 43 template <typename T, unsigned Radix, bool force_sign> 55 template <typename T = int, unsigned Radix = 10, bool force_sign = false> 57 : spirit::terminal<tag::int_generator<T, Radix, force_sign> > 145 template <typename T, unsigned Radix, bool force_sign> 146 struct use_terminal<karma::domain, tag::int_generator<T, Radix, force_sign> > 150 template <typename T, unsigned Radix, bool force_sign, typename A0> 152 , terminal_ex<tag::int_generator<T, Radix, force_sign> 157 template <typename T, unsigned Radix, bool force_sign> 160 , tag::int_generator<T, Radix, force_sign> 200 typename T, typename CharEncoding, typename Tag, unsigned Radix [all …]
|
D | uint.hpp | 42 template <typename T, unsigned Radix> 54 template <typename T = unsigned int, unsigned Radix = 10> 56 : spirit::terminal<tag::uint_generator<T, Radix> > 185 template <typename T, unsigned Radix> 186 struct use_terminal<karma::domain, tag::uint_generator<T, Radix> > 190 template <typename T, unsigned Radix, typename A0> 192 , terminal_ex<tag::uint_generator<T, Radix>, fusion::vector1<A0> > 196 template <typename T, unsigned Radix> 199 , tag::uint_generator<T, Radix> 245 template <typename T, typename CharEncoding, typename Tag, unsigned Radix> [all …]
|
/third_party/boost/boost/spirit/home/x3/numeric/ |
D | int.hpp | 20 , unsigned Radix = 10 23 struct int_parser : parser<int_parser<T, Radix, MinDigits, MaxDigits>> 27 (Radix == 2 || Radix == 8 || Radix == 10 || Radix == 16), 37 typedef extract_int<T, Radix, MinDigits, MaxDigits> extract; in parse()
|
D | uint.hpp | 21 , unsigned Radix = 10 24 struct uint_parser : parser<uint_parser<T, Radix, MinDigits, MaxDigits>> 28 (Radix >= 2 && Radix <= 36), 38 typedef extract_uint<T, Radix, MinDigits, MaxDigits> extract; in parse()
|
/third_party/boost/boost/spirit/home/classic/core/primitives/impl/ |
D | numerics.ipp | 57 template<const int Radix> 123 // extract_int<Radix, MinDigits, MaxDigits, Accumulate> 126 // The template parameter Radix represents the radix of the 133 // positive_accumulate<Radix> (default) for parsing positive 134 // numbers or negative_accumulate<Radix> otherwise. 159 template <typename T, int Radix> 168 static T const max_div_radix = max/Radix; 172 n *= Radix; 182 n *= Radix; 189 template <typename T, int Radix> [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 416 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger() argument 419 if (Radix == 0) in consumeUnsignedInteger() 420 Radix = GetAutoSenseRadix(Str); in consumeUnsignedInteger() 441 if (CharVal >= Radix) in consumeUnsignedInteger() 446 Result = Result * Radix + CharVal; in consumeUnsignedInteger() 449 if (Result / Radix < PrevResult) in consumeUnsignedInteger() 464 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger() argument 470 if (consumeUnsignedInteger(Str, Radix, ULLVal) || in consumeSignedInteger() 480 if (consumeUnsignedInteger(Str2, Radix, ULLVal) || in consumeSignedInteger() 494 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 425 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger() argument 428 if (Radix == 0) in consumeUnsignedInteger() 429 Radix = GetAutoSenseRadix(Str); in consumeUnsignedInteger() 450 if (CharVal >= Radix) in consumeUnsignedInteger() 455 Result = Result * Radix + CharVal; in consumeUnsignedInteger() 458 if (Result / Radix < PrevResult) in consumeUnsignedInteger() 473 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger() argument 479 if (consumeUnsignedInteger(Str, Radix, ULLVal) || in consumeSignedInteger() 489 if (consumeUnsignedInteger(Str2, Radix, ULLVal) || in consumeSignedInteger() 503 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument [all …]
|
D | APInt.cpp | 2106 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument 2108 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString() 2109 Radix == 36) && in toString() 2114 switch (Radix) { in toString() 2168 *--BufPtr = Digits[N % Radix]; in toString() 2169 N /= Radix; in toString() 2197 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString() 2199 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString() 2200 unsigned MaskAmt = Radix - 1; in toString() 2208 APInt divisor(Radix == 10? 4 : 8, Radix); in toString() [all …]
|
/third_party/boost/boost/spirit/home/classic/core/primitives/ |
D | numerics.hpp | 31 int Radix, 35 struct uint_parser : parser<uint_parser<T, Radix, MinDigits, MaxDigits> > 37 typedef uint_parser<T, Radix, MinDigits, MaxDigits> self_t; 49 typedef impl::uint_parser_impl<T, Radix, MinDigits, MaxDigits> impl_t; in parse() 62 int Radix, 66 struct int_parser : parser<int_parser<T, Radix, MinDigits, MaxDigits> > 68 typedef int_parser<T, Radix, MinDigits, MaxDigits> self_t; 80 typedef impl::int_parser_impl<T, Radix, MinDigits, MaxDigits> impl_t; in parse()
|
D | numerics_fwd.hpp | 24 int Radix = 10, 37 int Radix = 10,
|
/third_party/boost/boost/spirit/home/karma/numeric/detail/ |
D | numeric_utils.hpp | 467 template <unsigned Radix, typename CharEncoding, typename Tag> 469 : detail::convert_digit<CharEncoding, Tag, (Radix <= 10) ? true : false> 473 template <unsigned Radix> 479 return n / Radix; in call() 487 return floor(n / Radix); in call() 535 template <unsigned Radix> 543 return static_cast<long>(n % Radix); in call() 551 return cast_to_long::call(fmod(n, T(Radix))); in call() 588 unsigned Radix, typename CharEncoding = unused_type 592 typedef traits::convert_digit<Radix, CharEncoding, Tag> radix_type; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 299 unsigned Radix = 0; in LexDigit() local 303 Radix = 16; in LexDigit() 306 Radix = 2; in LexDigit() 308 if (Radix == 2 || Radix == 16) { in LexDigit() 312 if (Result.drop_back().getAsInteger(Radix, Value)) in LexDigit() 313 return ReturnError(TokStart, Radix == 2 ? "invalid binary number" : in LexDigit() 328 unsigned Radix = doHexLookAhead(CurPtr, 10, LexMasmIntegers); in LexDigit() local 329 bool isHex = Radix == 16; in LexDigit() 340 if (Result.getAsInteger(Radix, Value)) in LexDigit() 345 if (LexMasmIntegers && Radix == 16) in LexDigit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringRef.h | 31 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 34 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 36 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 38 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result); 494 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 496 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger() 505 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 510 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger() 528 consumeInteger(unsigned Radix, T &Result) { in consumeInteger() argument 530 if (consumeSignedInteger(*this, Radix, LLVal) || in consumeInteger() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringRef.h | 38 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 41 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 43 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 45 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result); 499 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 501 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger() 510 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 515 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger() 533 consumeInteger(unsigned Radix, T &Result) { in consumeInteger() argument 535 if (consumeSignedInteger(*this, Radix, LLVal) || in consumeInteger() [all …]
|
D | APSInt.h | 82 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 83 APInt::toString(Str, Radix, isSigned()); 87 std::string toString(unsigned Radix) const { in toString() argument 88 return APInt::toString(Radix, isSigned()); in toString()
|
/third_party/boost/libs/sort/doc/ |
D | bibliography.qbk | 19 [h4 Radix Sort] 22 Wikipedia has an article about Radix Sorting. 23 A more detailed description of various Radix Sorting algorithms is provided here: 40 …_flag and Peter M. McIlroy, Keith Bostic, M. Douglas McIlroy. Engineering Radix Sort, Computing S… 42 [h4 Adaptive Left Radix (ARL)] 44 ARL (Adaptive Left Radix) is a hybrid cache-friendly integer sorting algorithm
|
/third_party/boost/boost/spirit/home/classic/debug/ |
D | parser_names.hpp | 64 template <typename T, int Radix, unsigned MinDigits, int MaxDigits> 66 parser_name(uint_parser<T, Radix, MinDigits, MaxDigits> const& p); 68 template <typename T, int Radix, unsigned MinDigits, int MaxDigits> 70 parser_name(int_parser<T, Radix, MinDigits, MaxDigits> const& p);
|
/third_party/boost/boost/multiprecision/detail/ |
D | generic_interconvert.hpp | 422 template <class To, class From, int Radix> 423 void generic_interconvert_float2rational(To& to, const From& from, const mpl::int_<Radix>& /*radix*… in generic_interconvert_float2rational() argument 448 num *= Radix; in generic_interconvert_float2rational() 453 denom = ui_type(Radix); in generic_interconvert_float2rational() 507 template <class To, class From, int Radix> 508 void generic_interconvert_float2int(To& to, const From& from, const mpl::int_<Radix>& /*radix*/) in generic_interconvert_float2int() argument 525 num *= Radix; in generic_interconvert_float2int()
|
/third_party/boost/libs/spirit/doc/qi/ |
D | numeric.qbk | 82 , unsigned Radix 93 [[`Radix`] [The radix base. This can be 160 T, Radix, MinDigits, MaxDigits 163 [Parse an unsigned integer of type `T` using radix `Radix`, with 168 T, Radix, MinDigits, MaxDigits 171 [Match the literal `num` of type `T` using radix `Radix`, with 227 T, Radix, MinDigits, MaxDigits 230 T, Radix, MinDigits, MaxDigits 326 , unsigned Radix 337 [[`Radix`] [The radix base. This can be [all …]
|