Searched refs:FXSYS_DecimalCharToInt (Results 1 – 15 of 15) sorted by relevance
63 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument64 EXPECT_EQ(7, FXSYS_DecimalCharToInt('7')); in TEST()65 EXPECT_EQ(0, FXSYS_DecimalCharToInt('a')); in TEST()66 EXPECT_EQ(7, FXSYS_DecimalCharToInt(L'7')); in TEST()67 EXPECT_EQ(0, FXSYS_DecimalCharToInt(L'a')); in TEST()68 EXPECT_EQ(0, FXSYS_DecimalCharToInt(static_cast<char>(-78))); in TEST()69 EXPECT_EQ(0, FXSYS_DecimalCharToInt(static_cast<wchar_t>(0xb2))); in TEST()
105 inline int FXSYS_DecimalCharToInt(char c) { in FXSYS_DecimalCharToInt() function109 inline int FXSYS_DecimalCharToInt(wchar_t c) { in FXSYS_DecimalCharToInt() function
65 value = value * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()73 fractional_scales[scale] * FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
34 IntType val = FXSYS_DecimalCharToInt(*str); in FXSYS_StrToInt()
15 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()17 even += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()
93 int32_t firstDigit = FXSYS_DecimalCharToInt(contents.Front()); in Encode()100 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()109 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()
100 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()106 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()
76 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()78 even += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
483 iEscCode = FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()511 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()522 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()
263 iEscCode = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()289 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()301 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()
226 m_FileVersion = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)) * 10; in ParseFileVersion()232 m_FileVersion += FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ParseFileVersion()
160 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
97 tz_hour = tz_hour * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()105 tz_minute = tz_minute * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()224 *value = *value * 10 + FXSYS_DecimalCharToInt(spStr[(*cc)++]); in ExtractCountDigits()1258 iExponent = iExponent + FXSYS_DecimalCharToInt(spSrcNum[cc]) * 10; in ParseNum()1456 int digit = FXSYS_DecimalCharToInt(spSrcNum[cc]); in ParseNum()
286 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in FX_ParseStringInteger()
497 ch = ch * 10 + FXSYS_DecimalCharToInt(csEntity[i]); in ProcessTextChar()