Home
last modified time | relevance | path

Searched refs:FXSYS_DecimalCharToInt (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_extension_unittest.cpp28 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument
29 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()
Dfx_string.cpp113 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()
Dfx_extension.h75 inline int FXSYS_DecimalCharToInt(const char c) { in FXSYS_DecimalCharToInt() function
79 inline int FXSYS_DecimalCharToInt(const wchar_t c) { in FXSYS_DecimalCharToInt() function
Dfx_system.cpp27 IntType val = FXSYS_DecimalCharToInt(*str); in FXSYS_StrToInt()
Dwidestring.cpp1039 integer = integer * 10 + FXSYS_DecimalCharToInt(str[cc]); in FX_wtof()
1047 fraction += scale * FXSYS_DecimalCharToInt(str[cc]); in FX_wtof()
/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp149 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()
/external/pdfium/fxbarcode/oned/
DBC_OnedEANChecksum.cpp15 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()
17 even += FXSYS_DecimalCharToInt(contents[i - 1]); in EANCalcChecksum()
DBC_OnedEAN13Writer.cpp100 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()
DBC_OnedEAN8Writer.cpp117 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
127 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
DBC_OnedUPCAWriter.cpp75 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
77 even += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp221 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()
Dcpdf_syntax_parser.cpp206 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()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp498 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()
/external/pdfium/core/fxcrt/xml/
Dcxml_parser.cpp236 code = code * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in GetCharRef()
249 FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in GetCharRef()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.cpp152 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
Dcpdf_tounicodemap.cpp68 result = result * 10 + FXSYS_DecimalCharToInt(str.CharAt(i)); in StringToCode()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp79 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()
/external/pdfium/fxjs/
Dcjs_publicmethods.cpp361 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in ParseStringInteger()