Searched refs:desired_length (Results 1 – 8 of 8) sorted by relevance
/external/icing/icing/util/ |
D | i18n-utils.cc | 105 int SafeTruncateUtf8Length(const char* str, int desired_length) { in SafeTruncateUtf8Length() argument 106 while (desired_length > 0) { in SafeTruncateUtf8Length() 107 if (IsLeadUtf8Byte(str[desired_length])) { in SafeTruncateUtf8Length() 110 --desired_length; in SafeTruncateUtf8Length() 112 return desired_length; in SafeTruncateUtf8Length()
|
D | i18n-utils.h | 58 int SafeTruncateUtf8Length(const char* str, int desired_length);
|
/external/abseil-cpp/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | str_split_benchmark.cc | 29 std::string MakeTestString(int desired_length) { in MakeTestString() argument 31 std::string test(desired_length * kAverageValueLen, 'x'); in MakeTestString() 49 std::string MakeMultiDelimiterTestString(int desired_length) { in MakeMultiDelimiterTestString() argument 51 std::string test(desired_length * kAverageValueLen, 'x'); in MakeMultiDelimiterTestString()
|