/external/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
literals2.fail.cpp | 16 using std::chrono::hours; 18 hours foo = 4h; // should fail w/conversion operator not found
|
literals1.fail.cpp | 16 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
literals1.pass.cpp | 18 hours h = 4h; 19 assert ( h == hours(4));
|
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));
|
literals2.pass.cpp | 21 std::chrono::hours h = 4h; 22 assert ( h == std::chrono::hours(4));
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 58 long hours = minutes / 60; local 59 minutes = minutes - hours * 60; 60 if (hours > 999) { 61 hours = 0; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 66 if (hours == 0 && minutes == 0 && seconds == 0) { 78 hours++; 83 // Hours may be empty 84 if (hours >= 10) [all...] |
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_++.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = ++h;
|
op_++int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h++;
|
op_--.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours& href = --h;
|
op_--int.pass.cpp | 21 std::chrono::hours h(3); 22 std::chrono::hours h2 = h--;
|
/external/chromium_org/ash/system/chromeos/power/ |
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, &minutes) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 34 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); local 36 if (hours > 0) { 37 time.append(hours);
|
/external/lldb/test/pexpect-2.4/examples/ |
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)
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 34 long hours = duration; local 37 if (hours != 0) { 38 result.append(hours); 85 long hours = duration % 24; local 94 if (result.length() > 1 || hours != 0) { 95 result.append(hours);
|
/external/libcxx/test/utilities/time/ |
hours.pass.cpp | 12 // typedef duration<signed integral type of at least 23 bits, ratio<3600>> hours; 20 typedef std::chrono::hours 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/ |
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));
|
/bionic/libc/dns/nameser/ |
ns_ttl.c | 58 int secs, mins, hours, days, weeks, x; local 63 hours = (int)(src % 24); src /= 24; 76 if (hours) { 77 T(fmt1(hours, 'H', &dst, &dstlen)); 84 if (secs || !(weeks || days || hours || mins)) {
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
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/ |
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_string) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 51 long hours = Long.parseLong(in.split(":")[0].trim()); local 56 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
|
/external/chromium_org/third_party/decklink/mac/include/ |
DeckLinkAPITypes.h | 81 virtual HRESULT GetComponents (/* out */ uint8_t *hours, /* out */ uint8_t *minutes, /* out */ uint8_t *seconds, /* out */ uint8_t *frames) = 0;
|