Searched refs:RandBytesAsString (Results 1 – 3 of 3) 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