Home
last modified time | relevance | path

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

12345678

/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/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/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/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/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/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/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/flutter/skia/third_party/externals/sdl/src/power/linux/
DSDL_syspower.c123 SDL_bool * charging, int *seconds, int *percent) in check_proc_acpi_battery()
236 int *seconds, int *percent) in SDL_GetPowerInfo_Linux_proc_acpi()
322 int *seconds, int *percent) in SDL_GetPowerInfo_Linux_proc_apm()
431 SDL_GetPowerInfo_Linux_sys_class_power_supply(SDL_PowerState *state, int *seconds, int *percent) in SDL_GetPowerInfo_Linux_sys_class_power_supply()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideotimecode.c611 GstVideoTimeCodeFlags flags, guint hours, guint minutes, guint seconds, in gst_video_time_code_new()
692 guint hours, minutes, seconds, frames; in gst_video_time_code_new_from_string() local
806 guint minutes, guint seconds, guint frames, guint field_count) in gst_video_time_code_init()
972 gst_video_time_code_interval_new (guint hours, guint minutes, guint seconds, in gst_video_time_code_interval_new()
997 guint hours, minutes, seconds, frames; in gst_video_time_code_interval_new_from_string() local
1036 guint minutes, guint seconds, guint frames) in gst_video_time_code_interval_init()
/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/
Dtimestamp.proto131 int64 seconds = 1; field
Dduration.proto107 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()
/third_party/flutter/skia/third_party/externals/sdl/src/power/macosx/
DSDL_syspower.c40 SDL_bool * charging, int *seconds, int *percent) in checkps()
144 SDL_GetPowerInfo_MacOSX(SDL_PowerState * state, int *seconds, int *percent) in SDL_GetPowerInfo_MacOSX()
/third_party/benchmark/src/
Dsleep.cc35 void SleepForSeconds(double seconds) { in SleepForSeconds()

12345678