Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_extension_unittest.cpp63 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument
64 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()
Dfx_extension.h105 inline int FXSYS_DecimalCharToInt(char c) { in FXSYS_DecimalCharToInt() function
109 inline int FXSYS_DecimalCharToInt(wchar_t c) { in FXSYS_DecimalCharToInt() function
Dfx_string.cpp65 value = value * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
73 fractional_scales[scale] * FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
Dfx_system.cpp34 IntType val = FXSYS_DecimalCharToInt(*str); in FXSYS_StrToInt()
/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.cpp93 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()
DBC_OnedEAN8Writer.cpp100 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()
106 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in Encode()
DBC_OnedUPCAWriter.cpp76 odd += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
78 even += FXSYS_DecimalCharToInt(contents[i - 1]); in CalcChecksum()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp483 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()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp263 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()
Dcpdf_parser.cpp226 m_FileVersion = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)) * 10; in ParseFileVersion()
232 m_FileVersion += FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ParseFileVersion()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.cpp160 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp97 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()
/external/pdfium/fxjs/
Dfx_date_helpers.cpp286 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in FX_ParseStringInteger()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlparser.cpp497 ch = ch * 10 + FXSYS_DecimalCharToInt(csEntity[i]); in ProcessTextChar()