Home
last modified time | relevance | path

Searched refs:FXSYS_wcstof (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_extension_unittest.cpp131 TEST(fxcrt, FXSYS_wcstof) { in TEST() argument
133 EXPECT_FLOAT_EQ(-12.0f, FXSYS_wcstof(L"-12", 3, &used_len)); in TEST()
137 EXPECT_FLOAT_EQ(1.5362f, FXSYS_wcstof(L"1.5362", 6, &used_len)); in TEST()
141 EXPECT_FLOAT_EQ(0.875f, FXSYS_wcstof(L"0.875", 5, &used_len)); in TEST()
145 EXPECT_FLOAT_EQ(5.56e-2f, FXSYS_wcstof(L"5.56e-2", 7, &used_len)); in TEST()
149 EXPECT_FLOAT_EQ(1.234e10f, FXSYS_wcstof(L"1.234E10", 8, &used_len)); in TEST()
153 EXPECT_FLOAT_EQ(0.0f, FXSYS_wcstof(L"1.234E100000000000000", 21, &used_len)); in TEST()
157 EXPECT_FLOAT_EQ(0.0f, FXSYS_wcstof(L"1.234E-128", 21, &used_len)); in TEST()
164 FXSYS_wcstof(L"123456789.012345678", 19, &used_len)); in TEST()
172 FXSYS_wcstof(L"99999999999999999", 17, &used_len)); in TEST()
[all …]
Dfx_extension.h27 float FXSYS_wcstof(const wchar_t* pwsStr, size_t nLength, size_t* pUsedLen);
Dfx_extension.cpp30 float FXSYS_wcstof(const wchar_t* pwsStr, size_t nLength, size_t* pUsedLen) { in FXSYS_wcstof() function
/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement.cpp46 float fValue = FXSYS_wcstof(wsMeasure.unterminated_c_str(), in SetString()
/external/pdfium/xfa/fxfa/formcalc/
Dcxfa_fmlexer.cpp314 FXSYS_wcstof(&m_spInput[m_nCursor], m_spInput.size() - m_nCursor, in AdvanceForNumber()
/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration.cpp41 *pValue = FXSYS_wcstof(pszValue, nValueLen, &nUsedLen); in ParseCSSNumber()
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp237 FXSYS_roundf(FXSYS_wcstof(wsValue.c_str(), wsValue.GetLength(), in SetAttributeByEnum()