Home
last modified time | relevance | path

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

/aosp_15_r20/external/pdfium/core/fxcrt/
H A Dfx_string_unittest.cpp158 EXPECT_FLOAT_EQ(0.0f, StringToFloat("")); in TEST()
159 EXPECT_FLOAT_EQ(0.0f, StringToFloat("0")); in TEST()
160 EXPECT_FLOAT_EQ(0.0f, StringToFloat("0.0")); in TEST()
161 EXPECT_FLOAT_EQ(0.0f, StringToFloat("-0.0")); in TEST()
163 EXPECT_FLOAT_EQ(0.25f, StringToFloat("0.25")); in TEST()
164 EXPECT_FLOAT_EQ(-0.25f, StringToFloat("-0.25")); in TEST()
166 EXPECT_FLOAT_EQ(100.0f, StringToFloat("100")); in TEST()
167 EXPECT_FLOAT_EQ(100.0f, StringToFloat("100.0")); in TEST()
168 EXPECT_FLOAT_EQ(100.0f, StringToFloat(" 100.0")); in TEST()
169 EXPECT_FLOAT_EQ(-100.0f, StringToFloat("-100.0000")); in TEST()
[all …]
H A Dfx_string.cpp232 float StringToFloat(ByteStringView strc) { in StringToFloat() function
236 float StringToFloat(WideStringView wsStr) { in StringToFloat() function
237 return StringToFloat(FX_UTF8Encode(wsStr).AsStringView()); in StringToFloat()
H A Dfx_string.h26 float StringToFloat(ByteStringView str);
27 float StringToFloat(WideStringView wsStr);
H A Dfx_number.cpp35 m_FloatValue = StringToFloat(strc); in FX_Number()
/aosp_15_r20/external/pdfium/core/fpdfdoc/
H A Dcpdf_defaultappearance.cpp78 *fFontSize = StringToFloat(syntax.GetWord()); in GetFont()
89 float gray = StringToFloat(syntax.GetWord()); in GetColor()
93 float r = StringToFloat(syntax.GetWord()); in GetColor()
94 float g = StringToFloat(syntax.GetWord()); in GetColor()
95 float b = StringToFloat(syntax.GetWord()); in GetColor()
99 float c = StringToFloat(syntax.GetWord()); in GetColor()
100 float m = StringToFloat(syntax.GetWord()); in GetColor()
101 float y = StringToFloat(syntax.GetWord()); in GetColor()
102 float k = StringToFloat(syntax.GetWord()); in GetColor()
/aosp_15_r20/external/rappor/client/cpp/
H A Drappor_sim.cc42 bool StringToFloat(const char* s, float* result) { in StringToFloat() function
89 bool ok4 = StringToFloat(argv[4], &prob_p); in main()
90 bool ok5 = StringToFloat(argv[5], &prob_q); in main()
91 bool ok6 = StringToFloat(argv[6], &prob_f); in main()
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/
H A Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
/aosp_15_r20/external/cronet/base/third_party/double_conversion/double-conversion/
H A Dstring-to-double.h198 float StringToFloat(const char* buffer,
203 float StringToFloat(const uc16* buffer,
H A Dstring-to-double.cc765 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
774 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
797 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
815 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
/aosp_15_r20/external/double-conversion/double-conversion/
H A Dstring-to-double.h198 float StringToFloat(const char* buffer,
203 float StringToFloat(const uc16* buffer,
H A Dstring-to-double.cc765 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
774 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
797 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
815 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
H A Ddouble-conversion-string-to-double.cpp786 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
795 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
818 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
836 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
/aosp_15_r20/external/icu/libicu/cts_headers/
H A Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Ddouble-conversion-string-to-double.h212 float StringToFloat(const char* buffer,
217 float StringToFloat(const uc16* buffer,
H A Ddouble-conversion-string-to-double.cpp786 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
795 float StringToDoubleConverter::StringToFloat( in StringToFloat() function in double_conversion::StringToDoubleConverter
818 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
836 return StringToFloat(buffer, length, processed_characters_count); in StringTo()
/aosp_15_r20/external/pdfium/fxjs/
H A Dcjs_publicmethods.cpp942 int nDay = StringToFloat(wsArray[2].AsStringView()); in ParseDateAsGMT()
943 int nHour = StringToFloat(wsArray[3].AsStringView()); in ParseDateAsGMT()
944 int nMin = StringToFloat(wsArray[4].AsStringView()); in ParseDateAsGMT()
945 int nSec = StringToFloat(wsArray[5].AsStringView()); in ParseDateAsGMT()
946 int nYear = StringToFloat(wsArray[7].AsStringView()); in ParseDateAsGMT()
1336 dTemp = StringToFloat(trimmed.AsStringView()); in AFSimple_Calculate()
1345 dTemp = StringToFloat(trimmed.AsStringView()); in AFSimple_Calculate()
/aosp_15_r20/external/webrtc/modules/video_coding/codecs/test/
H A Dplot_webrtc_test_logs.py230 return StringToFloat(m.group(1))
241 def StringToFloat(value): function
/aosp_15_r20/external/pdfium/core/fpdfapi/page/
H A Dcpdf_psengine.cpp191 m_Operators.push_back(std::make_unique<CPDF_PSOP>(StringToFloat(word))); in AddOperator()
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/
H A Dnumbers.cc351 *value = StringToFloatConverter().StringToFloat( in safe_strtof()
/aosp_15_r20/external/double-conversion/test/cctest/
H A Dtest-conversions.cc4190 converter.StringToFloat(str16, length, processed_characters_count); in StrToF16()
4201 float result = converter.StringToFloat(str, len, in StrToF()
5960 CHECK_EQ(converter.StringToFloat(buffer, length, &processed1), in TEST()
5973 CHECK_EQ(converter.StringToFloat(buffer16, length, &processed1), in TEST()
/aosp_15_r20/prebuilts/checkstyle/
HDcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/puppycrawl/ com/ ...