Home
last modified time | relevance | path

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

12345

/external/chromium_org/base/strings/
Dstring_number_conversions.h73 BASE_EXPORT bool StringToInt64(const StringPiece& input, int64* output);
74 BASE_EXPORT bool StringToInt64(const StringPiece16& input, int64* output);
Dstring_number_conversions_unittest.cc230 TEST(StringNumberConversionsTest, StringToInt64) { in TEST() argument
271 EXPECT_EQ(cases[i].success, StringToInt64(cases[i].input, &output)); in TEST()
276 EXPECT_EQ(cases[i].success, StringToInt64(utf16_input, &output)); in TEST()
286 EXPECT_FALSE(StringToInt64(input_string, &output)); in TEST()
291 EXPECT_FALSE(StringToInt64(utf16_input, &output)); in TEST()
/external/chromium_org/google_apis/drive/
Dtest_util.cc144 if (!base::StringToInt64(parts[1], length)) in ParseContentRangeHeader()
152 return (base::StringToInt64(parts[0], start_position) && in ParseContentRangeHeader()
153 base::StringToInt64(parts[1], end_position)); in ParseContentRangeHeader()
Ddrive_api_parser.cc229 &base::StringToInt64); in RegisterJSONConverter()
232 &base::StringToInt64); in RegisterJSONConverter()
235 &base::StringToInt64); in RegisterJSONConverter()
461 &base::StringToInt64); in RegisterJSONConverter()
557 &base::StringToInt64); in RegisterJSONConverter()
602 &base::StringToInt64); in RegisterJSONConverter()
Dgdata_wapi_parser.cc371 base::StringToInt64(string_value, result)) in ParseChangestamp()
402 kSizeField, &ResourceEntry::file_size_, &base::StringToInt64); in RegisterJSONConverter()
506 &base::StringToInt64); in RegisterJSONConverter()
/external/chromium_org/components/bookmarks/browser/
Dbookmark_codec.cc230 !base::StringToInt64(sync_transaction_version_str, in DecodeHelper()
279 !base::StringToInt64(id_string, &id) || in DecodeNode()
296 base::StringToInt64(date_added_string, &internal_time); in DecodeNode()
341 base::StringToInt64(last_modified_date, &internal_time); in DecodeNode()
366 !base::StringToInt64(sync_transaction_version_str, in DecodeNode()
415 base::StringToInt64(it->second, sync_transaction_version); in DecodeMetaInfo()
Dbookmark_expanded_state_tracker.cc51 if ((*i)->GetAsString(&value) && base::StringToInt64(value, &node_id) && in GetExpandedNodes()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dmetadata_database_index_on_disk.cc409 if (!base::StringToInt64(value, &root_id)) { in GetAppRootTracker()
443 if (!base::StringToInt64(title_and_id.substr(pos + 1), &tracker_id)) in GetFileTrackerIDsByParent()
480 return base::StringToInt64(value.substr(0, pos), &parent_id) ? in PickMultiBackingFilePath()
495 if (!base::StringToInt64(id_str, &tracker_id)) in PickDirtyTracker()
549 if (!base::StringToInt64(id_str, &tracker_id)) in PromoteDemotedDirtyTrackers()
646 if (!base::StringToInt64(id_str, &tracker_id)) in GetAllTrackerIDs()
723 base::StringToInt64(value, &last_check_time); in MetadataDatabaseIndexOnDisk()
870 if (!base::StringToInt64(id_str, &tracker_id)) in AddToPathIndexes()
1053 if (!base::StringToInt64(id_str, &tracker_id)) in GetTrackerIDSetByPrefix()
1062 if (status.ok() && base::StringToInt64(value, &active_tracker)) { in GetTrackerIDSetByPrefix()
[all …]
/external/chromium_org/net/ftp/
Dftp_directory_listing_parser_vms.cc68 if (base::StringToInt64(input, size)) { in ParseVmsFilesize()
81 if (!base::StringToInt64(parts[0], &blocks_used)) in ParseVmsFilesize()
83 if (!base::StringToInt64(parts[1], &blocks_allocated)) in ParseVmsFilesize()
Dftp_directory_listing_parser_ls.cc149 if (!base::StringToInt64(columns[1], &total_number)) in ParseFtpDirectoryListingLs()
187 if (!base::StringToInt64(size, &entry.size)) { in ParseFtpDirectoryListingLs()
Dftp_directory_listing_parser_windows.cc45 if (!base::StringToInt64(columns[2], &entry.size)) in ParseFtpDirectoryListingWindows()
Dftp_directory_listing_parser_os2.cc41 if (!base::StringToInt64(columns[0], &entry.size)) in ParseFtpDirectoryListingOS2()
Dftp_directory_listing_parser_netware.cc75 if (!base::StringToInt64(columns[3], &entry.size)) in ParseFtpDirectoryListingNetware()
/external/chromium_org/content/child/
Dmultipart_response_delegate.cc393 if (!base::StringToInt64(byte_range_lower_bound, content_range_lower_bound)) in ReadContentRanges()
395 if (!base::StringToInt64(byte_range_upper_bound, content_range_upper_bound)) in ReadContentRanges()
397 if (!base::StringToInt64(byte_range_instance_size, in ReadContentRanges()
/external/chromium_org/storage/browser/fileapi/
Dsandbox_directory_database.cc210 !base::StringToInt64(itr->value().ToString(), &last_file_id_)) in ScanDatabase()
219 !base::StringToInt64(itr->value().ToString(), &last_integer_)) in ScanDatabase()
230 if (!base::StringToInt64(key, &file_id) || file_id < 0) in ScanDatabase()
437 if (!base::StringToInt64(child_id_string, child_id)) { in GetChildWithName()
480 if (!base::StringToInt64(child_id_string, &child_id)) { in ListChildren()
679 if (!base::StringToInt64(int_string, &temp)) { in GetNextInteger()
867 if (!base::StringToInt64(id_string, file_id)) { in GetLastFileId()
/external/chromium_org/base/
Dvalue_conversions.cc42 if (!value.GetAsString(&str) || !base::StringToInt64(str, &int_value)) in GetValueAsTimeDelta()
/external/chromium_org/chrome/browser/ssl/
Dchrome_ssl_host_state_delegate.cc88 if (!base::StringToInt64(base::StringPiece(switch_value), in GetExpirationDelta()
111 if (!param.empty() && base::StringToInt64(base::StringPiece(param), in GetExpirationDelta()
190 if (!base::StringToInt64(base::StringPiece(decision_expiration_string), in GetValidCertDecisionsDict()
/external/chromium_org/chrome/browser/services/gcm/
Dpush_messaging_application_id.cc33 if (!base::StringToInt64(parts[2], &service_worker_registration_id)) in Parse()
/external/chromium_org/net/quic/crypto/
Dsource_address_token.cc57 if (!base::StringToInt64(time_str, &timestamp)) { in ParseFromArray()
/external/chromium_org/chrome/browser/extensions/
Ddisplay_info_provider_chromeos_unittest.cc78 ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) in TEST_F()
91 ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id)) in TEST_F()
117 ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) in TEST_F()
195 ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id)) in TEST_F()
218 ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id)) in TEST_F()
245 ASSERT_TRUE(base::StringToInt64(result[0]->id, &display_id_primary)) in TEST_F()
251 ASSERT_TRUE(base::StringToInt64(result[1]->id, &display_id_secondary)) in TEST_F()
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences.cc127 if (!base::StringToInt64(ids[0], &id1) || in LoadDisplayLayouts()
128 !base::StringToInt64(ids[1], &id2) || in LoadDisplayLayouts()
148 if (!base::StringToInt64(it.key(), &id) || in LoadDisplayProperties()
/external/chromium_org/components/search_engines/
Ddefault_search_manager.cc322 base::StringToInt64(id, &prefs_default_search_->id); in LoadDefaultSearchEngineFromPrefs()
357 if (base::StringToInt64(date_created_str, &date_created)) { in LoadDefaultSearchEngineFromPrefs()
363 if (base::StringToInt64(date_created_str, &last_modified)) { in LoadDefaultSearchEngineFromPrefs()
/external/chromium_org/components/invalidation/
Dack_handle.cc50 if (!base::StringToInt64(timestamp_as_string, &timestamp_value)) in ResetFromValue()
/external/chromium_org/extensions/renderer/
Dapp_runtime_custom_bindings.cc49 DCHECK(base::StringToInt64(blob_length_string, &blob_length)); in CreateBlob()
/external/chromium_org/media/blink/
Dcache_util.cc66 base::StringToInt64( in GetReasonsForUncacheability()

12345