/external/v8/src/ |
D | conversions.cc | 75 int decimal_point; in DoubleToCString() local 83 &sign, &length, &decimal_point); in DoubleToCString() 87 if (length <= decimal_point && decimal_point <= 21) { in DoubleToCString() 90 builder.AddPadding('0', decimal_point - length); in DoubleToCString() 92 } else if (0 < decimal_point && decimal_point <= 21) { in DoubleToCString() 94 builder.AddSubstring(decimal_rep, decimal_point); in DoubleToCString() 96 builder.AddString(decimal_rep + decimal_point); in DoubleToCString() 98 } else if (decimal_point <= 0 && decimal_point > -6) { in DoubleToCString() 101 builder.AddPadding('0', -decimal_point); in DoubleToCString() 112 builder.AddCharacter((decimal_point >= 0) ? '+' : '-'); in DoubleToCString() [all …]
|
D | bignum-dtoa.cc | 70 int* decimal_point, 80 static void BignumToFixed(int requested_digits, int* decimal_point, 87 static void GenerateCountedDigits(int count, int* decimal_point, 93 Vector<char> buffer, int* length, int* decimal_point) { in BignumDtoa() argument 113 *decimal_point = -requested_digits; in BignumDtoa() 131 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 143 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 148 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 270 static void GenerateCountedDigits(int count, int* decimal_point, in GenerateCountedDigits() argument 301 (*decimal_point)++; in GenerateCountedDigits() [all …]
|
D | fixed-dtoa.cc | 194 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() argument 198 *decimal_point = 1; in RoundUp() 219 (*decimal_point)++; in RoundUp() 237 int* length, int* decimal_point) { in FillFractionals() argument 267 RoundUp(buffer, length, decimal_point); in FillFractionals() 286 RoundUp(buffer, length, decimal_point); in FillFractionals() 294 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros() argument 307 *decimal_point -= first_non_zero; in TrimZeros() 316 int* decimal_point) { in FastFixedDtoa() argument 367 *decimal_point = *length; in FastFixedDtoa() [all …]
|
D | fixed-dtoa.h | 51 Vector<char> buffer, int* length, int* decimal_point);
|
D | fast-dtoa.h | 79 int* decimal_point);
|
/external/chromium_org/v8/src/ |
D | conversions.cc | 88 int decimal_point; in DoubleToCString() local 96 &sign, &length, &decimal_point); in DoubleToCString() 100 if (length <= decimal_point && decimal_point <= 21) { in DoubleToCString() 103 builder.AddPadding('0', decimal_point - length); in DoubleToCString() 105 } else if (0 < decimal_point && decimal_point <= 21) { in DoubleToCString() 107 builder.AddSubstring(decimal_rep, decimal_point); in DoubleToCString() 109 builder.AddString(decimal_rep + decimal_point); in DoubleToCString() 111 } else if (decimal_point <= 0 && decimal_point > -6) { in DoubleToCString() 114 builder.AddPadding('0', -decimal_point); in DoubleToCString() 125 builder.AddCharacter((decimal_point >= 0) ? '+' : '-'); in DoubleToCString() [all …]
|
D | bignum-dtoa.cc | 70 int* decimal_point, 80 static void BignumToFixed(int requested_digits, int* decimal_point, 87 static void GenerateCountedDigits(int count, int* decimal_point, 93 Vector<char> buffer, int* length, int* decimal_point) { in BignumDtoa() argument 113 *decimal_point = -requested_digits; in BignumDtoa() 131 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 143 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 148 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 270 static void GenerateCountedDigits(int count, int* decimal_point, in GenerateCountedDigits() argument 301 (*decimal_point)++; in GenerateCountedDigits() [all …]
|
D | fixed-dtoa.cc | 194 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() argument 198 *decimal_point = 1; in RoundUp() 219 (*decimal_point)++; in RoundUp() 237 int* length, int* decimal_point) { in FillFractionals() argument 267 RoundUp(buffer, length, decimal_point); in FillFractionals() 286 RoundUp(buffer, length, decimal_point); in FillFractionals() 294 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros() argument 307 *decimal_point -= first_non_zero; in TrimZeros() 316 int* decimal_point) { in FastFixedDtoa() argument 367 *decimal_point = *length; in FastFixedDtoa() [all …]
|
D | fixed-dtoa.h | 51 Vector<char> buffer, int* length, int* decimal_point);
|
D | fast-dtoa.h | 79 int* decimal_point);
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
D | double-conversion.cc | 120 int decimal_point, in CreateDecimalRepresentation() argument 124 if (decimal_point <= 0) { in CreateDecimalRepresentation() 129 result_builder->AddPadding('0', -decimal_point); in CreateDecimalRepresentation() 130 ASSERT(length <= digits_after_point - (-decimal_point)); in CreateDecimalRepresentation() 132 int remaining_digits = digits_after_point - (-decimal_point) - length; in CreateDecimalRepresentation() 135 } else if (decimal_point >= length) { in CreateDecimalRepresentation() 138 result_builder->AddPadding('0', decimal_point - length); in CreateDecimalRepresentation() 146 result_builder->AddSubstring(decimal_digits, decimal_point); in CreateDecimalRepresentation() 148 ASSERT(length - decimal_point <= digits_after_point); in CreateDecimalRepresentation() 149 result_builder->AddSubstring(&decimal_digits[decimal_point], in CreateDecimalRepresentation() [all …]
|
D | bignum-dtoa.cc | 69 int* decimal_point, 79 static void BignumToFixed(int requested_digits, int* decimal_point, 86 static void GenerateCountedDigits(int count, int* decimal_point, 92 Vector<char> buffer, int* length, int* decimal_point) { in BignumDtoa() argument 112 *decimal_point = -requested_digits; in BignumDtoa() 130 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 142 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 147 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 269 static void GenerateCountedDigits(int count, int* decimal_point, in GenerateCountedDigits() argument 300 (*decimal_point)++; in GenerateCountedDigits() [all …]
|
D | fixed-dtoa.cc | 193 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() argument 197 *decimal_point = 1; in RoundUp() 218 (*decimal_point)++; in RoundUp() 236 int* length, int* decimal_point) { in FillFractionals() argument 266 RoundUp(buffer, length, decimal_point); in FillFractionals() 285 RoundUp(buffer, length, decimal_point); in FillFractionals() 293 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros() argument 306 *decimal_point -= first_non_zero; in TrimZeros() 315 int* decimal_point) { in FastFixedDtoa() argument 366 *decimal_point = *length; in FastFixedDtoa() [all …]
|
D | fixed-dtoa.h | 54 Vector<char> buffer, int* length, int* decimal_point);
|
D | fast-dtoa.h | 82 int* decimal_point);
|
/external/stlport/test/unit/ |
D | num_facets_test.cpp | 16 const char *decimal_point; member 38 CPPUNIT_ASSERT( npct.decimal_point() == *rl.decimal_point ); in _num_put_get() 50 ref += npct.decimal_point(); in _num_put_get() 57 ref += npct.decimal_point(); in _num_put_get() 242 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in numpunct_by_name()
|
D | money_facets_test.cpp | 227 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() ); in _money_put_get2() 324 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() ); in _money_put_X_bug() 386 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() ); in _money_put_X_bug() 551 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in moneypunct_by_name() 580 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); in moneypunct_by_name()
|
/external/stlport/src/ |
D | num_get_float.cpp | 649 unsigned Negate, decimal_point; in _Stl_string_to_double() local 668 decimal_point = 0; in _Stl_string_to_double() 676 exp += (decimal_point ^ 1); in _Stl_string_to_double() 683 exp -= decimal_point; in _Stl_string_to_double() 685 } else if (c == (unsigned int) dpchar && !decimal_point) { /* INTERNATIONAL */ in _Stl_string_to_double() 686 decimal_point = 1; in _Stl_string_to_double() 754 unsigned decimal_point; in _Stl_string_to_doubleT() local 774 decimal_point = 0; in _Stl_string_to_doubleT() 782 exp += (decimal_point ^ 1); in _Stl_string_to_doubleT() 789 exp -= decimal_point; in _Stl_string_to_doubleT() [all …]
|
/external/v8/test/cctest/ |
D | gay-shortest.h | 37 int decimal_point; member
|
D | gay-fixed.h | 38 int decimal_point; member
|
D | gay-precision.h | 38 int decimal_point; member
|
/external/chromium_org/v8/test/cctest/ |
D | gay-shortest.h | 37 int decimal_point; member
|
D | gay-fixed.h | 38 int decimal_point; member
|
D | gay-precision.h | 38 int decimal_point; member
|
/external/stlport/stlport/stl/ |
D | _numpunct.h | 56 char decimal_point() const { return do_decimal_point(); } in decimal_point() function 85 wchar_t decimal_point() const { return do_decimal_point(); } in decimal_point() function
|