Home
last modified time | relevance | path

Searched refs:minutes (Results 1 - 25 of 82) sorted by relevance

1234

/third_party/toybox/toys/other/
H A Duptime.c17 of users, and the system load averages for the past 1, 5 and 15 minutes.
31 unsigned int weeks, days, hours, minutes; in uptime_main() local
52 minutes = info.uptime%60; in uptime_main()
64 minutes, (minutes!=1)?"s":""); in uptime_main()
68 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_main()
69 else printf("%d min, ", minutes); in uptime_main()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-date.c211 ecma_number_t minutes = ECMA_NUMBER_ZERO; in ecma_date_construct_helper() local
235 minutes = ecma_get_number_from_value (minutes_value); in ecma_date_construct_helper()
272 minutes, in ecma_date_construct_helper()
340 ecma_number_t minutes = ECMA_NUMBER_ZERO; in ecma_builtin_date_parse_ISO_string_format() local
349 /* 4.1 read hours and minutes */ in ecma_builtin_date_parse_ISO_string_format()
354 minutes = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 59); in ecma_builtin_date_parse_ISO_string_format()
370 minutes = ecma_number_make_nan (); in ecma_builtin_date_parse_ISO_string_format()
373 if (hours == 24 && (minutes != 0 || seconds != 0 || milliseconds != 0)) in ecma_builtin_date_parse_ISO_string_format()
378 time = ecma_date_make_time (hours, minutes, seconds, milliseconds); in ecma_builtin_date_parse_ISO_string_format()
388 time = ecma_date_make_time (hours, minutes, second in ecma_builtin_date_parse_ISO_string_format()
520 ecma_number_t minutes = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 59); ecma_builtin_date_parse_toString_formats() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DexternModule.js15 constructor(year: number, month: number, date: number, hours: number, minutes: number);
16 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number);
17 constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: number, ms: number);
25 static UTC(year: number, month: number, date: number, hours: number, minutes: number): number;
26 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number): number;
27 static UTC(year: number, month: number, date: number, hours: number, minutes: number, seconds: number,
/third_party/mesa3d/.gitlab-ci/lava/utils/
H A Dlog_section.py18 FALLBACK_GITLAB_SECTION_TIMEOUT = timedelta(minutes=10)
21 # minutes.
23 # summing up to 9 minutes.
26 LogSectionType.LAVA_BOOT: timedelta(minutes=9),
28 LogSectionType.TEST_SUITE: timedelta(minutes=5),
32 LogSectionType.TEST_CASE: timedelta(minutes=60),
35 LogSectionType.LAVA_POST_PROCESSING: timedelta(minutes=5),
/third_party/tzdata/
H A Dziguard.awk31 sign, hours, minutes)
36 minutes = field
37 sub(/[^:]*:/, "", minutes)
39 return 60 * hours + sign * minutes
45 hours, minutes, sign)
48 minutes = offset % 60
49 if (minutes) {
50 return sprintf("%+.4d", hours * 100 + minutes);
/third_party/python/Lib/test/libregrtest/
H A Dutils.py11 minutes, seconds = divmod(seconds, 60)
12 hours, minutes = divmod(minutes, 60)
17 if minutes:
18 parts.append('%s min' % minutes)
/third_party/python/Lib/test/
H A Ddatetimetester.py127 offset = timedelta(minutes=offset)
129 dstoffset = timedelta(minutes=dstoffset)
190 self.assertEqual(fo.utcoffset(dt), timedelta(minutes=3))
192 self.assertEqual(fo.dst(dt), timedelta(minutes=42))
207 offset = timedelta(minutes=-300)
272 limit = timedelta(hours=23, minutes=59)
283 self.assertNotEqual(tz.utcoffset(None) % timedelta(minutes=1), 0)
322 self.assertEqual('UTC-00:01', timezone(timedelta(minutes=-1)).tzname(None))
412 timedelta(hours=23, minutes=59),
413 timedelta(hours=23, minutes
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DGenerateCTimeScaleData.java41 private static final long minutes = seconds * 60; field in GenerateCTimeScaleData
42 private static final long hours = minutes * 60;
86 } else if (units == minutes) { in main()
87 cargs[0] = "minutes"; in main()
H A DEpochOffsets.java42 private static final long minutes = seconds * 60; field in EpochOffsets
43 private static final long hours = minutes * 60;
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_posix.cc78 int minutes = 0; in ParseOffset() local
84 p = ParseInt(p + 1, 0, 59, &minutes); in ParseOffset()
91 *offset = sign * ((((hours * 60) + minutes) * 60) + seconds); in ParseOffset()
H A Dtime_zone_format_test.cc98 format(kFmt, chrono::time_point_cast<chrono::minutes>(t0), utc)); in TEST()
109 chrono::hours(12) + chrono::minutes(34) + chrono::seconds(56); in TEST()
145 tp += chrono::hours(13) + chrono::minutes(4) + chrono::seconds(5); in TEST()
449 tz = fixed_time_zone(chrono::minutes(34)); in TEST()
454 tz = fixed_time_zone(-chrono::minutes(34)); in TEST()
459 tz = fixed_time_zone(chrono::minutes(34) + chrono::seconds(56)); in TEST()
464 tz = fixed_time_zone(-chrono::minutes(34) - chrono::seconds(56)); in TEST()
489 tz = fixed_time_zone(chrono::hours(12) + chrono::minutes(34)); in TEST()
494 tz = fixed_time_zone(-chrono::hours(12) - chrono::minutes(34)); in TEST()
499 tz = fixed_time_zone(chrono::hours(12) + chrono::minutes(3 in TEST()
[all...]
H A Dtime_zone_format.cc192 const int minutes = (offset /= 60) % 60; in FormatOffset() local
203 if (hours == 0 && minutes == 0) sign = '+'; in FormatOffset()
205 if (!ccc || minutes != 0 || seconds != 0) { in FormatOffset()
206 ep = Format02d(ep, minutes); in FormatOffset()
587 int minutes = 0; in ParseOffset() local
593 const char* bp = ParseInt(ap, 2, 0, 59, &minutes); in ParseOffset()
600 *offset = ((hours * 60 + minutes) * 60) + seconds; in ParseOffset()
/third_party/python/Lib/sqlite3/
H A Ddbapi2.py68 hours, minutes, seconds = map(int, timepart_full[0].split(b":"))
74 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
/third_party/ffmpeg/tools/
H A Dsidxindex.c220 int minutes = seconds / 60; in write_time() local
221 int hours = minutes / 60; in write_time()
224 minutes %= 60; in write_time()
228 if (hours || minutes) in write_time()
229 fprintf(out, "%dM", minutes); in write_time()
/third_party/icu/icu4c/source/i18n/
H A Dmeasfmt.cpp292 // Converts a composite measure into hours-minutes-seconds and stores at hms
293 // array. [0] is hours; [1] is minutes; [2] is seconds. Returns a bit map of
294 // units found: 1=hours, 2=minutes, 4=seconds. For example, if measures
295 // contains hours-minutes, this function would return 3.
297 // If measures cannot be converted into hours, minutes, seconds or if amounts
298 // are negative, or if hours, minutes, seconds are out of order, returns 0.
736 double minutes = hms[1].getDouble(status); in formatNumeric() local
743 if (bitMap == 5 || bitMap == 7) { // "hms" & "hs" (we add minutes if "hs") in formatNumeric()
746 minutes = uprv_trunc(minutes); in formatNumeric()
[all...]
H A Dutmscale.cpp20 #define minutes (seconds * 60) macro
21 #define hours (minutes * 60)
/third_party/node/deps/icu-small/source/i18n/
H A Dmeasfmt.cpp292 // Converts a composite measure into hours-minutes-seconds and stores at hms
293 // array. [0] is hours; [1] is minutes; [2] is seconds. Returns a bit map of
294 // units found: 1=hours, 2=minutes, 4=seconds. For example, if measures
295 // contains hours-minutes, this function would return 3.
297 // If measures cannot be converted into hours, minutes, seconds or if amounts
298 // are negative, or if hours, minutes, seconds are out of order, returns 0.
736 double minutes = hms[1].getDouble(status); in formatNumeric() local
743 if (bitMap == 5 || bitMap == 7) { // "hms" & "hs" (we add minutes if "hs") in formatNumeric()
746 minutes = uprv_trunc(minutes); in formatNumeric()
[all...]
H A Dutmscale.cpp20 #define minutes (seconds * 60) macro
21 #define hours (minutes * 60)
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dmeasfmt.cpp292 // Converts a composite measure into hours-minutes-seconds and stores at hms
293 // array. [0] is hours; [1] is minutes; [2] is seconds. Returns a bit map of
294 // units found: 1=hours, 2=minutes, 4=seconds. For example, if measures
295 // contains hours-minutes, this function would return 3.
297 // If measures cannot be converted into hours, minutes, seconds or if amounts
298 // are negative, or if hours, minutes, seconds are out of order, returns 0.
736 double minutes = hms[1].getDouble(status); in formatNumeric() local
743 if (bitMap == 5 || bitMap == 7) { // "hms" & "hs" (we add minutes if "hs") in formatNumeric()
746 minutes = uprv_trunc(minutes); in formatNumeric()
[all...]
H A Dutmscale.cpp20 #define minutes (seconds * 60) macro
21 #define hours (minutes * 60)
/third_party/node/benchmark/
H A D_benchmark_progress.js20 const minutes = pad(Math.floor((time % 3600) / 60), 2, '0');
22 return `${hours}:${minutes}:${seconds}`;
/third_party/vixl/tools/
H A Dprinter.py110 minutes, seconds = divmod(time.time() - start_time, 60)
121 progress_string += indicator % (minutes, seconds, progress, passed, failed,
/third_party/node/deps/v8/src/objects/
H A Djs-temporal-objects.cc93 int64_t minutes; member
164 int64_t minutes, int64_t seconds, int64_t milliseconds,
169 Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes,
266 int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds,
271 int64_t minutes, int64_t seconds,
796 int64_t minutes, int64_t seconds, int64_t milliseconds, in CreateTemporalDuration()
800 // 1. If ! IsValidDuration(years, months, weeks, days, hours, minutes, in CreateTemporalDuration()
804 {years, months, weeks, days, hours, minutes, seconds, in CreateTemporalDuration()
831 // 9. Set object.[[Minutes]] to minutes. in CreateTemporalDuration()
832 SET_FROM_INT64(object, minutes); in CreateTemporalDuration()
793 CreateTemporalDuration( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument
846 CreateTemporalDuration( Isolate* isolate, int64_t years, int64_t months, int64_t weeks, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) CreateTemporalDuration() argument
2220 int64_t minutes = (offset_nanoseconds / 60000000000) % 60; FormatTimeZoneOffsetString() local
2600 int32_t minutes = ParseTemporalTimeZoneString() local
2727 int64_t minutes = parsed.tzuo_minute_is_undefined() ? 0 : parsed.tzuo_minute; ParseTimeZoneOffsetString() local
3596 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, const char* method_name) BalanceDuration() argument
3609 BalanceDuration(Isolate* isolate, int64_t* days, int64_t* hours, int64_t* minutes, int64_t* seconds, int64_t* milliseconds, int64_t* microseconds, int64_t* nanoseconds, Unit largest_unit, Handle<Object> relative_to_obj, const char* method_name) BalanceDuration() argument
4228 AddInstant(Isolate* isolate, Handle<BigInt> epoch_nanoseconds, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) AddInstant() argument
4629 AddTime(Isolate* isolate, int64_t hour, int64_t minute, int64_t second, int64_t millisecond, int64_t microsecond, int64_t nanosecond, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds) AddTime() argument
4657 TotalDurationNanoseconds(Isolate* isolate, int64_t days, int64_t hours, int64_t minutes, int64_t seconds, int64_t milliseconds, int64_t microseconds, int64_t nanoseconds, int64_t offset_shift) TotalDurationNanoseconds() argument
4693 Constructor( Isolate* isolate, Handle<JSFunction> target, Handle<HeapObject> new_target, Handle<Object> years, Handle<Object> months, Handle<Object> weeks, Handle<Object> days, Handle<Object> hours, Handle<Object> minutes, Handle<Object> seconds, Handle<Object> milliseconds, Handle<Object> microseconds, Handle<Object> nanoseconds) Constructor() argument
[all...]
/third_party/node/lib/internal/console/
H A Dconstructor.js642 let minutes = 0;
651 minutes = MathFloor(ms / kMinute);
657 if (hours !== 0 || minutes !== 0) {
662 const res = hours !== 0 ? `${hours}:${pad(minutes)}` : minutes;
/third_party/python/Lib/
H A Ddatetime.py164 'minutes': '{:02d}:{:02d}',
191 mm, ss = divmod(mm, timedelta(minutes=1))
234 m, rest = divmod(rest, timedelta(minutes=1))
449 td = timedelta(hours=tz_comps[0], minutes=tz_comps[1],
593 milliseconds=0, minutes=0, hours=0, weeks=0):
610 seconds += minutes*60 + hours*3600
889 timedelta.max = timedelta(days=999999999, hours=23, minutes=59, seconds=59,
1466 myhhmm = self._hour * 60 + self._minute - myoff//timedelta(minutes=1)
1467 othhmm = other._hour * 60 + other._minute - otoff//timedelta(minutes=1)
1482 h, m = divmod(timedelta(hours=self.hour, minutes
[all...]

Completed in 27 milliseconds

1234