/external/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
H A D | literals2.fail.cpp | 16 using std::chrono::hours; 18 hours foo = 4h; // should fail w/conversion operator not found
|
H A D | literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
H A D | literals1.pass.cpp | 18 hours h = 4h; 19 assert ( h == hours(4));
|
H A D | literals.pass.cpp | 22 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 D | literals2.pass.cpp | 21 std::chrono::hours h = 4h; 22 assert ( h == std::chrono::hours(4));
|
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_++.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = ++h;
|
H A D | op_++int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h++;
|
H A D | op_--.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = --h;
|
H A D | op_--int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h--;
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | power_status_unittest.cc | 101 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 D | power_status.h | 63 // Copies the hour and minute components of |time| to |hours| and |minutes|. 68 int* hours,
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | to_number_order.js | 62 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 D | date-constructor.js | 80 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 D | uptime.py | 41 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 D | time_widget.js | 55 // 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 D | TTL.java | 90 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 D | hours.pass.cpp | 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours; 20 typedef std::chrono::hours D;
|
H A D | Android.mk | 23 test_name := utilities/time/hours 24 test_src := hours.pass.cpp
|
/external/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
H A D | duration_cast.pass.cpp | 36 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 D | datefuncs.py | 32 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 D | time_format.cc | 82 // 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 D | SrtParser.java | 51 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 D | time_point_cast.pass.cpp | 58 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 D | DERGeneralizedTime.java | 191 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 D | DateMath.h | 57 // 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);
|