Home
last modified time | relevance | path

Searched refs:FormatTime (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtime_test.cc170 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(start_time, 0)); in TEST()
171 EXPECT_EQ("9999-12-31T23:59:59Z", FormatTime(end_time, 0)); in TEST()
174 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(0, 10000000)); in TEST()
175 EXPECT_EQ("1970-01-01T00:00:00.000010Z", FormatTime(0, 10000)); in TEST()
176 EXPECT_EQ("1970-01-01T00:00:00.000000010Z", FormatTime(0, 10)); in TEST()
183 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(seconds, nanos)); in TEST()
185 EXPECT_EQ("9999-12-31T23:59:59.999999999Z", FormatTime(seconds, nanos)); in TEST()
189 EXPECT_EQ("1970-01-01T08:00:00Z", FormatTime(seconds, nanos)); in TEST()
191 EXPECT_EQ("1969-12-31T16:00:00Z", FormatTime(seconds, nanos)); in TEST()
195 EXPECT_EQ("1970-01-01T00:00:00.010Z", FormatTime(seconds, nanos)); in TEST()
[all …]
Dtime.h66 string LIBPROTOBUF_EXPORT FormatTime(int64 seconds, int32 nanos);
Dtime.cc271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function
/external/v8/tools/testrunner/local/
Dverbose.py82 def FormatTime(d): function
91 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(overall_time))
97 t = FormatTime(entry.duration)
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc116 string FormatTime(int64 seconds, int32 nanos) { in FormatTime() function
117 return ::google::protobuf::internal::FormatTime(seconds, nanos); in FormatTime()
146 return FormatTime(timestamp.seconds(), timestamp.nanos()); in ToString()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc329 ::google::protobuf::internal::FormatTime(seconds, nanos)); in RenderTimestamp()