Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/
Ddecimal_point.pass.cpp66 assert(f.decimal_point() == std::numeric_limits<char>::max()); in main()
70 assert(f.decimal_point() == std::numeric_limits<char>::max()); in main()
74 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max()); in main()
78 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max()); in main()
83 assert(f.decimal_point() == '.'); in main()
87 assert(f.decimal_point() == '.'); in main()
91 assert(f.decimal_point() == L'.'); in main()
95 assert(f.decimal_point() == L'.'); in main()
100 assert(f.decimal_point() == ','); in main()
104 assert(f.decimal_point() == ','); in main()
[all …]
/external/v8/src/
Dconversions.cc129 int decimal_point; in DoubleToCString() local
137 &sign, &length, &decimal_point); in DoubleToCString()
141 if (length <= decimal_point && decimal_point <= 21) { in DoubleToCString()
144 builder.AddPadding('0', decimal_point - length); in DoubleToCString()
146 } else if (0 < decimal_point && decimal_point <= 21) { in DoubleToCString()
148 builder.AddSubstring(decimal_rep, decimal_point); in DoubleToCString()
150 builder.AddString(decimal_rep + decimal_point); in DoubleToCString()
152 } else if (decimal_point <= 0 && decimal_point > -6) { in DoubleToCString()
155 builder.AddPadding('0', -decimal_point); in DoubleToCString()
166 builder.AddCharacter((decimal_point >= 0) ? '+' : '-'); in DoubleToCString()
[all …]
Dbignum-dtoa.cc45 int* decimal_point,
55 static void BignumToFixed(int requested_digits, int* decimal_point,
62 static void GenerateCountedDigits(int count, int* decimal_point,
68 Vector<char> buffer, int* length, int* decimal_point) { in BignumDtoa() argument
88 *decimal_point = -requested_digits; in BignumDtoa()
106 FixupMultiply10(estimated_power, is_even, decimal_point, in BignumDtoa()
118 BignumToFixed(requested_digits, decimal_point, in BignumDtoa()
123 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa()
245 static void GenerateCountedDigits(int count, int* decimal_point, in GenerateCountedDigits() argument
276 (*decimal_point)++; in GenerateCountedDigits()
[all …]
Dfixed-dtoa.cc172 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp() argument
176 *decimal_point = 1; in RoundUp()
197 (*decimal_point)++; in RoundUp()
215 int* length, int* decimal_point) { in FillFractionals() argument
245 RoundUp(buffer, length, decimal_point); in FillFractionals()
264 RoundUp(buffer, length, decimal_point); in FillFractionals()
272 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros() argument
285 *decimal_point -= first_non_zero; in TrimZeros()
294 int* decimal_point) { in FastFixedDtoa() argument
345 *decimal_point = *length; in FastFixedDtoa()
[all …]
Dfixed-dtoa.h30 Vector<char> buffer, int* length, int* decimal_point);
Dfast-dtoa.h58 int* decimal_point);
Dfast-dtoa.cc691 int* decimal_point) { in FastDtoa() argument
709 *decimal_point = *length + decimal_exponent; in FastDtoa()
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
Ddecimal_point.pass.cpp31 assert(np.decimal_point() == '.'); in main()
36 assert(np.decimal_point() == L'.'); in main()
44 assert(np.decimal_point() == '.'); in main()
49 assert(np.decimal_point() == L'.'); in main()
57 assert(np.decimal_point() == ','); in main()
62 assert(np.decimal_point() == L','); in main()
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
Ddecimal_point.pass.cpp61 assert(f.decimal_point() == std::numeric_limits<char>::max()); in main()
65 assert(f.decimal_point() == std::numeric_limits<char>::max()); in main()
69 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max()); in main()
73 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max()); in main()
/external/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
Ddecimal_point.pass.cpp25 assert(np.decimal_point() == '.'); in main()
30 assert(np.decimal_point() == L'.'); in main()
/external/v8/test/cctest/
Dgay-shortest.h39 int decimal_point; member
Dgay-fixed.h40 int decimal_point; member
Dgay-precision.h40 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.cc248 CHECK_EQ(current_test.decimal_point, point); in TEST()
283 CHECK_EQ(current_test.decimal_point, point); in TEST()
Dtest-fixed-dtoa.cc508 CHECK_EQ(current_test.decimal_point, point); in TEST()
/external/bison/m4/
Dlocale-fr.m468 On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
70 if (localeconv () ->decimal_point[0] != ',') return 1;
196 On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
198 if (localeconv () ->decimal_point[0] != ',') return 1;
/external/mesa3d/src/gallium/auxiliary/util/
Du_snprintf.c1260 if (lc->decimal_point != NULL && *lc->decimal_point != '\0') in fmtflt()
1261 OUTCHAR(str, *len, size, *lc->decimal_point); in fmtflt()
/external/libxml2/
Dtrio.c890 if ((internalLocaleValues->decimal_point) && in TrioSetLocale()
891 (internalLocaleValues->decimal_point[0] != NIL)) in TrioSetLocale()
893 internalDecimalPointLength = trio_length(internalLocaleValues->decimal_point); in TrioSetLocale()
896 internalDecimalPoint = internalLocaleValues->decimal_point[0]; in TrioSetLocale()
903 internalLocaleValues->decimal_point); in TrioSetLocale()
/external/libcxx/include/
Dlocale591 __decimal_point = __np.decimal_point();
1338 *__oe++ = __npt.decimal_point();
2749 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
2882 __dp = __mp.decimal_point();
2895 __dp = __mp.decimal_point();
3337 __dp = __mp.decimal_point();
3357 __dp = __mp.decimal_point();
D__locale1381 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
1412 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
/external/libweave/third_party/chromium/base/third_party/dmg_fp/
Ddtoa.cc1780 localeconv()->decimal_point;
1785 s0 = (unsigned char*)localeconv()->decimal_point;
2529 s1 = localeconv()->decimal_point;
/external/libcxx/src/
Dlocale.cpp4340 if (*lc->decimal_point) in __init()
4341 __decimal_point_ = *lc->decimal_point; in __init()
4383 if (*lc->decimal_point) in __init()
4384 __decimal_point_ = *lc->decimal_point; in __init()
/external/bison/lib/
Dvasnprintf.c288 point = localeconv () -> decimal_point; in decimal_point_char()

12