/aosp_15_r20/external/grpc-grpc/test/core/transport/test_suite/ |
H A D | test.cc | 109 std::string TransportTest::RandomString(int min_length, int max_length, in RandomString() function in grpc_core::TransportTest 140 out = RandomString(1, 128, "abcdefghijklmnopqrstuvwxyz-_"); in RandomMetadataKey() 163 return RandomString(0, 128, *kChars); in RandomMetadataValue() 167 return RandomString(1, 128, "abcdefghijklmnopqrstuvwxyz-_") + "-bin"; in RandomMetadataBinaryKey() 178 return RandomString(0, 4096, *kChars); in RandomMetadataBinaryValue() 223 return RandomString(0, 1024 * 1024, *kChars); in RandomMessage()
|
/aosp_15_r20/external/icing/icing/file/ |
H A D | portable-file-backed-proto-log_benchmark.cc | 80 RandomString(kAlNumAlphabet, string_length, &random); in BM_Write() 133 RandomString(kAlNumAlphabet, string_length, &random); in BM_Read() 187 const std::string rand_str = RandomString(kAlNumAlphabet, /*len=*/1, &random); in BM_Erase() 229 RandomString(kAlNumAlphabet, string_length, &random); in BM_UpdateChecksum() 271 RandomString(kAlNumAlphabet, string_length, &random); in BM_UpdateChecksumWithCachedChecksum() 315 RandomString(kAlNumAlphabet, string_length, &random); in BM_UpdateChecksumOnlyForTail()
|
/aosp_15_r20/art/libartbase/base/ |
H A D | hash_set_test.cc | 46 std::string RandomString(size_t len) { in RandomString() function in art::HashSetTest 90 strings.push_back(RandomString(10)); in TEST_F() 123 strings.push_back(RandomString(10)); in TEST_F() 151 strings.push_back(RandomString(10)); in TEST_F() 158 strings.push_back(RandomString(10)); in TEST_F() 178 random_strings.push_back(RandomString(10)); in TEST_F() 206 hash_set.insert(RandomString(i % 10 + 1)); in TEST_F() 227 strings.push_back(RandomString(i % 10 + 1)); in TEST_F()
|
/aosp_15_r20/external/leveldb/db/ |
H A D | db_test.cc | 30 static std::string RandomString(Random* rnd, int len) { in RandomString() function 32 test::RandomString(rnd, len, &r); in RandomString() 1113 values.push_back(RandomString(&rnd, 100000)); in TEST_F() 1139 std::string value = RandomString(&rnd, 2 * options.write_buffer_size); in TEST_F() 1215 ASSERT_LEVELDB_OK(Put(Key(i), RandomString(&rnd, S1))); in TEST_F() 1263 std::string big1 = RandomString(&rnd, 100000); in TEST_F() 1264 ASSERT_LEVELDB_OK(Put(Key(0), RandomString(&rnd, 10000))); in TEST_F() 1265 ASSERT_LEVELDB_OK(Put(Key(1), RandomString(&rnd, 10000))); in TEST_F() 1267 ASSERT_LEVELDB_OK(Put(Key(3), RandomString(&rnd, 10000))); in TEST_F() 1269 ASSERT_LEVELDB_OK(Put(Key(5), RandomString(&rnd, 10000))); in TEST_F() [all …]
|
/aosp_15_r20/external/leveldb/util/ |
H A D | testutil.cc | 14 Slice RandomString(Random* rnd, int len, std::string* dst) { in RandomString() function 39 RandomString(rnd, raw, &raw_data); in CompressibleString()
|
H A D | testutil.h | 34 Slice RandomString(Random* rnd, int len, std::string* dst);
|
/aosp_15_r20/external/icing/icing/testing/ |
H A D | random-string.h | 38 std::string RandomString(const std::string_view alphabet, size_t len, in RandomString() function 60 language.push_back(RandomString(kAlNumAlphabet, word_length, r)); in CreateLanguages()
|
/aosp_15_r20/external/grpc-grpc/test/core/slice/ |
H A D | slice_test.cc | 313 std::string RandomString(size_t length) { in RandomString() function 323 const std::string str = RandomString(GetParam()); in TEST_P() 395 auto external_string = std::make_unique<std::string>(RandomString(1024)); in TEST() 411 new std::string(RandomString(1024))); in TEST()
|
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/strings/ |
H A D | ordered_code_test.cc | 35 string RandomString(random::SimplePhilox* rnd, size_t len) { in RandomString() function 336 string(1, n - 1) + string(1, 0) + RandomString(&rnd, n - 2); in TEST() 355 RandomString(&rnd, n - header.length() - 1); in TEST() 440 const string a = RandomString(&rnd, len); in TEST() 443 const string b = RandomString(&rnd, len2); in TEST()
|
/aosp_15_r20/external/perfetto/src/tracing/service/ |
H A D | zlib_compressor_unittest.cc | 72 std::string RandomString(size_t size) { in RandomString() function 159 for_testing->set_str(RandomString(65536)); in TEST()
|
/aosp_15_r20/external/icing/icing/store/ |
H A D | key-mapper_benchmark.cc | 53 prefix, RandomString(kAlNumAlphabet, kKeyLength, &random_engine)); in GenerateUniqueRandomKeyValuePair() 57 RandomString(kAlNumAlphabet, kKeyLength, &random_engine)); in GenerateUniqueRandomKeyValuePair()
|
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/io/ |
H A D | table_test.cc | 43 static StringPiece RandomString(random::SimplePhilox* rnd, int len, in RandomString() function 68 RandomString(rnd, raw, &raw_data); in CompressibleString() 530 string(test::RandomString(&rnd, rnd.Skewed(5), &v))); in TEST_F()
|
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
H A D | InlineBytecodeGenerator.java | 27 import net.bytebuddy.utility.RandomString; 82 String identifier = RandomString.make(); in InlineBytecodeGenerator()
|
/aosp_15_r20/system/core/fastboot/fuzzy_fastboot/ |
H A D | main.cpp | 898 std::string s = RandomString(FB_COMMAND_SZ + 1, rand_legal); in TEST_F() 904 std::string s1 = RandomString(10000, rand_legal); in TEST_F() 910 std::string s2 = RandomString(10000, rand_illegal); in TEST_F() 916 std::string s3 = RandomString(10000, rand_char); in TEST_F() 923 std::string s4 = RandomString(10 * 1024 * 1024, rand_legal); in TEST_F() 937 std::string rs = RandomString(10000, rand_char); in TEST_F() 959 std::string rs = RandomString(10, rand_illegal); in TEST_F()
|
H A D | test_utils.h | 78 std::string RandomString(size_t length, std::function<char(void)> provider);
|
H A D | test_utils.cpp | 57 std::string RandomString(size_t length, std::function<char(void)> provider) { in RandomString() function
|
/aosp_15_r20/external/llvm-libc/test/src/math/smoke/ |
H A D | nan_test.cpp | 40 TEST_F(LlvmLibcNanTest, RandomString) { in TEST_F() argument
|
H A D | nanf_test.cpp | 39 TEST_F(LlvmLibcNanfTest, RandomString) { in TEST_F() argument
|
H A D | nanf16_test.cpp | 39 TEST_F(LlvmLibcNanf16Test, RandomString) { in TEST_F() argument
|
H A D | nanf128_test.cpp | 49 TEST_F(LlvmLibcNanf128Test, RandomString) { in TEST_F() argument
|
H A D | nanl_test.cpp | 63 TEST_F(LlvmLibcNanlTest, RandomString) { in TEST_F() argument
|
/aosp_15_r20/device/google/cuttlefish/host/commands/process_sandboxer/ |
D | sandbox_manager.cpp | 157 std::string RandomString(absl::BitGenRef gen, std::size_t size) { in RandomString() function 209 pingback_ = RandomString(manager_.bit_gen_, 32); in HandleMessage()
|
/aosp_15_r20/external/cronet/third_party/anonymous_tokens/src/anonymous_tokens/cpp/testing/ |
H A D | utils.h | 118 std::string RandomString(int n, std::uniform_int_distribution<int>* distr_u8,
|
/aosp_15_r20/external/icing/icing/ |
H A D | icing-search-engine_flush_benchmark.cc | 114 language.push_back(RandomString(kAlNumAlphabet, word_length, r)); in CreateLanguage()
|
/aosp_15_r20/external/aws-sdk-java-v2/http-clients/aws-crt-client/src/test/java/software/amazon/awssdk/http/crt/internal/ |
H A D | InputStreamAdaptingHttpStreamResponseHandlerTest.java | 34 import net.bytebuddy.utility.RandomString;
|