Searched refs:RandBytesAsString (Results 1 – 4 of 4) sorted by relevance
60 TEST(RandUtilTest, RandBytesAsString) { in TEST() argument61 std::string random_string = base::RandBytesAsString(1); in TEST()63 random_string = base::RandBytesAsString(145); in TEST()145 std::string random_string0 = base::RandBytesAsString(255); in TEST()147 std::string random_string1 = base::RandBytesAsString(1023); in TEST()149 std::string random_string2 = base::RandBytesAsString(4097); in TEST()
51 BASE_EXPORT std::string RandBytesAsString(size_t length);
75 std::string RandBytesAsString(size_t length) { in RandBytesAsString() function
355 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()386 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()412 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()466 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()493 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()