/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/timer/util/ |
TimerObj.java | 17 package com.example.android.timer.util; 21 /** This class represents a timer. */ 27 // Length of the timer in milliseconds. 31 * Construct a timer with a specific start time and length. 33 * @param startTime the start time of the timer. 34 * @param timerLength the length of the timer. 42 * Calculate the time left of this timer. 43 * @return the time left for this timer.
|
/development/ndk/platforms/android-3/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/development/samples/wearable/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
Constants.java | 17 package com.example.android.wearable.timer.util; 26 public static final String DATA_ITEM_PATH = "/timer"; 34 = "com.android.example.clockwork.timer.ACTION_SHOW"; 36 = "com.android.example.clockwork.timer.ACTION_DELETE"; 38 = "com.android.example.clockwork.timer.ACTION_RESTART";
|
TimerObj.java | 17 package com.example.android.wearable.timer.util; 21 /** This class represents a timer. */ 27 // Length of the timer in milliseconds. 31 * Construct a timer with a specific start time and length. 33 * @param startTime the start time of the timer. 34 * @param timerLength the length of the timer. 42 * Calculate the time left of this timer. 43 * @return the time left for this timer.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
popup.js | 20 var timer = new chrome.Interval(); 21 timer.start(); 27 timer.stop(); 28 var usec = Math.round(timer.microseconds() / response.counter); 40 var timer = new chrome.Interval(); 41 timer.start(); 49 timer.stop(); 50 var usec = Math.round(timer.microseconds() / response.counter);
|
/external/eigen/bench/ |
basicbenchmark.h | 51 Eigen::BenchTimer timer; local 55 timer.start(); 57 timer.stop(); 60 return timer.value();
|
benchVecAdd.cpp | 34 BenchTimer timer; local 36 timer.reset(); 39 timer.start(); 41 timer.stop(); 43 std::cout << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) << " GFlops\n"; 53 timer.reset(); 56 timer.start(); 58 timer.stop(); 60 std::cout << innersize << " x " << outersize << " " << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) << " GFlops\n" [all...] |
/frameworks/rs/scriptc/ |
rs_time.rsh | 67 * 1970). If @p timer is non-NULL, the result is also stored in the memory 70 * @param timer Location to also store the returned calendar time. 75 rsTime(rs_time_t *timer); 78 * Converts the time specified by @p timer into broken-down time and stores it 83 * @param timer Input time as calendar time. 88 rsLocaltime(rs_tm *local, const rs_time_t *timer);
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/ |
workqueue.h | 15 #include <linux/timer.h> 27 struct timer_list timer; member in struct:work_struct 34 #define __WORK_INITIALIZER(n, f, d) { .entry = { &(n).entry, &(n).entry }, .func = (f), .data = (d), .timer = TIMER_INITIALIZER(NULL, 0, 0), } 40 #define INIT_WORK(_work, _func, _data) do { INIT_LIST_HEAD(&(_work)->entry); (_work)->pending = 0; PREPARE_WORK((_work), (_func), (_data)); init_timer(&(_work)->timer); } while (0)
|