Home
last modified time | relevance | path

Searched refs:big_string (Results 1 – 4 of 4) sorted by relevance

/third_party/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc25 std::string* big_string; variable
53 if (big_string == nullptr) { in SetUpStrings()
55 big_string = new std::string(1000 * 1000, ' '); in SetUpStrings()
60 memcpy(&(*big_string)[r % (big_string->size() - phrase.size())], in SetUpStrings()
67 after_replacing_the = new std::string(*big_string); in SetUpStrings()
73 after_replacing_many = new std::string(*big_string); in SetUpStrings()
97 std::string src = *big_string; in BM_StrReplaceAllOneReplacement()
108 std::string src = *big_string; in BM_StrReplaceAll()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_replace_benchmark.cc25 std::string* big_string; variable
53 if (big_string == nullptr) { in SetUpStrings()
55 big_string = new std::string(1000 * 1000, ' '); in SetUpStrings()
60 memcpy(&(*big_string)[r % (big_string->size() - phrase.size())], in SetUpStrings()
67 after_replacing_the = new std::string(*big_string); in SetUpStrings()
73 after_replacing_many = new std::string(*big_string); in SetUpStrings()
97 std::string src = *big_string; in BM_StrReplaceAllOneReplacement()
108 std::string src = *big_string; in BM_StrReplaceAll()
/third_party/libuv/test/
Dtest-watcher-cross-stop.c75 char big_string[1024]; in TEST_IMPL() local
80 memset(big_string, 'A', sizeof(big_string)); in TEST_IMPL()
81 buf = uv_buf_init(big_string, sizeof(big_string)); in TEST_IMPL()
/third_party/wayland_standard/tests/
Dconnection-test.c625 char *big_string = malloc(5000); in TEST() local
627 assert(big_string); in TEST()
629 memset(big_string, ' ', 4999); in TEST()
630 big_string[4999] = '\0'; in TEST()
634 expected_fail_marshal_send(&data, E2BIG, "s", big_string); in TEST()
637 free(big_string); in TEST()