/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
literals2.fail.cpp | 17 using std::chrono::hours; 19 hours foo = 4h; // should fail w/conversion operator not found
|
literals1.fail.cpp | 17 std::chrono::hours h = 4h; // should fail w/conversion operator not found
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/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
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/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
|
/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/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...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/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--;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/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/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
op_++int.pass.cpp | 24 std::chrono::hours h1(3); 25 std::chrono::hours h2 = h1++; 33 std::chrono::hours h1(3); 34 std::chrono::hours h2 = h1++;
|
op_--int.pass.cpp | 24 std::chrono::hours h1(3); 25 std::chrono::hours h2 = h1--; 34 std::chrono::hours h1(3); 35 std::chrono::hours h2 = h1--;
|
op_++.pass.cpp | 24 std::chrono::hours h(3); 32 std::chrono::hours h(3); 33 std::chrono::hours& href = ++h;
|
op_--.pass.cpp | 24 std::chrono::hours h(3); 32 std::chrono::hours h(3); 33 std::chrono::hours& href = --h;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerTextController.java | 43 int hours = (int) (remainingTime / HOUR_IN_MILLIS); local 60 hours++; 65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); 66 if (isNegative && !(hours == 0 && minutes == 0 && seconds == 0)) {
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/ |
abs.pass.cpp | 36 // 7290000ms is 2 hours, 1 minute, and 30 seconds 41 test(std::chrono::hours(0), std::chrono::hours(0)); 44 // 9000000ms is 2 hours and 30 minutes 45 constexpr std::chrono::hours h1 = std::chrono::abs(std::chrono::hours(-3)); 47 constexpr std::chrono::hours h2 = std::chrono::abs(std::chrono::hours(3));
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
ceil.pass.cpp | 38 // 7290000ms is 2 hours, 1 minute, and 30 seconds 39 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 3)); 40 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-2)); 45 // 9000000ms is 2 hours and 30 minutes 46 constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000)); 48 constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|
floor.pass.cpp | 37 // 7290000ms is 2 hours, 1 minute, and 30 seconds 38 test(std::chrono::milliseconds( 7290000), std::chrono::hours( 2)); 39 test(std::chrono::milliseconds(-7290000), std::chrono::hours(-3)); 44 // 9000000ms is 2 hours and 30 minutes 45 constexpr std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(9000000)); 47 constexpr std::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds(-9000000));
|