Searched refs:hours (Results 1 - 25 of 85) sorted by relevance

1234

/external/libcxx/test/utilities/time/time.duration/time.duration.literals/
H A Dliterals2.fail.cpp16 using std::chrono::hours;
18 hours foo = 4h; // should fail w/conversion operator not found
H A Dliterals1.fail.cpp16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
H A Dliterals1.pass.cpp18 hours h = 4h;
19 assert ( h == hours(4));
H A Dliterals.pass.cpp22 static_assert ( std::is_same<decltype( 3h ), std::chrono::hours>::value, "" );
29 std::chrono::hours h = 4h;
30 assert ( h == std::chrono::hours(4));
H A Dliterals2.pass.cpp21 std::chrono::hours h = 4h;
22 assert ( h == std::chrono::hours(4));
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/
H A Dop_++.pass.cpp21 std::chrono::hours h(3);
22 std::chrono::hours& href = ++h;
H A Dop_++int.pass.cpp21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h++;
H A Dop_--.pass.cpp21 std::chrono::hours h(3);
22 std::chrono::hours& href = --h;
H A Dop_--int.pass.cpp21 std::chrono::hours h(3);
22 std::chrono::hours h2 = h--;
/external/chromium_org/ash/system/chromeos/power/
H A Dpower_status_unittest.cc101 int hours = 0, minutes = 0; local
103 base::TimeDelta::FromSeconds(0), &hours, &minutes);
104 EXPECT_EQ(0, hours);
108 base::TimeDelta::FromSeconds(60), &hours, &minutes);
109 EXPECT_EQ(0, hours);
113 base::TimeDelta::FromSeconds(3600), &hours, &minutes);
114 EXPECT_EQ(1, hours);
118 base::TimeDelta::FromSeconds(3600 + 60), &hours, &minutes);
119 EXPECT_EQ(1, hours);
123 base::TimeDelta::FromSeconds(7 * 3600 + 23 * 60), &hours,
[all...]
H A Dpower_status.h63 // Copies the hour and minute components of |time| to |hours| and |minutes|.
68 int* hours,
/external/chromium_org/v8/test/mjsunit/
H A Dto_number_order.js62 var hours = { valueOf: function() { x += 4; return 13; } };
68 new Date(year, month, date, hours, minutes, seconds, ms);
73 Date(year, month, date, hours, minutes, seconds, ms);
77 Date.UTC(year, month, date, hours, minutes, seconds, ms);
102 new Date().setHours(hours, minutes, seconds, ms);
106 new Date().setUTCHours(hours, minutes, seconds, ms);
110 new Date().setDate(date, hours, minutes, seconds, ms);
114 new Date().setUTCDate(date, hours, minutes, seconds, ms);
118 new Date().setMonth(month, date, hours, minutes, seconds, ms);
122 new Date().setUTCMonth(month, date, hours, minute
[all...]
/external/chromium_org/v8/test/webkit/
H A Ddate-constructor.js80 var hours = { valueOf: function() { testStr += 4; return 13; } };
86 new Date(year, month, date, hours, minutes, seconds, ms);
90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
/external/lldb/test/pexpect-2.4/examples/
H A Duptime.py41 hours = '0' variable
48 hours = str(int(p.match.group(1))) variable
55 print 'days, hours, minutes, users, cpu avg 1 min, cpu avg 5 min, cpu avg 15 min'
56 print '%s, %s, %s, %s, %s, %s, %s' % (days, hours, mins, users, av1, av5, av15)
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dtime_widget.js55 // off at the hours position.
124 var hours = splitTime[0];
139 if (hours > 12) {
140 hours = hours - 12;
143 if (hours == 12) {
146 if (hours == 0) {
147 hours = 12;
157 if (hours != this.pHours_) {
158 changeMessage = changeMessage + hours
[all...]
/external/smack/src/org/xbill/DNS/
H A DTTL.java90 long secs, mins, hours, days, weeks;
95 hours = ttl % 24;
104 if (hours > 0)
105 sb.append(hours + "H");
108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0))
/external/libcxx/test/utilities/time/
H A Dhours.pass.cpp12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours;
20 typedef std::chrono::hours D;
H A DAndroid.mk23 test_name := utilities/time/hours
24 test_src := hours.pass.cpp
/external/libcxx/test/utilities/time/time.duration/time.duration.cast/
H A Dduration_cast.pass.cpp36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2));
48 constexpr std::chrono::hours h = std::chrono::duration_cast<std::chrono::hours>(std::chrono::milliseconds(7265000));
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Ddatefuncs.py32 def getHoursFromNow(hours):
33 return datetime.utcnow() + timedelta(hours=hours)
67 def getHoursFromNow(hours):
69 d.add(d.HOUR, hours)
/external/chromium_org/ui/base/l10n/
H A Dtime_format.cc82 // Anything up to 23.5 hours (respectively 23:59:30.000 when |cutoff|
83 // permits two-value output) is formatted as hours (respectively hours and
86 const int hours = (delta + half_hour).InHours(); local
87 formatter->Format(Formatter::UNIT_HOUR, hours, time_string);
89 const int hours = (delta + half_minute).InHours(); local
92 hours, minutes, time_string);
96 // Anything bigger is formatted as days (respectively days and hours).
102 const int hours = (delta + half_hour).InHours() % 24; local
104 days, hours, time_strin
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/
H A DSrtParser.java51 long hours = Long.parseLong(in.split(":")[0].trim());
56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
/external/libcxx/test/utilities/time/time.point/time.point.cast/
H A Dtime_point_cast.pass.cpp58 test(std::chrono::milliseconds(7265000), std::chrono::hours(2));
70 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours, 2> ();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERGeneralizedTime.java191 int hours = offset / (60 * 60 * 1000);
192 int minutes = (offset - (hours * 60 * 60 * 1000)) / (60 * 1000);
198 hours += sign.equals("+") ? 1 : -1;
206 return "GMT" + sign + convert(hours) + ":" + convert(minutes);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.h57 // dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720].
58 WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset);

Completed in 6519 milliseconds

1234