/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 339 // seconds and milliseconds 340 String seconds = match.group(6); local 343 seconds = seconds + "." + millis; 345 double fractions = Double.parseDouble(seconds);
|
/external/syslinux/core/fs/pxe/ |
pxe.h | 95 uint16_t seconds; /* Seconds elapsed */ member in struct:bootp_t
|
/external/v8/src/ |
d8-posix.cc | 89 time_t seconds = time_now.tv_sec - start_time.tv_sec; local 90 gone = static_cast<int>(seconds * 1000 + 121 int seconds = static_cast<int>(time_now.tv_sec - start_time.tv_sec); local 122 if (seconds > 100) { 123 if (seconds * 1000 > total_time) return true; 127 if (seconds * 1000000 + useconds > total_time * 1000) {
|
/external/webrtc/webrtc/modules/audio_device/ios/ |
audio_device_unittest_ios.cc | 65 // Play out a test file during this time (unit is in seconds). 67 // Run the full-duplex test during this time (unit is in seconds). 558 const int seconds = local 560 PRINTD("file size: %d [secs]\n", seconds); 562 seconds * kNumCallbacksPerSecond); 789 // sequence by running in loopback for ten seconds while measuring the size [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 271 * @param minResolution the minimum timespan to report. For example, a time 3 seconds in the 292 * 3 seconds in the past will be reported as "0 minutes ago" if 320 * when showing relative times. For example, a time 3 seconds in 360 * from seconds up to hours. 371 * from seconds up to hours. 404 final int seconds = (int) ((millis + 500) / SECOND_IN_MILLIS); local 405 return formatter.format(new Measure(seconds, MeasureUnit.SECOND)); 412 * @param elapsedSeconds the elapsed time in seconds. 424 * @param elapsedSeconds the elapsed time in seconds. 427 // Break the elapsed seconds into hours, minutes, and seconds 430 long seconds = 0; local [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
PlaybackControlsPresenter.java | 160 long seconds = currentTimeMs / 1000; local 163 formatTime(seconds, mCurrentTimeStringBuilder); 189 static void formatTime(long seconds, StringBuilder sb) { 190 long minutes = seconds / 60; 192 seconds -= minutes * 60; 203 if (seconds < 10) { 206 sb.append(seconds);
|
/libcore/luni/src/main/java/libcore/io/ |
IoBridge.java | 418 int seconds = 0; local 421 seconds = Math.min((Integer) value, 65535); 423 StructLinger linger = new StructLinger(booleanToInt(on), seconds);
|
/libcore/ojluni/src/main/java/java/time/ |
Duration.java | 71 import static java.time.temporal.ChronoUnit.SECONDS; 98 * A time-based amount of time, such as '34.5 seconds'. 100 * This class models a quantity or amount of time in terms of seconds and nanoseconds. 108 * The duration uses nanosecond resolution with a maximum value of the seconds that can 112 * To achieve this, the class stores a {@code long} representing seconds and an {@code int} 116 * The duration is measured in "seconds", but these are not necessarily identical to 151 * The number of seconds in the duration. 153 private final long seconds; field in class:Duration 156 * number of seconds. This is always positive, and never exceeds 999,999,999. 164 * The seconds are calculated based on the standard definition of a day 396 long seconds = parseNumber(text, secondMatch, 1, "seconds"); local 436 long seconds = Math.addExact(daysAsSecs, Math.addExact(hoursAsSecs, Math.addExact(minsAsSecs, secs))); local 1336 long seconds = in.readLong(); local [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...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarDate.java | 76 private int seconds; field in class:CalendarDate 259 return seconds; 262 public CalendarDate setSeconds(int seconds) { 263 if (this.seconds != seconds) { 264 this.seconds = seconds; 272 seconds += n; 319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { 322 setSeconds(seconds); [all...] |
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
NewVoicemailMediaPlayerView.java | 669 int seconds = millis / 1000; local 670 int minutes = seconds / 60; 671 seconds -= minutes * 60; 675 return String.format(Locale.US, "%02d:%02d", minutes, seconds);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
benchmark.cc | 60 "Minimum number of seconds we should run benchmark before " 182 void SetIterationTime(double seconds) { manual_time_used_ += seconds; } 212 // Manually set iteration time. User sets this with SetIterationTime(seconds). 221 double seconds) { 235 if (results.bytes_processed > 0 && seconds > 0.0) { 236 bytes_per_second = (results.bytes_processed / seconds); 239 if (results.items_processed > 0 && seconds > 0.0) { 240 items_per_second = (results.items_processed / seconds); 326 double seconds = results.cpu_time_used local [all...] |
/prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java-util/3.0.0/ |
protobuf-java-util-3.0.0.jar | |
/prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java-util/3.0.2/ |
protobuf-java-util-3.0.2.jar | |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
AnalogComplicationWatchFaceService.java | 121 private static final long INTERACTIVE_UPDATE_RATE_MS = TimeUnit.SECONDS.toMillis(1); 150 // Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. 663 final float seconds = local 665 final float secondsRotation = seconds * 6f; 694 * Ensure the "seconds" hand is drawn only when we are in interactive mode. [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/ |
AnalogComplicationWatchFaceService.java | 121 private static final long INTERACTIVE_UPDATE_RATE_MS = TimeUnit.SECONDS.toMillis(1); 150 // Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. 663 final float seconds = local 665 final float secondsRotation = seconds * 6f; 694 * Ensure the "seconds" hand is drawn only when we are in interactive mode. [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.
|
ComplicationSimpleWatchFaceService.java | 76 private static final long INTERACTIVE_UPDATE_RATE_MS = TimeUnit.SECONDS.toMillis(1); 110 // Colors for all hands (hour, minute, seconds, ticks) based on photo loaded. 651 final float seconds = local 653 final float secondsRotation = seconds * 6f; 682 * 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.
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 251 double seconds; local 269 seconds = str2float(tok.p+4, tok.end); 273 tm.tm_sec = (int) seconds; 718 timeout = 10 * 1000; // 10 seconds
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
selectmodule.c | 216 long seconds;
local 241 seconds = (long)timeout;
242 timeout = timeout - (double)seconds;
243 tv.tv_sec = seconds;
1041 in seconds (as float). -1 makes poll wait indefinitely.\n\
1521 long seconds; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
selectmodule.c | 216 long seconds;
local 241 seconds = (long)timeout;
242 timeout = timeout - (double)seconds;
243 tv.tv_sec = seconds;
1075 in seconds (as float). -1 makes poll wait indefinitely.\n\
1576 long seconds; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
selectmodule.c | 216 long seconds;
local 241 seconds = (long)timeout;
242 timeout = timeout - (double)seconds;
243 tv.tv_sec = seconds;
1041 in seconds (as float). -1 makes poll wait indefinitely.\n\
1521 long seconds; local [all...] |
/external/ImageMagick/coders/ |
pdf.c | 1274 seconds; local [all...] |
/external/dng_sdk/source/ |
dng_xmp.cpp | 259 // Use the seconds case if all three values are 353 real64 seconds = 0.0; local 359 &seconds); 368 if (degrees < 0 || minutes < 0 || seconds < 0) 383 coord [2].Set_real64 (seconds, 100); [all...] |