Home
last modified time | relevance | path

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

/external/chromium_org/base/
Drand_util_unittest.cc46 TEST(RandUtilTest, RandBytesAsString) { in TEST() argument
47 std::string random_string = base::RandBytesAsString(1); in TEST()
49 random_string = base::RandBytesAsString(145); in TEST()
Drand_util.h51 BASE_EXPORT std::string RandBytesAsString(size_t length);
Drand_util.cc64 std::string RandBytesAsString(size_t length) { in RandBytesAsString() function
/external/chromium_org/net/spdy/fuzzing/
Dhpack_fuzz_util.cc35 using base::RandBytesAsString;
89 RandBytesAsString(1 + SampleExponential(kNameLengthMean, in NextGeneratedHeaderSet()
97 RandBytesAsString(1 + SampleExponential(kValueLengthMean, in NextGeneratedHeaderSet()
/external/chromium_org/net/spdy/
Dhpack_round_trip_test.cc154 names.push_back(base::RandBytesAsString(1 + SampleExponential(5, 30))); in TEST_F()
160 values.push_back(base::RandBytesAsString( in TEST_F()
/external/chromium_org/components/invalidation/
Dinvalidation_service_util.cc41 base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); in GenerateInvalidatorClientId()
/external/chromium_org/content/test/
Dfileapi_test_file_set.cc52 std::string content = base::RandBytesAsString(test_case.data_file_size); in SetUpOneFileSystemTestCase()
/external/chromium_org/chrome/browser/media/
Dmedia_device_id_salt.cc19 base::Base64Encode(base::RandBytesAsString(16), &salt); in CreateSalt()
/external/chromium_org/components/nacl/browser/
Dnacl_validation_cache.cc75 validation_cache_key_ = base::RandBytesAsString(kValidationCacheKeySize); in Reset()
/external/chromium_org/components/metrics/
Dpersisted_logs_unittest.cc38 std::string rand_bytes = base::RandBytesAsString(min_compressed_size); in GenerateLogWithMinCompressedSize()
40 rand_bytes.append(base::RandBytesAsString(min_compressed_size)); in GenerateLogWithMinCompressedSize()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dzip_file_creator_browsertest.cc73 const std::string kRandomData = base::RandBytesAsString(kRandomDataSize); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/sync/tools/
Dsync_listen_notifications.cc192 base::RandBytesAsString(8), in SyncListenNotificationsMain()
Dsync_client.cc275 std::string invalidator_id = base::RandBytesAsString(8); in SyncClientMain()
/external/chromium_org/components/os_crypt/
Dkeychain_password_mac.mm27 base::Base64Encode(base::RandBytesAsString(kBytes), &password);
/external/chromium_org/google_apis/drive/
Dtest_util.cc78 *data = base::RandBytesAsString(size); in CreateFileOfSpecifiedSize()
/external/chromium_org/content/renderer/media/webrtc/
Dvideo_destination_handler.cc211 base::Base64Encode(base::RandBytesAsString(64), &track_id); in Open()
/external/chromium_org/components/rappor/
Dbyte_vector_utils.cc193 return base::RandBytesAsString(kEntropyInputSize); in GenerateEntropyInput()
/external/chromium_org/chrome/app/
Dclient_util.cc84 std::string random_value(metrics_id.empty() ? base::RandBytesAsString(kLength) in GetPreReadPopulationAndGroup()
/external/chromium_org/chrome/test/chromedriver/net/
Dwebsocket.cc124 base::Base64Encode(base::RandBytesAsString(16), &sec_key_); in OnSocketConnect()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_registration_utility.cc175 base::Base64Encode(base::RandBytesAsString(8), &new_supervised_user_id); in GenerateNewSupervisedUserId()
/external/chromium_org/chrome/browser/
Dinternal_auth.cc340 std::string key = base::RandBytesAsString(kKeySizeInBytes); in GenerateNewKey()
/external/chromium_org/sync/internal_api/public/base/
Dunique_position.cc44 return base::RandBytesAsString(kSuffixLength - 1) + "\x7f"; in RandomSuffix()
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_video_track_host.cc522 base::Base64Encode(base::RandBytesAsString(64), &source_id); in InitBlinkTrack()
/external/chromium_org/chrome/browser/extensions/api/notifications/
Dnotifications_api.cc558 notification_id = base::RandBytesAsString(16); in RunNotificationsApi()
/external/chromium_org/sync/syncable/
Ddirectory_backing_store.cc694 base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); in GenerateCacheGUID()