HomeSort by relevance Sort by last modified time
    Searched refs:seconds (Results 651 - 675 of 1528) sorted by null

<<21222324252627282930>>

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
datetimemodule.c 40 * carries from adding seconds.
83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)
87 #define SET_TD_SECONDS(o, v) ((o)->seconds = (v))
453 /* Fiddle days (d), seconds (s), and microseconds (us) so that
726 * that seconds and microseconds are already in their proper ranges. In any
731 new_delta_ex(int days, int seconds, int microseconds, int normalize,
737 normalize_d_s_us(&days, &seconds, &microseconds);
738 assert(0 <= seconds && seconds < 24*3600);
748 SET_TD_SECONDS(self, seconds);
1685 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); local
1744 int seconds = GET_TD_SECONDS(left) - GET_TD_SECONDS(right); local
2047 int seconds = GET_TD_SECONDS(self); local
4361 int seconds; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
datetimemodule.c 40 * carries from adding seconds.
83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)
87 #define SET_TD_SECONDS(o, v) ((o)->seconds = (v))
453 /* Fiddle days (d), seconds (s), and microseconds (us) so that
726 * that seconds and microseconds are already in their proper ranges. In any
731 new_delta_ex(int days, int seconds, int microseconds, int normalize,
737 normalize_d_s_us(&days, &seconds, &microseconds);
738 assert(0 <= seconds && seconds < 24*3600);
748 SET_TD_SECONDS(self, seconds);
1685 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); local
1744 int seconds = GET_TD_SECONDS(left) - GET_TD_SECONDS(right); local
2047 int seconds = GET_TD_SECONDS(self); local
4361 int seconds; local
    [all...]
  /external/python/cpython2/Modules/
datetimemodule.c 40 * carries from adding seconds.
83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)
87 #define SET_TD_SECONDS(o, v) ((o)->seconds = (v))
453 /* Fiddle days (d), seconds (s), and microseconds (us) so that
726 * that seconds and microseconds are already in their proper ranges. In any
731 new_delta_ex(int days, int seconds, int microseconds, int normalize,
737 normalize_d_s_us(&days, &seconds, &microseconds);
738 assert(0 <= seconds && seconds < 24*3600);
748 SET_TD_SECONDS(self, seconds);
1685 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); local
1744 int seconds = GET_TD_SECONDS(left) - GET_TD_SECONDS(right); local
2047 int seconds = GET_TD_SECONDS(self); local
4361 int seconds; local
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/leanback/widget/
PlaybackTransportRowPresenter.java 523 long seconds = ms / 1000; local
524 long minutes = seconds / 60;
526 seconds -= minutes * 60;
536 if (seconds < 10) {
539 sb.append(seconds);
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
BaseRecyclerViewInstrumentationTest.java 30 import static java.util.concurrent.TimeUnit.SECONDS;
279 void waitForAnimations(int seconds) throws Throwable {
294 assertTrue("animations didn't finish on expected time of " + seconds + " seconds",
295 latch.await(seconds, TimeUnit.SECONDS));
319 assertTrue("should go idle in 10 seconds", latch.await(10, TimeUnit.SECONDS));
493 assertThat("should be able to scroll in 10 seconds", !assertArrival ||
494 viewAdded.await(10, TimeUnit.SECONDS),
    [all...]
  /libcore/ojluni/src/main/java/java/time/
ZonedDateTime.java 437 * Obtains an instance of {@code ZonedDateTime} using seconds from the
440 * @param epochSecond the number of seconds from the epoch of 1970-01-01T00:00:00Z
    [all...]
LocalTime.java 167 * Seconds per minute.
171 * Seconds per hour.
175 * Seconds per day.
375 int seconds = (int) (nanoOfDay / NANOS_PER_SECOND); local
376 nanoOfDay -= seconds * NANOS_PER_SECOND;
377 return create(hours, minutes, seconds, (int) nanoOfDay);
531 * <li>{@code SECONDS}
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 237 duration.seconds = 0;
308 duration.seconds = 0;
320 duration.seconds = (int) ((dtendMillis - dtstartMillis) / 1000);
321 durationStr = "+P" + duration.seconds + "S";
323 duration.seconds = 0;
    [all...]
  /prebuilts/go/darwin-x86/src/time/
time_test.go 42 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
47 seconds int64
98 sec := test.seconds
103 t.Errorf("SecondsToUTC(%d).Seconds() = %d", sec, newsec)
116 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
132 sec := test.seconds
137 t.Errorf("SecondsToLocalTime(%d).Seconds() = %d", sec, newsec)
150 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
154 t.Errorf("NanosecondsToLocalTime(%d).Seconds() = %d", nsec, newnsec)
198 // (seconds since zero), but we need it to compute the righ
    [all...]
format_test.go 59 // Time stamps, Fractional seconds.
139 // Optional fractional seconds.
154 // Fractional seconds.
158 // Leading zeros in other places should not be taken as fractional seconds.
466 // invalid second followed by optional fractional seconds
589 // should accept timezone offsets with seconds like: Zone America/New_York -4:56:02 - LMT 1883 Nov 18 12:03:58
  /prebuilts/go/linux-x86/src/time/
time_test.go 42 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700
47 seconds int64
98 sec := test.seconds
103 t.Errorf("SecondsToUTC(%d).Seconds() = %d", sec, newsec)
116 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
132 sec := test.seconds
137 t.Errorf("SecondsToLocalTime(%d).Seconds() = %d", sec, newsec)
150 nsec := test.seconds*1e9 + int64(golden.Nanosecond)
154 t.Errorf("NanosecondsToLocalTime(%d).Seconds() = %d", nsec, newnsec)
198 // (seconds since zero), but we need it to compute the righ
    [all...]
format_test.go 59 // Time stamps, Fractional seconds.
139 // Optional fractional seconds.
154 // Fractional seconds.
158 // Leading zeros in other places should not be taken as fractional seconds.
466 // invalid second followed by optional fractional seconds
589 // should accept timezone offsets with seconds like: Zone America/New_York -4:56:02 - LMT 1883 Nov 18 12:03:58
  /external/blktrace/btt/doc/
btt.tex 170 (which are all presented in seconds), and overall count. As an
407 time in seconds, as in:
489 (in seconds), and the second column (Y values) providing an on/off
616 Note that the STAMP field contains the runtime (in seconds) for that
669 \item Time of the trace (seconds from the start of the run)
683 In both cases, the first column (X values) represent runtime (seconds),
720 The format of the data is to have the runtime values (seconds since
768 first column will contain a time value (seconds), and the second column
806 [ -d <seconds> | --range-delta=<seconds> ]
    [all...]
  /external/autotest/cli/
job_unittest.py 146 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
166 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
187 u'control_file': u'kernel = \'8210088647656509311.kernel-smp-2.6.18-220.5.x86_64.rpm\'\ndef step_init():\n job.next_step([step_test])\n\ndef step_test():\n job.next_step(\'step0\')\n\ndef step0():\n AUTHOR = "Autotest Team"\n NAME = "Sleeptest"\n TIME = "SHORT"\n TEST_CATEGORY = "Functional"\n TEST_CLASS = "General"\n TEST_TYPE = "client"\n \n DOC = """\n This test simply sleeps for 1 second by default. It\'s a good way to test\n profilers and double check that autotest is working.\n The seconds argument can also be modified to make the machine sleep for as\n long as needed.\n """\n \n job.run_test(\'sleeptest\', seconds = 1)',
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 64 t.setTimingPeriod(1*Timer.SECONDS);
66 int seconds = TestFmwk.getExhaustiveness(); local
67 logln("\tExhaustive version, timing for " + seconds + "s");
68 t.setTimingPeriod(seconds*Timer.SECONDS);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 61 t.setTimingPeriod(1*Timer.SECONDS);
63 int seconds = TestFmwk.getExhaustiveness(); local
64 logln("\tExhaustive version, timing for " + seconds + "s");
65 t.setTimingPeriod(seconds*Timer.SECONDS);
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
SafeRepresenter.java 339 int seconds = calendar.get(Calendar.SECOND); // 0..59 local
367 if (seconds < 10) {
370 buffer.append(String.valueOf(seconds));
  /frameworks/base/core/java/android/widget/
MediaController.java 51 * The window will disappear if left idle for three seconds and reappear
311 * automatically after 3 seconds of inactivity.
422 int seconds = totalSeconds % 60; local
428 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString();
430 return mFormatter.format("%02d:%02d", minutes, seconds).toString();
  /bionic/libc/tzcode/
localtime.c 100 int_fast32_t tt_gmtoff; /* UT offset in seconds */
521 /* Read leap seconds, discarding those out of time_t range. */
799 ** Given a pointer into a time zone string, extract a number of seconds,
803 ** of seconds.
829 /* 'SECSPERMIN' allows for leap seconds. */
1417 register time_t seconds; local
    [all...]
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
AnalogWatchFaceService.java 59 private static final long INTERACTIVE_UPDATE_RATE_MS = TimeUnit.SECONDS.toMillis(1);
88 /* Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. */
387 final float seconds = local
389 final float secondsRotation = seconds * 6f;
418 * Ensure the "seconds" hand is drawn only when we are in interactive mode.
SweepWatchFaceService.java 79 /* Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. */
352 final float seconds = local
354 final float secondsRotation = seconds * 6f;
383 * Ensure the "seconds" hand is drawn only when we are in interactive mode.
  /external/autotest/client/site_tests/power_Consumption/
