Home
last modified time | relevance | path

Searched refs:StringToInt64 (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium/base/
Dstring_number_conversions.h73 BASE_API bool StringToInt64(const std::string& input, int64* output);
74 BASE_API bool StringToInt64(std::string::const_iterator begin,
77 BASE_API bool StringToInt64(const char* begin, const char* end, int64* output);
79 BASE_API bool StringToInt64(const string16& input, int64* output);
80 BASE_API bool StringToInt64(string16::const_iterator begin,
83 BASE_API bool StringToInt64(const char16* begin, const char16* end,
Dstring_number_conversions_unittest.cc173 TEST(StringNumberConversionsTest, StringToInt64) { in TEST() argument
215 EXPECT_EQ(cases[i].success, StringToInt64(cases[i].input, &output)); in TEST()
218 EXPECT_EQ(cases[i].success, StringToInt64(cases[i].input.begin(), in TEST()
223 EXPECT_EQ(cases[i].success, StringToInt64( in TEST()
230 EXPECT_EQ(cases[i].success, StringToInt64(utf16_input, &output)); in TEST()
233 EXPECT_EQ(cases[i].success, StringToInt64(utf16_input.begin(), in TEST()
238 EXPECT_EQ(cases[i].success, StringToInt64( in TEST()
249 EXPECT_FALSE(StringToInt64(input_string, &output)); in TEST()
252 EXPECT_FALSE(StringToInt64(input_string.begin(), in TEST()
257 EXPECT_FALSE(StringToInt64(input, input + arraysize(input), &output)); in TEST()
[all …]
Dstring_number_conversions.cc434 bool StringToInt64(const std::string& input, int64* output) { in StringToInt64() function
440 bool StringToInt64(std::string::const_iterator begin, in StringToInt64() function
449 bool StringToInt64(const char* begin, const char* end, int64* output) { in StringToInt64() function
455 bool StringToInt64(const string16& input, int64* output) { in StringToInt64() function
461 bool StringToInt64(string16::const_iterator begin, in StringToInt64() function
470 bool StringToInt64(const char16* begin, const char16* end, int64* output) { in StringToInt64() function
Dprocess_util_linux.cc498 base::StringToInt64(tokenizer.token(), in GetIOCounters()
501 base::StringToInt64(tokenizer.token(), in GetIOCounters()
504 base::StringToInt64(tokenizer.token(), in GetIOCounters()
507 base::StringToInt64(tokenizer.token(), in GetIOCounters()
/external/chromium/net/ftp/
Dftp_directory_listing_parser_vms.cc61 if (base::StringToInt64(input, size)) { in ParseVmsFilesize()
72 if (!base::StringToInt64(parts[0], &blocks_used)) in ParseVmsFilesize()
74 if (!base::StringToInt64(parts[1], &blocks_allocated)) in ParseVmsFilesize()
Dftp_directory_listing_parser_netware.cc73 if (!base::StringToInt64(columns[3], &entry.size)) in ParseFtpDirectoryListingNetware()
Dftp_directory_listing_parser_windows.cc104 if (!base::StringToInt64(columns[2], &entry.size)) in ParseFtpDirectoryListingWindows()
Dftp_directory_listing_parser_ls.cc180 if (!base::StringToInt64(columns[column_offset - 3], &entry.size)) { in ParseFtpDirectoryListingLs()
Dftp_directory_listing_parser_unittest.cc110 base::StringToInt64(lines[8 * i + 2], &size); in TEST()
/external/chromium/chrome/browser/extensions/
Dextension_bookmark_manager_api.cc38 if (!base::StringToInt64(id_string, &id)) in GetNodeFromArguments()
61 if (!base::StringToInt64(id_string, &id)) in GetNodesFromArguments()
392 if (!base::StringToInt64(id_string, &id)) { in RunImpl()
446 if (!base::StringToInt64(id_string, &id)) { in RunImpl()
Dextension_bookmarks_module.cc97 if (base::StringToInt64(id_string, id)) in GetBookmarkIdAsInt64()
396 if (base::StringToInt64(id_string, &id)) in ExtractIds()
674 base::StringToInt64(parent_id, &parent_id_int64); in GetBucketsForArgs()
Dextension_prefs.cc586 if (base::StringToInt64(string_value, &value)) { in ReadTime()
1195 if (!base::StringToInt64(fetch_time_string, &fetch_time_value)) in GetIdleInstallInfo()
1365 if (!base::StringToInt64(install_time_str, &install_time_i64)) in GetInstallTime()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_codec.cc198 !base::StringToInt64(id_string, &id) || in DecodeNode()
215 base::StringToInt64(date_added_string, &internal_time); in DecodeNode()
274 base::StringToInt64(last_modified_date, &internal_time); in DecodeNode()
Dbookmark_html_writer.cc222 base::StringToInt64(time_string, &internal_value); in WriteTime()
/external/chromium/net/http/
Dhttp_response_headers.cc1009 base::StringToInt64(value.begin() + kMaxAgePrefixLen, in GetMaxAgeValue()
1027 base::StringToInt64(value, &seconds); in GetAgeValue()
1119 bool ok = base::StringToInt64(content_length_val, &result); in GetContentLength()
1186 bool ok = base::StringToInt64(first_byte_pos_begin, in GetContentRange()
1197 ok &= base::StringToInt64(last_byte_pos_begin, in GetContentRange()
1222 } else if (!base::StringToInt64(instance_length_begin, in GetContentRange()
Dhttp_util.cc248 if (!base::StringToInt64(first_byte_pos, &first_byte_position)) in ParseRangeHeader()
263 if (!base::StringToInt64(last_byte_pos, &last_byte_position)) in ParseRangeHeader()
/external/chromium/chrome/browser/renderer_host/
Dsave_file_resource_handler.cc116 base::StringToInt64(content_length, &content_length_); in set_content_length()
/external/chromium/chrome/common/
Djson_pref_store_unittest.cc151 base::StringToInt64(string_value, &value); in TEST_F()
/external/chromium/chrome/browser/
Dbrowser_shutdown.cc272 base::StringToInt64(shutdown_ms_str, &shutdown_ms); in ReadLastShutdownFile()
/external/chromium/chrome/browser/importer/
Dfirefox2_importer.cc449 base::StringToInt64(value, &time); in ParseFolderNameFromLine()
527 base::StringToInt64(value, &time); in ParseBookmarkFromLine()
Dtoolbar_importer.cc487 if (!base::StringToInt64(buffer, &timestamp)) { in ExtractTimeFromXmlReader()
Dmork_reader.cc532 base::StringToInt64(values[kLastVisitColumn], &date); in AddToHistory()
/external/chromium/chrome/browser/first_run/
Dfirst_run_win.cc285 base::StringToInt64(parts[3], &window_int); in DecodeImportParams()
/external/chromium/net/url_request/
Durl_request_job.cc285 base::StringToInt64(content_length, &expected_content_size_); in NotifyHeadersComplete()
/external/chromium/net/server/
Dhttp_server.cc65 if (!base::StringToInt64(result, &number)) in WebSocketKeyFingerprint()

12