21 const bilingual_str bilingual_string{format_string, format_string};
23 const int digits_in_format_specifier = std::count_if(format_string.begin(), format_string.end(),
IsDigit);
32 if (format_string.find(
'%') != std::string::npos && digits_in_format_specifier >= 7) {
40 if (format_string.find(
'%') != std::string::npos && format_string.find(
'$') != std::string::npos && format_string.find(
'*') != std::string::npos && digits_in_format_specifier > 0) {
81 if (format_string.find(
'%') != std::string::npos && format_string.find(
'c') != std::string::npos) {
88 if (format_string.find(
'%') != std::string::npos && format_string.find(
'*') != std::string::npos) {
std::string ConsumeRandomLengthString(size_t max_length)
constexpr bool IsDigit(char c)
Tests if the given character is a decimal digit.
size_t CallOneOf(FuzzedDataProvider &fuzzed_data_provider, Callables... callables)