/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/libtextclassifier/native/annotator/number/ |
D | number.cc | 198 const bool is_negative, in TryParseNumber() argument 209 if (is_negative) { in TryParseNumber() 237 bool is_negative = in FindAll() local 241 if (!TryParseNumber(token_text, is_negative, &parsed_int_value, in FindAll() 245 if (!TokensAreValidNumberPrefix(tokens, is_negative ? i - 2 : i - 1) || in FindAll() 251 const int new_start_codepoint = is_negative ? token.start - 1 : token.start; in FindAll()
|
D | number.h | 102 bool TryParseNumber(const UnicodeText& token_text, bool is_negative,
|
/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/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/angle/third_party/spirv-tools/src/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 | 87 auto is_negative = Lt(signed_value, Zero(value.builder(), signed_type)); in BitcastConvertFloatingPointToIntegral() local 88 return Select(is_negative, flipped_value, signed_value); in BitcastConvertFloatingPointToIntegral()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.cc | 200 bool is_negative = (fraction < 0); in DoubleFromFractionAndShift() local 201 int64_t encoded_fraction = is_negative ? -fraction : fraction; in DoubleFromFractionAndShift() 218 uint64_t encoded_sign = is_negative ? kSignMask : 0; in DoubleFromFractionAndShift()
|
/external/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()
|
/external/pdfium/third_party/libpng16/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()
|
/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/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/icu/icu4c/source/i18n/ |
D | double-conversion-string-to-double.cpp | 392 bool is_negative = false; in RadixStringToIeee() local 397 is_negative = true; in RadixStringToIeee() 410 if (is_negative) written_exponent = -written_exponent; in RadixStringToIeee()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 261 bool is_negative = false; in ConsumeSignedInteger() local 264 is_negative = true; in ConsumeSignedInteger() 269 if (is_negative) value *= -1; in ConsumeSignedInteger() 1474 bool is_negative = TryConsume("-"); in ParseOption() local 1488 if (is_negative) { in ParseOption() 1501 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption() 1503 if (is_negative) { in ParseOption() 1520 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOption() 1526 if (is_negative) { in ParseOption()
|
/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 | 171 const bool is_negative = 173 *result = is_negative ? 0 - uresult : uresult; 177 return uy <= UnsignedDst(!std::is_signed<T>::value || is_negative) || 178 ux <= (std::numeric_limits<T>::max() + UnsignedDst(is_negative)) / uy;
|
D | safe_conversions_impl.h | 71 bool is_negative) { in ConditionalNegate() argument 76 (static_cast<UnsignedT>(x) ^ -SignedT(is_negative)) + is_negative); in ConditionalNegate()
|
/external/fmtlib/test/ |
D | std-format-test.cc | 126 else if (fmt::internal::is_negative(value) || in format()
|
/external/v8/src/base/ |
D | safe_conversions_impl.h | 77 T x, bool is_negative) { in ConditionalNegate() argument 82 (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/fmtlib/include/fmt/ |
D | format.h | 707 FMT_CONSTEXPR bool is_negative(T value) { 711 FMT_CONSTEXPR bool is_negative(T) { 1490 bool negative = is_negative(value); 1516 if (is_negative(value)) { 2035 if (is_negative(value)) handler_.on_error("negative width"); 2055 if (is_negative(value)) handler_.on_error("negative precision");
|
/external/v8/src/deoptimizer/ |
D | deoptimizer.cc | 2077 bool is_negative = (value < 0); in Add() local 2078 uint32_t bits = (static_cast<uint32_t>(is_negative ? -value : value) << 1) | in Add() 2079 static_cast<uint32_t>(is_negative); in Add() 2105 bool is_negative = (bits & 1) == 1; in Next() local 2107 return is_negative ? -result : result; in Next()
|