HomeSort by relevance Sort by last modified time
    Searched defs:cond (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/qemu/audio/
audio_pt_int.h 9 pthread_cond_t cond; member in struct:audio_pt
  /external/qemu/
qemu-thread.h 11 pthread_cond_t cond; member in struct:QemuCond
28 void qemu_cond_init(QemuCond *cond);
29 void qemu_cond_signal(QemuCond *cond);
30 void qemu_cond_broadcast(QemuCond *cond);
31 void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex);
32 int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs);
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
WaitingThread.java 53 private final Condition cond; field in class:WaitingThread
69 * @param cond the condition for which to wait
73 public WaitingThread(Condition cond, RouteSpecificPool pool) {
75 if (cond == null) {
79 this.cond = cond;
91 return this.cond;
141 // the lock would not be released on calling cond.await() below.
157 success = this.cond.awaitUntil(deadline);
159 this.cond.await()
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/dc/
SDL_syscond.c 44 SDL_cond *cond; local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
47 if ( cond ) {
48 cond->lock = SDL_CreateMutex();
49 cond->wait_sem = SDL_CreateSemaphore(0);
50 cond->wait_done = SDL_CreateSemaphore(0);
51 cond->waiting = cond->signals = 0;
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done )
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/generic/
SDL_syscond.c 44 SDL_cond *cond; local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
47 if ( cond ) {
48 cond->lock = SDL_CreateMutex();
49 cond->wait_sem = SDL_CreateSemaphore(0);
50 cond->wait_done = SDL_CreateSemaphore(0);
51 cond->waiting = cond->signals = 0;
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done )
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/os2/
SDL_syscond.c 44 SDL_cond *cond; local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
47 if ( cond ) {
48 cond->lock = SDL_CreateMutex();
49 cond->wait_sem = SDL_CreateSemaphore(0);
50 cond->wait_done = SDL_CreateSemaphore(0);
51 cond->waiting = cond->signals = 0;
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done )
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/pth/
SDL_syscond.c 43 SDL_cond *cond; local
45 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
46 if ( cond ) {
47 if ( pth_cond_init(&(cond->condpth_p)) < 0 ) {
49 SDL_free(cond);
50 cond = NULL;
55 return(cond);
59 void SDL_DestroyCond(SDL_cond *cond)
61 if ( cond ) {
62 SDL_free(cond);
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/pthread/
SDL_syscond.c 34 pthread_cond_t cond; member in struct:SDL_cond
40 SDL_cond *cond; local
42 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
43 if ( cond ) {
44 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) {
46 SDL_free(cond);
47 cond = NULL;
50 return(cond);
54 void SDL_DestroyCond(SDL_cond *cond)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/thread/riscos/
SDL_syscond.c 38 pthread_cond_t cond; member in struct:SDL_cond
44 SDL_cond *cond; local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond));
47 if ( cond ) {
48 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) {
50 SDL_free(cond);
51 cond = NULL;
54 return(cond);
58 void SDL_DestroyCond(SDL_cond *cond)
    [all...]
  /external/bluetooth/glib/tests/
errorcheck-mutex-test.c 54 GCond* cond = g_cond_new (); local
55 g_cond_wait (cond, mutex);
62 GCond* cond = g_cond_new (); local
66 g_cond_wait (cond, mutex);
73 GCond* cond = g_cond_new (); local
74 g_cond_timed_wait (cond, mutex, NULL);
81 GCond* cond = g_cond_new (); local
85 g_cond_timed_wait (cond, mutex, NULL);
  /external/qemu/distrib/sdl-1.2.12/src/joystick/dc/
SDL_sysjoystick.c 127 cont_cond_t cond,*prev_cond; local
131 if (cont_get_cond(addr,&cond)<0) return;
133 buttons = cond.buttons;
161 if (cond.joyx!=prev_cond->joyx)
162 SDL_PrivateJoystickAxis(joystick, 0, cond.joyx-128);
163 if (cond.joyy!=prev_cond->joyy)
164 SDL_PrivateJoystickAxis(joystick, 1, cond.joyy-128);
165 if (cond.rtrig!=prev_cond->rtrig)
166 SDL_PrivateJoystickAxis(joystick, 2, cond.rtrig);
167 if (cond.ltrig!=prev_cond->ltrig
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dc/
SDL_dcevents.c 68 mouse_cond_t cond; local
74 if ((addr = maple_first_mouse())==0 || mouse_get_cond(addr, &cond)<0) return;
76 buttons = cond.buttons^0xff;
77 if (cond.dz<0) buttons|=MOUSE_WHEELUP;
78 if (cond.dz>0) buttons|=MOUSE_WHEELDOWN;
80 if (cond.dx||cond.dy) SDL_PrivateMouseMotion(0,1,cond.dx,cond.dy);
  /external/dbus/dbus/
dbus-sysdeps-pthread.c 42 pthread_cond_t cond; /**< the condition */ member in struct:__anon3407
189 result = pthread_cond_init (&pcond->cond, NULL);
205 _dbus_pthread_condvar_free (DBusCondVar *cond)
207 DBusCondVarPThread *pcond = DBUS_COND_VAR_PTHREAD (cond);
209 PTHREAD_CHECK ("pthread_cond_destroy", pthread_cond_destroy (&pcond->cond));
215 _dbus_pthread_condvar_wait (DBusCondVar *cond,
219 DBusCondVarPThread *pcond = DBUS_COND_VAR_PTHREAD (cond);
227 PTHREAD_CHECK ("pthread_cond_wait", pthread_cond_wait (&pcond->cond, &pmutex->lock));
234 _dbus_pthread_condvar_wait_timeout (DBusCondVar *cond,
239 DBusCondVarPThread *pcond = DBUS_COND_VAR_PTHREAD (cond);
    [all...]
  /bionic/libc/bionic/
pthread-timers.c 106 pthread_cond_t cond; /* signal a state change to thread */ member in struct:thr_timer
188 pthread_cond_signal( &timer->cond );
357 pthread_cond_init( &timer->cond, NULL );
396 pthread_cond_signal( &timer->cond );
506 pthread_cond_signal( &timer->cond );
554 pthread_cond_wait( &timer->cond, &timer->mutex );
573 &timer->cond, &timer->mutex, &diff);
  /bionic/libc/include/
pthread.h 173 int pthread_cond_init(pthread_cond_t *cond,
175 int pthread_cond_destroy(pthread_cond_t *cond);
176 int pthread_cond_broadcast(pthread_cond_t *cond);
177 int pthread_cond_signal(pthread_cond_t *cond);
178 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
179 int pthread_cond_timedwait(pthread_cond_t *cond,
187 int pthread_cond_timedwait_monotonic_np(pthread_cond_t *cond,
194 int pthread_cond_timedwait_monotonic(pthread_cond_t *cond,
203 int pthread_cond_timedwait_relative_np(pthread_cond_t *cond,
211 int pthread_cond_timeout_np(pthread_cond_t *cond,
228 pthread_cond_t cond; member in struct:__anon31
    [all...]
  /bootable/recovery/edify/
expr.c 108 char* cond = Evaluate(state, argv[0]); local
109 if (cond == NULL) {
113 if (BooleanString(cond) == true) {
114 free(cond);
118 free(cond);
121 return StringValue(cond);
  /development/ndk/platforms/android-9/include/
pthread.h 175 int pthread_cond_init(pthread_cond_t *cond,
177 int pthread_cond_destroy(pthread_cond_t *cond);
178 int pthread_cond_broadcast(pthread_cond_t *cond);
179 int pthread_cond_signal(pthread_cond_t *cond);
180 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
181 int pthread_cond_timedwait(pthread_cond_t *cond,
189 int pthread_cond_timedwait_monotonic_np(pthread_cond_t *cond,
196 int pthread_cond_timedwait_monotonic(pthread_cond_t *cond,
205 int pthread_cond_timedwait_relative_np(pthread_cond_t *cond,
213 int pthread_cond_timeout_np(pthread_cond_t *cond,
230 pthread_cond_t cond; member in struct:__anon1282
    [all...]
  /development/ndk/sources/android/native_app_glue/
android_native_app_glue.h 168 pthread_cond_t cond; member in struct:android_app
  /external/bluetooth/bluez/gdbus/
mainloop.c 94 static gboolean watch_func(GIOChannel *chan, GIOCondition cond, gpointer data)
101 if (cond & G_IO_IN) flags |= DBUS_WATCH_READABLE;
102 if (cond & G_IO_OUT) flags |= DBUS_WATCH_WRITABLE;
103 if (cond & G_IO_HUP) flags |= DBUS_WATCH_HANGUP;
104 if (cond & G_IO_ERR) flags |= DBUS_WATCH_ERROR;
130 GIOCondition cond = G_IO_HUP | G_IO_ERR; local
151 if (flags & DBUS_WATCH_READABLE) cond |= G_IO_IN;
152 if (flags & DBUS_WATCH_WRITABLE) cond |= G_IO_OUT;
154 info->id = g_io_add_watch(chan, cond, watch_func, info);
  /external/bluetooth/bluez/test/
btiotest.c 80 static gboolean io_watch(GIOChannel *io, GIOCondition cond, gpointer user_data)
100 GIOCondition cond; local
156 cond = G_IO_NVAL | G_IO_HUP | G_IO_ERR;
157 g_io_add_watch_full(io, G_PRIORITY_DEFAULT, cond, io_watch, data,
  /external/v8/src/mips/
macro-assembler-mips.cc 50 void MacroAssembler::Jump(Register target, Condition cond,
52 Jump(Operand(target), cond, r1, r2); local
57 Condition cond, Register r1, const Operand& r2) {
58 Jump(Operand(target), cond, r1, r2); local
63 Condition cond, Register r1, const Operand& r2) {
65 Jump(reinterpret_cast<intptr_t>(target), rmode, cond, r1, r2); local
70 Condition cond, Register r1, const Operand& r2) {
72 Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond); local
77 Condition cond, Register r1, const Operand& r2) {
78 Call(Operand(target), cond, r1, r2) local
84 Call(Operand(target), cond, r1, r2); local
91 Call(reinterpret_cast<intptr_t>(target), rmode, cond, r1, r2); local
98 Call(reinterpret_cast<intptr_t>(code.location()), rmode, cond, r1, r2); local
103 Jump(Operand(ra), cond, r1, r2); local
    [all...]
  /external/v8/test/cctest/
test-macro-assembler-x64.cc 439 Condition cond; local
447 cond = masm->CheckSmi(rcx);
448 __ j(NegateCondition(cond), &exit);
452 cond = masm->CheckSmi(rcx);
453 __ j(cond, &exit);
458 cond = masm->CheckSmi(rcx);
459 __ j(NegateCondition(cond), &exit);
463 cond = masm->CheckSmi(rcx);
464 __ j(cond, &exit);
469 cond = masm->CheckSmi(rcx)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
ThreadPoolExecutorSubclassTest.java 26 final Condition cond = lock.newCondition(); field in class:ThreadPoolExecutorSubclassTest.CustomTask
85 cond.signalAll();
93 cond.await();
109 nanos = cond.awaitNanos(nanos);
    [all...]
  /external/bluetooth/bluez/src/
btio.c 117 static gboolean accept_cb(GIOChannel *io, GIOCondition cond,
124 if ((cond & G_IO_NVAL) || check_nval(io))
127 if (cond & (G_IO_HUP | G_IO_ERR))
138 static gboolean connect_cb(GIOChannel *io, GIOCondition cond,
145 if ((cond & G_IO_NVAL) || check_nval(io))
148 if (cond & G_IO_OUT) {
159 } else if (cond & (G_IO_HUP | G_IO_ERR))
171 static gboolean server_cb(GIOChannel *io, GIOCondition cond,
179 if ((cond & G_IO_NVAL) || check_nval(io))
208 GIOCondition cond; local
225 GIOCondition cond; local
241 GIOCondition cond; local
    [all...]
  /external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
EASLib.c 123 pthread_cond_t cond; variable
363 pthread_cond_signal(&cond);
380 pthread_cond_signal(&cond);
413 pthread_cond_wait(&cond, &mtx);
434 pthread_cond_wait(&cond, &mtx);
568 result = pthread_cond_init(&cond, NULL);
    [all...]

Completed in 730 milliseconds

1 2 3