Home
last modified time | relevance | path

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

/src/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integral.h57 _LIBCPP_HIDE_FROM_ABI inline _Iterator __insert_sign(_Iterator __buf, bool __negative, __format_spe… in __insert_sign() argument
58 if (__negative) in __insert_sign()
288 bool __negative, in __format_integer() argument
293 _Iterator __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_); in __format_integer()
348 bool __negative = false) {
352 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
356 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
362 …__value, __ctx, __specs, __negative, __array.begin(), __array.end(), __value != 0 ? "0" : nullptr,…
368 __value, __ctx, __specs, __negative, __array.begin(), __array.end(), nullptr, 10);
372 …return __formatter::__format_integer(__value, __ctx, __specs, __negative, __array.begin(), __array…
[all …]
H A Dformatter_floating_point.h452 bool __negative,
456 char* __first = __formatter::__insert_sign(__buffer.begin(), __negative, __sign);
583 …_OutIt __out_it, __format_spec::__parsed_specifications<_CharT> __specs, bool __negative, bool __i…
585 char* __last = __formatter::__insert_sign(__buffer, __negative, __specs.__std_.__sign_);
639 bool __negative = std::signbit(__value);
642 …return __formatter::__format_floating_point_non_finite(__ctx.out(), __specs, __negative, std::isna…
651 if (__negative)
659 …__buffer, __value, __negative, (__specs.__has_precision()), __specs.__std_.__sign_, __specs.__std_…
/src/contrib/llvm-project/libcxx/src/experimental/
H A Dtzdb.cpp285 bool __negative = __input.peek() == '-'; in __parse_year_value() local
286 if (__negative) [[unlikely]] in __parse_year_value()
291 if (__negative) in __parse_year_value()
297 return year{static_cast<int>(__negative ? -__result : __result)}; in __parse_year_value()
366 bool __negative = __c == '-'; in __parse_duration() local
367 if (__negative) { in __parse_duration()
377 return __negative ? -__result : __result; in __parse_duration()
382 return __negative ? -__result : __result; in __parse_duration()
387 return __negative ? -__result : __result; in __parse_duration()
392 return __negative ? -__result : __result; in __parse_duration()
/src/contrib/llvm-project/libcxx/include/__chrono/
H A Dformatter.h191 bool __negative = __year < 0; in __format_century() local
192 int __century = (__year - (99 * __negative)) / 100; // floored division in __format_century()