/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
6-2-buildonly.c | 12 #include <time.h>
|
6-3-buildonly.c | 13 #include <time.h>
|
34-1-buildonly.c | 13 #include <time.h>
|
35-1-buildonly.c | 12 #include <time.h>
|
35-2-buildonly.c | 11 #include <time.h>
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
TemporalAdjuster.java | 62 package java.time.temporal; 64 import java.time.DateTimeException;
|
TemporalQuery.java | 62 package java.time.temporal; 64 import java.time.DateTimeException;
|
TemporalAmount.java | 62 package java.time.temporal; 64 import java.time.DateTimeException; 65 import java.time.Duration; 66 import java.time.Period; 70 * Framework-level interface defining an amount of time, such as 73 * This is the base interface type for amounts of time. 74 * An amount is distinct from a date or time-of-day in that it is not tied 75 * to any specific point on the time-line. 85 * {@link Duration} is a time-based implementation, storing seconds and nanoseconds, 122 * The list is a snapshot of the units at the time {@code getUnits [all...] |
/external/libtextclassifier/util/calendar/ |
calendar_test.cc | 30 int64 time; local 36 0L, "Zurich", "en-CH", GRANULARITY_UNKNOWN, &time); 43 int64 time; local 60 /*granularity=*/GRANULARITY_YEAR, &time)); 61 EXPECT_EQ(time, 1514761200000L /* Jan 01 2018 00:00:00 */); 67 /*granularity=*/GRANULARITY_MONTH, &time)); 68 EXPECT_EQ(time, 1522533600000L /* Apr 01 2018 00:00:00 */); 74 /*granularity=*/GRANULARITY_WEEK, &time)); 75 EXPECT_EQ(time, 1524434400000L /* Mon Apr 23 2018 00:00:00 */); 81 /*granularity=*/GRANULARITY_WEEK, &time)); [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
TCKChronoFieldSerialization.java | 57 package tck.java.time.temporal.serial; 59 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH; 60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR; 61 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_MONTH; 62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR; 63 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 66 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 67 import static java.time.temporal.ChronoField.DAY_OF_WEEK [all...] |
/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/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...] |
/device/google/cuttlefish_common/common/libs/time/ |
monotonic_time.cpp | 16 #include "common/libs/time/monotonic_time.h" 19 namespace time { namespace in namespace:cvd 25 } // namespace time
|
/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);
|
/libcore/ojluni/src/main/java/java/time/format/ |
FormatStyle.java | 62 package java.time.format; 65 * Enumeration of the style of a localized date, time or date-time formatter. 67 * These styles are used when obtaining a date-time style from configuration.
|
ResolverStyle.java | 62 package java.time.format; 69 * Phase 2 resolves the parsed field-value pairs into date and/or time objects.
|
/packages/apps/Dialer/java/com/android/dialer/time/ |
Clock.java | 17 package com.android.dialer.time; 19 /** Functional interface for providing time since epoch. */
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
HijrahEra.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.ERA; 66 import java.time.DateTimeException; 67 import java.time.temporal.ChronoField; 68 import java.time.temporal.TemporalField; 69 import java.time.temporal.UnsupportedTemporalTypeException; 70 import java.time.temporal.ValueRange;
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
DateUtils.java | 19 import android.text.format.Time; 28 * @param time Instance of time object to use for calculations. 33 public static int getDayDifference(Time time, long date1, long date2) { 34 time.set(date1); 35 int startDay = Time.getJulianDay(date1, time.gmtoff); 37 time.set(date2); 38 int currentDay = Time.getJulianDay(date2, time.gmtoff) [all...] |
/prebuilts/ndk/r16/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;
|