Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libxml/src/
Dtrionan.c223 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 …]
Dtrionan.h78 TRIO_PUBLIC int trio_fpclassify_and_signbit TRIO_PROTO((double number, int *is_negative));
/external/libxml2/
Dtrionan.c223 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 …]
Dtrionan.h78 TRIO_PUBLIC int trio_fpclassify_and_signbit TRIO_PROTO((double number, int *is_negative));
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc695 bool is_negative = TryConsume("-"); in ParseOptionAssignment() local
707 if (is_negative) { in ParseOptionAssignment()
720 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOptionAssignment()
722 if (is_negative) { in ParseOptionAssignment()
733 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOptionAssignment()
738 if (is_negative) { in ParseOptionAssignment()
878 bool is_negative = TryConsume("-"); in ParseEnumConstant() local
881 if (is_negative) number *= -1; in ParseEnumConstant()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc178 bool is_negative = false; in ConsumeSignedInteger() local
181 is_negative = true; in ConsumeSignedInteger()
186 if (is_negative) value *= -1; in ConsumeSignedInteger()
1011 bool is_negative = TryConsume("-"); in ParseOption() local
1025 if (is_negative) { in ParseOption()
1038 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()
1040 if (is_negative) { in ParseOption()
1057 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOption()
1063 if (is_negative) { in ParseOption()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp144 is_negative = 0; in FXstrtod() local
175 is_negative = 1; in FXstrtod()
238 return is_negative ? -ret : ret; in FXstrtod()
/external/chromium_org/v8/src/
Dconversions.cc432 bool is_negative = value < 0.0; in DoubleToRadixCString() local
433 if (is_negative) value = -value; in DoubleToRadixCString()
451 if (is_negative) integer_buffer[integer_pos--] = '-'; in DoubleToRadixCString()
Ddeoptimizer.cc2912 bool is_negative = (value < 0); in Add() local
2913 uint32_t bits = ((is_negative ? -value : value) << 1) | in Add()
2914 static_cast<int32_t>(is_negative); in Add()
2936 bool is_negative = (bits & 1) == 1; in Next() local
2938 return is_negative ? -result : result; in Next()
/external/libpng/contrib/libtests/
Dtarith.c317 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/stlport/src/
Dnum_put_float.cpp591 bool is_negative() const { in is_negative() function
641 if (helper.is_negative()) in __format_nan_or_inf()