Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/grpc-grpc/test/core/transport/test_suite/
H A Dtest.cc109 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 Dportable-file-backed-proto-log_benchmark.cc80 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 Dhash_set_test.cc46 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 Ddb_test.cc30 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 Dtestutil.cc14 Slice RandomString(Random* rnd, int len, std::string* dst) { in RandomString() function
39 RandomString(rnd, raw, &raw_data); in CompressibleString()
H A Dtestutil.h34 Slice RandomString(Random* rnd, int len, std::string* dst);
/aosp_15_r20/external/icing/icing/testing/
H A Drandom-string.h38 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 Dslice_test.cc313 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 Dordered_code_test.cc35 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 Dzlib_compressor_unittest.cc72 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 Dkey-mapper_benchmark.cc53 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 Dtable_test.cc43 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 DInlineBytecodeGenerator.java27 import net.bytebuddy.utility.RandomString;
82 String identifier = RandomString.make(); in InlineBytecodeGenerator()
/aosp_15_r20/system/core/fastboot/fuzzy_fastboot/
H A Dmain.cpp898 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 Dtest_utils.h78 std::string RandomString(size_t length, std::function<char(void)> provider);
H A Dtest_utils.cpp57 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 Dnan_test.cpp40 TEST_F(LlvmLibcNanTest, RandomString) { in TEST_F() argument
H A Dnanf_test.cpp39 TEST_F(LlvmLibcNanfTest, RandomString) { in TEST_F() argument
H A Dnanf16_test.cpp39 TEST_F(LlvmLibcNanf16Test, RandomString) { in TEST_F() argument
H A Dnanf128_test.cpp49 TEST_F(LlvmLibcNanf128Test, RandomString) { in TEST_F() argument
H A Dnanl_test.cpp63 TEST_F(LlvmLibcNanlTest, RandomString) { in TEST_F() argument
/aosp_15_r20/device/google/cuttlefish/host/commands/process_sandboxer/
Dsandbox_manager.cpp157 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 Dutils.h118 std::string RandomString(int n, std::uniform_int_distribution<int>* distr_u8,
/aosp_15_r20/external/icing/icing/
H A Dicing-search-engine_flush_benchmark.cc114 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 DInputStreamAdaptingHttpStreamResponseHandlerTest.java34 import net.bytebuddy.utility.RandomString;

12