Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 25 of 119) sorted by relevance

12345

/reactos/dll/win32/jscript/
H A Ddecode.c71 static const int digits[] = { variable
94 if(p[i] >= ARRAY_SIZE(digits) || digits[p[i]] == 0xff) in decode_dword()
100 *ret = (digits[p[0]] << 2) in decode_dword()
101 + (digits[p[1]] >> 4) in decode_dword()
102 + ((digits[p[1]] & 0xf) << 12) in decode_dword()
103 + ((digits[p[2]] >> 2) << 8) in decode_dword()
104 + ((digits[p[2]] & 0x3) << 22) in decode_dword()
105 + (digits[p[3]] << 16) in decode_dword()
106 + ((digits[p[4]] << 2) << 24) in decode_dword()
107 + ((digits[p[5]] >> 4) << 24); in decode_dword()
/reactos/sdk/lib/3rdparty/stlport/src/
H A Dnum_get.cpp78 bool _STLP_CALL __get_fdigit(wchar_t& c, const wchar_t* digits) { in __get_fdigit() argument
79 const wchar_t* p = find(digits, digits + 10, c); in __get_fdigit()
80 if (p != digits + 10) { in __get_fdigit()
81 c = (char)('0' + (p - digits)); in __get_fdigit()
89 const wchar_t * digits) { in __get_fdigit_or_sep() argument
95 return __get_fdigit(c, digits); in __get_fdigit_or_sep()
H A Dnum_get_float.cpp529 if ( limits::digits < 64 ) {
652 char digits[max_digits]; in _Stl_string_to_double() local
665 d = digits; in _Stl_string_to_double()
677 if (c == 0 && d == digits) { in _Stl_string_to_double()
693 if (d == digits) { in _Stl_string_to_double()
721 ptrdiff_t n = d - digits; in _Stl_string_to_double()
732 x = _Stl_atod(digits, n, exp); in _Stl_string_to_double()
758 char digits[max_digits];
771 d = digits;
798 if (d == digits) {
[all …]
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dcomplete_digits.h8 complete_digits(std::string &digits) in complete_digits() argument
10 complete_digits(string &digits) in complete_digits()
13 while (digits.size() < 2) in complete_digits()
15 digits.insert(digits.begin(), '0'); in complete_digits()
H A Dnum_facets_test.cpp59 string digits = "7"; in _num_put_get() local
60 complete_digits(digits); in _num_put_get()
61 ref += digits; in _num_put_get()
69 digits = "9"; in _num_put_get()
70 complete_digits(digits); in _num_put_get()
71 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get()
86 digits = "7"; in _num_put_get()
87 complete_digits(digits); in _num_put_get()
88 CPPUNIT_ASSERT( fostr.str() == string("1e+") + digits ); in _num_put_get()
H A Dnum_put_get_test.cpp400 string output, digits; in num_put_float() local
407 digits = "17"; in num_put_float()
408 complete_digits(digits); in num_put_float()
409 CPPUNIT_CHECK(output == string("1.23457e+") + digits ); in num_put_float()
463 digits = "1"; in num_put_float()
464 complete_digits(digits); in num_put_float()
465 CPPUNIT_CHECK(output == string("1.23456780e-") + digits ); in num_put_float()
H A Dmoney_facets_test.cpp173 string digits; in _money_put_get2() local
178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2()
180 CPPUNIT_ASSERT( digits == "123456" ); in _money_put_get2()
/reactos/sdk/lib/ucrt/convert/
H A D_fptostr.cpp107 int digits, in __acrt_fp_strflt_to_string() argument
118 …_UCRT_VALIDATE_RETURN_ERRCODE(ptd, buffer_count > static_cast<size_t>((digits > 0 ? digits : 0) + … in __acrt_fp_strflt_to_string()
136 while (digits > 0) in __acrt_fp_strflt_to_string()
139 --digits; in __acrt_fp_strflt_to_string()
147 …if (digits >= 0 && should_round_up(mantissa_base, mantissa_it, pflt->sign, trailing_digits, roundi… in __acrt_fp_strflt_to_string()
/reactos/sdk/lib/crt/stdlib/
H A Dgcvt.c47 int CDECL _gcvt_s(char* buff, size_t size, double number, int digits) in _gcvt_s() argument
56 if (digits < 0 || digits >= size) { in _gcvt_s()
64 len = _scprintf("%.*g", digits, number); in _gcvt_s()
71 sprintf(buff, "%.*g", digits, number); in _gcvt_s()
/reactos/sdk/include/c++/
H A Dlimits48 static const int digits = 0;
110 static const int digits10 = digits * 643 / 2136;
171 static const int digits = 1;
238 static const int digits10 = digits * 643 / 2136;
302 static const int digits10 = digits * 643 / 2136;
367 static const int digits10 = digits * 643 / 2136;
433 static const int digits10 = digits * 643 / 2136;
497 static const int digits10 = digits * 643 / 2136;
954 static const int digits = FLT_MANT_DIG;
1019 static const int digits = DBL_MANT_DIG;
[all …]
/reactos/sdk/lib/crt/printf/
H A Dstreamout.c94 const _TCHAR *digits = digits_l; in format_float() local
115 digits = digits_u; in format_float()
132 digits = digits_u; in format_float()
152 *--(*string) = digits[val32 % 10]; in format_float()
160 *--(*string) = digits[0xe]; in format_float()
164 digits = digits_u; in format_float()
334 const _TCHAR *digits, *prefix; in streamout() local
470 digits = digits_l; in streamout()
600 digits = digits_u; in streamout()
607 prefix = &digits[16]; in streamout()
[all …]
/reactos/sdk/include/c++/stlport/stl/
H A D_limits.h72 _STLP_STATIC_CONSTANT(int, digits = 0);
131 …_STLP_STATIC_CONSTANT(int, digits = (__idigits < 0) ? ((int)((sizeof(_Int) * (CHAR_BIT))) - ((__im…
132 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000);
153 _STLP_STATIC_CONSTANT(int, digits = __Digits);
310 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(_STLP_LONG_LONG) * (CHAR_BIT))) - 1));
311 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000);
329 _STLP_STATIC_CONSTANT(int, digits = ((int)((sizeof(unsigned _STLP_LONG_LONG) * (CHAR_BIT)))));
330 _STLP_STATIC_CONSTANT(int, digits10 = (digits * 301UL) / 1000);
H A D_limits.c41 __declare_numeric_base_member(int, digits);
70 __declare_integer_limits_member(int, digits);
84 _STLP_TEMPLATE_NULL const int numeric_limits<__integer>::digits; \
116 __declare_float_limits_member(int, digits);
/reactos/sdk/lib/ucrt/inc/
H A Dcorecrt_internal_fltintrn.h201 _When_((digits > 0), _In_ _Pre_satisfies_(buffer_count > digits + 1))
202 _When_((digits <= 0), _In_ _Pre_satisfies_(buffer_count > 1))
204 _In_ int digits,
/reactos/win32ss/drivers/font/ftfd/
H A Dsprintf.c93 const char *digits; in number() local
98 digits = (type & LARGE) ? large_digits : small_digits; in number()
128 tmp[i++] = digits[do_div(&num,base)]; in number()
151 *buf = digits[33]; in number()
186 const char *digits; in numberf() local
196 digits = (type & LARGE) ? large_digits : small_digits; in numberf()
228 tmp[i++] = digits[do_div(&x,base)]; in numberf()
256 *buf = digits[33]; in numberf()
/reactos/sdk/lib/ucrt/time/
H A Dwcsftime.cpp263 int digits, in store_number() argument
275 if (static_cast<size_t>(digits) < *count) in store_number()
278 for (digits--; digits + 1 != 0; --digits) in store_number()
282 (*out)[digits] = static_cast<wchar_t>(L'0' + value % 10); in store_number()
286 (*out)[digits] = pad_character; in store_number()
/reactos/dll/3rdparty/libpng/
H A Dpngerror.c148 static const char digits[] = "0123456789ABCDEF"; in png_format_number() local
157 *--end = digits[number % 10]; in png_format_number()
169 *--end = digits[number % 10]; in png_format_number()
179 *--end = digits[number & 0xf]; in png_format_number()
/reactos/dll/win32/atl/
H A Dregistrar.c306 WCHAR digits[3]; in do_process_key() local
311 digits[0] = buf->str[2*i]; in do_process_key()
312 digits[1] = buf->str[2*i + 1]; in do_process_key()
313 digits[2] = 0; in do_process_key()
314 bytes[i] = (BYTE) wcstoul(digits, NULL, 16); in do_process_key()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dtrio.c924 TRIO_ARGS1((digits),
925 int digits)
932 while (digits > 0)
952 if (digits > step)
954 digits -= step;
2195 TRIO_CONST char *digits; variable
2239 *pointer-- = digits[number % base];
2648 TRIO_CONST char *digits; variable
2966 self->OutStream(self, digits[0]);
3027 self->OutStream(self, digits[0]);
[all …]
/reactos/base/applications/calc/
H A Dhelp.txt5 - Up to 512 bits of internal precision and 64 decimal digits displayed in the output display (with …
32 Digit buttons: they are used for entering digits into the display.
48 You can enter digits by pressing the buttons mentioned in the <HOW TO INPUT NUMBERS> section.
61 …s is activated, these limits rise greatly to 64 displayed digits for the mantissa and 8 digits for…
344 These buttons are used for entering digits.
/reactos/dll/win32/jscript/lang/
H A Djscript_Ja.rc61 IDS_FRACTION_DIGITS_OUT_OF_RANGE "Number of fraction digits is out of range"
H A Djscript_Ko.rc61 IDS_FRACTION_DIGITS_OUT_OF_RANGE "Number of fraction digits is out of range"
H A Djscript_Uk.rc61 IDS_FRACTION_DIGITS_OUT_OF_RANGE "Number of fraction digits is out of range"
H A Djscript_He.rc62 IDS_FRACTION_DIGITS_OUT_OF_RANGE "Number of fraction digits is out of range"
/reactos/dll/win32/netid/lang/
H A Dbg-BG.rc72 …(0-9), and hyphens (-), but no spaces or periods (.). The name may not consist entirely of digits."

12345