/hardware/ril/mock-ril/src/cpp/ |
worker.cpp | 139 WorkerQueue *wq = (WorkerQueue *)param; local 144 while (isRunning() && wq->q_.size() == 0) { 145 if (wq->delayed_q_.size() == 0) { 152 while((wq->delayed_q_.size() != 0) && 153 ((wq->delayed_q_.top()->time - now) <= 0)) { 154 struct WorkerQueue::Record *r = wq->delayed_q_.top(); 157 wq->delayed_q_.pop(); 158 wq->q_.push_back(r); 161 if ((wq->q_.size() == 0) && (wq->delayed_q_.size() != 0)) 318 WorkerQueue *wq = (WorkerQueue *)param; local 351 TestWorkerQueue *wq = new TestWorkerQueue(); local [all...] |
/external/kernel-headers/original/linux/ |
wait.h | 155 #define __wait_event(wq, condition) \ 160 prepare_to_wait(&wq, &__wait, TASK_UNINTERRUPTIBLE); \ 165 finish_wait(&wq, &__wait); \ 170 * @wq: the waitqueue to wait on 175 * the waitqueue @wq is woken up. 180 #define wait_event(wq, condition) \ 184 __wait_event(wq, condition); \ 187 #define __wait_event_timeout(wq, condition, ret) \ 192 prepare_to_wait(&wq, &__wait, TASK_UNINTERRUPTIBLE); \ 199 finish_wait(&wq, &__wait); [all...] |
workqueue.h | 62 extern void destroy_workqueue(struct workqueue_struct *wq); 64 extern int FASTCALL(queue_work(struct workqueue_struct *wq, struct work_struct *work)); 65 extern int FASTCALL(queue_delayed_work(struct workqueue_struct *wq, struct work_struct *work, unsigned long delay)); 66 extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, 68 extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq));
|
/external/quake/quake/src/WinQuake/ |
wq.bat | 11 echo wq max: all features on, but doesn't work on all systems
12 echo wq fast: maximum speed, but doesn't work on all systems
13 echo wq fastvid: maximum video speed, but safer, probably slower sound
14 echo wq fastsnd: maximum sound speed, but safer, probably slower video
15 echo wq safe: very likely to run, but may be slower
16 echo wq verysafe: almost sure to run, but probably slower, and no sound
|
/bionic/libc/kernel/common/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/external/kernel-headers/original/linux/mtd/ |
flashchip.h | 72 wait_queue_head_t wq; /* Wait on here when we're waiting for the chip member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/mtd/ |
flashchip.h | 54 wait_queue_head_t wq; member in struct:flchip
|
/bionic/libc/kernel/common/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/development/ndk/platforms/android-3/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/raid/ |
md_k.h | 180 #define __wait_event_lock_irq(wq, condition, lock, cmd) do { wait_queue_t __wait; init_waitqueue_entry(&__wait, current); add_wait_queue(&wq, &__wait); for (;;) { set_current_state(TASK_UNINTERRUPTIBLE); if (condition) break; spin_unlock_irq(&lock); cmd; schedule(); spin_lock_irq(&lock); } current->state = TASK_RUNNING; remove_wait_queue(&wq, &__wait); } while (0) 182 #define wait_event_lock_irq(wq, condition, lock, cmd) do { if (condition) break; __wait_event_lock_irq(wq, condition, lock, cmd); } while (0)
|