Home
last modified time | relevance | path

Searched defs:seconds (Results 1 – 25 of 261) sorted by relevance

1234567891011

/third_party/python/Tools/importbench/
Dimportbench.py20 def bench(name, cleanup=lambda: None, *, seconds=1, repeat=3): argument
40 def from_cache(seconds, repeat): argument
51 def builtin_mod(seconds, repeat): argument
61 def source_wo_bytecode(seconds, repeat): argument
81 def benchmark_wo_bytecode(seconds, repeat): argument
100 def source_writing_bytecode(seconds, repeat): argument
119 def writing_bytecode_benchmark(seconds, repeat): argument
135 def source_using_bytecode(seconds, repeat): argument
151 def using_bytecode_benchmark(seconds, repeat): argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() argument
207 SecondsType seconds() const { return seconds_; } in seconds() function
267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
285 void seconds (SecondsType sec ) { in seconds() function
334 void fromEpochTime( SecondsType seconds ) { in fromEpochTime()
/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc63 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
83 Duration CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
117 std::string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
121 bool ParseTime(const std::string& value, int64* seconds, int32* nanos) { in ParseTime()
125 void CurrentTime(int64* seconds, int32* nanos) { in CurrentTime()
160 int64 seconds; in FromString() local
170 int64 seconds; in GetCurrentTime() local
180 int64 seconds = duration.seconds(); in ToString() local
221 int64 seconds = strto64(seconds_part.c_str(), &end, 10); in FromString() local
257 Duration TimeUtil::SecondsToDuration(int64 seconds) { in SecondsToDuration()
[all …]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DDurations.java128 public static boolean isValid(long seconds, int nanos) { in isValid()
181 long seconds = duration.getSeconds(); in checkValid() local
217 long seconds = duration.getSeconds(); in toString() local
258 long seconds = Long.parseLong(secondValue); in parse() local
305 public static Duration fromSeconds(long seconds) { in fromSeconds()
439 static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
DTimestamps.java156 public static boolean isValid(long seconds, int nanos) { in isValid()
169 long seconds = timestamp.getSeconds(); in checkValid() local
206 long seconds = timestamp.getSeconds(); in toString() local
257 long seconds = date.getTime() / MILLIS_PER_SECOND; in parse() local
286 public static Timestamp fromSeconds(long seconds) { in fromSeconds()
387 static Timestamp normalizedTimestamp(long seconds, int nanos) { in normalizedTimestamp()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DDurationTest.cs106 public void ToTimeSpan_Invalid(long seconds, int nanoseconds) in ToTimeSpan_Invalid()
117 public void ToTimeSpan_Valid(long seconds, int nanoseconds) in ToTimeSpan_Valid()
DTimestampTest.cs69 public void ToDateTime_OutOfRange(long seconds, int nanoseconds) in ToDateTime_OutOfRange()
81 public void ToDateTime_ValidBoundaries(long seconds, int nanoseconds) in ToDateTime_ValidBoundaries()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DDurationTest.cs106 public void ToTimeSpan_Invalid(long seconds, int nanoseconds) in ToTimeSpan_Invalid()
117 public void ToTimeSpan_Valid(long seconds, int nanoseconds) in ToTimeSpan_Valid()
DTimestampTest.cs69 public void ToDateTime_OutOfRange(long seconds, int nanoseconds) in ToDateTime_OutOfRange()
81 public void ToDateTime_ValidBoundaries(long seconds, int nanoseconds) in ToDateTime_ValidBoundaries()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDurationPartial.cs65 internal static bool IsNormalized(long seconds, int nanoseconds) in IsNormalized()
164 internal static Duration Normalize(long seconds, int nanoseconds) in Normalize()
197 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson()
DTimestampPartial.cs48 private static bool IsNormalized(long seconds, int nanoseconds) => in IsNormalized()
173 internal static Timestamp Normalize(long seconds, int nanoseconds) in Normalize()
199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson()
/third_party/flutter/skia/third_party/externals/sdl/src/power/
DSDL_power.c48 SDL_GetPowerInfo_Hardwired(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_Hardwired()
98 SDL_GetPowerInfo(int *seconds, int *percent) in SDL_GetPowerInfo()
/third_party/protobuf/src/google/protobuf/stubs/
Dtime.cc211 bool SecondsToDateTime(int64 seconds, DateTime* time) { in SecondsToDateTime()
256 bool DateTimeToSeconds(const DateTime& time, int64* seconds) { in DateTimeToSeconds()
264 void GetCurrentTime(int64* seconds, int32* nanos) { in GetCurrentTime()
271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
285 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime()
Dtime_test.cc68 int64 seconds; in TEST() local
153 int64 seconds; in TEST() local
233 int64 seconds; in TEST() local
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstntppacket.c55 ntp_timestamp_to_gst_clock_time (guint32 seconds, guint32 fraction) in ntp_timestamp_to_gst_clock_time()
65 GstClockTime seconds = gst_util_uint64_scale (gst, 1, GST_SECOND); in gst_clock_time_to_ntp_timestamp_seconds() local
73 GstClockTime seconds = gst_util_uint64_scale (gst, 1, GST_SECOND); in gst_clock_time_to_ntp_timestamp_fraction() local
/third_party/boost/boost/date_time/posix_time/
Dposix_time_duration.hpp53 class BOOST_SYMBOL_VISIBLE seconds : public time_duration class
57 BOOST_CXX14_CONSTEXPR explicit seconds(T const& s, in seconds() function in boost::posix_time::seconds
/third_party/boost/libs/mpi/test/
Dgps_position.hpp25 ar & degrees & minutes & seconds; in serialize() local
29 float seconds; member in gps_position
/third_party/mingw-w64/mingw-w64-crt/misc/
Dsleep.c12 unsigned int sleep (unsigned int seconds) in sleep()
Dalarm.c11 unsigned int alarm(unsigned int __UNUSED_PARAM(seconds)) in alarm()
/third_party/flutter/engine/flutter/fml/time/
Dtime_delta.h37 static constexpr TimeDelta FromSeconds(int64_t seconds) { in FromSeconds()
41 static constexpr TimeDelta FromSecondsF(double seconds) { in FromSecondsF()
/third_party/musl/src/unistd/
Dsleep.c4 unsigned sleep(unsigned seconds) in sleep()
Dalarm.c5 unsigned alarm(unsigned seconds) in alarm()
/third_party/protobuf/src/google/protobuf/
Dduration.proto107 int64 seconds = 1; field
Dtimestamp.proto131 int64 seconds = 1; field
/third_party/flutter/skia/third_party/externals/sdl/src/power/winrt/
DSDL_syspower.cpp30 SDL_GetPowerInfo_WinRT(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_WinRT()

1234567891011