/external/chromium_org/base/ |
D | rand_util_unittest.cc | 46 TEST(RandUtilTest, RandBytesAsString) { in TEST() argument 47 std::string random_string = base::RandBytesAsString(1); in TEST() 49 random_string = base::RandBytesAsString(145); in TEST()
|
D | rand_util.h | 51 BASE_EXPORT std::string RandBytesAsString(size_t length);
|
D | rand_util.cc | 64 std::string RandBytesAsString(size_t length) { in RandBytesAsString() function
|
/external/chromium_org/net/spdy/fuzzing/ |
D | hpack_fuzz_util.cc | 35 using base::RandBytesAsString; 89 RandBytesAsString(1 + SampleExponential(kNameLengthMean, in NextGeneratedHeaderSet() 97 RandBytesAsString(1 + SampleExponential(kValueLengthMean, in NextGeneratedHeaderSet()
|
/external/chromium_org/net/spdy/ |
D | hpack_round_trip_test.cc | 154 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/ |
D | invalidation_service_util.cc | 41 base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); in GenerateInvalidatorClientId()
|
/external/chromium_org/content/test/ |
D | fileapi_test_file_set.cc | 52 std::string content = base::RandBytesAsString(test_case.data_file_size); in SetUpOneFileSystemTestCase()
|
/external/chromium_org/chrome/browser/media/ |
D | media_device_id_salt.cc | 19 base::Base64Encode(base::RandBytesAsString(16), &salt); in CreateSalt()
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_validation_cache.cc | 75 validation_cache_key_ = base::RandBytesAsString(kValidationCacheKeySize); in Reset()
|
/external/chromium_org/components/metrics/ |
D | persisted_logs_unittest.cc | 38 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/ |
D | zip_file_creator_browsertest.cc | 73 const std::string kRandomData = base::RandBytesAsString(kRandomDataSize); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/sync/tools/ |
D | sync_listen_notifications.cc | 192 base::RandBytesAsString(8), in SyncListenNotificationsMain()
|
D | sync_client.cc | 275 std::string invalidator_id = base::RandBytesAsString(8); in SyncClientMain()
|
/external/chromium_org/components/os_crypt/ |
D | keychain_password_mac.mm | 27 base::Base64Encode(base::RandBytesAsString(kBytes), &password);
|
/external/chromium_org/google_apis/drive/ |
D | test_util.cc | 78 *data = base::RandBytesAsString(size); in CreateFileOfSpecifiedSize()
|
/external/chromium_org/content/renderer/media/webrtc/ |
D | video_destination_handler.cc | 211 base::Base64Encode(base::RandBytesAsString(64), &track_id); in Open()
|
/external/chromium_org/components/rappor/ |
D | byte_vector_utils.cc | 193 return base::RandBytesAsString(kEntropyInputSize); in GenerateEntropyInput()
|
/external/chromium_org/chrome/app/ |
D | client_util.cc | 84 std::string random_value(metrics_id.empty() ? base::RandBytesAsString(kLength) in GetPreReadPopulationAndGroup()
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | websocket.cc | 124 base::Base64Encode(base::RandBytesAsString(16), &sec_key_); in OnSocketConnect()
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_registration_utility.cc | 175 base::Base64Encode(base::RandBytesAsString(8), &new_supervised_user_id); in GenerateNewSupervisedUserId()
|
/external/chromium_org/chrome/browser/ |
D | internal_auth.cc | 340 std::string key = base::RandBytesAsString(kKeySizeInBytes); in GenerateNewKey()
|
/external/chromium_org/sync/internal_api/public/base/ |
D | unique_position.cc | 44 return base::RandBytesAsString(kSuffixLength - 1) + "\x7f"; in RandomSuffix()
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_media_stream_video_track_host.cc | 522 base::Base64Encode(base::RandBytesAsString(64), &source_id); in InitBlinkTrack()
|
/external/chromium_org/chrome/browser/extensions/api/notifications/ |
D | notifications_api.cc | 558 notification_id = base::RandBytesAsString(16); in RunNotificationsApi()
|
/external/chromium_org/sync/syncable/ |
D | directory_backing_store.cc | 694 base::Base64Encode(base::RandBytesAsString(kGuidBytes), &guid); in GenerateCacheGUID()
|