Home
last modified time | relevance | path

Searched defs:nanoseconds (Results 1 - 21 of 21) sorted by relevance

/third_party/glfw/src/
H A Dposix_poll.c49 const long nanoseconds = (long) ((*timeout - seconds) * 1e9); in _glfwPollPOSIX() local
54 const long nanoseconds = (long) ((*timeout - seconds) * 1e9); in _glfwPollPOSIX() local
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DDurationTest.cs106 public void ToTimeSpan_Invalid(long seconds, int nanoseconds) in ToTimeSpan_Invalid() argument
117 public void ToTimeSpan_Valid(long seconds, int nanoseconds) in ToTimeSpan_Valid() argument
H A DTimestampTest.cs69 public void ToDateTime_OutOfRange(long seconds, int nanoseconds) in ToDateTime_OutOfRange() argument
81 public void ToDateTime_ValidBoundaries(long seconds, int nanoseconds) in ToDateTime_ValidBoundaries() argument
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DDurationTest.cs106 public void ToTimeSpan_Invalid(long seconds, int nanoseconds) in ToTimeSpan_Invalid() argument
117 public void ToTimeSpan_Valid(long seconds, int nanoseconds) in ToTimeSpan_Valid() argument
H A DTimestampTest.cs69 public void ToDateTime_OutOfRange(long seconds, int nanoseconds) in ToDateTime_OutOfRange() argument
81 public void ToDateTime_ValidBoundaries(long seconds, int nanoseconds) in ToDateTime_ValidBoundaries() argument
/third_party/skia/third_party/externals/oboe/src/common/
H A DAudioClock.h62 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_REALTIME) { in sleepForNanos() argument
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dsys_clock_test.cpp202 auto nanoseconds = std::chrono::duration_cast<std::chrono::nanoseconds>(duration).count() % 1000000000; in HWTEST_F() local
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DDurationPartial.cs65 internal static bool IsNormalized(long seconds, int nanoseconds) in IsNormalized() argument
164 internal static Duration Normalize(long seconds, int nanoseconds) in Normalize() argument
197 ToJson(long seconds, int nanoseconds, bool diagnosticOnly) ToJson() argument
[all...]
H A DTimestampPartial.cs48 private static bool IsNormalized(long seconds, int nanoseconds) => in IsNormalized() argument
173 internal static Timestamp Normalize(long seconds, int nanoseconds) in Normalize() argument
199 ToJson(long seconds, int nanoseconds, bool diagnosticOnly) ToJson() argument
[all...]
/third_party/python/Python/
H A Dthread_nt.h79 _PyTime_t nanoseconds = _PyTime_FromNanoseconds((_PyTime_t)milliseconds * 1000000); in EnterNonRecursiveMutex() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DTimeValue.h212 NanoSecondsType nanoseconds() const { return nanos_; } in nanoseconds() function in llvm::sys::TimeValue
296 void nanoseconds ( NanoSecondsType nanos ) { nanoseconds() function in llvm::sys::TimeValue
[all...]
/third_party/skia/tools/gpu/gl/
H A DGLTestContext.cpp143 GrGLuint64 nanoseconds; in getTimeElapsed() local
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DDurations.java327 public static Duration fromNanos(long nanoseconds) { in fromNanos() argument
H A DTimestamps.java347 public static Timestamp fromNanos(long nanoseconds) { in fromNanos() argument
H A DTimeUtil.java221 public static Timestamp createTimestampFromNanos(long nanoseconds) { in createTimestampFromNanos() argument
231 public static Duration createDurationFromNanos(long nanoseconds) { in createDurationFromNanos() argument
/third_party/node/deps/v8/src/base/platform/
H A Dtime.h90 static constexpr TimeDelta FromNanoseconds(int64_t nanoseconds) { in FromNanoseconds() argument
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DJsonFormatterTest.cs456 public void TimestampStandalone_NonNormalized(long seconds, int nanoseconds) in TimestampStandalone_NonNormalized() argument
493 public void DurationStandalone(long seconds, int nanoseconds, string expected) in DurationStandalone() argument
502 public void DurationStandalone_NonNormalized(long seconds, int nanoseconds) in DurationStandalone_NonNormalized() argument
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php418 $nanoseconds = 0; variable
437 $nanoseconds = substr($timestamp, $periodIndex + 1, $nanosecondsLength); variable
438 $nanoseconds = intval($nanoseconds); variable
467 $nanoseconds = static::getNanosecondsForTimestamp($value->getNanos()); variable
469 $nanoseconds = ".".$nanoseconds; global() variable
[all...]
/third_party/musl/porting/liteos_m/user/hook/
H A Dlos_usr_libc.c401 UINT64 nanoseconds = (UINT64)useconds * OS_SYS_NS_PER_US; in usleep() local
411 UINT64 nanoseconds = (UINT64)seconds * OS_SYS_NS_PER_SECOND; in sleep() local
/third_party/rust/crates/nix/src/sys/
H A Dtime.rs168 fn nanoseconds(nanoseconds: i64) -> Self; in nanoseconds() functions
295 fn nanoseconds(nanosecond functions
539 fn nanoseconds(nanoseconds: i64) -> TimeVal { nanoseconds() functions
[all...]
/third_party/node/deps/v8/src/objects/
H A Djs-temporal-objects.cc97 int64_t nanoseconds; member
793 CreateTemporalDuration( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument
846 CreateTemporalDuration( Isolate* isolate, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument
1298 int64_t nanoseconds = DisambiguatePossibleInstants() local
1666 Handle<BigInt> nanoseconds = ToTemporalInstant() local
2216 int64_t nanoseconds = offset_nanoseconds % 1000000000; FormatTimeZoneOffsetString() local
2606 int32_t nanoseconds; ParseTemporalTimeZoneString() local
2731 int64_t nanoseconds; ParseTimeZoneOffsetString() local
3596 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, const char* method_name) BalanceDuration() argument
3609 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, Handle<Object> relative_to_obj, const char* method_name) BalanceDuration() argument
3881 NanosecondsToDays(Isolate* isolate, int64_t nanoseconds, Handle<Object> relative_to_obj, int64_t* result_days, int64_t* result_nanoseconds, int64_t* result_day_length, const char* method_name) NanosecondsToDays() argument
3891 NanosecondsToDays(Isolate* isolate, Handle<BigInt> nanoseconds, Handle<Object> relative_to_obj, int64_t* result_days, int64_t* result_nanoseconds, int64_t* result_day_length, const char* method_name) NanosecondsToDays() argument
4228 AddInstant(Isolate* isolate, Handle<BigInt> epoch_nanoseconds, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) AddInstant() argument
4629 AddTime(Isolate* isolate, int64_t hour, int64_t minute, int64_t second, int64_t millisecond, int64_t microsecond, int64_t nanosecond, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) AddTime() argument
4657 TotalDurationNanoseconds(Isolate* isolate, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds, int64_t offset_shift) TotalDurationNanoseconds() argument
4693 Constructor( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, Handle<Object> years, Handle<Object> months, Handle<Object> weeks, Handle<Object> days, Handle<Object> hours, Handle<Object> minutes, Handle<Object> seconds, Handle<Object> milliseconds, Handle<Object> microseconds, Handle<Object> nanoseconds) Constructor() argument
6219 Handle<BigInt> nanoseconds = handle(zoned_date_time->nanoseconds(), isolate); WithCalendar() local
6242 Handle<BigInt> nanoseconds = handle(zoned_date_time->nanoseconds(), isolate); WithTimeZone() local
[all...]

Completed in 23 milliseconds