/external/jemalloc/src/ |
nstime.c | 6 nstime_init(nstime_t *time, uint64_t ns) 9 time->ns = ns; 13 nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) 16 time->ns = sec * BILLION + nsec; 20 nstime_ns(const nstime_t *time) 23 return (time->ns); 27 nstime_sec(const nstime_t *time) 30 return (time->ns / BILLION); 34 nstime_nsec(const nstime_t *time) 37 return (time->ns % BILLION) [all...] |
/external/jemalloc/include/jemalloc/internal/ |
nstime.h | 24 void nstime_init(nstime_t *time, uint64_t ns); 25 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec); 26 uint64_t nstime_ns(const nstime_t *time); 27 uint64_t nstime_sec(const nstime_t *time); 28 uint64_t nstime_nsec(const nstime_t *time); 29 void nstime_copy(nstime_t *time, const nstime_t *source); 31 void nstime_add(nstime_t *time, const nstime_t *addend); 32 void nstime_subtract(nstime_t *time, const nstime_t *subtrahend); 33 void nstime_imultiply(nstime_t *time, uint64_t multiplier); 34 void nstime_idivide(nstime_t *time, uint64_t divisor) [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
gettimeofday.c | 4 #include <time.h> 7 #include <sys/time.h> 14 Writes the current time to @var{tp}. This implementation requires 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
reference_picture_selection_unittest.cc | 18 // The minimum time between reference frame updates. Should match the values 21 // The minimum time between decoder refreshes through restricted prediction. 54 uint32_t time = (4 * kMinUpdateInterval) / 3 + 1; local 55 EXPECT_EQ(rps_.EncodeFlags(1, false, 90 * time), kPropagateAltRef); 57 time += (4 * (time + kMinUpdateInterval)) / 3 + 1; 59 EXPECT_EQ(rps_.EncodeFlags(2, false, 90 * time), kPropagateGolden); 62 time = (4 * (time + kMinUpdateInterval)) / 3 + 1; 63 EXPECT_EQ(rps_.EncodeFlags(3, false, 90 * time), kPropagateAltRef) 72 uint32_t time = kRtt + 1; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
time.c | 1 /* $OpenBSD: time.c,v 1.7 2015/10/29 03:58:55 mmcc Exp $ */ 31 #include <sys/time.h> 32 #include <time.h> 35 time(time_t *t) function 45 DEF_STRONG(time); variable
|
/external/libchrome/sandbox/linux/system_headers/ |
linux_time.h | 8 #include <time.h>
|
/external/proguard/src/proguard/gui/splash/ |
LinearTiming.java | 24 * This Timing ramps up linearly from 0 to 1 in a given time interval. 36 * @param fromTime the time at which the timing starts ramping up from 0. 37 * @param toTime the time at which the timing stops ramping up at 1. 48 public double getTiming(long time) 51 return time <= fromTime ? 0.0 : 52 time >= toTime ? 1.0 : 53 (double)(time - fromTime) / (double)(toTime - fromTime);
|
SmoothTiming.java | 24 * This Timing ramps up smoothly from 0 to 1 in a given time interval. 36 * @param fromTime the time at which the timing starts ramping up from 0. 37 * @param toTime the time at which the timing stops ramping up at 1. 48 public double getTiming(long time) 50 if (time <= fromTime) 55 if (time >= toTime) 61 double timing = (double) (time - fromTime) / (double) (toTime - fromTime);
|
Timing.java | 24 * This interface maps a time to a normalized timing between 0 and 1. 31 * Returns the timing for the given time. 33 public double getTiming(long time);
|
VariableDouble.java | 24 * This interface represents a double that varies with time. 31 * Returns the double for the given time. 33 public double getDouble(long time);
|
VariableInt.java | 24 * This interface represents an integer that varies with time. 31 * Returns the integer for the given time. 33 public int getInt(long time);
|
VariableString.java | 24 * This interface represents a String that varies with time. 31 * Returns the String for the given time. 33 public String getString(long time);
|
SawToothTiming.java | 24 * This Timing ramps up linearly from 0 to 1 in a given repeated time interval. 36 * @param period the time period for a full cycle. 37 * @param phase the phase of the cycle, which is added to the actual time. 48 public double getTiming(long time) 51 return (double)((time + phase) % period) / (double)period;
|
/external/skia/src/animator/ |
SkDisplayScreenplay.h | 18 SkMSec time; member in class:SkDisplayScreenplay
|
/system/core/bootstat/ |
uptime_parser.h | 20 #include <time.h>
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 28 * Return a prettified version of the given elapsed time 35 StringBuilder time = new StringBuilder(); local 37 time.append(hours); 38 time.append("h "); 41 time.append(minutes); 42 time.append("m "); 44 time.append(seconds); 45 time.append("s"); 47 return time.toString(); 60 * Return the given time as a {@link String} suitable for displaying [all...] |
/development/ndk/sources/android/ndk_helper/ |
perfMonitor.h | 22 #include <time.h> 31 * Helper class for a performance monitoring and get current tick time 53 struct timeval time; local 54 gettimeofday( &time, NULL ); 55 double ret = time.tv_sec + time.tv_usec * 1.0 / 1000000.0;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TimeZoneTransition.java | 10 * <code>TimeZoneTransition</code> is a class representing a time zone transition. 11 * An instance has a time of transition and rules for both before and 19 private final long time; field in class:TimeZoneTransition 22 * Constructs a <code>TimeZoneTransition</code> with the time and the rules before/after 25 * @param time The time of transition in milliseconds since the base time. 26 * @param from The time zone rule used before the transition. 27 * @param to The time zone rule used after the transition. 29 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
TimeZoneTransition.java | 9 * <code>TimeZoneTransition</code> is a class representing a time zone transition. 10 * An instance has a time of transition and rules for both before and 18 private final long time; field in class:TimeZoneTransition 21 * Constructs a <code>TimeZoneTransition</code> with the time and the rules before/after 24 * @param time The time of transition in milliseconds since the base time. 25 * @param from The time zone rule used before the transition. 26 * @param to The time zone rule used after the transition. 30 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) [all...] |
/system/update_engine/common/ |
fake_clock.h | 24 // Implements a clock that can be made to tell any time you want. 29 base::Time GetWallclockTime() override { 33 base::Time GetMonotonicTime() override { 37 base::Time GetBootTime() override { 41 void SetWallclockTime(const base::Time &time) { 42 wallclock_time_ = time; 45 void SetMonotonicTime(const base::Time &time) { 46 monotonic_time_ = time; [all...] |
/external/tlsdate/src/compat/ |
clock-darwin.c | 14 #include <sys/time.h> 15 #include <time.h> 31 * Get current real time value and store it into time. 33 * @param time where the current time is stored 36 int clock_get_real_time(struct tlsdate_time *time) 39 assert(time); 66 time->tp.tv_sec = mts.tv_sec; 67 time->tp.tv_nsec = mts.tv_nsec [all...] |
clock.h | 18 #include <time.h> 22 #include <sys/time.h> 53 int clock_get_real_time(struct tlsdate_time *time); 56 int clock_set_real_time(const struct tlsdate_time *time); 59 void clock_init_time(struct tlsdate_time *time, time_t sec, long nsec); 61 /* Helper macros to access time values */ 62 #define CLOCK_SEC(time) ((time)->tp.tv_sec) 63 #define CLOCK_MSEC(time) ((time)->tp.tv_nsec / 1000000 [all...] |
/development/ndk/platforms/android-3/include/sys/ |
timeb.h | 31 #include <sys/time.h> 36 time_t time; member in struct:timeb
|
/frameworks/base/core/java/android/app/usage/ |
TimeSparseArray.java | 37 * the given time. 39 * @param time The timestamp for which to search the array. 42 public int closestIndexOnOrAfter(long time) { 54 if (time > key) { 56 } else if (time < key) { 63 if (time < key) { 65 } else if (time > key && lo < size) { 74 * the given time. 76 * @param time The timestamp for which to search the array. 79 public int closestIndexOnOrBefore(long time) { [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
venc_util.c | 39 #include <time.h> 40 #include <sys/time.h>
|