Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_extension_unittest.cpp18 TEST(fxcrt, FXSYS_DecimalCharToInt) { in TEST() argument
19 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()
Dfx_string.cpp72 value = value * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
80 fractional_scales[scale] * FXSYS_DecimalCharToInt(strc.CharAt(cc)); in StringTo()
Dfx_extension.h101 inline int FXSYS_DecimalCharToInt(char c) { in FXSYS_DecimalCharToInt() function
105 inline int FXSYS_DecimalCharToInt(wchar_t c) { in FXSYS_DecimalCharToInt() function
Dfx_number.cpp54 unsigned_val = unsigned_val * 10 + FXSYS_DecimalCharToInt(strc.CharAt(cc)); in FX_Number()
Dfx_system.cpp33 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.cpp103 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()
DBC_OnedEAN8Writer.cpp116 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
122 int32_t digit = FXSYS_DecimalCharToInt(contents[i]); in EncodeImpl()
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.cpp486 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()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp260 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()
Dcpdf_parser.cpp134 m_FileVersion = FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)) * 10; in ParseFileVersion()
140 m_FileVersion += FXSYS_DecimalCharToInt(static_cast<wchar_t>(ch)); in ParseFileVersion()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.cpp158 num = num * 10 + FXSYS_DecimalCharToInt(static_cast<wchar_t>(word[i])); in GetCode()
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp94 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()
/external/pdfium/fxjs/
Dfx_date_helpers.cpp284 nRet = nRet * 10 + FXSYS_DecimalCharToInt(c); in FX_ParseStringInteger()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlparser.cpp496 ch = ch * 10 + FXSYS_DecimalCharToInt(csEntity[i]); in ProcessTextChar()