Home
last modified time | relevance | path

Searched refs:is_negative (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/
H A Dsign.h18 LIBC_INLINE constexpr bool is_pos() const { return !is_negative; } in is_pos()
19 LIBC_INLINE constexpr bool is_neg() const { return is_negative; } in is_neg()
22 return a.is_negative == b.is_negative;
32 LIBC_INLINE constexpr Sign negate() const { return Sign(!is_negative); } in negate()
35 LIBC_INLINE constexpr explicit Sign(bool is_negative) in Sign()
36 : is_negative(is_negative) {} in Sign()
38 bool is_negative; member
H A Dfloat_to_string.h620 bool is_negative = 0; variable
730 is_negative = float_bits.is_neg(); in FloatToString()
H A Dbig_int.h244 LIBC_INLINE constexpr bool is_negative(const cpp::array<word, N> &array) {
274 const bool is_neg = is_signed && is_negative(array);
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_bit.c19 bool is_negative; member
43 bool is_negative; member
66 if (signbit(iterator_f) != values[i].is_negative) in ATF_TC_BODY()
70 if (signbit(iterator_d) != values[i].is_negative) in ATF_TC_BODY()
77 if (signbit(iterator_l) != values[i].is_negative) in ATF_TC_BODY()
86 if (signbit(ldbl_values[i].input) != ldbl_values[i].is_negative) in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlcompat.c29 boolean_t is_negative; in lcompat_strtoll() local
35 is_negative = (*cp == '-'); in lcompat_strtoll()
36 if (is_negative) { in lcompat_strtoll()
70 if (is_negative) { in lcompat_strtoll()
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h62 _LIBCPP_HIDE_FROM_ABI constexpr bool is_negative() const noexcept { return __is_neg_; } in is_negative() function
H A Dformatter.h689 if (__value.is_negative()) in __format_chrono()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp750 const bool is_negative = (length_and_negative >> 4) & 1; in NSDecimalNumberSummaryProvider() local
754 const bool is_nan = is_negative && (length == 0); in NSDecimalNumberSummaryProvider()
771 if (is_negative) in NSDecimalNumberSummaryProvider()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp646 bool is_negative = is_signed && str.consume_front("-"); in SetValueFromCString() local
656 if (is_negative) in SetValueFromCString()
/freebsd/crypto/openssl/crypto/
H A Dparams.c93 static int is_negative(const void *number, size_t s) in is_negative() function
169 is_negative(src, src_len) ? 0xff : 0, 1); in signed_from_signed()
183 if (is_negative(src, src_len)) { in unsigned_from_signed()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1483 Matcher<int> is_negative = Lt(0); in TEST() local
1486 EXPECT_THAT(p, Not(Key(is_negative))); in TEST()
1611 Matcher<int> is_negative = Lt(0); in TEST() local
1614 EXPECT_THAT(p, Not(Pair(is_negative, _))); in TEST()
1616 EXPECT_THAT(p, Not(Pair(_, is_negative))); in TEST()
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp145 if (__offset.is_negative()) { in __format()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h545 struct is_negative { struct
550 inline cst_pred_ty<is_negative> m_Negative() { in m_Negative() argument
551 return cst_pred_ty<is_negative>(); in m_Negative()
553 inline api_pred_ty<is_negative> m_Negative(const APInt *&V) { return V; } in m_Negative()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dchrono666 constexpr bool is_negative() const noexcept;
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono761 constexpr bool is_negative() const noexcept;