/external/chromium_org/chrome/installer/util/ |
compat_checks.cc | 32 if (!base::StringToInt(v[0], v0)) 34 if (!base::StringToInt(v[1], v1)) 36 if (!base::StringToInt(v[2], v2))
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table_unittest.cc | 43 ASSERT_TRUE(table.StringToInt(&db_, "abc", &id)); 60 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); 61 ASSERT_TRUE(table.StringToInt(&db_, "string2", &id2)); 65 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1a)); 76 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); 81 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id2)); 92 ASSERT_TRUE(table.StringToInt(&db_, "modified", &id1)); 98 ASSERT_TRUE(table.StringToInt(&db_, "modified", &id2)); 104 ASSERT_TRUE(table.StringToInt(&db_, "modified", &id3)); 121 ASSERT_TRUE(table.StringToInt(&db_, "abc", &id)) [all...] |
database_string_table.h | 44 bool StringToInt(sql::Connection* connection,
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_windows.cc | 29 if (!base::StringToInt(date_parts[0], &time_exploded.month)) 31 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) 33 if (!base::StringToInt(date_parts[2], &time_exploded.year)) 51 if (!base::StringToInt(time_parts[0], &time_exploded.hour)) 53 if (!base::StringToInt(time_parts[1], &time_exploded.minute))
|
ftp_directory_listing_parser_unittest.cc | 115 base::StringToInt(lines[8 * i + 3], &year); 116 base::StringToInt(lines[8 * i + 4], &month); 117 base::StringToInt(lines[8 * i + 5], &day_of_month); 118 base::StringToInt(lines[8 * i + 6], &hour); 119 base::StringToInt(lines[8 * i + 7], &minute);
|
/external/chromium_org/chrome/browser/google_apis/ |
time_util.cc | 31 if (!base::StringToInt(parts[0], &hour)) 35 if (num_of_token > 1 && !base::StringToInt(parts[1], &minute)) 95 if (!base::StringToInt(parts[0], &exploded.year) || 96 !base::StringToInt(parts[1], &exploded.month) || 97 !base::StringToInt(parts[2], &exploded.day_of_month)) { 109 if (!base::StringToInt(parts[0], &exploded.hour) || 110 !base::StringToInt(parts[1], &exploded.minute)) { 119 if (!base::StringToInt(seconds_parts[0], &exploded.second)) 125 !base::StringToInt(seconds_parts[1], &exploded.millisecond)) {
|
/external/chromium/base/ |
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); 104 // Best effort conversion, see StringToInt above for restrictions.
|
sys_info_chromeos.cc | 102 StringToInt(tokenizer.token_begin(), 107 StringToInt(tokenizer.token_begin(), 111 StringToInt(tokenizer.token_begin(),
|
string_number_conversions_unittest.cc | 75 TEST(StringNumberConversionsTest, StringToInt) { 110 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input, &output)); 113 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input.begin(), 118 EXPECT_EQ(cases[i].success, StringToInt( 125 EXPECT_EQ(cases[i].success, StringToInt(utf16_input, &output)); 128 EXPECT_EQ(cases[i].success, StringToInt(utf16_input.begin(), 133 EXPECT_EQ(cases[i].success, StringToInt( 144 EXPECT_FALSE(StringToInt(input_string, &output)); 147 EXPECT_FALSE(StringToInt(input_string.begin(), input_string.end(), &output)); 150 EXPECT_FALSE(StringToInt(input, input + arraysize(input), &output)) [all...] |
process_util_linux.cc | 132 base::StringToInt(tokenizer.token(), &ppid); 202 if (StringToInt(pid_string, &pid) && !GetProcCmdline(pid, &cmd_line_args)) 275 base::StringToInt(proc_stats[kVmSize], &vm_size); 289 if (base::StringToInt(proc_stats[kVmPeak], &vm_peak)) 303 if (base::StringToInt(proc_stats[kVmRss], &num_pages)) 317 base::StringToInt(proc_stats[kVmHwm], &num_pages); 378 base::StringToInt(tokenizer.token(), &cur); 383 base::StringToInt(tokenizer.token(), &cur); 413 base::StringToInt(statm_vec[1], &statm1); 414 base::StringToInt(statm_vec[2], &statm2) [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
web_contents_capture_util.cc | 55 return (base::StringToInt(component1, render_process_id) && 56 base::StringToInt(component2, render_view_id));
|
/external/chromium_org/media/audio/ |
audio_util.cc | 35 if (base::StringToInt(buffer_size_str, &buffer_size) && buffer_size > 0) 84 if (base::StringToInt(buffers_str, &buffers) && buffers > 0) {
|
/external/chromium_org/ppapi/proxy/ |
ppp_messaging_proxy_perftest.cc | 63 base::StringToInt(command_line->GetSwitchValueASCII("seed"), 67 base::StringToInt(command_line->GetSwitchValueASCII("string_count"), 71 base::StringToInt(command_line->GetSwitchValueASCII("max_string_size"),
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.cc | 76 base::StringToInt(lines[9 * i + 3], &year); 77 base::StringToInt(lines[9 * i + 4], &month); 78 base::StringToInt(lines[9 * i + 5], &day_of_month); 79 base::StringToInt(lines[9 * i + 6], &hour); 80 base::StringToInt(lines[9 * i + 7], &minute);
|
ftp_util.cc | 242 if (!base::StringToInt(day, &time_exploded.day_of_month)) 247 if (!base::StringToInt(rest, &time_exploded.year)) { 250 if (!base::StringToInt(StringPiece16(rest.begin(), rest.begin() + 2), 255 if (!base::StringToInt(StringPiece16(rest.begin() + 3, rest.begin() + 5), 261 if (!base::StringToInt(StringPiece16(rest.begin(), rest.begin() + 1), 266 if (!base::StringToInt(StringPiece16(rest.begin() + 2, rest.begin() + 4), 305 if (!base::StringToInt(date_parts[0], &time_exploded.month)) 307 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) 309 if (!base::StringToInt(date_parts[2], &time_exploded.year)) 328 if (!base::StringToInt(time_parts[0], &time_exploded.hour) [all...] |
ftp_directory_listing_parser_ls.cc | 29 if (!base::StringToInt(date_parts[0], &time_exploded.year)) 31 if (!base::StringToInt(date_parts[1], &time_exploded.month)) 33 if (!base::StringToInt(date_parts[2], &time_exploded.day_of_month)) 44 if (!base::StringToInt(time_parts[0], &time_exploded.hour)) 46 if (!base::StringToInt(time_parts[1], &time_exploded.minute))
|
/external/chromium/chrome/browser/extensions/ |
extension_devtools_events.cc | 33 if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) {
|
/external/chromium_org/content/browser/webui/ |
web_ui_message_handler.cc | 18 return base::StringToInt(string_value, out_int);
|
/external/chromium_org/net/tools/quic/ |
quic_server_bin.cc | 30 if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) {
|
/external/v8/src/ |
v8conversions.h | 56 double StringToInt(UnicodeCache* unicode_cache, String* str, int radix);
|
/external/chromium_org/base/process/ |
process_metrics_linux.cc | 302 ret &= StringToInt(totmaps_fields[kPssIndex], &pss); 303 ret &= StringToInt(totmaps_fields[kPrivate_CleanIndex], &private_clean); 304 ret &= StringToInt(totmaps_fields[kPrivate_DirtyIndex], &private_dirty); 305 ret &= StringToInt(totmaps_fields[kSwapIndex], &swap); 348 ret &= StringToInt(statm_vec[1], &statm_rss); 349 ret &= StringToInt(statm_vec[2], &statm_shared); 448 StringToInt(meminfo_fields[kMemTotalIndex], &meminfo->total); 449 StringToInt(meminfo_fields[kMemFreeIndex], &meminfo->free); 450 StringToInt(meminfo_fields[kMemBuffersIndex], &meminfo->buffers); 451 StringToInt(meminfo_fields[kMemCachedIndex], &meminfo->cached) [all...] |
/external/chromium_org/tools/android/forwarder2/ |
command.cc | 62 if (!StringToInt(port_str, port_out)) { 71 if (!StringToInt(command_type_str, &command_type)) {
|
/external/chromium_org/components/autofill/core/browser/ |
validation.cc | 37 if (!base::StringToInt(year_cleaned, &cc_year)) 41 if (!base::StringToInt(month_cleaned, &cc_month)) 190 if (!base::StringToInt(StringPiece16(number_string.begin(), 202 if (!base::StringToInt(StringPiece16(number_string.begin() + 3, 210 if (!base::StringToInt(StringPiece16(number_string.begin() + 5,
|
/external/chromium_org/base/ |
sys_info_chromeos.cc | 98 StringToInt(StringPiece(tokenizer.token_begin(), 103 StringToInt(StringPiece(tokenizer.token_begin(), 107 StringToInt(StringPiece(tokenizer.token_begin(),
|
/external/chromium_org/chrome/test/base/ |
chrome_process_util_mac.cc | 52 base::StringToInt(values[0], &pid); 54 base::StringToInt(values[1], &proc_info.rsz_in_kb); 55 base::StringToInt(values[2], &proc_info.vsz_in_kb);
|