Home
last modified time | relevance | path

Searched refs:StringToFloat (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcrt/
Dfx_string_unittest.cpp72 EXPECT_FLOAT_EQ(0.0f, StringToFloat("")); in TEST()
73 EXPECT_FLOAT_EQ(0.0f, StringToFloat("0")); in TEST()
74 EXPECT_FLOAT_EQ(0.0f, StringToFloat("0.0")); in TEST()
75 EXPECT_FLOAT_EQ(0.0f, StringToFloat("-0.0")); in TEST()
77 EXPECT_FLOAT_EQ(0.25f, StringToFloat("0.25")); in TEST()
78 EXPECT_FLOAT_EQ(-0.25f, StringToFloat("-0.25")); in TEST()
80 EXPECT_FLOAT_EQ(100.0f, StringToFloat("100")); in TEST()
81 EXPECT_FLOAT_EQ(100.0f, StringToFloat("100.0")); in TEST()
82 EXPECT_FLOAT_EQ(100.0f, StringToFloat(" 100.0")); in TEST()
83 EXPECT_FLOAT_EQ(-100.0f, StringToFloat("-100.0000")); in TEST()
[all …]
Dfx_string.cpp140 float StringToFloat(ByteStringView strc) { in StringToFloat() function
145 float StringToFloat(WideStringView wsStr) { in StringToFloat() function
146 return StringToFloat(FX_UTF8Encode(wsStr).c_str()); in StringToFloat()
Dfx_string.h24 float StringToFloat(ByteStringView str);
25 float StringToFloat(WideStringView wsStr);
Dfx_number.cpp32 m_FloatValue = StringToFloat(strc); in FX_Number()
/external/pdfium/core/fpdfdoc/
Dcpdf_defaultappearance.cpp66 *fFontSize = StringToFloat(syntax.GetWord()); in GetFont()
80 fc[0] = StringToFloat(syntax.GetWord()); in GetColor()
84 fc[0] = StringToFloat(syntax.GetWord()); in GetColor()
85 fc[1] = StringToFloat(syntax.GetWord()); in GetColor()
86 fc[2] = StringToFloat(syntax.GetWord()); in GetColor()
90 fc[0] = StringToFloat(syntax.GetWord()); in GetColor()
91 fc[1] = StringToFloat(syntax.GetWord()); in GetColor()
92 fc[2] = StringToFloat(syntax.GetWord()); in GetColor()
93 fc[3] = StringToFloat(syntax.GetWord()); in GetColor()
/external/icu/libicu/cts_headers/
Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
/external/icu/icu4c/source/i18n/
Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
Ddouble-conversion-string-to-double.cpp768 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
777 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
/external/webrtc/modules/video_coding/codecs/test/
Dplot_webrtc_test_logs.py231 return StringToFloat(m.group(1))
242 def StringToFloat(value): function
/external/pdfium/fxjs/
Dcjs_publicmethods.cpp934 int nDay = StringToFloat(wsArray[2].AsStringView()); in ParseDateAsGMT()
935 int nHour = StringToFloat(wsArray[3].AsStringView()); in ParseDateAsGMT()
936 int nMin = StringToFloat(wsArray[4].AsStringView()); in ParseDateAsGMT()
937 int nSec = StringToFloat(wsArray[5].AsStringView()); in ParseDateAsGMT()
938 int nYear = StringToFloat(wsArray[7].AsStringView()); in ParseDateAsGMT()
1329 dTemp = StringToFloat(trimmed.AsStringView()); in AFSimple_Calculate()
1338 dTemp = StringToFloat(trimmed.AsStringView()); in AFSimple_Calculate()
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine.cpp185 m_Operators.push_back(pdfium::MakeUnique<CPDF_PSOP>(StringToFloat(word))); in AddOperator()
/external/tensorflow/tensorflow/core/platform/
Dnumbers.cc351 *value = StringToFloatConverter().StringToFloat( in safe_strtof()