Home
last modified time | relevance | path

Searched refs:MAX_STRING_LEN (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/benchmarks/
Dstring.bench.cpp11 constexpr std::size_t MAX_STRING_LEN = 8 << 14; variable
20 BENCHMARK(BM_StringFindNoMatch)->Range(10, MAX_STRING_LEN);
24 std::string s1(MAX_STRING_LEN, '-'); in BM_StringFindAllMatch()
29 BENCHMARK(BM_StringFindAllMatch)->Range(1, MAX_STRING_LEN);
33 std::string s1(MAX_STRING_LEN / 2, '*'); in BM_StringFindMatch1()
39 BENCHMARK(BM_StringFindMatch1)->Range(1, MAX_STRING_LEN / 4);
43 std::string s1(MAX_STRING_LEN / 2, '*'); in BM_StringFindMatch2()
50 BENCHMARK(BM_StringFindMatch2)->Range(1, MAX_STRING_LEN / 4);
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java50 private static final int MAX_STRING_LEN = 200; field in MessageNanoPrinter
229 if (!str.startsWith("http") && str.length() > MAX_STRING_LEN) { in sanitizeString()
231 str = str.substring(0, MAX_STRING_LEN) + "[...]"; in sanitizeString()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
Dlength_limits.h27 #define MAX_STRING_LEN 511 macro