/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 692 register intmax_t myy, seconds, years; local 702 seconds = diff400 * SECSPER400YEARS; 705 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; 709 if (t > absolute_max_time - seconds) 711 t += seconds; 718 seconds = diff400 * SECSPER400YEARS; 721 seconds = isleap(myy - 1) ? SECSPERLYEAR : SECSPERNYEAR; 725 if (t < absolute_min_time + seconds) 727 t -= seconds;
|
localtime.c | 80 int_fast32_t tt_gmtoff; /* UT offset in seconds */ 707 ** Given a pointer into a time zone string, extract a number of seconds, 711 ** of seconds. 737 /* `SECSPERMIN' allows for leap seconds. */ 1271 register time_t seconds; local 1480 register int_fast32_t seconds; local [all...] |
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/mksh/src/ |
var.c | 1185 * handle special variables with side effects - PATH, SECONDS. 1209 static time_t seconds; /* time SECONDS last set */ variable 1273 * On start up the value of SECONDS is used before 1279 num.i = tv.tv_sec - seconds; 1434 seconds = tv.tv_sec - num.i; [all...] |
/external/python/cpython2/Modules/ |
selectmodule.c | 205 long seconds; local 230 seconds = (long)timeout; 231 timeout = timeout - (double)seconds; 232 tv.tv_sec = seconds; 1064 in seconds (as float). -1 makes poll wait indefinitely.\n\ 1565 long seconds; local [all...] |
/external/python/cpython3/Lib/ |
datetime.py | 159 'seconds': '{:02d}:{:02d}:{:02d}', 166 timespec = 'microseconds' if us else 'seconds' 255 "of seconds, got %s" % (name, offset)) 350 Representation: (days, seconds, microseconds). Why? Because I 355 def __new__(cls, days=0, seconds=0, microseconds=0, 371 # Normalize everything to days, seconds, microseconds. 373 seconds += minutes*60 + hours*3600 394 if isinstance(seconds, float): 395 secondsfrac, seconds = _math.modf(seconds) 496 def seconds(self): member in class:timedelta [all...] |
/external/v8/src/builtins/ |
builtins-date.cc | 239 double date = 1.0, hours = 0.0, minutes = 0.0, seconds = 0.0, ms = 0.0; local 259 seconds = seconds_object->Number(); 275 double const time = MakeTime(hours, minutes, seconds, ms); 303 // ES6 section 20.3.3.4 Date.UTC (year,month,date,hours,minutes,seconds,ms) 308 double month = 0.0, date = 1.0, hours = 0.0, minutes = 0.0, seconds = 0.0, local 339 seconds = seconds_object->Number(); 357 double const time = MakeTime(hours, minutes, seconds, ms); [all...] |
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_device_unittest.cc | 64 // Play out a test file during this time (unit is in seconds). 68 // Run the full-duplex test during this time (unit is in seconds). 584 const int seconds = local 586 PRINT("file size: %d [secs]\n", seconds); 588 seconds * kNumCallbacksPerSecond); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
dpp_supplicant.c | 1251 unsigned int seconds; local [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 640 int seconds = (int) value; local 641 return new int[] { degrees, 1, minutes, 1, seconds, 100 };
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 32 * struct tm. This class is not thread-safe and does not consider leap seconds. 82 * Seconds [0-61] (2 leap seconds allowed) 132 * Offset in seconds from UTC including any DST offset. 263 return 59; // leap seconds, bah humbug 962 * and the offset from UTC of the timezone in seconds (as might be in 970 * @param gmtoff the offset from UTC in seconds 1125 int seconds = wallTime.mktime(zoneInfo); local [all...] |
/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();
|
/frameworks/base/location/java/android/location/ |
Location.java | 58 * indicates minutes of arc, and S indicates seconds of arc (1 297 String seconds = st.nextToken(); local 298 sec = Double.parseDouble(seconds); 312 // min must be in [0, 59] if seconds are present, otherwise [0.0, 60.0) [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...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
PhoneCallDetailsHelper.java | 617 long minutes = TimeUnit.SECONDS.toMinutes(details.duration); 618 long seconds = details.duration - TimeUnit.MINUTES.toSeconds(minutes); local 622 return resources.getString(R.string.voicemailDurationFormat, minutes, seconds);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
nfs_prot.h | 73 u_int seconds; member in struct:nfstime
|
/prebuilts/tools/common/m2/repository/com/esotericsoftware/minlog/minlog/1.2/ |
minlog-1.2.jar | |
/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...] |
/external/ImageMagick/coders/ |
dpx.c | 1487 seconds; local [all...] |
/external/autotest/client/tests/aiostress/ |
aio-stress.c | 257 * return seconds between start_tv and stop_tv in double precision 276 * return seconds between start_tv and now in double precision 1172 double seconds = time_since_now(&stage_time); local 1174 t - global_thread_info, this_stage, t->stage_mb_trans/seconds, 1175 t->stage_mb_trans, seconds); [all...] |
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 167 static inline string getTimeStr (const deUint64 seconds) 169 const deUint64 m = seconds / 60; 174 res << d << "d " << h%24 << "h " << m%60 << "m " << seconds%60 << "s"; local [all...] |
/external/llvm/unittests/Support/ |
YAMLIOTest.cpp | 1208 : hours(0), minutes(0), seconds(0) { 1213 seconds(secs % 60) { 1216 return TotalSeconds(hours*3600 + minutes*60 + seconds); 1221 uint8_t seconds; member in class:llvm::yaml::MappingTraits::NormalizedSeconds 1229 io.mapRequired("seconds", keys->seconds); 1241 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n"); [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
aio-stress.c | 259 * return seconds between start_tv and stop_tv in double precision 278 * return seconds between start_tv and now in double precision 1193 double seconds = time_since_now(&stage_time); local 1197 t->stage_mb_trans / seconds, t->stage_mb_trans, 1198 seconds); [all...] |
/external/lz4/programs/ |
lz4io.c | 380 { double const seconds = (double)(end - start) / CLOCKS_PER_SEC; local 381 DISPLAYLEVEL(4,"Done in %.2f s ==> %.2f MB/s\n", seconds, (double)filesize / seconds / 1024 / 1024); 564 double const seconds = (double)(end - start) / CLOCKS_PER_SEC; local 565 DISPLAYLEVEL(4, "Completed in %.2f sec \n", seconds); 997 double const seconds = (double)(end - start) \/ CLOCKS_PER_SEC; local [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog2.cpp | 586 UInt32 seconds = (UInt32)(timeValue - hours * 3600);
local 587 UInt32 minutes = seconds / 60;
588 seconds %= 60;
600 *s++ = ':'; UINT_TO_STR_2(seconds);
|