Home
last modified time | relevance | path

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

1234567

/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()
DTimeUtil.java334 long seconds = (long) result; in multiply() local
378 long seconds = value.divide(new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue(); in createDurationFromBigInteger() local
383 private static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
/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/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 std::string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
285 bool ParseTime(const std::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/glfw/src/
Dposix_poll.c48 const time_t seconds = (time_t) *timeout; in _glfwPollPOSIX() local
53 const time_t seconds = (time_t) *timeout; in _glfwPollPOSIX() local
/third_party/backends/lib/
Dsleep.c9 unsigned int sleep(unsigned int seconds) in sleep()
/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.proto140 int64 seconds = 1; field
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c122 static void reproduce(int seconds) in reproduce()
199 long seconds; in main() local
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs456 public void TimestampStandalone_NonNormalized(long seconds, int nanoseconds) in TimestampStandalone_NonNormalized()
493 public void DurationStandalone(long seconds, int nanoseconds, string expected) in DurationStandalone()
502 public void DurationStandalone_NonNormalized(long seconds, int nanoseconds) in DurationStandalone_NonNormalized()
/third_party/skia/third_party/externals/swiftshader/src/System/
DTimer.cpp48 double Timer::seconds() in seconds() function in sw::Timer
/third_party/skia/third_party/externals/swiftshader/src/Common/
DTimer.cpp48 double Timer::seconds() in seconds() function in sw::Timer
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-date.c212 ecma_number_t seconds = ECMA_NUMBER_ZERO; in ecma_date_construct_helper() local
341 ecma_number_t seconds = ECMA_NUMBER_ZERO; in ecma_builtin_date_parse_ISO_string_format() local
531 ecma_number_t seconds = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 59); in ecma_builtin_date_parse_toString_formats() local
/third_party/protobuf/php/src/Google/Protobuf/
DDuration.php69 protected $seconds = 0; variable in Google\\Protobuf\\Duration
DTimestamp.php90 protected $seconds = 0; variable in Google\\Protobuf\\Timestamp

1234567