/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRegressionTest.java | 103 * (Assume transition time of 2:00 AM) 125 * Savings Time (PDT) does work at 2am. 230 // time. 314 // Note: this test depends on the PST time zone. 325 // the dt value is local time in PST. 327 errln("We're not in Daylight Savings Time and we should be.\n"); 346 // restore the initial time zone so that this test case 392 * must be non-zero. There is no upper limit at this time. 402 Integer.MAX_VALUE, GOOD, // no upper limit on DST savings at this time 510 int time = DATA[i+4] local 1051 long time = testCal.getTimeInMillis(); local [all...] |
TimeZoneRuleTest.java | 67 "RBTZ_Initial", // Initial time Name 74 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time 80 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time 89 1*HOUR, DateTimeRule.WALL_TIME); // Last Sunday in September at 1AM wall time 93 1*HOUR, DateTimeRule.WALL_TIME); // SUN>=8 in February, at 1AM wall time 97 // Equivalent, but different time rule type 113 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); 116 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); 119 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); 150 errln("FAIL: Invalid time zone offset: " + offset + " /expected: 0") 593 long time = testTimes[n]; local 717 long time = testTimes[n]; local 1492 long time; local 1563 long time = start; local 1612 long time = end; local 1745 long time = start; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdattst.c | 95 log_data_err("FAIL: error in creating the dateformat using full time style with french locale -> %s (Are you missing data?)\n", 105 log_err("FAIL: error in creating the dateformat using short date and time style\n %s\n", 119 log_err("FAIL: error in creating the dateformat using long time and date styles with german locale\n %s\n", 127 log_err("FAIL: error in creating the dateformat using short date and time style\n %s\n", 139 log_verbose("The number of locales for which date/time formatting patterns are available is %d\n", numlocales); 398 Test combined relative date formatting (relative date + non-relative time). 400 relative date formatting is relative to the time the tests are run. We generate 402 run right at midnight Pacific time and the call to ucal_getNow() is before midnight 439 log_data_err("Generate UDate for a specified time today fails, error %s - (Are you missing data?)\n", myErrorName(status) ); 485 log_err("udat_toPatternRelativeTime timeStyle SHORT dateStyle (%d | UDAT_RELATIVE) time pattern incorrect\n", *stylePtr ) 833 UDateFormat *date=0, *time=0, *full=0; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.cpp | 925 * Confirm that the offset between local time and GMT behaves as expected. 2311 UDate start = 0.0, time; local [all...] |
tzrulets.cpp | 168 "RBTZ_Initial", // Initial time Name 175 1*HOUR, DateTimeRule::WALL_TIME); // SUN<=30 in September, at 1AM wall time 184 1*HOUR, DateTimeRule::WALL_TIME); // 2nd Sunday in February, at 1AM wall time 200 1*HOUR, DateTimeRule::WALL_TIME); // Last Sunday in September at 1AM wall time 207 1*HOUR, DateTimeRule::WALL_TIME); // SUN>=8 in February, at 1AM wall time 218 // Equivalent, but different time rule type 244 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); 250 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); 256 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); 276 UDate time; local 998 UDate time = getUTCMillis(TESTDATES[i][0], TESTDATES[i][1], TESTDATES[i][2]); local 2335 UDate time; local 2423 UDate time = start; local 2480 UDate time = end; local 2558 UDate time = start; local [all...] |
tztest.cpp | 126 logln("time and local time. E.g., -28,800 for PST (GMT-8hrs)"); 132 * A few time zones are using GMT offests not a multiple of 15 minutes. 144 /* Host time zone's offset should match the offset returned by uprv_timezone() */ 181 UDate marchOneStd = gc->getTime(status); // Local Std time midnight 184 UDate julyOneStd = gc->getTime(status); // Local Std time midnight 187 // Starting and ending hours, WALL TIME 199 UDate julyOne = julyOneStd + endHour - 3600000; // Adjust from wall to Std time 791 * "CAT" (Central African Time) should be GMT+2:00, but instead returns a 797 * ECT (European Central Time) GMT+1:00: ECT is Ecuador Time 1796 int32_t time; \/\/ epoch seconds member in struct:__anon24311 [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
tz2icu.cpp | 58 // Time utilities 93 * that time. secondsToYear(0) == 1970. 125 int64_t time; // seconds, 1970 epoch member in struct:Transition 128 time = _time; 133 // A behavior mode (what zic calls a 'type') of a time zone. 371 // Preserve the latest transition before the 32bit minimum time 385 // If there are any transitions before the 32bit minimum time, 386 // put the type information with the 32bit minimum time 444 // Add the initial type associated with the lowest int32 time 486 // abbr at this time 770 int32_t time; member in struct:FinalRulePart 960 int32_t month, dom, dow, time, offset; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
VTimeZone.java | 26 * <code>VTimeZone</code> instance from a time zone ID supported by <code>TimeZone</code>. 29 * from RFC2445 VTIMEZONE data stream, which allows you to calculate time 43 * Create a <code>VTimeZone</code> instance by the time zone ID. 45 * @param tzid The time zone ID, such as America/New_York 46 * @return A <code>VTimeZone</code> initialized by the time zone ID, or null 229 * Writes RFC2445 VTIMEZONE data for this time zone 272 * the specified start time. 275 * @param start The start time 282 // Extract rules applicable to dates after the start time 301 * Some common iCalendar implementations can only handle a single time 2006 long time = Grego.fieldsToDay(year, month, day) * Grego.MILLIS_PER_DAY; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRegressionTest.java | 100 * (Assume transition time of 2:00 AM) 122 * Savings Time (PDT) does work at 2am. 227 // time. 311 // Note: this test depends on the PST time zone. 322 // the dt value is local time in PST. 324 errln("We're not in Daylight Savings Time and we should be.\n"); 343 // restore the initial time zone so that this test case 389 * must be non-zero. There is no upper limit at this time. 399 Integer.MAX_VALUE, GOOD, // no upper limit on DST savings at this time 507 int time = DATA[i+4] local 1048 long time = testCal.getTimeInMillis(); local [all...] |
TimeZoneRuleTest.java | 64 "RBTZ_Initial", // Initial time Name 71 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time 77 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time 86 1*HOUR, DateTimeRule.WALL_TIME); // Last Sunday in September at 1AM wall time 90 1*HOUR, DateTimeRule.WALL_TIME); // SUN>=8 in February, at 1AM wall time 94 // Equivalent, but different time rule type 110 errln("FAIL: rbtz1 must be equivalent to the SimpleTimeZone in the time range."); 113 errln("FAIL: rbtz2 must be equivalent to the SimpleTimeZone in the time range."); 116 errln("FAIL: rbtz3 must be equivalent to the SimpleTimeZone in the time range."); 147 errln("FAIL: Invalid time zone offset: " + offset + " /expected: 0") 590 long time = testTimes[n]; local 714 long time = testTimes[n]; local 1489 long time; local 1560 long time = start; local 1609 long time = end; local 1742 long time = start; local [all...] |
/external/iputils/ |
rdisc.c | 34 #include <sys/time.h> 94 static void age_table(int time); 415 * Added the next line to stop forking a second time 491 static int time; local 496 time += TIMER_INTERVAL; 678 "Time Exceeded", 1339 /* Note: this might leave the kernel with no default route for a short time. */ 1341 age_table(int time) 1350 tp->remaining_time -= time; [all...] |
/external/jemalloc_new/src/ |
arena.c | 446 arena_decay_deadline_reached(const arena_decay_t *decay, const nstime_t *time) { 447 return (nstime_compare(&decay->deadline, time) <= 0); 522 arena_decay_epoch_advance_helper(arena_decay_t *decay, const nstime_t *time, 524 assert(arena_decay_deadline_reached(decay, time)); 527 nstime_copy(&delta, time); 547 extents_t *extents, const nstime_t *time, bool is_background_thread) { 549 arena_decay_epoch_advance_helper(decay, time, current_npages); 629 nstime_t time; local 630 nstime_init(&time, 0); 631 nstime_update(&time); [all...] |
/external/libcxx/src/ |
locale.cpp | 155 const locale::category locale::time; member in class:locale 334 if (c & locale::time) 413 if (c & locale::time) [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 319 // Sun Pro CC supports exceptions. However, there is no compile-time way of 440 # include <time.h> // NOLINT 457 // implementation of it already. At this time, GCC 4.0.0+ and MSVC 693 // The GTEST_COMPILE_ASSERT_ macro can be used to verify that a compile time 726 // are determined at run-time (this is gcc's extension and not part 732 // // not a compile-time constant. 735 // expr is a compile-time constant. (Template arguments must be 736 // determined at compile-time.) 1085 const timespec time = { local [all...] |
/external/perf_data_converter/src/quipper/kernel/ |
perf_internals.h | 136 u64 time; member in struct:quipper::fork_event 159 u64 time; member in struct:quipper::throttle_event 243 u64 time; member in struct:quipper::perf_sample
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
gtest-port.h | 313 // Sun Pro CC supports exceptions. However, there is no compile-time way of 433 # include <time.h> // NOLINT 450 // implementation of it already. At this time, GCC 4.0.0+ and MSVC 685 // The GTEST_COMPILE_ASSERT_ macro can be used to verify that a compile time 718 // are determined at run-time (this is gcc's extension and not part 724 // // not a compile-time constant. 727 // expr is a compile-time constant. (Template arguments must be 728 // determined at compile-time.) 1077 const timespec time = { local [all...] |
/external/v8/src/ |
counters.h | 12 #include "src/base/platform/time.h" 332 // Records the time elapsed to |histogram_| and stops |timer_|. 345 // stop time rather than start time. 441 // It will not take time if take_time is set to false. 462 // (to be aggregated) scope, where the inner scope measure the time of events, 464 // An example use might be to aggregate the time spent in lazy compilation 484 // Add a time value ("inner" scope). 529 // AggretatedMemoryHistogram collects (time, value) sample pairs and turns 530 // them into time-uniform samples for the backing historgram, such that th 660 base::TimeDelta time() const { function in class:v8::internal::final [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 26 #include <sys/time.h> 2641 int32_t time = systemTime() \/ 1000000L; local 2781 int32_t time = systemTime() \/ 1000000L; \/\/in ms local [all...] |
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 30 #include <time.h> 80 static const char SYSTEM_TIME_DIR_NAME[] = "time"; 81 static const char SYSTEM_TIME_DIR_PATH[] = "/data/system/time"; 85 static const char LAST_TIME_CHANGED_FILE_PATH[] = "/data/system/time/last_time_change"; 87 static const char ACCURATE_TIME_FLAG_FILE_PATH[] = "/data/system/time/time_is_accurate"; 88 static const char TIME_FORMAT_12_HOUR_FLAG_FILE_PATH[] = "/data/system/time/time_format_12_hour"; 115 ALOGD("%sAnimationStartTiming start time: %" PRId64 "ms", mShuttingDown ? "Shutdown" : "Boot", 124 ALOGD("%sAnimationStopTiming start time: %" PRId64 "ms", mShuttingDown ? "Shutdown" : "Boot", 134 ALOGD("%sAnimationPreloadTiming start time: %" PRId64 "ms", 137 ALOGD("%sAnimationPreloadStopTiming start time: %" PRId64 "ms" 431 double time = now - startTime; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatTest.java | 208 * Instantiate a SimpleDateFormat set up to produce a full time 213 * A String array for the time zone ids. 222 logln("Time Zone IDs size:" + ids_length); 254 * Instantiate a date so we can display the time zone name. 386 "", "", "", "", "PM", "2", "", "Pacific Daylight Time", "", "", 401 "0225", "0002", "0033", "0003", "PM", "0002", "0002", "Pacific Daylight Time", "1997", "Wednesday", 402 "1997", "2450674", "52452513", "GMT-07:00", "Pacific Time", "Wednesday", "August", "3rd quarter", "3rd quarter", "Los Angeles Time", 443 "34", "August", "", "12", "Pacific Daylight Time", 461 "0034", "August", "3rd quarter", "0012", "Pacific Daylight Time", 763 long time = 0; local 2118 DateFormat date=null, time=null, full=null; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatTest.java | 205 * Instantiate a SimpleDateFormat set up to produce a full time 210 * A String array for the time zone ids. 219 logln("Time Zone IDs size:" + ids_length); 251 * Instantiate a date so we can display the time zone name. 383 "", "", "", "", "PM", "2", "", "Pacific Daylight Time", "", "", 398 "0225", "0002", "0033", "0003", "PM", "0002", "0002", "Pacific Daylight Time", "1997", "Wednesday", 399 "1997", "2450674", "52452513", "GMT-07:00", "Pacific Time", "Wednesday", "August", "3rd quarter", "3rd quarter", "Los Angeles Time", 440 "34", "August", "", "12", "Pacific Daylight Time", 458 "0034", "August", "3rd quarter", "0012", "Pacific Daylight Time", 760 long time = 0; local 2115 DateFormat date=null, time=null, full=null; local [all...] |
/art/runtime/gc/space/ |
image_space.cc | 1003 const uint64_t time = NanoTime() - start; local [all...] |
/bionic/libc/kernel/uapi/sound/ |
asequencer.h | 14 *** Any manual change here will be lost the next time this script will 143 struct snd_seq_real_time time; member in union:snd_seq_timestamp 154 union snd_seq_timestamp time; member in union:snd_seq_ev_queue_control::__anon1436 171 union snd_seq_timestamp time; member in struct:snd_seq_event 181 union snd_seq_timestamp time; member in union:snd_seq_event::__anon1437 253 union snd_seq_timestamp time; member in struct:snd_seq_remove_events 317 struct snd_seq_real_time time; member in struct:snd_seq_queue_status
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
RVCVXCheckAnalyzer.java | 335 * Attitude record in time roll pitch yaw format. 339 public double time; field in class:RVCVXCheckAnalyzer.AttitudeRec 346 time = atime; 354 time = atime; 362 time = rec.time; 363 roll = rec.time; 368 // copy roll-pitch-yaw value but leave the time specified by atime 370 time = atime; 371 roll = rec.time; 514 double time; local 757 double time = timebase.get(i).time + delta_t; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 200 long time = System.currentTimeMillis(); local 203 while (System.currentTimeMillis() - time < RECORD_TIME) { 215 time = System.currentTimeMillis(); 218 while (System.currentTimeMillis() - time < RECORD_TIME) { 230 time = System.currentTimeMillis(); 233 while (System.currentTimeMillis() - time < RECORD_TIME) { 253 time = System.currentTimeMillis(); 256 while (System.currentTimeMillis() - time < RECORD_TIME) { 539 final int RECORD_ENCODING = AudioFormat.ENCODING_PCM_16BIT; // fixed at this time. [all...] |