Searched refs:FXSYS_DecimalCharToInt (Results 1 – 16 of 16) sorted by relevance
18 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument19 EXPECT_EQ(7, FXSYS_DecimalCharToInt('7')); in TEST()20 EXPECT_EQ(0, FXSYS_DecimalCharToInt('a')); in TEST()21 EXPECT_EQ(7, FXSYS_DecimalCharToInt(L'7')); in TEST()22 EXPECT_EQ(0, FXSYS_DecimalCharToInt(L'a')); in TEST()23 EXPECT_EQ(0, FXSYS_DecimalCharToInt(static_cast<char>(-78))); in TEST()24 EXPECT_EQ(0, FXSYS_DecimalCharToInt(static_cast<wchar_t>(0xb2))); in TEST()
72 value = value * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()80 fractional_scales[scale] * FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
101 inline int FXSYS_DecimalCharToInt(char c) { in FXSYS_DecimalCharToInt() function105 inline int FXSYS_DecimalCharToInt(wchar_t c) { in FXSYS_DecimalCharToInt() function
54 unsigned_val = unsigned_val * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in FX_Number()
33 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()
103 int32_t firstDigit = FXSYS_DecimalCharToInt(contents.Front()); in EncodeImpl()113 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()122 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
116 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()122 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
76 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()78 even += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
486 iEscCode = FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()514 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()525 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<char>(ch)); in ReadString()
260 iEscCode = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()287 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()299 iEscCode * 8 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ReadString()
134 m_FileVersion = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)) * 10; in ParseFileVersion()140 m_FileVersion += FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ParseFileVersion()
158 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
94 tz->tzHour = tz->tzHour * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()101 tz->tzMinute = tz->tzMinute * 10 + FXSYS_DecimalCharToInt(spStr[iStart++]); in ParseTimeZone()219 *value = *value * 10 + FXSYS_DecimalCharToInt(spStr[(*cc)++]); in ExtractCountDigits()1227 iExponent = iExponent + FXSYS_DecimalCharToInt(spSrcNum[cc]) * 10; in ParseNum()1425 int digit = FXSYS_DecimalCharToInt(spSrcNum[cc]); in ParseNum()
284 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in FX_ParseStringInteger()
496 ch = ch * 10 + FXSYS_DecimalCharToInt(csEntity[i]); in ProcessTextChar()