/external/v8/src/ |
D | conversions.cc | 745 int decimal_point; in DoubleToCString() local 753 &sign, &length, &decimal_point); in DoubleToCString() 757 if (length <= decimal_point && decimal_point <= 21) { in DoubleToCString() 760 builder.AddPadding('0', decimal_point - length); in DoubleToCString() 762 } else if (0 < decimal_point && decimal_point <= 21) { in DoubleToCString() 764 builder.AddSubstring(decimal_rep, decimal_point); in DoubleToCString() 766 builder.AddString(decimal_rep + decimal_point); in DoubleToCString() 768 } else if (decimal_point <= 0 && decimal_point > -6) { in DoubleToCString() 771 builder.AddPadding('0', -decimal_point); in DoubleToCString() 782 builder.AddCharacter((decimal_point >= 0) ? '+' : '-'); in DoubleToCString() [all …]
|
D | bignum-dtoa.cc | 67 int* decimal_point, 77 static void BignumToFixed(int requested_digits, int* decimal_point, 84 static void GenerateCountedDigits(int count, int* decimal_point, 90 Vector<char> buffer, int* length, int* decimal_point) { in BignumDtoa() argument 110 *decimal_point = -requested_digits; in BignumDtoa() 128 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa() 140 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 145 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 267 static void GenerateCountedDigits(int count, int* decimal_point, in GenerateCountedDigits() argument 298 (*decimal_point)++; in GenerateCountedDigits() [all …]
|
D | fixed-dtoa.cc | 192 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() argument 196 *decimal_point = 1; in RoundUp() 217 (*decimal_point)++; in RoundUp() 235 int* length, int* decimal_point) { in FillFractionals() argument 265 RoundUp(buffer, length, decimal_point); in FillFractionals() 284 RoundUp(buffer, length, decimal_point); in FillFractionals() 292 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros() argument 305 *decimal_point -= first_non_zero; in TrimZeros() 314 int* decimal_point) { in FastFixedDtoa() argument 365 *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);
|
D | fast-dtoa.cc | 712 int* decimal_point) { in FastDtoa() argument 730 *decimal_point = *length + decimal_exponent; in FastDtoa()
|
/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/dbus/dbus/ |
D | dbus-sysdeps.c | 621 const char *decimal_point; in ascii_strtod() local 630 decimal_point = locale_data->decimal_point; in ascii_strtod() 632 decimal_point = "."; in ascii_strtod() 635 decimal_point_len = strlen (decimal_point); in ascii_strtod() 639 if (decimal_point[0] != '.' || in ascii_strtod() 640 decimal_point[1] != 0) in ascii_strtod() 714 memcpy (c, decimal_point, decimal_point_len); in ascii_strtod()
|
/external/bluetooth/glib/glib/ |
D | gstrfuncs.c | 421 const char *decimal_point; in g_ascii_strtod() local 434 decimal_point = locale_data->decimal_point; in g_ascii_strtod() 435 decimal_point_len = strlen (decimal_point); in g_ascii_strtod() 442 if (decimal_point[0] != '.' || in g_ascii_strtod() 443 decimal_point[1] != 0) in g_ascii_strtod() 511 memcpy (c, decimal_point, decimal_point_len); in g_ascii_strtod() 617 const char *decimal_point; in g_ascii_formatd() local 650 decimal_point = locale_data->decimal_point; in g_ascii_formatd() 651 decimal_point_len = strlen (decimal_point); in g_ascii_formatd() 655 if (decimal_point[0] != '.' || in g_ascii_formatd() [all …]
|
/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
|
D | _monetary.h | 92 char decimal_point() const { return do_decimal_point(); } in decimal_point() function 132 char decimal_point() const { return do_decimal_point(); } in decimal_point() function 173 wchar_t decimal_point() const { return do_decimal_point(); } in decimal_point() function 212 wchar_t decimal_point() const { return do_decimal_point(); } in decimal_point() function
|
D | _monetary.c | 214 char_type __point = __intl ? __punct_intl.decimal_point() in __money_do_get() 215 : __punct.decimal_point(); in __money_do_get() 335 char_type __point = __intl ? __punct_intl.decimal_point() in __money_do_put() 336 : __punct.decimal_point(); in __money_do_put()
|
D | _num_put.c | 123 __np.decimal_point(), __np.thousands_sep(), in __do_put_float()
|
/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
|
D | test-bignum-dtoa.cc | 269 CHECK_EQ(current_test.decimal_point, point); in TEST() 288 CHECK_EQ(current_test.decimal_point, point); in TEST() 310 CHECK_EQ(current_test.decimal_point, point); in TEST()
|
D | test-dtoa.cc | 281 CHECK_EQ(current_test.decimal_point, point); in TEST() 302 CHECK_EQ(current_test.decimal_point, point); in TEST() 326 CHECK_EQ(current_test.decimal_point, point); in TEST()
|
D | test-fast-dtoa.cc | 223 CHECK_EQ(current_test.decimal_point, point); in TEST() 258 CHECK_EQ(current_test.decimal_point, point); in TEST()
|
D | test-fixed-dtoa.cc | 508 CHECK_EQ(current_test.decimal_point, point); in TEST()
|
/external/stlport/test/eh/ |
D | locale.cpp | 32 cout << num_punct.decimal_point() << '\n'; in main()
|
/external/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 192 char decimal_point[4]; member 221 char decimal_point[4]; member 402 __GetLocaleInfoUsingACP(lnum->lc.id, lnum->cp, LOCALE_SDECIMAL, lnum->decimal_point, 4, wbuf, 4); in _Locale_numeric_create() 407 lnum->decimal_point[0] = '.'; in _Locale_numeric_create() 842 … __GetLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_SDECIMAL, lmon->decimal_point, 4, wbuf, 6); in _Locale_monetary_create() 1159 { return lnum->decimal_point[0]; } in _Locale_decimal_point() 1187 { return lmon->decimal_point[0]; } in _Locale_mon_decimal_point()
|
D | c_wlocale_win32.c | 280 { return lmon->decimal_point[0]; } in _WLocale_mon_decimal_point()
|