power_Consumption.py 50 # Time to exclude from calculation after firing a task [seconds]
135 def _run_sleep(self, name, seconds=60):
138 time.sleep(seconds)
183 duration: number of seconds to sleep while taking measurements.
367 # one rep of dd takes about 15 seconds
445 # reps * 30 seconds. Don't change _base_secs unless you also
  /external/autotest/server/cros/update_engine/
update_engine_test.py 41 # Timeout periods, given in seconds.
176 @param timeout: specified in seconds
194 event_timeout = self._current_timestamp + timedelta(seconds=timeout)
199 logging.info('Event took %s seconds to fire during the '
200 'update', difference.seconds)
290 'receive %s within %d seconds.' % (desc, timeout))
466 logging.info('Expecting %s within %s seconds', expected_event,
  /external/icu/icu4c/source/tools/tzcode/
tz2icu.cpp 75 * Given a calendar year, return the GMT epoch seconds for midnight
92 * Given 1970 GMT epoch seconds, return the calendar year containing
95 int32_t secondsToYear(int64_t seconds) {
99 if (seconds >= 0) {
102 if (s > seconds) break;
108 if (s <= seconds) break;
125 int64_t time; // seconds, 1970 epoch
137 int64_t rawoffset; // raw seconds offset from GMT
138 int64_t dstoffset; // dst seconds offset from GMT
1360 int64_t seconds = yearToSeconds(year); local
    [all...]
  /external/iptables/extensions/
libxt_time.c 371 unsigned int *minutes, unsigned int *seconds)
373 *seconds = fulltime % 60;

Completed in 1100 milliseconds

<<21222324252627282930>>