/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
MockFieldNoValue.java | 60 package test.java.time.temporal; 62 import static java.time.temporal.ChronoUnit.MONTHS; 63 import static java.time.temporal.ChronoUnit.WEEKS; 65 import java.time.DateTimeException; 66 import java.time.temporal.Temporal; 67 import java.time.temporal.TemporalAccessor; 68 import java.time.temporal.TemporalField; 69 import java.time.temporal.TemporalUnit; 70 import java.time.temporal.ValueRange;
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
profiler.h | 38 AKLOGI("Total time is %6.3f ms.", totalTime); 39 for (const auto &time : mTimes) { 40 AKLOGI("(%d): Used %4.2f%%, %8.4f ms. Called %d times.", time.first, 41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]); 66 timespec time; local 67 clock_gettime(mClockId, &time); 68 return static_cast<int64_t>(time.tv_sec) * 1000000 69 + static_cast<int64_t>(time.tv_nsec) / 1000 [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
signal_solaris.go | 51 /* 41 */ {_SigNotify, "real time signal"}, 52 /* 42 */ {_SigNotify, "real time signal"}, 53 /* 43 */ {_SigNotify, "real time signal"}, 54 /* 44 */ {_SigNotify, "real time signal"}, 55 /* 45 */ {_SigNotify, "real time signal"}, 56 /* 46 */ {_SigNotify, "real time signal"}, 57 /* 47 */ {_SigNotify, "real time signal"}, 58 /* 48 */ {_SigNotify, "real time signal"}, 59 /* 49 */ {_SigNotify, "real time signal"}, 60 /* 50 */ {_SigNotify, "real time signal"} [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
signal_solaris.go | 51 /* 41 */ {_SigNotify, "real time signal"}, 52 /* 42 */ {_SigNotify, "real time signal"}, 53 /* 43 */ {_SigNotify, "real time signal"}, 54 /* 44 */ {_SigNotify, "real time signal"}, 55 /* 45 */ {_SigNotify, "real time signal"}, 56 /* 46 */ {_SigNotify, "real time signal"}, 57 /* 47 */ {_SigNotify, "real time signal"}, 58 /* 48 */ {_SigNotify, "real time signal"}, 59 /* 49 */ {_SigNotify, "real time signal"}, 60 /* 50 */ {_SigNotify, "real time signal"} [all...] |
/prebuilts/tools/common/m2/repository/joda-time/joda-time/2.8.1/ |
joda-time-2.8.1.jar | |
/prebuilts/tools/common/m2/repository/joda-time/joda-time/2.9.1/ |
joda-time-2.9.1.jar | |
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
TCKChronoField.java | 57 package tck.java.time.temporal; 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_DAY; 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 66 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 67 import static java.time.temporal.ChronoField.DAY_OF_WEEK [all...] |
/prebuilts/go/darwin-x86/src/time/ |
example_test.go | 9 "time" 15 t0 := time.Now() 17 t1 := time.Now() 22 d, err := time.ParseDuration("1h15m30.918273645s") 27 round := []time.Duration{ 28 time.Nanosecond, 29 time.Microsecond, 30 time.Millisecond, 31 time.Second, 32 2 * time.Second [all...] |
zoneinfo_test.go | 12 "time" 16 if time.ZoneinfoForTesting() != nil { 22 time.ResetZoneinfoForTesting() 31 time.LoadLocation("Asia/Jerusalem") 32 defer time.ResetZoneinfoForTesting() 34 if zoneinfo := time.ZoneinfoForTesting(); testZoneinfo != *zoneinfo { 40 time.ResetZoneinfoForTesting() 52 _, err := time.LoadLocation(v) 53 if err != time.ErrLocation { 60 time.ForceZipFileForTesting(true [all...] |
/prebuilts/go/linux-x86/src/time/ |
example_test.go | 9 "time" 15 t0 := time.Now() 17 t1 := time.Now() 22 d, err := time.ParseDuration("1h15m30.918273645s") 27 round := []time.Duration{ 28 time.Nanosecond, 29 time.Microsecond, 30 time.Millisecond, 31 time.Second, 32 2 * time.Second [all...] |
zoneinfo_test.go | 12 "time" 16 if time.ZoneinfoForTesting() != nil { 22 time.ResetZoneinfoForTesting() 31 time.LoadLocation("Asia/Jerusalem") 32 defer time.ResetZoneinfoForTesting() 34 if zoneinfo := time.ZoneinfoForTesting(); testZoneinfo != *zoneinfo { 40 time.ResetZoneinfoForTesting() 52 _, err := time.LoadLocation(v) 53 if err != time.ErrLocation { 60 time.ForceZipFileForTesting(true [all...] |
/device/google/cuttlefish_common/guest/hals/hwcomposer/legacy/ |
stats_keeper.h | 24 #include "common/libs/time/monotonic_time.h" 33 CompositionData(cvd::time::MonotonicTimePoint time_point, int num_prepares, 35 cvd::time::Nanoseconds prepare_time, 36 cvd::time::Nanoseconds set_calls_time) 44 cvd::time::MonotonicTimePoint time_point() const { return time_point_; } 52 cvd::time::Nanoseconds prepare_time() const { return prepare_time_; } 54 cvd::time::Nanoseconds set_calls_time() const { return set_calls_time_; } 57 cvd::time::MonotonicTimePoint time_point_; 61 cvd::time::Nanoseconds prepare_time_; 62 cvd::time::Nanoseconds set_calls_time_ [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 4 import android.text.format.Time; 16 @Implements(Time.class) 19 private Time time; field in class:ShadowTime 34 time.timezone = timezone; 35 time.year = 1970; 36 time.monthDay = 1; 37 time.isDst = -1; 40 public void __constructor__(Time other) { 45 public void set(Time other) [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
time_test.cc | 30 #include <google/protobuf/stubs/time.h> 44 DateTime time; local 45 time.year = year; 46 time.month = month; 47 time.day = day; 48 time.hour = time.minute = time.second = 0; 50 GOOGLE_CHECK(DateTimeToSeconds(time, &result)); 52 GOOGLE_CHECK(SecondsToDateTime(result, &time)); 60 DateTime time; local [all...] |
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 62 package java.time; 64 import static java.time.temporal.ChronoField.DAY_OF_WEEK; 65 import static java.time.temporal.ChronoUnit.DAYS; 67 import java.time.format.DateTimeFormatterBuilder; 68 import java.time.format.TextStyle; 69 import java.time.temporal.ChronoField; 70 import java.time.temporal.Temporal; 71 import java.time.temporal.TemporalAccessor; 72 import java.time.temporal.TemporalAdjuster; 73 import java.time.temporal.TemporalField [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
os_time.c | 30 * OS independent time-manipulation functions. 40 # include <time.h> /* timeval */ 41 # include <sys/time.h> /* timeval */ 90 struct timespec time; local 91 time.tv_sec = usecs / 1000000; 92 time.tv_nsec = (usecs % 1000000) * 1000; 93 while (clock_nanosleep(CLOCK_MONOTONIC, 0, &time, &time) == EINTR); 114 int64_t time, abs_timeout; local 120 time = os_time_get_nano() [all...] |
/libcore/luni/src/test/java/libcore/java/time/format/ |
DateTimeFormatterBuilderTest.java | 16 package libcore.java.time.format; 19 import java.time.DateTimeException; 20 import java.time.LocalDate; 21 import java.time.Month; 22 import java.time.OffsetDateTime; 23 import java.time.ZoneId; 24 import java.time.ZoneOffset; 25 import java.time.ZonedDateTime; 26 import java.time.format.DateTimeFormatter; 27 import java.time.format.DateTimeFormatterBuilder [all...] |
/external/caliper/lib/ |
joda-time-2.1.jar | |
/external/libchrome/base/third_party/nspr/ |
prtime.cc | 42 * NSPR date and time functions 65 * Unit tests are in base/time/pr_time_unittest.cc. 75 #include <time.h> 98 static void localtime_r(const time_t* secs, struct tm* time) { 99 (void) localtime_s(time, secs); 196 * 'time' should point to a normalized PRExplodedTime. 200 ApplySecOffset(PRExplodedTime *time, PRInt32 secOffset) 202 time->tm_sec += secOffset; 205 if (time->tm_sec < 0 || time->tm_sec >= 60) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1UTCTime.java | 16 - * UTC time object. 39 private byte[] time; field in class:ASN1UTCTime 42 * return an UTC Time from the passed in object. 72 * return an UTC Time from a tagged object. 105 * @param time the time string. 108 String time) 110 this.time = Strings.toByteArray(time); 123 * @param time the Date to build the time from [all...] |
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 44 * @param time new time to display - in milliseconds 46 private static void setTime(long time) { 50 if (time < 0) { 51 time = -time; 54 long seconds = time / 1000; 55 long hundreds = (time - seconds * 1000) / 10 [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 44 * @param time new time to display - in milliseconds 46 private static void setTime(long time) { 50 if (time < 0) { 51 time = -time; 54 long seconds = time / 1000; 55 long hundreds = (time - seconds * 1000) / 10 [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 44 * @param time new time to display - in milliseconds 46 private static void setTime(long time) { 50 if (time < 0) { 51 time = -time; 54 long seconds = time / 1000; 55 long hundreds = (time - seconds * 1000) / 10 [all...] |
/external/compiler-rt/test/asan/TestCases/ |
time_interceptor.cc | 3 // Test the time() interceptor. 5 // There's no interceptor for time() on Windows yet. 10 #include <time.h> 15 time_t t = time(tm); 16 printf("Time: %s\n", ctime(&t)); // NOLINT
|
/external/libbrillo/brillo/message_loops/ |
message_loop_utils.h | 9 #include <base/time/time.h>
|