Searched defs:hours (Results 1 - 25 of 55) sorted by relevance

123

/external/ltp/testcases/kernel/io/disktest/
H A Dsfunc.h115 time_t hours; member in struct:fmt_time
/external/toybox/toys/other/
H A Duptime.c31 unsigned int days, hours, minutes; local
54 hours = info.uptime%24;
64 hours, (hours!=1)?"s":"",
71 if (hours) xprintf("%2d:%02d, ", hours, minutes);
/external/icu/icu4c/source/i18n/
H A Dutmscale.cpp21 #define hours (minutes * 60) macro
22 #define days (hours * 24)
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DEpochOffsets.java43 private static final long hours = minutes * 60; field in class:EpochOffsets
44 private static final long days = hours * 24;
H A DGenerateCTimeScaleData.java42 private static final long hours = minutes * 60; field in class:GenerateCTimeScaleData
43 private static final long days = hours * 24;
88 } else if (units == hours) {
89 cargs[0] = "hours";
/external/toybox/toys/pending/
H A Dlast.c74 unsigned days, hours, mins; local
82 hours = (mins = (mins%(24*60)))/60;
84 sprintf(toybuf+28, "(%u+%02u:%02u)", days, hours, mins); // Duration.
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
H A DTimeZoneAliasTest.java228 static public String formatHours(int hours) { argument
229 return nf.format(hours/DHOUR);
410 String hours = formatHours(minRecentOffset)
415 return id + getPurportedAliasesAsString() + " (" + hours + ")";
418 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneAliasTest.java225 static public String formatHours(int hours) { argument
226 return nf.format(hours/DHOUR);
407 String hours = formatHours(minRecentOffset)
412 return id + getPurportedAliasesAsString() + " (" + hours + ")";
415 return "\t{\t\"" + id + "\"\t// [" + count + "] " + hours
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DUniversalTimeScale.java257 private static final long hours = minutes * 60; field in class:UniversalTimeScale
258 private static final long days = hours * 24;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DUniversalTimeScale.java293 private static final long hours = minutes * 60; field in class:UniversalTimeScale
294 private static final long days = hours * 24;
/external/iptables/extensions/
H A Dlibxt_time.c370 static inline void divide_time(unsigned int fulltime, unsigned int *hours, argument
376 *hours = fulltime / 60;
/external/libchrome/base/time/
H A Dtime.h110 static constexpr TimeDelta FromHours(int hours);
631 constexpr TimeDelta TimeDelta::FromHours(int hours) { argument
632 return hours == std::numeric_limits<int>::max()
634 : TimeDelta(hours * Time::kMicrosecondsPerHour);
/external/protobuf/src/google/protobuf/util/
H A Dtime_util.cc255 Duration TimeUtil::HoursToDuration(int64 hours) { argument
256 return CreateNormalized<Duration>(hours * kSecondsPerHour, 0);
/external/v8/src/base/platform/
H A Dtime.cc122 TimeDelta TimeDelta::FromHours(int hours) { argument
123 return TimeDelta(hours * Time::kMicrosecondsPerHour);
/external/v8/src/builtins/
H A Dbuiltins-date.cc239 double date = 1.0, hours = 0.0, minutes = 0.0, seconds = 0.0, ms = 0.0; local
249 hours = hours_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
329 hours = hours_object->Number();
357 double const time = MakeTime(hours, minutes, seconds, ms);
/external/valgrind/coregrind/
H A Dm_libcprint.c886 UInt t, ms, s, mins, hours, days; local
899 t /= 60; /* now in hours */
901 hours = t % 24;
906 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
/external/llvm/unittests/Support/
H A DYAMLIOTest.cpp1208 : hours(0), minutes(0), seconds(0) {
1211 : hours(secs/3600),
1212 minutes((secs - (hours*3600))/60),
1216 return TotalSeconds(hours*3600 + minutes*60 + seconds);
1219 uint32_t hours; member in class:llvm::yaml::MappingTraits::NormalizedSeconds
1227 io.mapOptional("hours", keys->hours, (uint32_t)0);
1241 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n");
/external/lzma/CPP/7zip/UI/FileManager/
H A DProgressDialog2.cpp585 UInt64 hours = timeValue / 3600; local
586 UInt32 seconds = (UInt32)(timeValue - hours * 3600);
589 if (hours > 99)
591 ConvertUInt64ToString(hours, s);
596 UInt32 hours32 = (UInt32)hours;
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
H A DAppleScript_Suite.py809 """hours - the number of seconds in an hour """
812 hours = _Prop_hours() variable
1466 'hours' : _Prop_hours,
/external/webrtc/webrtc/base/
H A Dhttpcommon.cc375 int hours = (zone[1] - '0') * 10 + (zone[2] - '0'); local
377 int offset = (hours * 60 + minutes) * 60;
/external/libvpx/libvpx/
H A Dvpxenc.c1882 int64_t hours; local
1887 hours = etl / 3600;
1888 etl -= hours * 3600;
1894 hours, mins, secs);
/external/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp248 int32_t offset, hours, minutes, seconds; local
294 hours = offset/3600000;
297 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") +
298 (int32_t)hours + ":" + (minutes < 10 ? "0" : "") + (int32_t)minutes;
4854 // date format time zone should be 4 hours ahead.
5461 // Even when parsed with 'H', hours 1 thru 12 are considered 12-hour time and takes
/external/icu/icu4c/source/tools/tzcode/
H A Dzic.c1112 warning(_("values over 24 hours not handled by pre-2007 versions of zic"));
1993 register int hours; local
2006 hours = offset;
2007 if (hours >= HOURSPERDAY * DAYSPERWEEK) {
2011 (void) sprintf(end(result), "%d", hours); local
/external/python/cpython2/Modules/
H A Ddatetimemodule.c1081 format_ctime(PyDateTime_Date *date, int hours, int minutes, int seconds) argument
1096 GET_DAY(date), hours, minutes, seconds,
1101 /* Add an hours & minutes UTC offset string to buf. buf has no more than
1105 * integer in range), and if that's OK it's converted to an hours & minutes
1116 int hours; local
1135 hours = divmod(offset, 60, &minutes);
1136 PyOS_snprintf(buf, buflen, "%c%02d%s%02d", sign, hours, sep, minutes);
1948 "minutes", "hours", "weeks", NULL
1984 y = accum("hours", x, hour, us_per_hour, &leftover_us);
2049 int hours; local
[all...]
/external/python/cpython3/Modules/
H A D_datetimemodule.c871 " strictly between -timedelta(hours=24) and"
872 " timedelta(hours=24),"
948 " strictly between -timedelta(hours=24) and"
949 " timedelta(hours=24).");
1082 format_ctime(PyDateTime_Date *date, int hours, int minutes, int seconds) argument
1096 GET_DAY(date), hours, minutes, seconds,
1102 /* Add an hours & minutes UTC offset string to buf. buf has no more than
1106 * integer in range), and if that's OK it's converted to an hours & minutes
1117 int hours, minutes, seconds; local
1144 hours
2300 int hours = divmod(minutes, 60, &minutes); local
3338 int hours, minutes, seconds; local
[all...]

Completed in 1778 milliseconds

123