Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 52) sorted by relevance

123

/reactos/sdk/lib/crt/string/
H A Ditoa.c16 int digit; in _i64toa() local
30 digit = val % radix; in _i64toa()
32 if (digit < 10) { in _i64toa()
53 unsigned int digit; in _i64toa_s() local
134 int digit; in _ui64toa() local
142 if (digit < 10) { in _ui64toa()
160 int digit; in _ui64toa_s() local
221 int digit; in _ltoa() local
237 if (digit < 10) { in _ltoa()
340 int digit; in _ultoa() local
[all …]
H A Ditow.c23 WCHAR digit; in _i64tow() local
39 if (digit < 10) { in _i64tow()
64 unsigned int digit; in _i64tow_s() local
146 WCHAR digit; in _ui64tow() local
154 if (digit < 10) { in _ui64tow()
176 int digit; in _ui64tow_s() local
192 if (digit < 10) in _ui64tow_s()
238 WCHAR digit; in _ltow() local
254 if (digit < 10) { in _ltow()
361 WCHAR digit; in _ultow() local
[all …]
H A Dwitoa.c25 int digit; in _i64toa() local
39 digit = val % radix; in _i64toa()
41 if (digit < 10) { in _i64toa()
42 *--pos = '0' + digit; in _i64toa()
44 *--pos = 'a' + digit - 10; in _i64toa()
64 int digit; in _ui64toa() local
70 digit = value % radix; in _ui64toa()
72 if (digit < 10) { in _ui64toa()
73 *--pos = '0' + digit; in _ui64toa()
75 *--pos = 'a' + digit - 10; in _ui64toa()
/reactos/sdk/tools/mkisofs/schilytools/libschily/
H A Dastoll.c73 register int digit; local
116 digit = c - '0';
118 digit = c - 'a' + 10;
120 digit = c - 'A' + 10;
125 if (digit < base) {
129 if (maxval - ret < digit)
131 ret += digit;
146 digit = c - '0';
148 digit = c - 'a' + 10;
150 digit = c - 'A' + 10;
[all …]
/reactos/sdk/lib/ucrt/convert/
H A Dcvt.cpp269 if (digit > 8) in fe_to_nearest()
274 if (digit < 8) in fe_to_nearest()
294 digit = components->_exponent == 0 ? 0 : 1; in fe_to_nearest()
297 return digit % 2 == 1; in fe_to_nearest()
310 return digit >= 8; in should_round_up()
321 return digit != 0 && !components->_sign; in should_round_up()
326 return digit != 0 && components->_sign; in should_round_up()
465 digit += '0'; in fp_format_a()
466 if (digit > '9') in fp_format_a()
468 digit += static_cast<unsigned short>(hexadd); in fp_format_a()
[all …]
H A Dxtoa.cpp63 unsigned const digit = static_cast<unsigned>(remaining_value % radix); variable
67 if (digit > 9)
69 *p++ = static_cast<Character>(digit - 10 + 'a');
73 *p++ = static_cast<Character>(digit + '0');
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dctype_facets_test.cpp33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') ); in _ctype_facet()
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 ); in _ctype_facet()
66 CPPUNIT_ASSERT( (res[3] & ctype_base::digit) == 0 ); in _ctype_facet()
70 CPPUNIT_ASSERT( (res[4] & ctype_base::digit) == 0 ); in _ctype_facet()
177 CPPUNIT_CHECK( wct.is(ctype_base::digit, L'0') ); in _ctype_facet_w()
194 CPPUNIT_CHECK( (res[0] & ctype_base::digit) != 0 ); in _ctype_facet_w()
210 CPPUNIT_CHECK( (res[3] & ctype_base::digit) == 0 ); in _ctype_facet_w()
214 CPPUNIT_CHECK( (res[4] & ctype_base::digit) == 0 ); in _ctype_facet_w()
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c)); in ctype_by_name()
/reactos/sdk/lib/3rdparty/stlport/src/
H A Dctype.cpp94 ctype_base::mask(digit | print | xdigit) /* 0 */, in classic_table()
95 ctype_base::mask(digit | print | xdigit) /* 1 */, in classic_table()
96 ctype_base::mask(digit | print | xdigit) /* 2 */, in classic_table()
97 ctype_base::mask(digit | print | xdigit) /* 3 */, in classic_table()
98 ctype_base::mask(digit | print | xdigit) /* 4 */, in classic_table()
99 ctype_base::mask(digit | print | xdigit) /* 5 */, in classic_table()
100 ctype_base::mask(digit | print | xdigit) /* 6 */, in classic_table()
101 ctype_base::mask(digit | print | xdigit) /* 7 */, in classic_table()
102 ctype_base::mask(digit | print | xdigit) /* 8 */, in classic_table()
103 ctype_base::mask(digit | print | xdigit) /* 9 */, in classic_table()
/reactos/dll/nls/normaliz/
H A DIdnToUnicode.c49 INT n = INIT_N, pos = 0, old_pos, w, k, bias = INIT_BIAS, delim=0, digit, t; in IdnToUnicode() local
137 digit = ch<='9' ? ch-'0'+'z'-'a'+1 : ch-'a'; in IdnToUnicode()
138 pos += digit*w; in IdnToUnicode()
140 if(digit < t) in IdnToUnicode()
/reactos/sdk/lib/rtl/
H A Dunicode.c267 int digit; in RtlCharToInteger() local
322 digit = chCurrent - '0'; in RtlCharToInteger()
334 digit = -1; in RtlCharToInteger()
337 if (digit < 0 || digit >= (int)base) break; in RtlCharToInteger()
712 CHAR digit; in RtlIntegerToChar() local
733 if (digit < 10) in RtlIntegerToChar()
735 *pos = '0' + digit; in RtlIntegerToChar()
739 *pos = 'A' + digit - 10; in RtlIntegerToChar()
990 int digit; in RtlUnicodeStringToInteger() local
1069 digit = -1; in RtlUnicodeStringToInteger()
[all …]
/reactos/sdk/lib/ucrt/inc/
H A Dcorecrt_internal_stdio_output.h557 digit, // '1'..'9'
614 /* percent -> dot -> */ state::dot, /* '1' */ character_type::digit,
615 /* flag -> dot -> */ state::dot, /* '2' */ character_type::digit,
616 /* width -> dot -> */ state::dot, /* '3' */ character_type::digit,
617 /* dot -> dot -> */ state::normal, /* '4' */ character_type::digit,
618 /* precision -> dot -> */ state::normal, /* '5' */ character_type::digit,
619 /* size -> dot -> */ state::normal, /* '6' */ character_type::digit,
2753 Character digit{static_cast<Character>(number % Radix + '0')};
2758 if (digit > '9')
2760 digit = adjust_hexit(digit, capital_hexits);
[all …]
H A Dcorecrt_internal_strtox.h303 unsigned const digit{parse_digit(c)};
304 if (digit >= static_cast<unsigned>(base))
314 UnsignedInteger const number_after_add = number_after_multiply + digit;
/reactos/sdk/tools/xml2sdb/
H A Dtinyxml2.cpp460 unsigned int digit = 0; in GetCharacterRef() local
463 digit = *q - '0'; in GetCharacterRef()
466 digit = *q - 'a' + 10; in GetCharacterRef()
469 digit = *q - 'A' + 10; in GetCharacterRef()
474 TIXMLASSERT( digit < 16 ); in GetCharacterRef()
475 TIXMLASSERT( digit == 0 || mult <= UINT_MAX / digit ); in GetCharacterRef()
476 const unsigned int digitScaled = mult * digit; in GetCharacterRef()
503 const unsigned int digit = *q - '0'; in GetCharacterRef() local
504 TIXMLASSERT( digit < 10 ); in GetCharacterRef()
505 TIXMLASSERT( digit == 0 || mult <= UINT_MAX / digit ); in GetCharacterRef()
[all …]
/reactos/base/applications/network/telnet/doc/
H A D00readme.avs147 \nnn where nnn is a 3 digit decimal ASCII value or
148 \xhh where hh is a 2 digit hexadecimal ASCII value.
178 \nnn where nnn is a 3 digit decimal ASCII value or
179 \xhh where hh is a 2 digit hexadecimal ASCII value.
/reactos/sdk/include/c++/stlport/stl/
H A D_monetary.c66 if (__first == __last || !_c_type.is(ctype_base::digit, *__first)) in __get_monetary_value()
74 if (_c_type.is(ctype_base::digit, *__first)) { in __get_monetary_value()
110 while (__first != __last && _c_type.is(ctype_base::digit, *__first)) { in __get_monetary_value()
387 while (__cp != __digits_last && __c_type.is(ctype_base::digit, *__cp)) in __money_do_put()
H A D_ctype.h48 digit = _Locale_DIGIT, enumerator
51 alnum = alpha | digit,
/reactos/dll/cpl/intl/lang/
H A Did-ID.rc72 LTEXT "Simbol pen&gelompokan digit:", -1, 8, 100, 96, 10, WS_CHILD | WS_VISIBLE | WS_GROUP
74 LTEXT "Simb&ol pengelompokan digit:", -1, 8, 117, 96, 10, WS_CHILD | WS_VISIBLE | WS_GROUP
106 LTEXT "&Jumlah digit fraksional:", -1, 10, 128, 121, 10, WS_CHILD | WS_VISIBLE | WS_GROUP
143 …LTEXT "Jika ada tahun yang ditulis dalam dua digit, asumsikan pada tahun anta&ra:", -1, 13, 18, 21…
/reactos/dll/win32/jscript/
H A Dregexp.c428 isASCIIHexDigit(WCHAR c, UINT *digit) in isASCIIHexDigit() argument
435 *digit = cv - '0'; in isASCIIHexDigit()
440 *digit = cv - 'a' + 10; in isASCIIHexDigit()
975 UINT n, digit, nDigits, i; in CalculateBitmapSize() local
1032 if (!isASCIIHexDigit(c, &digit)) { in CalculateBitmapSize()
1041 n = (n << 4) | digit; in CalculateBitmapSize()
1485 UINT digit; in ParseTerm() local
1487 if (!isASCIIHexDigit(c, &digit)) { in ParseTerm()
1496 n = (n << 4) | digit; in ParseTerm()
2172 UINT digit; in ProcessCharSet() local
[all …]
/reactos/dll/win32/vbscript/
H A Dregexp.c428 isASCIIHexDigit(WCHAR c, UINT *digit) in isASCIIHexDigit() argument
435 *digit = cv - '0'; in isASCIIHexDigit()
440 *digit = cv - 'a' + 10; in isASCIIHexDigit()
975 UINT n, digit, nDigits, i; in CalculateBitmapSize() local
1032 if (!isASCIIHexDigit(c, &digit)) { in CalculateBitmapSize()
1041 n = (n << 4) | digit; in CalculateBitmapSize()
1485 UINT digit; in ParseTerm() local
1487 if (!isASCIIHexDigit(c, &digit)) { in ParseTerm()
1496 n = (n << 4) | digit; in ParseTerm()
2172 UINT digit; in ProcessCharSet() local
[all …]
/reactos/dll/3rdparty/libxslt/
H A Dnumbers.c93 (xsltUTF8Charcmp((letter), (self)->digit) == 0) || \
1039 if (xsltUTF8Charcmp(the_format, self->digit) == 0) { in xsltFormatNumberConversion()
1099 } else if (xsltUTF8Charcmp(the_format, self->digit) == 0) { in xsltFormatNumberConversion()
/reactos/dll/win32/oleaut32/
H A Dvartype.c4509 ULONGLONG digit = di.bitsnum[i] + 1; in VARIANT_DecScale() local
4510 remainder = (digit > 0xFFFFFFFF) ? 1 : 0; in VARIANT_DecScale()
4511 di.bitsnum[i] = digit & 0xFFFFFFFF; in VARIANT_DecScale()
4805 ULONGLONG digit = running[i] + 1; in VARIANT_DI_mul() local
4806 remainder = (digit > 0xFFFFFFFF) ? 1 : 0; in VARIANT_DI_mul()
4807 running[i] = digit & 0xFFFFFFFF; in VARIANT_DI_mul()
5219 remainder = (digit > 0xFFFFFFFF) ? 1 : 0; in VARIANT_DI_div()
5220 quotient->bitsnum[i] = digit & 0xFFFFFFFF; in VARIANT_DI_div()
5576 ULONGLONG digit = di_result.bitsnum[i] + 1; in VARIANT_do_division() local
5577 remainder = (digit > 0xFFFFFFFF) ? 1 : 0; in VARIANT_do_division()
[all …]
/reactos/sdk/include/c++/stlport/
H A Dlocale108 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::digit, c); }
/reactos/sdk/lib/3rdparty/stlport/src/c_locale_win32/
H A Dc_locale_win32.c1472 int digit; in LocaleFromHex() local
1475 digit = (*locale >= '0' && *locale <= '9') ? *locale - '0': in LocaleFromHex()
1478 result += digit; in LocaleFromHex()
/reactos/sdk/lib/3rdparty/libxml2/
H A Duri.c333 int digit = *cur - '0'; in xmlParse3986Port() local
338 if (port > INT_MAX - digit) in xmlParse3986Port()
340 port += digit; in xmlParse3986Port()
H A Dxmlschemastypes.c1229 int digit = *cur - '0'; in _xmlSchemaParseGYear() local
1234 if (dt->year > LONG_MAX - digit) in _xmlSchemaParseGYear()
1236 dt->year += digit; in _xmlSchemaParseGYear()
1851 long digit = *cur - '0'; in xmlSchemaValidateDuration() local
1856 if (num > LONG_MAX - digit) in xmlSchemaValidateDuration()
1858 num += digit; in xmlSchemaValidateDuration()

123