Home
last modified time | relevance | path

Searched refs:__olength (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/ryu/
H A Dd2s.cpp361 const uint32_t __olength = __decimalLength17(_Output); in __to_chars() local
362 int32_t _Scientific_exponent = _Ryu_exponent + static_cast<int32_t>(__olength) - 1; in __to_chars()
368 if (__olength == 1) { in __to_chars()
378 _Lower = -static_cast<int32_t>(__olength + 3); in __to_chars()
418 const int32_t _Whole_digits = static_cast<int32_t>(__olength) + _Ryu_exponent; in __to_chars()
439 _Total_fixed_length = __olength + 1; in __to_chars()
507 _Mid = _First + __olength; in __to_chars()
563 std::memset(_First + __olength, '0', static_cast<size_t>(_Ryu_exponent)); in __to_chars()
580 …const uint32_t _Total_scientific_length = __olength + (__olength > 1) // digits + possible decimal… in __to_chars()
606 std::memcpy(__result + __olength - __i - 1, __DIGIT_TABLE + __c0, 2); in __to_chars()
[all …]
H A Df2s.cpp426 const uint32_t __olength = __decimalLength9(_Output); in __to_chars() local
427 int32_t _Scientific_exponent = _Ryu_exponent + static_cast<int32_t>(__olength) - 1; in __to_chars()
433 if (__olength == 1) { in __to_chars()
443 _Lower = -static_cast<int32_t>(__olength + 3); in __to_chars()
483 const int32_t _Whole_digits = static_cast<int32_t>(__olength) + _Ryu_exponent; in __to_chars()
498 _Total_fixed_length = __olength + 1; in __to_chars()
555 _Mid = _First + __olength; in __to_chars()
587 std::memset(_First + __olength, '0', static_cast<size_t>(_Ryu_exponent)); in __to_chars()
605 __olength + (__olength > 1) + 4; // digits + possible decimal point + scientific exponent in __to_chars()
622 std::memcpy(__result + __olength - __i - 1, __DIGIT_TABLE + __c0, 2); in __to_chars()
[all …]
H A Dd2fixed.cpp127 void __append_n_digits(const uint32_t __olength, uint32_t __digits, char* const __result) { in __append_n_digits() argument
138 std::memcpy(__result + __olength - __i - 2, __DIGIT_TABLE + __c0, 2); in __append_n_digits()
139 std::memcpy(__result + __olength - __i - 4, __DIGIT_TABLE + __c1, 2); in __append_n_digits()
145 std::memcpy(__result + __olength - __i - 2, __DIGIT_TABLE + __c, 2); in __append_n_digits()
150 std::memcpy(__result + __olength - __i - 2, __DIGIT_TABLE + __c, 2); in __append_n_digits()
156 _LIBCPP_HIDE_FROM_ABI inline void __append_d_digits(const uint32_t __olength, uint32_t __digits, ch… in __append_d_digits() argument
167 std::memcpy(__result + __olength + 1 - __i - 2, __DIGIT_TABLE + __c0, 2); in __append_d_digits()
168 std::memcpy(__result + __olength + 1 - __i - 4, __DIGIT_TABLE + __c1, 2); in __append_d_digits()
174 std::memcpy(__result + __olength + 1 - __i - 2, __DIGIT_TABLE + __c, 2); in __append_d_digits()
292 const uint32_t __olength = __decimalLength9(__digits); in __d2fixed_buffered_n() local
[all …]
/freebsd/contrib/llvm-project/libcxx/src/include/ryu/
H A Dd2fixed.h50 void __append_n_digits(const uint32_t __olength, uint32_t __digits, char* const __result);