/external/v8/test/cctest/ |
D | test-conversions.cc | 15 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/ |
D | conversions.h | 96 double StringToDouble(UnicodeCache* unicode_cache, 100 double StringToDouble(UnicodeCache* unicode_cache, 105 double StringToDouble(UnicodeCache* unicode_cache,
|
D | conversions.cc | 674 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
|
D | scanner.cc | 563 number_ = StringToDouble(unicode_cache_, in ScanJsonNumber()
|
D | parser.cc | 2903 double value = StringToDouble(isolate()->unicode_cache(), in ParsePrimaryExpression() 3402 double value = StringToDouble(isolate()->unicode_cache(), in ParseObjectLiteral()
|
D | runtime.cc | 4685 StringToDouble(isolate->unicode_cache(), subject, ALLOW_HEX)); in RUNTIME_FUNCTION() 5194 double value = StringToDouble(isolate->unicode_cache(), in RUNTIME_FUNCTION()
|
/external/chromium/base/ |
D | string_number_conversions_unittest.cc | 384 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()
|
D | string_number_conversions.h | 92 BASE_API bool StringToDouble(const std::string& input, double* output);
|
D | string_number_conversions.cc | 476 bool StringToDouble(const std::string& input, double* output) { in StringToDouble() function
|
/external/chromium/chrome/browser/ |
D | crash_upload_list.cc | 79 if (!base::StringToDouble(components[0], &seconds_since_epoch)) in ParseLogEntries()
|
/external/chromium/net/url_request/ |
D | url_request_throttler_entry.cc | 230 bool conversion_is_ok = base::StringToDouble(header_value, &time_in_sec); in HandleCustomRetryAfter()
|
/external/chromium/chrome/browser/web_resource/ |
D | web_resource_service.cc | 270 base::StringToDouble(last_update_pref, &last_update_value); in StartAfterDelay()
|
/external/chromium/chrome/browser/chromeos/ |
D | boot_times_loader.cc | 119 return base::StringToDouble(value_string, value); in GetTime()
|
/external/chromium/base/json/ |
D | json_reader.cc | 397 if (StringToDouble(WideToUTF8(num_string), &num_double) && in DecodeNumber()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | gtk_util.cc | 297 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/ |
D | pref_service.cc | 61 base::StringToDouble(resource_string, &val); in CreateLocaleDefaultValue()
|
/external/chromium/chrome/browser/renderer_host/ |
D | render_widget_host_view_gtk.cc | 401 if (base::StringToDouble(scroll_pixels_option, &v)) in GetScrollPixelsPerTick()
|