Home
last modified time | relevance | path

Searched refs:StringToDouble (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/v8/test/cctest/
Dtest-conversions.cc40 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
41 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
42 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
43 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
44 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", in TEST()
46 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", in TEST()
49 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST()
50 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST()
51 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST()
52 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST()
[all …]
/external/chromium_org/v8/src/
Dconversions.h106 double StringToDouble(UnicodeCache* unicode_cache,
110 double StringToDouble(UnicodeCache* unicode_cache,
115 double StringToDouble(UnicodeCache* unicode_cache,
190 double StringToDouble(UnicodeCache* unicode_cache,
Dconversions.cc70 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
81 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
94 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
486 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
494 return StringToDouble( in StringToDouble()
497 return StringToDouble( in StringToDouble()
Djson-parser.h528 number = StringToDouble(isolate()->unicode_cache(), in ParseJsonNumber()
537 number = StringToDouble(isolate()->unicode_cache(), in ParseJsonNumber()
/external/chromium_org/ui/base/l10n/
Dl10n_font_util.cc18 base::StringToDouble(l10n_util::GetStringUTF8(col_resource_id), &chars); in GetLocalizedContentsWidthForFont()
27 base::StringToDouble(l10n_util::GetStringUTF8(row_resource_id), &lines); in GetLocalizedContentsHeightForFont()
/external/chromium_org/content/renderer/media/
Dmedia_stream_constraints_util.cc90 return base::StringToDouble(value_str.utf8(), value); in GetMandatoryConstraintValueAsDouble()
129 return base::StringToDouble(value_str.utf8(), value); in GetOptionalConstraintValueAsDouble()
Dmedia_stream_video_source.cc156 return base::StringToDouble(constraint_value, &value); in UpdateFormatForConstraint()
160 if (!base::StringToDouble(constraint_value, &value)) { in UpdateFormatForConstraint()
/external/chromium_org/content/browser/webui/
Dweb_ui_message_handler.cc32 return base::StringToDouble(string_value, out_value); in ExtractDoubleValue()
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Ddouble-conversion.h367 …static double StringToDouble(const char* buffer, size_t length, size_t* processed_characters_count…
/external/chromium_org/chrome/browser/performance_monitor/
Ddatabase.cc50 double StringToDouble(const std::string& s) { in StringToDouble() function
52 if (!base::StringToDouble(s, &value)) in StringToDouble()
251 if ((has_key && StringToDouble(value) > max_value_map_[max_value_key]) || in UpdateMaxValue()
253 max_value_map_[max_value_key] = StringToDouble(value); in UpdateMaxValue()
568 StringToDouble(it->value().ToString()); in LoadMaxValues()
Dmetric.cc84 CHECK(base::StringToDouble(metric_value, &value)); in Metric()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dmobile_device.cc74 if (!base::StringToDouble(metrics_vector[2], &device_scale_factor)) { in FindMobileDevice()
/external/chromium_org/third_party/WebKit/Source/wtf/
Ddtoa.h59 …return double_conversion::StringToDoubleConverter::StringToDouble(reinterpret_cast<const char*>(st… in parseDouble()
/external/chromium_org/base/strings/
Dstring_number_conversions.h85 BASE_EXPORT bool StringToDouble(const std::string& input, double* output);
Dstring_number_conversions_unittest.cc680 TEST(StringNumberConversionsTest, StringToDouble) { in TEST() argument
719 EXPECT_EQ(cases[i].success, StringToDouble(cases[i].input, &output)); in TEST()
731 EXPECT_FALSE(StringToDouble(input_string, &output)); in TEST()
/external/chromium_org/chrome/browser/ui/app_list/search/people/
Dperson.cc80 !base::StringToDouble( in Create()
/external/chromium_org/chrome/browser/web_resource/
Dweb_resource_service.cc81 base::StringToDouble(last_update_pref, &last_update_value); in OnResourceRequestsAllowed()
/external/chromium_org/chrome/browser/
Dupload_list.cc87 if (!base::StringToDouble(components[0], &seconds_since_epoch)) in ParseLogEntries()
/external/chromium_org/chrome/browser/ui/webui/media/
Dwebrtc_logs_ui.cc169 if (base::StringToDouble(i->local_id, &seconds_since_epoch)) { in UpdateUI()
/external/chromium_org/ui/gfx/
Ddisplay.cc32 if (!base::StringToDouble(value, &scale_in_double)) in GetForcedDeviceScaleFactorImpl()
/external/chromium_org/ui/base/webui/
Dweb_ui_util.cc94 if (!base::StringToDouble(stripped, &scale)) { in ParseScaleFactor()
/external/chromium_org/content/renderer/gpu/
Drender_widget_compositor.cc171 if (base::StringToDouble(controls_height_str, &controls_height) && in Create()
187 if (base::StringToDouble(top_threshold_str, &show_threshold) && in Create()
196 if (base::StringToDouble(top_threshold_str, &hide_threshold) && in Create()
/external/chromium_org/base/
Dsys_info_chromeos.cc66 if (StringToDouble(lsb_release_time_str, &us)) in Parse()
/external/chromium_org/components/pref_registry/
Dpref_registry_syncable.cc42 base::StringToDouble(resource_string, &val); in CreateLocaleDefaultValue()
/external/chromium_org/ash/display/
Ddisplay_info.cc76 if (base::StringToDouble(parts[1], &scale_in_double)) in CreateFromSpecWithID()

12