Home
last modified time | relevance | path

Searched defs:nanos (Results 1 – 25 of 149) sorted by relevance

123456

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DUtil.java59 static public double convertToMicros(long nanos) { in convertToMicros()
63 static public double convertToMillis(long nanos) { in convertToMillis()
67 static public double convertToSeconds(long nanos) { in convertToSeconds()
76 static String durationInDurationUnitsAsStr(long nanos, DurationUnit durationUnit) { in durationInDurationUnitsAsStr()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc64 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
84 Duration CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
108 std::string FormatNanos(int32 nanos) { in FormatNanos()
118 std::string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
122 bool ParseTime(const std::string& value, int64* seconds, int32* nanos) { in ParseTime()
126 void CurrentTime(int64* seconds, int32* nanos) { in CurrentTime()
162 int32 nanos; in FromString() local
172 int32 nanos; in GetCurrentTime() local
182 int32 nanos = duration.nanos(); in ToString() local
226 int64 nanos = strto64(nanos_part.c_str(), &end, 10); in FromString() local
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java156 public static boolean isValid(long seconds, int nanos) { in isValid()
170 int nanos = timestamp.getNanos(); in checkValid() local
207 int nanos = timestamp.getNanos(); in toString() local
258 int nanos = nanoValue.isEmpty() ? 0 : parseNanos(nanoValue); in parse() local
387 static Timestamp normalizedTimestamp(long seconds, int nanos) { in normalizedTimestamp()
427 static String formatNanos(int nanos) { in formatNanos()
DDurations.java128 public static boolean isValid(long seconds, int nanos) { in isValid()
182 int nanos = duration.getNanos(); in checkValid() local
218 int nanos = duration.getNanos(); in toString() local
259 int nanos = nanoValue.isEmpty() ? 0 : Timestamps.parseNanos(nanoValue); in parse() local
439 static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
DTimeUtil.java335 int nanos = (int) ((result - seconds) * 1000000000); in multiply() local
379 int nanos = value.remainder(new BigInteger(String.valueOf(NANOS_PER_SECOND))).intValue(); in createDurationFromBigInteger() local
383 private static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
/external/junit/src/main/java/org/junit/rules/
DStopwatch.java105 protected void succeeded(long nanos, Description description) { in succeeded()
111 protected void failed(long nanos, Throwable e, Description description) { in failed()
117 protected void skipped(long nanos, AssumptionViolatedException e, Description description) { in skipped()
123 protected void finished(long nanos, Description description) { in finished()
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc133 string FormatNanos(int32 nanos) { in FormatNanos()
170 const char* ParseNanos(const char* data, int32* nanos) { in ParseNanos()
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()
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DDuration.java53 public static Duration create(long seconds, int nanos) { in create()
88 int nanos = (int) (millis % MILLIS_PER_SECOND * NANOS_PER_MILLI); in fromMillis() local
/external/rust/crates/chrono/src/
Doldtime.rs52 nanos: i32, // Always 0 <= nanos < NANOS_PER_SEC field
120 let nanos = millis as i32 * NANOS_PER_MILLI; in milliseconds() localVariable
128 let nanos = micros as i32 * NANOS_PER_MICRO; in microseconds() localVariable
211 let mut nanos = self.nanos + rhs.nanos; in checked_add() localVariable
229 let mut nanos = self.nanos - rhs.nanos; in checked_sub() localVariable
320 let mut nanos = self.nanos + rhs.nanos; in add() localVariable
334 let mut nanos = self.nanos - rhs.nanos; in sub() localVariable
362 let mut nanos = self.nanos / rhs + extra_nanos as i32; in div() localVariable
/external/skia/tools/timer/
DTimeUtils.h16 static inline SkMSec NanosToMSec(double nanos) { in NanosToMSec()
22 static inline double NanosToSeconds(double nanos) { in NanosToSeconds()
/external/guava/android/guava/src/com/google/common/base/
DStopwatch.java210 long nanos = elapsedNanos(); in toString() local
219 private static TimeUnit chooseUnit(long nanos) { in chooseUnit()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java228 long nanos = elapsedNanos(); in toString() local
237 private static TimeUnit chooseUnit(long nanos) { in chooseUnit()
/external/jackson-databind/src/test/java/perf/
DObjectWriterTestBase.java114 long nanos = System.nanoTime() - start; in testSer() local
119 protected final double _msecsFromNanos(long nanos) { in _msecsFromNanos()
/external/skia/modules/skottie/gm/
DSkottieGM.cpp73 bool onAnimate(double nanos) override { in onAnimate()
131 bool onAnimate(double nanos) override { in onAnimate()
215 bool onAnimate(double nanos) override { in onAnimate()
/external/protobuf/src/google/protobuf/
Dduration.proto115 int32 nanos = 2; field
Dtimestamp.proto137 int32 nanos = 2; field
/external/golang-protobuf/ptypes/duration/
Dduration.proto115 int32 nanos = 2; field
/external/golang-protobuf/ptypes/timestamp/
Dtimestamp.proto137 int32 nanos = 2; field
/external/skia/gm/
Danimatedimageblurs.cpp71 bool onAnimate(double nanos) override { in onAnimate()
108 void update(double nanos, SkScalar lastTime) { in update()
Daddarc.cpp65 bool onAnimate(double nanos) override { in onAnimate()
149 bool onAnimate(double nanos) override { in onAnimate()
202 bool onAnimate(double nanos) override { in onAnimate()
/external/guava/guava/src/com/google/common/util/concurrent/
DOverflowAvoidingLockSupport.java32 static void parkNanos(@Nullable Object blocker, long nanos) { in parkNanos()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DOverflowAvoidingLockSupport.java32 static void parkNanos(@NullableDecl Object blocker, long nanos) { in parkNanos()
/external/llvm/include/llvm/Support/
DTimeValue.h267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
/external/llvm-project/lldb/source/Utility/
DTimer.cpp111 uint64_t nanos; member
133 uint64_t nanos = i->m_nanos.load(std::memory_order_acquire); in DumpCategoryTimes() local

123456