Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libc/src/stdio/printf_core/
H A Dfloat_inf_nan_converter.h30 bool is_negative; in convert_inf_nan() local
35 is_negative = float_bits.get_sign(); in convert_inf_nan()
40 is_negative = float_bits.get_sign(); in convert_inf_nan()
46 if (is_negative) in convert_inf_nan()
H A Dfloat_hex_converter.h33 bool is_negative; in convert_float_hex_exp() local
44 is_negative = float_bits.get_sign(); in convert_float_hex_exp()
53 is_negative = float_bits.get_sign(); in convert_float_hex_exp()
64 if (is_negative) in convert_float_hex_exp()
122 if (truncated_bits > 0 && is_negative) in convert_float_hex_exp()
126 if (truncated_bits > 0 && !is_negative) in convert_float_hex_exp()
H A Dint_converter.h28 bool is_negative = false; in convert_int() local
40 is_negative = true; in convert_int()
52 if (is_negative) in convert_int()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition.pass.cpp151 auto is_negative = [](int x) { return x < 0; }; in test_iterators_2() local
153 test_one<Iter, Sent, 5>({-3, 5, 7, -6, 2}, is_negative, 2); in test_iterators_2()
175 auto is_negative = [](int x) { return x < 0; }; in test() local
183 std::ranges::partition(in.begin(), in.end(), is_negative); in test()
188 std::ranges::partition(in.begin(), in.end(), is_negative, negate); in test()
196 std::ranges::partition(in, is_negative); in test()
201 std::ranges::partition(in, is_negative, negate); in test()
H A Dranges_stable_partition.pass.cpp155 auto is_negative = [](int x) { return x < 0; }; in test_iterators_2() local
157 test_one<Iter, Sent, 5>({-3, 5, 7, -6, 2}, is_negative, 2, {-3, -6, 5, 7, 2}); in test_iterators_2()
211 auto is_negative = [](int x) { return x < 0; }; in test() local
219 std::ranges::partition(in.begin(), in.end(), is_negative); in test()
224 std::ranges::partition(in.begin(), in.end(), is_negative, negate); in test()
232 std::ranges::partition(in, is_negative); in test()
237 std::ranges::partition(in, is_negative, negate); in test()
H A Dranges_partition_copy.pass.cpp194 auto is_negative = [](int x) { return x < 0; }; in test_iterators_in_sent_out1_out2() local
196 test_one<InIter, Sent, Out1, Out2, 5, 2, 3>({-3, 5, 7, -6, 2}, is_negative, {-3, -6}, {5, 7, 2}); in test_iterators_in_sent_out1_out2()
234 auto is_negative = [](int x) { return x < 0; }; in test() local
242 std::ranges::partition_copy(in.begin(), in.end(), out1.begin(), out2.begin(), is_negative); in test()
248 …std::ranges::partition_copy(in.begin(), in.end(), out1.begin(), out2.begin(), is_negative, negate); in test()
257 std::ranges::partition_copy(in, out1.begin(), out2.begin(), is_negative); in test()
263 std::ranges::partition_copy(in, out1.begin(), out2.begin(), is_negative, negate); in test()
273 auto is_negative = [](int x) { return x < 0; }; in test() local
278 counting_predicate pred(is_negative, pred_count); in test()
H A Dranges_partition_point.pass.cpp131 auto is_negative = [](int x) { return x < 0; }; in test_iterators_2() local
133 test_one<Iter, Sent, 5>({-3, -6, 5, 7, 2}, is_negative, 2); in test_iterators_2()
/llvm-project-15.0.7/libcxx/test/std/time/time.hms/time.hms.members/
H A Dis_negative.pass.cpp26 ASSERT_SAME_TYPE(bool, decltype(std::declval<std::chrono::hh_mm_ss<Duration>>().is_negative())); in check_neg()
27 ASSERT_NOEXCEPT( std::declval<std::chrono::hh_mm_ss<Duration>>().is_negative()); in check_neg()
28 return std::chrono::hh_mm_ss<Duration>(d).is_negative(); in check_neg()
/llvm-project-15.0.7/libcxx/include/__chrono/
H A Dhh_mm_ss.h67 _LIBCPP_HIDE_FROM_ABI constexpr bool is_negative() const noexcept { return __is_neg; } in is_negative() function
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp738 const bool is_negative = (length_and_negative >> 4) & 1; in NSDecimalNumberSummaryProvider() local
742 const bool is_nan = is_negative && (length == 0); in NSDecimalNumberSummaryProvider()
759 if (is_negative) in NSDecimalNumberSummaryProvider()
/llvm-project-15.0.7/lldb/source/Utility/
H A DScalar.cpp646 bool is_negative = is_signed && str.consume_front("-"); in SetValueFromCString() local
656 if (is_negative) in SetValueFromCString()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h470 struct is_negative { struct
475 inline cst_pred_ty<is_negative> m_Negative() { in m_Negative() argument
476 return cst_pred_ty<is_negative>(); in m_Negative()
478 inline api_pred_ty<is_negative> m_Negative(const APInt *&V) { return V; } in m_Negative()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dbitcast-inseltpoison.ll76 define <2 x i64> @is_negative(<4 x i32> %x) {
77 ; CHECK-LABEL: @is_negative(
H A Dbitcast.ll78 define <2 x i64> @is_negative(<4 x i32> %x) {
79 ; CHECK-LABEL: @is_negative(
/llvm-project-15.0.7/libcxx/include/
H A Dchrono623 constexpr bool is_negative() const noexcept;