/external/libxml2/ |
D | trionan.c | 223 int is_negative = TRIO_FALSE; variable 226 is_negative |= (((unsigned char *)&number)[TRIO_DOUBLE_INDEX(i)] 229 return is_negative; 561 TRIO_ARGS2((number, is_negative), 563 int *is_negative) 569 *is_negative = signbit(number); 650 *is_negative = TRIO_FALSE; /* NaN has no sign */ 653 *is_negative = TRIO_FALSE; 656 *is_negative = TRIO_TRUE; 659 *is_negative = TRIO_FALSE; [all …]
|
D | trionan.h | 78 TRIO_PUBLIC int trio_fpclassify_and_signbit TRIO_PROTO((double number, int *is_negative));
|
/external/curl/lib/ |
D | strtoofft.c | 80 int is_negative = 0; in strtooff() local 94 is_negative = 1; in strtooff() 146 if(is_negative) { in strtooff() 152 if(is_negative) in strtooff()
|
/external/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()
|
/external/deqp-deps/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()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | comparators.cc | 88 auto is_negative = Lt(signed_value, Zero(value.builder(), signed_type)); in BitcastConvertFloatingPointToIntegral() local 89 return Select(is_negative, flipped_value, signed_value); in BitcastConvertFloatingPointToIntegral()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.cc | 186 bool is_negative = (fraction < 0); in DoubleFromFractionAndShift() local 187 int64_t encoded_fraction = is_negative ? -fraction : fraction; in DoubleFromFractionAndShift() 204 uint64_t encoded_sign = is_negative ? kSignMask : 0; in DoubleFromFractionAndShift()
|
/external/pdfium/third_party/libpng16/contrib/intel/ |
D | filter_sse2_intrinsics.c | 205 __m128i is_negative = _mm_cmplt_epi16(x, _mm_setzero_si128()); in abs_i16() 208 x = _mm_xor_si128(x, is_negative); in abs_i16() 211 x = _mm_add_epi16(x, _mm_srli_epi16(is_negative, 15)); in abs_i16()
|
/external/libpng/intel/ |
D | filter_sse2_intrinsics.c | 224 __m128i is_negative = _mm_cmplt_epi16(x, _mm_setzero_si128()); in abs_i16() 227 x = _mm_xor_si128(x, is_negative); in abs_i16() 230 x = _mm_sub_epi16(x, is_negative); in abs_i16()
|
/external/libpng/contrib/intel/ |
D | filter_sse2_intrinsics.c | 205 __m128i is_negative = _mm_cmplt_epi16(x, _mm_setzero_si128()); in abs_i16() 208 x = _mm_xor_si128(x, is_negative); in abs_i16() 211 x = _mm_sub_epi16(x, is_negative); in abs_i16()
|
/external/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()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 205 bool is_negative = false; in ConsumeSignedInteger() local 208 is_negative = true; in ConsumeSignedInteger() 213 if (is_negative) value *= -1; in ConsumeSignedInteger() 1343 bool is_negative = TryConsume("-"); in ParseOption() local 1357 if (is_negative) { in ParseOption() 1370 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption() 1372 if (is_negative) { in ParseOption() 1389 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOption() 1395 if (is_negative) { in ParseOption()
|
/external/pcre/dist2/src/ |
D | pcre2_convert.c | 581 BOOL is_negative = FALSE; in convert_glob_parse_range() local 608 is_negative = TRUE; in convert_glob_parse_range() 651 if (!is_negative && !no_wildsep && separator_seen) in convert_glob_parse_range() 681 if (!is_negative && in convert_glob_parse_range()
|
/external/libchrome/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;
|
D | safe_conversions_impl.h | 70 bool is_negative) { in ConditionalNegate() argument 75 (static_cast<UnsignedT>(x) ^ -SignedT(is_negative)) + is_negative); in ConditionalNegate()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math_impl.h | 167 const bool is_negative = 169 *result = is_negative ? 0 - uresult : uresult; 173 return uy <= UnsignedDst(!std::is_signed<T>::value || is_negative) || 174 ux <= (std::numeric_limits<T>::max() + UnsignedDst(is_negative)) / uy;
|
D | safe_conversions_impl.h | 63 bool is_negative) { in ConditionalNegate() argument 68 (static_cast<UnsignedT>(x) ^ -SignedT(is_negative)) + is_negative); in ConditionalNegate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 323 struct is_negative { struct 328 inline cst_pred_ty<is_negative> m_Negative() { in m_Negative() argument 329 return cst_pred_ty<is_negative>(); in m_Negative() 331 inline api_pred_ty<is_negative> m_Negative(const APInt *&V) { in m_Negative()
|
/external/v8/src/ |
D | deoptimizer.cc | 1878 bool is_negative = (value < 0); in Add() local 1879 uint32_t bits = (static_cast<uint32_t>(is_negative ? -value : value) << 1) | in Add() 1880 static_cast<uint32_t>(is_negative); in Add() 1906 bool is_negative = (bits & 1) == 1; in Next() local 1908 return is_negative ? -result : result; in Next()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-matchers_test.cc | 1197 Matcher<int> is_negative = Lt(0); in TEST() local 1200 EXPECT_THAT(p, Not(Key(is_negative))); in TEST() 1313 Matcher<int> is_negative = Lt(0); in TEST() local 1316 EXPECT_THAT(p, Not(Pair(is_negative, _))); in TEST() 1318 EXPECT_THAT(p, Not(Pair(_, is_negative))); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | bitcast.ll | 76 define <2 x i64> @is_negative(<4 x i32> %x) { 77 ; CHECK-LABEL: @is_negative(
|
/external/python/cpython2/Lib/ |
D | decimal.py | 6156 def _format_sign(is_negative, spec): argument 6159 if is_negative: 6166 def _format_number(is_negative, intpart, fracpart, exp, spec): argument 6184 sign = _format_sign(is_negative, spec)
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 6338 def _format_sign(is_negative, spec): argument 6341 if is_negative: 6348 def _format_number(is_negative, intpart, fracpart, exp, spec): argument 6366 sign = _format_sign(is_negative, spec)
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 1542 Matcher<int> is_negative = Lt(0); in TEST() local 1545 EXPECT_THAT(p, Not(Key(is_negative))); in TEST() 1664 Matcher<int> is_negative = Lt(0); in TEST() local 1667 EXPECT_THAT(p, Not(Pair(is_negative, _))); in TEST() 1669 EXPECT_THAT(p, Not(Pair(_, is_negative))); in TEST()
|
/external/vixl/src/aarch64/ |
D | simulator-aarch64.cc | 381 bool is_negative = (uvalue & kWSignMask) != 0; in ShiftOperand() local 384 is_negative = (uvalue & kXSignMask) != 0; in ShiftOperand() 396 if (is_negative) { in ShiftOperand()
|