Home
last modified time | relevance | path

Searched refs:__negative (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dfrom_chars_floating_point.h41 …ting_point_inf(const char* const __first, const char* __last, const char* __ptr, bool __negative) { in __from_chars_floating_point_inf() argument
64 if (__negative) in __from_chars_floating_point_inf()
85 …ting_point_nan(const char* const __first, const char* __last, const char* __ptr, bool __negative) { in __from_chars_floating_point_nan() argument
111 if (__negative) in __from_chars_floating_point_nan()
230 __calculate_result(_Tp __mantissa, int __exponent, bool __negative, __from_chars_result<_Fp> __resu… in __calculate_result() argument
258 if (__negative) in __calculate_result()
279 …ting_point_hex(const char* const __first, const char* __last, const char* __ptr, bool __negative) { in __from_chars_floating_point_hex() argument
306 …_calculate_result<_Fp>(__expanded_float.mantissa, __expanded_float.exponent, __negative, __result); in __from_chars_floating_point_hex()
358 … char* const __first, const char* __last, chars_format __fmt, const char* __ptr, bool __negative) { in __from_chars_floating_point_decimal() argument
407 …return std::__calculate_result(__expanded_float.mantissa, __expanded_float.exponent, __negative, _… in __from_chars_floating_point_decimal()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integral.h58 _LIBCPP_HIDE_FROM_ABI inline _Iterator __insert_sign(_Iterator __buf, bool __negative, __format_spe… in __insert_sign() argument
59 if (__negative) in __insert_sign()
289 bool __negative, in __format_integer() argument
294 _Iterator __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_); in __format_integer()
349 bool __negative = false) {
353 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
357 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
363 …__value, __ctx, __specs, __negative, __array.begin(), __array.end(), __value != 0 ? "0" : nullptr,…
369 __value, __ctx, __specs, __negative, __array.begin(), __array.end(), nullptr, 10);
373 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
[all …]
H A Dformatter_floating_point.h453 bool __negative,
457 char* __first = __formatter::__insert_sign(__buffer.begin(), __negative, __sign);
584 …_OutIt __out_it, __format_spec::__parsed_specifications<_CharT> __specs, bool __negative, bool __i…
586 char* __last = __formatter::__insert_sign(__buffer, __negative, __specs.__std_.__sign_);
640 bool __negative = std::signbit(__value);
643 …return __formatter::__format_floating_point_non_finite(__ctx.out(), __specs, __negative, std::isna…
652 if (__negative)
660 …__buffer, __value, __negative, (__specs.__has_precision()), __specs.__std_.__sign_, __specs.__std_…
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtzdb.cpp298 bool __negative = __input.peek() == '-'; in __parse_year_value() local
299 if (__negative) [[unlikely]] in __parse_year_value()
304 if (__negative) in __parse_year_value()
310 return year{static_cast<int>(__negative ? -__result : __result)}; in __parse_year_value()
379 bool __negative = __c == '-'; in __parse_duration() local
380 if (__negative) { in __parse_duration()
390 return __negative ? -__result : __result; in __parse_duration()
395 return __negative ? -__result : __result; in __parse_duration()
400 return __negative ? -__result : __result; in __parse_duration()
405 return __negative ? -__result : __result; in __parse_duration()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dformatter.h198 bool __negative = __year < 0; in __format_century() local
199 int __century = (__year - (99 * __negative)) / 100; // floored division in __format_century()