Home
last modified time | relevance | path

Searched refs:FX_atonum (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_string_unittest.cpp10 TEST(fxstring, FX_atonum) { in TEST() argument
12 EXPECT_TRUE(FX_atonum("10", &i)); in TEST()
15 EXPECT_TRUE(FX_atonum("-10", &i)); in TEST()
18 EXPECT_TRUE(FX_atonum("+10", &i)); in TEST()
21 EXPECT_TRUE(FX_atonum("-2147483648", &i)); in TEST()
24 EXPECT_TRUE(FX_atonum("2147483647", &i)); in TEST()
28 EXPECT_TRUE(FX_atonum("-2147483649", &i)); in TEST()
32 EXPECT_TRUE(FX_atonum("+2147483648", &i)); in TEST()
36 EXPECT_TRUE(FX_atonum("4223423494965252", &i)); in TEST()
41 EXPECT_TRUE(FX_atonum("4294965252", &i)); in TEST()
[all …]
Dfx_string.h20 bool FX_atonum(const ByteStringView& str, void* pData);
Dfx_string.cpp87 bool FX_atonum(const ByteStringView& strc, void* pData) { in FX_atonum() function
/external/pdfium/core/fpdfapi/parser/
Dcpdf_number.cpp18 : m_bInteger(FX_atonum(str, &m_Integer)) {} in CPDF_Number()
52 m_bInteger = FX_atonum(str.AsStringView(), &m_Integer); in SetString()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser.cpp331 param.m_Number.m_bInteger = FX_atonum(str, &param.m_Number.m_Integer); in AddNumberParam()
1618 bool bInteger = FX_atonum(m_pSyntax->GetWord(), &value); in ParsePathObject()