Lines Matching refs:Format
830 // Returns the output format, or "" for normal printed output.
1557 "A format (currently must be \"xml\"), optionally followed "
1713 // Returns the output format, or "" for normal printed output.
1805 const String& full_name = String::Format("%s.%s",
2141 return c_str ? String::Format("\"%s\"", c_str) : String("(null)");
2271 return String::Format("'%s' (%u, 0x%X)",
2272 ch ? String::Format("%c", ch).c_str() : "\\0",
2712 const DWORD kBufSize = 4096; // String::Format can't exceed this length.
2729 const String error_hex(String::Format("0x%08X ", hr));
2816 // The longest string String::Format can produce when invoked
2822 str, String::Format("(Invalid Unicode 0x%X)", code_point).c_str(), 32);
2823 str[31] = '\0'; // Makes sure no change in the format to strncpy leaves
2902 return String::Format("L\"%s\"",
3053 // Formats a list of arguments to a String, using the same format
3060 // If 4096 characters are not enough to format the input, or if
3063 String String::Format(const char * format, ...) {
3065 va_start(args, format);
3075 const int size = vsnprintf(buffer, kBufferSize, format, args);
3078 const int size = vsnprintf(buffer, kBufferSize, format, args);
3817 return internal::String::Format("%d %s", count,
4478 m << String::Format("&#x%02X;", unsigned(*src));
4573 const String message = RemoveInvalidXmlCharacters(String::Format(
5159 printf("WARNING: unrecognized output format \"%s\" ignored.\n",
5710 // the format "--flag=value". When def_optional is true, the "=value"
5721 const String flag_str = String::Format("--%s%s", GTEST_FLAG_PREFIX_, flag);
6177 // Generates a textual description of a given exit code, in the format
6263 DeathTestAbort(::testing::internal::String::Format( \
6283 DeathTestAbort(::testing::internal::String::Format( \
6472 // in the format specified by wait(2). On Windows, this is the
6667 const String filter_flag = String::Format("--%s%s=%s.%s",
6671 const String internal_flag = String::Format(
6690 String command_line = String::Format("%s %s \"%s\"",
6902 DeathTestAbort(String::Format("chdir(\"%s\") failed: %s",
6914 DeathTestAbort(String::Format("execve(%s, ...) in %s failed: %s",
6996 String::Format("--%s%s=%s.%s",
7000 String::Format("--%s%s=%s|%d|%d|%d",
7041 DeathTest::set_last_death_test_message(String::Format(
7067 DeathTest::set_last_death_test_message(String::Format(
7107 DeathTestAbort(String::Format("Unable to open parent process %u",
7128 DeathTestAbort(String::Format(
7141 DeathTestAbort(String::Format(
7149 DeathTestAbort(String::Format(
7187 DeathTestAbort(String::Format(
7199 DeathTestAbort(String::Format(
7327 String dot_extension(String::Format(".%s", extension));
7390 file = String::Format("%s.%s", base_name.c_str(), extension);
7392 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
7404 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
7805 // Helper function used by ValidateRegex() to format error messages.