Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-conversions.cc15 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
16 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
17 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
18 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
19 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
20 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", ALLOW_HEX | ALLOW_OCTALS)); in TEST()
22 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST()
23 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST()
24 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST()
25 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX)); in TEST()
[all …]
/external/v8/src/
Dconversions.h96 double StringToDouble(UnicodeCache* unicode_cache,
100 double StringToDouble(UnicodeCache* unicode_cache,
105 double StringToDouble(UnicodeCache* unicode_cache,
Dconversions.cc674 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
720 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
728 double StringToDouble(UnicodeCache* unicode_cache, in StringToDouble() function
Dscanner.cc563 number_ = StringToDouble(unicode_cache_, in ScanJsonNumber()
Dparser.cc2903 double value = StringToDouble(isolate()->unicode_cache(), in ParsePrimaryExpression()
3402 double value = StringToDouble(isolate()->unicode_cache(), in ParseObjectLiteral()
Druntime.cc4685 StringToDouble(isolate->unicode_cache(), subject, ALLOW_HEX)); in RUNTIME_FUNCTION()
5194 double value = StringToDouble(isolate->unicode_cache(), in RUNTIME_FUNCTION()
/external/chromium/base/
Dstring_number_conversions_unittest.cc384 TEST(StringNumberConversionsTest, StringToDouble) { in TEST() argument
422 EXPECT_EQ(cases[i].success, StringToDouble(cases[i].input, &output)); in TEST()
432 EXPECT_FALSE(StringToDouble(input_string, &output)); in TEST()
Dstring_number_conversions.h92 BASE_API bool StringToDouble(const std::string& input, double* output);
Dstring_number_conversions.cc476 bool StringToDouble(const std::string& input, double* output) { in StringToDouble() function
/external/chromium/chrome/browser/
Dcrash_upload_list.cc79 if (!base::StringToDouble(components[0], &seconds_since_epoch)) in ParseLogEntries()
/external/chromium/net/url_request/
Durl_request_throttler_entry.cc230 bool conversion_is_ok = base::StringToDouble(header_value, &time_in_sec); in HandleCustomRetryAfter()
/external/chromium/chrome/browser/web_resource/
Dweb_resource_service.cc270 base::StringToDouble(last_update_pref, &last_update_value); in StartAfterDelay()
/external/chromium/chrome/browser/chromeos/
Dboot_times_loader.cc119 return base::StringToDouble(value_string, value); in GetTime()
/external/chromium/base/json/
Djson_reader.cc397 if (StringToDouble(WideToUTF8(num_string), &num_double) && in DecodeNumber()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_util.cc297 base::StringToDouble(l10n_util::GetStringUTF8(width_chars), &chars); in GetWidgetSizeFromResources()
301 base::StringToDouble(l10n_util::GetStringUTF8(height_lines), &lines); in GetWidgetSizeFromResources()
/external/chromium/chrome/browser/prefs/
Dpref_service.cc61 base::StringToDouble(resource_string, &val); in CreateLocaleDefaultValue()
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_gtk.cc401 if (base::StringToDouble(scroll_pixels_option, &v)) in GetScrollPixelsPerTick()