/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | format_test.cc | 32 EXPECT_EQ(ans, absl::FormatTime(fmt, t, tz)); in TestFormatSpecifier() 33 EXPECT_EQ("xxx " + ans, absl::FormatTime("xxx " + fmt, t, tz)); in TestFormatSpecifier() 34 EXPECT_EQ(ans + " yyy", absl::FormatTime(fmt + " yyy", t, tz)); in TestFormatSpecifier() 36 absl::FormatTime("xxx " + fmt + " yyy", t, tz)); in TestFormatSpecifier() 40 // Testing FormatTime() 43 TEST(FormatTime, Basics) { in TEST() 48 EXPECT_EQ("", absl::FormatTime("", t, tz)); in TEST() 49 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST() 50 EXPECT_EQ(" ", absl::FormatTime(" ", t, tz)); in TEST() 51 EXPECT_EQ("xxx", absl::FormatTime("xx in TEST() [all...] |
H A D | time_test.cc | 636 absl::FormatTime(fmt, nov01_ci.pre, nyc)); in TEST() 648 absl::FormatTime(fmt, mar_ci.pre, nyc)); in TEST() 650 absl::FormatTime(fmt, mar_ci.trans, nyc)); in TEST() 652 absl::FormatTime(fmt, mar_ci.post, nyc)); in TEST() 662 absl::FormatTime(fmt, nov06_ci.pre, nyc)); in TEST() 664 absl::FormatTime(fmt, nov06_ci.trans, nyc)); in TEST() 666 absl::FormatTime(fmt, nov06_ci.post, nyc)); in TEST() 675 absl::FormatTime(fmt, minus1_cl.pre, nyc)); in TEST() 677 absl::FormatTime(fmt, minus1_cl.pre, absl::UTCTimeZone())); in TEST() 693 absl::FormatTime(fm in TEST() [all...] |
H A D | format.cc | 74 std::string FormatTime(absl::string_view format, absl::Time t, in FormatTime() function 83 std::string FormatTime(absl::Time t, absl::TimeZone tz) { in FormatTime() function 84 return FormatTime(RFC3339_full, t, tz); in FormatTime() 87 std::string FormatTime(absl::Time t) { in FormatTime() function 88 return absl::FormatTime(RFC3339_full, t, absl::LocalTimeZone()); in FormatTime() 149 return absl::FormatTime(RFC3339_full, t, absl::UTCTimeZone()); in AbslUnparseFlag() 156 return absl::FormatTime(RFC3339_full, t, absl::UTCTimeZone()); in UnparseFlag()
|
H A D | format_benchmark.cc | 44 benchmark::DoNotOptimize(absl::FormatTime(fmt, t, lax).length()); in BM_Format_FormatTime() 56 const std::string when = absl::FormatTime(fmt, t, lax); in BM_Format_ParseTime()
|
H A D | time.h | 58 // std::string s = absl::FormatTime( 694 // should only access this data indirectly by way of FormatTime(). 936 // should only access this data indirectly by way of FormatTime(). 1252 // FormatTime()/ParseTime() format specifiers for RFC3339 date/time strings, 1265 // FormatTime()/ParseTime() format specifiers for RFC1123 date/time strings. 1269 // FormatTime() 1298 // std::string f = absl::FormatTime("%H:%M:%S", t, lax); // "03:04:05" 1299 // f = absl::FormatTime("%H:%M:%E3S", t, lax); // "03:04:05.000" 1306 std::string FormatTime(absl::string_view format, Time t, TimeZone tz); 1311 std::string FormatTime(Tim [all...] |
H A D | civil_time.cc | 41 return StrCat(cs.year(), FormatTime(fmt, FromCivil(ncs, utc), utc)); in FormatYearAnd()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | time_test.cc | 223 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(start_time, 0)); in TEST() 224 EXPECT_EQ("9999-12-31T23:59:59Z", FormatTime(end_time, 0)); in TEST() 227 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(0, 10000000)); in TEST() 228 EXPECT_EQ("1970-01-01T00:00:00.000010Z", FormatTime(0, 10000)); in TEST() 229 EXPECT_EQ("1970-01-01T00:00:00.000000010Z", FormatTime(0, 10)); in TEST() 236 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(seconds, nanos)); in TEST() 238 EXPECT_EQ("9999-12-31T23:59:59.999999999Z", FormatTime(seconds, nanos)); in TEST() 242 EXPECT_EQ("1970-01-01T08:00:00Z", FormatTime(seconds, nanos)); in TEST() 244 EXPECT_EQ("1969-12-31T16:00:00Z", FormatTime(seconds, nanos)); in TEST() 248 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(second in TEST() [all...] |
H A D | time.h | 68 string PROTOBUF_EXPORT FormatTime(int64 seconds, int32 nanos);
|
H A D | time.cc | 271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | verbose.py | 86 def FormatTime(d): function 95 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(overall_time)) 101 t = FormatTime(duration)
|
/third_party/benchmark/src/ |
H A D | console_reporter.cc | 104 static std::string FormatTime(double time) { in FormatTime() function 151 const std::string real_time_str = FormatTime(real_time); in PrintRunData() 152 const std::string cpu_time_str = FormatTime(cpu_time); in PrintRunData()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | time_util.cc | 117 std::string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function 118 return ::google::protobuf::internal::FormatTime(seconds, nanos); in FormatTime() 156 return FormatTime(timestamp.seconds(), timestamp.nanos()); in ToString()
|
/third_party/node/tools/ |
H A D | test.py | 1524 def FormatTime(d): function 1534 return FormatTime(d) 1780 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(duration))
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectsource.cc | 353 ::google::protobuf::internal::FormatTime(seconds, nanos)); in RenderTimestamp()
|