Home
last modified time | relevance | path

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

/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/curl/lib/
Dstrtoofft.c58 int is_negative = 0; in curlx_strtoll() local
72 is_negative = 1; in curlx_strtoll()
124 if(is_negative) { in curlx_strtoll()
130 if(is_negative) in curlx_strtoll()
/external/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c154 __m128i is_negative = _mm_cmplt_epi16(x, _mm_setzero_si128()); in abs_i16()
157 x = _mm_xor_si128(x, is_negative); in abs_i16()
160 x = _mm_add_epi16(x, _mm_srli_epi16(is_negative, 15)); in abs_i16()
/external/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()
1070 bool is_negative = TryConsume("-"); in ParseOption() local
1084 if (is_negative) { in ParseOption()
1097 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()
1099 if (is_negative) { in ParseOption()
1116 uninterpreted_option->set_double_value(is_negative ? -value : value); in ParseOption()
1122 if (is_negative) { in ParseOption()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp176 int e_number = 0, e_signal = 0, e_point = 0, is_negative = 0; in FXstrtod() local
206 is_negative = 1; in FXstrtod()
257 return is_negative ? -ret : ret; in FXstrtod()
/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/v8/src/
Dconversions.cc433 bool is_negative = value < 0.0; in DoubleToRadixCString() local
434 if (is_negative) value = -value; in DoubleToRadixCString()
452 if (is_negative) integer_buffer[integer_pos--] = '-'; in DoubleToRadixCString()
Ddeoptimizer.cc2178 bool is_negative = (value < 0); in Add() local
2179 uint32_t bits = ((is_negative ? -value : value) << 1) | in Add()
2180 static_cast<int32_t>(is_negative); in Add()
2202 bool is_negative = (bits & 1) == 1; in Next() local
2204 return is_negative ? -result : result; in Next()
/external/valgrind/coregrind/
Dm_debuglog.c1077 Bool is_negative = False; in VG_() local
1081 is_negative = True; in VG_()
1125 if (is_negative) ++num_digit; in VG_()
1138 if (is_negative) { in VG_()
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc1197 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/gmock/test/
Dgmock-matchers_test.cc1266 Matcher<int> is_negative = Lt(0); in TEST() local
1269 EXPECT_THAT(p, Not(Key(is_negative))); in TEST()
1382 Matcher<int> is_negative = Lt(0); in TEST() local
1385 EXPECT_THAT(p, Not(Pair(is_negative, _))); in TEST()
1387 EXPECT_THAT(p, Not(Pair(_, is_negative))); in TEST()