Lines Matching refs:Format
221 "A format (currently must be \"xml\"), optionally followed "
384 // Returns the output format, or "" for normal printed output.
476 const String& full_name = String::Format("%s.%s",
828 return c_str ? String::Format("\"%s\"", c_str) : String("(null)");
1352 const DWORD kBufSize = 4096; // String::Format can't exceed this length.
1370 const String error_hex(String::Format("0x%08X ", hr));
1455 // The longest string String::Format can produce when invoked
1461 str, String::Format("(Invalid Unicode 0x%X)", code_point).c_str(), 32);
1462 str[31] = '\0'; // Makes sure no change in the format to strncpy leaves
1541 return String::Format("L\"%s\"",
1690 // Formats a list of arguments to a String, using the same format
1697 // If 4096 characters are not enough to format the input, or if
1700 String String::Format(const char * format, ...) {
1702 va_start(args, format);
1713 const int size = vsnprintf(buffer, kBufferSize, format, args);
1717 const int size = vsnprintf(buffer, kBufferSize, format, args);
2453 return internal::String::Format("%d %s", count,
3126 m << String::Format("&#x%02X;", unsigned(*src));
3325 Send(String::Format("event=TestProgramEnd&passed=%d\n",
3334 Send(String::Format("event=TestIterationStart&iteration=%d\n",
3340 Send(String::Format("event=TestIterationEnd&passed=%d&elapsed_time=%sms\n",
3346 Send(String::Format("event=TestCaseStart&name=%s\n", test_case.name()));
3350 Send(String::Format("event=TestCaseEnd&passed=%d&elapsed_time=%sms\n",
3356 Send(String::Format("event=TestStart&name=%s\n", test_info.name()));
3360 Send(String::Format(
3370 Send(String::Format("event=TestPartResult&file=%s&line=%d&message=",
3423 result.append(String::Format("%%%02x", static_cast<unsigned char>(ch)));
3975 printf("WARNING: unrecognized output format \"%s\" ignored.\n",
4526 // the format "--flag=value". When def_optional is true, the "=value"
4537 const String flag_str = String::Format("--%s%s", GTEST_FLAG_PREFIX_, flag);