/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | Util.java | 59 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/ |
D | time_util.cc | 64 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/ |
D | Timestamps.java | 156 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()
|
D | Durations.java | 128 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()
|
D | TimeUtil.java | 335 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/ |
D | Stopwatch.java | 105 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/ |
D | time.cc | 133 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/ |
D | Duration.java | 53 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/ |
D | oldtime.rs | 52 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/ |
D | TimeUtils.h | 16 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/ |
D | Stopwatch.java | 210 long nanos = elapsedNanos(); in toString() local 219 private static TimeUnit chooseUnit(long nanos) { in chooseUnit()
|
/external/guava/guava/src/com/google/common/base/ |
D | Stopwatch.java | 228 long nanos = elapsedNanos(); in toString() local 237 private static TimeUnit chooseUnit(long nanos) { in chooseUnit()
|
/external/jackson-databind/src/test/java/perf/ |
D | ObjectWriterTestBase.java | 114 long nanos = System.nanoTime() - start; in testSer() local 119 protected final double _msecsFromNanos(long nanos) { in _msecsFromNanos()
|
/external/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 73 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/ |
D | duration.proto | 115 int32 nanos = 2; field
|
D | timestamp.proto | 137 int32 nanos = 2; field
|
/external/golang-protobuf/ptypes/duration/ |
D | duration.proto | 115 int32 nanos = 2; field
|
/external/golang-protobuf/ptypes/timestamp/ |
D | timestamp.proto | 137 int32 nanos = 2; field
|
/external/skia/gm/ |
D | animatedimageblurs.cpp | 71 bool onAnimate(double nanos) override { in onAnimate() 108 void update(double nanos, SkScalar lastTime) { in update()
|
D | addarc.cpp | 65 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/ |
D | OverflowAvoidingLockSupport.java | 32 static void parkNanos(@Nullable Object blocker, long nanos) { in parkNanos()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | OverflowAvoidingLockSupport.java | 32 static void parkNanos(@NullableDecl Object blocker, long nanos) { in parkNanos()
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 267 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/ |
D | TimeValue.h | 267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime() 296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
|
/external/llvm-project/lldb/source/Utility/ |
D | Timer.cpp | 111 uint64_t nanos; member 133 uint64_t nanos = i->m_nanos.load(std::memory_order_acquire); in DumpCategoryTimes() local
|