Home
last modified time | relevance | path

Searched refs:decimal_point (Results 1 – 25 of 29) sorted by relevance

12

/external/v8/src/
Dconversions.cc745 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 …]
Dbignum-dtoa.cc67 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 …]
Dfixed-dtoa.cc192 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 …]
Dfixed-dtoa.h51 Vector<char> buffer, int* length, int* decimal_point);
Dfast-dtoa.h79 int* decimal_point);
Dfast-dtoa.cc712 int* decimal_point) { in FastDtoa() argument
730 *decimal_point = *length + decimal_exponent; in FastDtoa()
/external/stlport/test/unit/
Dnum_facets_test.cpp16 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()
Dmoney_facets_test.cpp227 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/
Dnum_get_float.cpp649 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/
Ddbus-sysdeps.c621 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/
Dgstrfuncs.c421 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.h56 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.h92 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.c214 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.c123 __np.decimal_point(), __np.thousands_sep(), in __do_put_float()
/external/v8/test/cctest/
Dgay-shortest.h37 int decimal_point; member
Dgay-fixed.h38 int decimal_point; member
Dgay-precision.h38 int decimal_point; member
Dtest-bignum-dtoa.cc269 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()
Dtest-dtoa.cc281 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()
Dtest-fast-dtoa.cc223 CHECK_EQ(current_test.decimal_point, point); in TEST()
258 CHECK_EQ(current_test.decimal_point, point); in TEST()
Dtest-fixed-dtoa.cc508 CHECK_EQ(current_test.decimal_point, point); in TEST()
/external/stlport/test/eh/
Dlocale.cpp32 cout << num_punct.decimal_point() << '\n'; in main()
/external/stlport/src/c_locale_win32/
Dc_locale_win32.c192 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()
Dc_wlocale_win32.c280 { return lmon->decimal_point[0]; } in _WLocale_mon_decimal_point()

12