/third_party/node/deps/v8/src/numbers/ |
D | integer-literal-inl.h | 20 DCHECK(!y.is_negative()); 22 return IntegerLiteral(x.is_negative(), x.absolute_value() 28 if (x.is_negative() == y.is_negative()) { 30 return IntegerLiteral(x.is_negative(), 34 return IntegerLiteral(x.is_negative(), 37 return IntegerLiteral(!x.is_negative(),
|
D | integer-literal.h | 24 bool is_negative() const { return negative_; } in is_negative() function 96 DCHECK(!x.is_negative()); 97 DCHECK(!y.is_negative());
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-number-prototype.c | 613 bool is_negative = false; in ecma_builtin_number_prepare_conversion() local 617 is_negative = ecma_number_is_zero (*this_num_p) ? false : true; in ecma_builtin_number_prepare_conversion() 621 *is_negative_p = is_negative; in ecma_builtin_number_prepare_conversion() 626 return ecma_make_magic_string_value ((is_negative ? LIT_MAGIC_STRING_NEGATIVE_INFINITY_UL in ecma_builtin_number_prepare_conversion() 654 bool is_negative; in ecma_builtin_number_prototype_object_to_fixed() local 659 &is_negative, in ecma_builtin_number_prototype_object_to_fixed() 704 if (is_negative) in ecma_builtin_number_prototype_object_to_fixed() 716 if (is_negative) in ecma_builtin_number_prototype_object_to_fixed() 752 bool is_negative; in ecma_builtin_number_prototype_object_to_exponential() local 757 &is_negative, in ecma_builtin_number_prototype_object_to_exponential() [all …]
|
D | ecma-builtin-math.c | 162 bool is_negative = ecma_number_is_negative (arg_num); in ecma_builtin_math_object_max_min() local 164 if (is_max ? !is_negative : is_negative) in ecma_builtin_math_object_max_min()
|
/third_party/node/deps/v8/src/base/ |
D | vlq.h | 51 bool is_negative = value < 0; in VLQEncode() local 53 uint32_t bits = static_cast<uint32_t>((is_negative ? -value : value) << 1) | in VLQEncode() 54 static_cast<uint32_t>(is_negative); in VLQEncode() 112 bool is_negative = (bits & 1) == 1; in VLQDecode() local 114 return is_negative ? -result : result; in VLQDecode()
|
/third_party/curl/lib/ |
D | strtoofft.c | 82 int is_negative = 0; in strtooff() local 96 is_negative = 1; in strtooff() 148 if(is_negative) { in strtooff() 154 if(is_negative) in strtooff()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | parse.cc | 294 bool is_negative = false; in LocateFlag() local 298 is_negative = true; in LocateFlag() 301 return std::make_tuple(flag, is_negative); in LocateFlag() 493 bool is_negative, in DeduceFlagValue() argument 525 value = is_negative ? "0" : "1"; in DeduceFlagValue() 526 } else if (is_negative) { in DeduceFlagValue() 535 } else if (is_negative) { in DeduceFlagValue() 712 bool is_negative = false; in ParseCommandLineImpl() local 713 std::tie(flag, is_negative) = LocateFlag(flag_name); in ParseCommandLineImpl() 732 DeduceFlagValue(*flag, value, is_negative, is_empty_value, &curr_list); in ParseCommandLineImpl()
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | parse_number.cpp | 79 bool is_negative = text[0] == '-'; in ParseAndEncodeIntegerNumber() local 82 if (is_negative && !can_be_signed) { in ParseAndEncodeIntegerNumber() 91 if (is_negative) { in ParseAndEncodeIntegerNumber()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | parse_number.cpp | 79 bool is_negative = text[0] == '-'; in ParseAndEncodeIntegerNumber() local 82 if (is_negative && !can_be_signed) { in ParseAndEncodeIntegerNumber() 91 if (is_negative) { in ParseAndEncodeIntegerNumber()
|
/third_party/spirv-tools/source/util/ |
D | parse_number.cpp | 79 bool is_negative = text[0] == '-'; in ParseAndEncodeIntegerNumber() local 82 if (is_negative && !can_be_signed) { in ParseAndEncodeIntegerNumber() 91 if (is_negative) { in ParseAndEncodeIntegerNumber()
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
D | testcfg.py | 74 def is_negative(self): member in TestCase 200 if self.is_negative(): 245 if self.is_negative():
|
/third_party/skia/third_party/externals/libpng/intel/ |
D | filter_sse2_intrinsics.c | 209 __m128i is_negative = _mm_cmplt_epi16(x, _mm_setzero_si128()); in abs_i16() 212 x = _mm_xor_si128(x, is_negative); in abs_i16() 215 x = _mm_sub_epi16(x, is_negative); in abs_i16()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | tarith.c | 317 int is_negative; /* Number is negative */ member 341 c.is_negative = 1; in check_one_character() 383 (number_is_valid && !c.is_zero && c.is_negative)) in check_one_character() 396 (number_is_valid && !c.is_zero && !c.is_negative)) in check_one_character() 592 control.is_negative = 0; in validation_checkfp()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_convert.c | 580 BOOL is_negative = FALSE; in convert_glob_parse_range() local 607 is_negative = TRUE; in convert_glob_parse_range() 650 if (!is_negative && !no_wildsep && separator_seen) in convert_glob_parse_range() 680 if (!is_negative && in convert_glob_parse_range()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | double-conversion-string-to-double.cpp | 404 bool is_negative = false; in RadixStringToIeee() local 409 is_negative = true; in RadixStringToIeee() 422 if (is_negative) written_exponent = -written_exponent; in RadixStringToIeee()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | double-conversion-string-to-double.cpp | 404 bool is_negative = false; in RadixStringToIeee() local 409 is_negative = true; in RadixStringToIeee() 422 if (is_negative) written_exponent = -written_exponent; in RadixStringToIeee()
|
/third_party/icu/icu4c/source/i18n/ |
D | double-conversion-string-to-double.cpp | 404 bool is_negative = false; in RadixStringToIeee() local 409 is_negative = true; in RadixStringToIeee() 422 if (is_negative) written_exponent = -written_exponent; in RadixStringToIeee()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
D | string-to-double.cc | 383 bool is_negative = false; in RadixStringToIeee() local 388 is_negative = true; in RadixStringToIeee() 401 if (is_negative) written_exponent = -written_exponent; in RadixStringToIeee()
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
D | checked_math_impl.h | 177 const bool is_negative = std::is_signed<T>::value && static_cast<SignedDst>(x ^ y) < 0; 181 if (uy > UnsignedDst(!std::is_signed<T>::value || is_negative) && 182 ux > (std::numeric_limits<T>::max() + UnsignedDst(is_negative)) / uy) 184 *result = is_negative ? 0 - uresult : uresult;
|
/third_party/gn/src/base/numerics/ |
D | checked_math_impl.h | 153 const bool is_negative = 155 *result = is_negative ? 0 - uresult : uresult; 159 return uy <= UnsignedDst(!std::is_signed<T>::value || is_negative) || 160 ux <= (std::numeric_limits<T>::max() + UnsignedDst(is_negative)) / uy;
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 262 bool is_negative = false; in ConsumeSignedInteger() local 265 is_negative = true; in ConsumeSignedInteger() 270 if (is_negative) value *= -1; in ConsumeSignedInteger() 1507 bool is_negative = TryConsume("-"); in ParseOption() local 1521 if (is_negative) { in ParseOption() 1534 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption() 1536 if (is_negative) { in ParseOption() 1553 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOption() 1559 if (is_negative) { in ParseOption()
|
/third_party/ffmpeg/tests/checkasm/ |
D | checkasm.c | 292 static int is_negative(union av_intfloat32 u) in is_negative() function 304 if (is_negative(x) != is_negative(y)) { in float_near_ulp()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-draw.c | 53 hb_bool_t is_negative = num < 0; in _hb_itoa() local 54 if (is_negative) num = -num; in _hb_itoa() 60 if (is_negative) buf[i++] = '-'; in _hb_itoa()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | arg.cc | 172 bool is_negative() const { return start_[0] == '-'; } in is_negative() function in absl::str_format_internal::__anon4808c6fb0111::IntDigits 233 string_view sign = SignColumn(as_digits.is_negative(), conv); in ConvertIntImplInnerSlow()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | reg.rs | 186 pub(super) fn is_negative(&self) -> bool { in is_negative() method
|