Searched refs:FXSYS_DecimalCharToInt (Results 1 – 18 of 18) sorted by relevance
28 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument29 EXPECT_EQ(7, FXSYS_DecimalCharToInt('7')); in TEST()30 EXPECT_EQ(0, FXSYS_DecimalCharToInt('a')); in TEST()31 EXPECT_EQ(7, FXSYS_DecimalCharToInt(L'7')); in TEST()32 EXPECT_EQ(0, FXSYS_DecimalCharToInt(L'a')); in TEST()
113 integer = integer * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in FX_atonum()166 value = value * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in FX_atof()173 value += FractionalScale(scale, FXSYS_DecimalCharToInt(strc.CharAt(cc))); in FX_atof()
75 inline int FXSYS_DecimalCharToInt(const char c) { in FXSYS_DecimalCharToInt() function79 inline int FXSYS_DecimalCharToInt(const wchar_t c) { in FXSYS_DecimalCharToInt() function
27 IntType val = FXSYS_DecimalCharToInt(*str); in FXSYS_StrToInt()
1039 integer = integer * 10 + FXSYS_DecimalCharToInt(str[cc]); in FX_wtof()1047 fraction += scale * FXSYS_DecimalCharToInt(str[cc]); in FX_wtof()
149 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()163 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()177 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()191 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()205 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()219 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()240 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()256 k = k * 10 + FXSYS_DecimalCharToInt(ch); in FromPDFDateTimeString()
15 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()17 even += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()
100 int32_t firstDigit = FXSYS_DecimalCharToInt(contents.First()); in EncodeImpl()113 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()126 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
117 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()127 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
75 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()77 even += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
221 m_FileVersion = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)) * 10; in ParseFileVersion()227 m_FileVersion += FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ParseFileVersion()735 objnum = FXSYS_DecimalCharToInt(static_cast<wchar_t>(byte)); in RebuildCrossRef()751 FXSYS_DecimalCharToInt(static_cast<wchar_t>(byte)); in RebuildCrossRef()765 gennum = FXSYS_DecimalCharToInt(static_cast<wchar_t>(byte)); in RebuildCrossRef()778 FXSYS_DecimalCharToInt(static_cast<wchar_t>(byte)); in RebuildCrossRef()793 gennum = FXSYS_DecimalCharToInt(static_cast<wchar_t>(byte)); in RebuildCrossRef()
206 iEscCode = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()233 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()245 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()
498 iEscCode = FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()526 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()537 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()
236 code = code * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in GetCharRef()249 FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in GetCharRef()
152 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
68 result = result * 10 + FXSYS_DecimalCharToInt(str.CharAt(i)); in StringToCode()
79 tz->tzHour = tz->tzHour * 10 + FXSYS_DecimalCharToInt(pStr[iStart++]); in ParseTimeZone()86 tz->tzMinute = tz->tzMinute * 10 + FXSYS_DecimalCharToInt(pStr[iStart++]); in ParseTimeZone()208 *value = *value * 10 + FXSYS_DecimalCharToInt(str[(*cc)++]); in ExtractCountDigits()1240 iExponent = iExponent + FXSYS_DecimalCharToInt(str[cc]) * 10; in ParseNum()1431 iExponent = iExponent * 10 + FXSYS_DecimalCharToInt(str[cc]); in ParseNum()
361 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in ParseStringInteger()