/external/chromium/base/ |
D | string_number_conversions.h | 61 BASE_API bool StringToInt(const std::string& input, int* output); 62 BASE_API bool StringToInt(std::string::const_iterator begin, 65 BASE_API bool StringToInt(const char* begin, const char* end, int* output); 67 BASE_API bool StringToInt(const string16& input, int* output); 68 BASE_API bool StringToInt(string16::const_iterator begin, 71 BASE_API bool StringToInt(const char16* begin, const char16* end, int* output);
|
D | string_number_conversions_unittest.cc | 75 TEST(StringNumberConversionsTest, StringToInt) { in TEST() argument 110 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input, &output)); in TEST() 113 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input.begin(), in TEST() 118 EXPECT_EQ(cases[i].success, StringToInt( in TEST() 125 EXPECT_EQ(cases[i].success, StringToInt(utf16_input, &output)); in TEST() 128 EXPECT_EQ(cases[i].success, StringToInt(utf16_input.begin(), in TEST() 133 EXPECT_EQ(cases[i].success, StringToInt( in TEST() 144 EXPECT_FALSE(StringToInt(input_string, &output)); in TEST() 147 EXPECT_FALSE(StringToInt(input_string.begin(), input_string.end(), &output)); in TEST() 150 EXPECT_FALSE(StringToInt(input, input + arraysize(input), &output)); in TEST() [all …]
|
D | process_util_linux.cc | 132 base::StringToInt(tokenizer.token(), &ppid); in GetParentProcessId() 202 if (StringToInt(pid_string, &pid) && !GetProcCmdline(pid, &cmd_line_args)) in CheckForNextProcess() 275 base::StringToInt(proc_stats[kVmSize], &vm_size); in GetPagefileUsage() 289 if (base::StringToInt(proc_stats[kVmPeak], &vm_peak)) in GetPeakPagefileUsage() 303 if (base::StringToInt(proc_stats[kVmRss], &num_pages)) in GetWorkingSetSize() 317 base::StringToInt(proc_stats[kVmHwm], &num_pages); in GetPeakWorkingSetSize() 378 base::StringToInt(tokenizer.token(), &cur); in GetWorkingSetKBytes() 383 base::StringToInt(tokenizer.token(), &cur); in GetWorkingSetKBytes() 413 base::StringToInt(statm_vec[1], &statm1); in GetWorkingSetKBytes() 414 base::StringToInt(statm_vec[2], &statm2); in GetWorkingSetKBytes() [all …]
|
D | sys_info_chromeos.cc | 102 StringToInt(tokenizer.token_begin(), in ParseLsbRelease() 107 StringToInt(tokenizer.token_begin(), in ParseLsbRelease() 111 StringToInt(tokenizer.token_begin(), in ParseLsbRelease()
|
D | string_number_conversions.cc | 391 bool StringToInt(const std::string& input, int* output) { in StringToInt() function 398 bool StringToInt(std::string::const_iterator begin, in StringToInt() function 407 bool StringToInt(const char* begin, const char* end, int* output) { in StringToInt() function 413 bool StringToInt(const string16& input, int* output) { in StringToInt() function 419 bool StringToInt(string16::const_iterator begin, in StringToInt() function 428 bool StringToInt(const char16* begin, const char16* end, int* output) { in StringToInt() function
|
D | vlog.cc | 52 if (base::StringToInt(v_switch, &vlog_level)) { in VlogInfo() 68 if (!base::StringToInt(it->second, &pattern.vlog_level)) { in VlogInfo()
|
/external/chromium/net/ftp/ |
D | ftp_directory_listing_parser_windows.cc | 29 if (!base::StringToInt(date_parts[0], &time_exploded.month)) in WindowsDateListingToTime() 31 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) in WindowsDateListingToTime() 33 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in WindowsDateListingToTime() 51 if (!base::StringToInt(time_parts[0], &time_exploded.hour)) in WindowsDateListingToTime() 53 if (!base::StringToInt(time_parts[1], &time_exploded.minute)) in WindowsDateListingToTime()
|
D | ftp_directory_listing_parser_unittest.cc | 115 base::StringToInt(lines[8 * i + 3], &year); in TEST() 116 base::StringToInt(lines[8 * i + 4], &month); in TEST() 117 base::StringToInt(lines[8 * i + 5], &day_of_month); in TEST() 118 base::StringToInt(lines[8 * i + 6], &hour); in TEST() 119 base::StringToInt(lines[8 * i + 7], &minute); in TEST()
|
D | ftp_util.cc | 167 if (!base::StringToInt(day, &time_exploded.day_of_month)) in LsDateListingToTime() 172 if (!base::StringToInt(rest, &time_exploded.year)) { in LsDateListingToTime() 175 if (!base::StringToInt(rest.begin(), in LsDateListingToTime() 180 if (!base::StringToInt(rest.begin() + 3, in LsDateListingToTime() 186 if (!base::StringToInt(rest.begin(), in LsDateListingToTime() 191 if (!base::StringToInt(rest.begin() + 2, in LsDateListingToTime()
|
D | ftp_directory_listing_parser_vms.cc | 32 if (!base::StringToInt(listing_parts[1], &version_number)) in ParseVmsFilename() 149 if (!base::StringToInt(date_parts[0], &time_exploded.day_of_month)) in VmsDateListingToTime() 154 if (!base::StringToInt(date_parts[2], &time_exploded.year)) in VmsDateListingToTime() 170 if (!base::StringToInt(time_parts[0], &time_exploded.hour)) in VmsDateListingToTime() 172 if (!base::StringToInt(time_parts[1], &time_exploded.minute)) in VmsDateListingToTime()
|
/external/chromium/chrome/browser/autofill/ |
D | credit_card.cc | 62 if (!base::StringToInt(number.substr(0, 4), &first_four_digits)) in GetCreditCardType() 124 bool converted = base::StringToInt(date, num); in ConvertDate() 313 converted = base::StringToInt(year_month[0], &num); in SetInfoForMonthInputType() 316 converted = base::StringToInt(year_month[1], &num); in SetInfoForMonthInputType() 508 if (!base::StringToInt(text, &month)) in IsExpirationMonth() 516 if (!base::StringToInt(text, &year)) in Is2DigitExpirationYear() 524 if (!base::StringToInt(text, &year)) in Is4DigitExpirationYear()
|
/external/chromium/chrome/browser/ |
D | autocomplete_history_manager.cc | 48 if (!base::StringToInt(number_string.begin(), in IsSSN() 59 if (!base::StringToInt(number_string.begin() + 3, in IsSSN() 65 if (!base::StringToInt(number_string.begin() + 5, in IsSSN()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | filter_false_positive_perftest.cc | 245 base::StringToInt(url.begin() + pos + 1, url.end(), &weight); in CalculateBloomFilterFalsePositives() 301 ASSERT_TRUE(base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterStart), in TEST() 307 ASSERT_TRUE(base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterSteps), in TEST() 330 base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterNumChecks), in TEST()
|
/external/chromium/chrome/browser/debugger/ |
D | debugger_remote_service.cc | 89 base::StringToInt(destination, &tab_uid); in HandleMessage() 198 base::StringToInt(destination, &tab_uid); in AttachToTab() 242 base::StringToInt(destination, &tab_uid); in DetachFromTab()
|
/external/chromium/chrome/browser/first_run/ |
D | first_run_win.cc | 275 if (!base::StringToInt(parts[0], importer_type)) in DecodeImportParams() 278 if (!base::StringToInt(parts[1], options)) in DecodeImportParams() 281 if (!base::StringToInt(parts[2], skip_first_run_ui)) in DecodeImportParams()
|
/external/chromium/webkit/glue/ |
D | multipart_response_delegate.cc | 393 if (!base::StringToInt(byte_range_lower_bound, content_range_lower_bound)) in ReadContentRanges() 395 if (!base::StringToInt(byte_range_upper_bound, content_range_upper_bound)) in ReadContentRanges() 397 if (!base::StringToInt(byte_range_instance_size, content_range_instance_size)) in ReadContentRanges()
|
/external/v8/src/ |
D | v8conversions.h | 56 double StringToInt(UnicodeCache* unicode_cache, String* str, int radix);
|
/external/chromium/chrome/browser/extensions/ |
D | extension_devtools_events.cc | 33 if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) { in IsDevToolsEventName()
|
/external/chromium/chrome/browser/search_engines/ |
D | template_url_parser.cc | 313 base::StringToInt(XMLCharToString(value), &index_offset); in ParseURL() 316 base::StringToInt(XMLCharToString(value), &page_offset); in ParseURL() 350 base::StringToInt(XMLCharToString(value), &width); in ParseImage() 352 base::StringToInt(XMLCharToString(value), &height); in ParseImage()
|
/external/chromium/chrome/browser/ui/webui/ |
D | foreign_session_handler.cc | 151 !base::StringToInt(window_num_str, &window_num))) { in HandleOpenForeignSession() 160 !base::StringToInt(tab_id_str, &tab_id))) { in HandleOpenForeignSession()
|
/external/chromium/base/test/ |
D | test_timeouts.cc | 24 base::StringToInt(string_value, &timeout); in InitializeTimeout()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | password_manager_handler.cc | 130 base::StringToInt(string_value, &index); in RemoveSavedPassword() 138 base::StringToInt(string_value, &index); in RemovePasswordException()
|
D | browser_options_handler.cc | 153 CHECK(base::StringToInt(do_fixup_string, &do_fixup)); in SetHomePage() 365 base::StringToInt(string_value, &selected_index); in RemoveStartupPages() 394 CHECK(base::StringToInt(index_string, &index)); in EditStartupPage()
|
/external/chromium/chrome/browser/web_resource/ |
D | promo_resource_service.cc | 219 base::StringToInt(promo_build.substr(0, split), in UnpackPromoSignal() 221 base::StringToInt(promo_build.substr(split+1), in UnpackPromoSignal() 315 !base::StringToInt(name.substr(split+1), &target_builds)) in UnpackWebStoreSignal()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | default_user_images.cc | 51 if (base::StringToInt(s.begin() + prefix.length(), in IsDefaultImageString()
|