Searched refs:looper (Results 1 - 25 of 33) sorted by relevance

12

/external/qemu/android/protocol/
H A Dui-commands-impl.h17 #include "android/looper.h"
33 extern int uiCmdImpl_create(SockAddress* console_socket, Looper* looper);
H A Dfb-updates-impl.h21 #include "android/looper.h"
23 #include "android/looper.h"
39 Looper* looper);
H A Dattach-ui-proxy.c20 #include "android/looper.h"
36 Looper* looper; member in struct:AttachUIProxy
92 _attachUiProxy.looper = looper_newCore();
93 loopIo_init(&_attachUiProxy.io, _attachUiProxy.looper, _attachUiProxy.sock,
103 if (_attachUiProxy.looper != NULL) {
106 looper_free(_attachUiProxy.looper);
107 _attachUiProxy.looper = NULL;
H A Dui-commands-proxy.c20 #include "android/looper.h"
34 Looper* looper; member in struct:UICmdProxy
165 _uiCmdProxy.looper = looper_newCore();
166 loopIo_init(&_uiCmdProxy.io, _uiCmdProxy.looper, _uiCmdProxy.sock,
193 if (_uiCmdProxy.looper != NULL) {
196 looper_free(_uiCmdProxy.looper);
197 _uiCmdProxy.looper = NULL;
H A Duser-events-impl.c21 #include "android/looper.h"
49 Looper* looper; member in struct:UserEventsImpl
188 _UserEventsImpl.looper = looper_newCore();
189 loopIo_init(&_UserEventsImpl.io, _UserEventsImpl.looper, _UserEventsImpl.sock,
200 if (_UserEventsImpl.looper != NULL) {
203 looper_free(_UserEventsImpl.looper);
204 _UserEventsImpl.looper = NULL;
H A Dfb-updates-proxy.c19 #include "android/looper.h"
44 Looper* looper; member in struct:ProxyFramebuffer
265 ret->looper = looper_newCore();
276 loopIo_init(&ret->io, ret->looper, sock, _proxyFb_io_fun, ret);
287 if (proxy_fb->looper != NULL) {
297 looper_free(proxy_fb->looper);
298 proxy_fb->looper = NULL;
H A Dcore-commands-impl.c23 #include "android/looper.h"
50 Looper* looper; member in struct:CoreCmdImpl
407 _coreCmdImpl.looper = looper_newCore();
408 loopIo_init(&_coreCmdImpl.io, _coreCmdImpl.looper, _coreCmdImpl.sock,
432 if (_coreCmdImpl.looper != NULL) {
435 looper_free(_coreCmdImpl.looper);
436 _coreCmdImpl.looper = NULL;
H A Dui-commands-impl.c20 #include "android/looper.h"
188 uiCmdImpl_create(SockAddress* console_socket, Looper* looper) argument
211 loopIo_init(uicmd->io, looper, uicmd->sock,
H A Dfb-updates-impl.c173 Looper* looper)
221 loopIo_init(fbi->io, looper, fbi->sock,
170 fbUpdatesImpl_create(SockAddress* console_socket, const char* protocol, QFrameBuffer* fb, Looper* looper) argument
/external/qemu/android/
H A Dlooper.h74 /* Create a new generic looper that can be used in any context / thread. */
77 /* Create a new looper which is implemented on top of the QEMU main event
91 Duration (*now) (Looper* looper);
92 void (*timer_init)(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque);
93 void (*io_init) (Looper* looper, LoopIo* io, int fd, LoopIoFunc callback, void* opaque);
94 int (*run) (Looper* looper, Duration deadline_ms);
95 void (*forceQuit) (Looper* looper);
96 void (*destroy) (Looper* looper);
126 * Each timer belongs to only one looper object.
130 Looper* looper,
129 loopTimer_init(LoopTimer* timer, Looper* looper, LoopTimerFunc callback, void* opaque) argument
223 loopIo_init(LoopIo* io, Looper* looper, int fd, LoopIoFunc callback, void* opaque) argument
274 looper_now(Looper* looper) argument
287 looper_run(Looper* looper) argument
303 looper_runWithTimeout(Looper* looper, Duration timeout_ms) argument
315 looper_runWithDeadline(Looper* looper, Duration deadline_ms) argument
325 looper_forceQuit(Looper* looper) argument
337 looper_free(Looper* looper) argument
[all...]
H A Dlooper-generic.c17 #include "android/looper.h"
40 GLooper* looper; member in struct:GLoopTimer
46 static void glooper_addActiveTimer(GLooper* looper, GLoopTimer* timer);
47 static void glooper_delActiveTimer(GLooper* looper, GLoopTimer* timer);
48 static void glooper_addTimer(GLooper* looper, GLoopTimer* timer);
49 static void glooper_delTimer(GLooper* looper, GLoopTimer* timer);
56 glooper_delActiveTimer(tt->looper, tt);
75 glooper_addActiveTimer(tt->looper, tt);
86 glooptimer_startAbsolute(tt, timeout_ms + glooper_now((Looper*)tt->looper));
105 glooper_delTimer(tt->looper, t
118 glooper_timer_init(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque) argument
152 GLooper* looper; member in struct:GLoopIo
234 glooper_io_init(Looper* looper, LoopIo* user, int fd, LoopIoFunc callback, void* opaque) argument
264 Looper looper; member in struct:GLooper
277 glooper_addTimer(GLooper* looper, GLoopTimer* tt) argument
283 glooper_delTimer(GLooper* looper, GLoopTimer* tt) argument
289 glooper_addActiveTimer(GLooper* looper, GLoopTimer* tt) argument
304 glooper_delActiveTimer(GLooper* looper, GLoopTimer* tt) argument
320 glooper_addIo(GLooper* looper, GLoopIo* io) argument
326 glooper_delIo(GLooper* looper, GLoopIo* io) argument
332 glooper_delPendingIo(GLooper* looper, GLoopIo* io) argument
338 glooper_modifyFd(GLooper* looper, int fd, int oldWanted, int newWanted) argument
358 GLooper* looper = (GLooper*)ll; local
365 GLooper* looper = (GLooper*) ll; local
467 GLooper* looper = (GLooper*)ll; local
483 GLooper* looper; local
[all...]
H A Dlooper-qemu.c15 #include <android/looper.h>
82 qlooper_timer_init(Looper* looper, argument
132 QLooper* looper; member in struct:QLoopIo
137 static void qlooper_addIo(QLooper* looper, QLoopIo* io);
138 static void qlooper_delIo(QLooper* looper, QLoopIo* io);
150 io->looper = qlooper;
165 qlooper_delPendingIo(io->looper, io);
174 qlooper_addPendingIo(io->looper, io);
249 qlooper_delIo(io->looper, io);
274 qlooper_io_init(Looper* looper, argument
289 Looper looper; member in struct:QLooper
296 qlooper_addIo(QLooper* looper, QLoopIo* io) argument
303 qlooper_delIo(QLooper* looper, QLoopIo* io) argument
319 qlooper_addPendingIo(QLooper* looper, QLoopIo* io) argument
329 qlooper_delPendingIo(QLooper* looper, QLoopIo* io) argument
352 QLooper* looper = opaque; local
396 QLooper* looper = (QLooper*)ll; local
409 QLooper* looper = qemu_mallocz(sizeof(*looper)); local
[all...]
H A Dasync-socket-connector.h94 * looper - An optional (can be NULL) I/O looper to use for connection I/O. If
95 * this parameter is NULL, the connector will create its own looper.
107 Looper* looper);
H A Dasync-socket-connector.c48 /* I/O looper for asynchronous I/O. */
49 Looper* looper; member in struct:AsyncSocketConnector
66 /* Flags whether (1) or not (0) connector owns the looper. */
70 /* Asynchronous I/O looper callback invoked by the connector.
104 if (connector->looper != NULL) {
107 looper_free(connector->looper);
267 loopIo_init(connector->connector_io, connector->looper,
295 Looper* looper)
325 /* Create a looper for asynchronous I/O. */
326 if (looper
291 async_socket_connector_new(const SockAddress* address, int retry_to, asc_event_cb cb, void* cb_opaque, Looper* looper) argument
[all...]
H A Dsync-utils.c56 IoLooper* looper; local
66 looper = iolooper_new();
72 looper = iolooper_new();
73 iolooper_add_write(looper, fd);
74 connect_status = iolooper_wait(looper, timeout);
76 iolooper_del_write(looper, fd);
79 iolooper_free(looper);
95 sync_socket->iolooper = looper;
H A Dhw-pipe-net.c27 #include "android/looper.h"
187 netPipe_initFromAddress( void* hwpipe, const SockAddress* address, Looper* looper )
206 loopIo_init(pipe->io, looper, fd, netPipe_io_func, pipe);
544 Looper* looper = looper_newCore(); local
546 goldfish_pipe_add_type( "tcp", looper, &netPipeTcp_funcs );
548 goldfish_pipe_add_type( "unix", looper, &netPipeUnix_funcs );
550 goldfish_pipe_add_type( "opengles", looper, &openglesPipe_funcs );
H A Dasync-socket.c49 /* Gets socket's looper. */
364 /* I/O looper for asynchronous I/O on the socket. */
365 Looper* looper; member in struct:AsyncSocket
384 /* Flags whether (1) or not (0) socket owns the looper. */
397 return as->looper;
706 if (as->looper != NULL) {
709 looper_free(as->looper);
1058 loopIo_init(as->io, as->looper, as->fd, _on_async_socket_io, as);
1105 Looper* looper)
1123 if (looper
1101 async_socket_new(int port, int reconnect_to, on_as_connection_cb client_cb, void* client_opaque, Looper* looper) argument
[all...]
H A Dasync-socket.h142 * looper - An optional (can be NULL) I/O looper to use for socket I/O. If
143 * this parameter is NULL, the socket will create its own looper.
151 Looper* looper);
H A Dadb-server.c84 Looper* looper; member in struct:AdbServer
386 loopIo_init(adb_host->io, adb_srv->looper, adb_host->host_so,
421 /* Create looper for an async I/O on the server. */
422 _adb_server.looper = looper_newCore();
423 if (_adb_server.looper == NULL) {
424 E("Unable to create I/O looper for ADB server");
439 loopIo_init(_adb_server.io, _adb_server.looper, _adb_server.so,
/external/qemu/
H A Daio-android.c147 IoLooper* looper; local
159 looper = iolooper_new();
164 iolooper_reset(looper);
177 iolooper_add_read(looper, node->fd);
180 iolooper_add_write(looper, node->fd);
187 if (!iolooper_has_operations(looper)) {
192 ret = iolooper_wait(looper, -1);
205 iolooper_is_read(looper, node->fd) &&
210 iolooper_is_write(looper, node->fd) &&
228 iolooper_free(looper);
[all...]
H A Dvl-android-ui.c159 static void init_gui_timer(Looper* looper) argument
161 loopTimer_init(gui_timer, looper, gui_update, gui_timer);
/external/webkit/Source/WebCore/platform/haiku/
H A DSharedTimerHaiku.cpp73 BLooper* looper = BLooper::LooperForThread(find_thread(0)); local
77 BAutolock lock(looper);
79 looper->AddCommonFilter(timer);
/external/skia/tests/
H A DPaintTest.cpp21 SkLayerDrawLooper* looper = new SkLayerDrawLooper(); local
22 paint.setLooper(looper)->unref();
/external/qemu/proxy/
H A Dproxy_common.c542 IoLooper* looper; local
566 looper = iolooper_new();
567 iolooper_add_write(looper, sock);
569 ret = iolooper_wait(looper, timeout_ms);
571 iolooper_free(looper);
/external/skia/src/core/
H A DSkCanvas.cpp330 // no looper means we only draw once
391 AutoDrawLooper looper(this, paint); \
392 while (looper.next(type)) { \
942 paint = &looper.paint();
1350 iter.fDevice->drawPaint(iter, looper.paint());
1367 iter.fDevice->drawPoints(iter, mode, count, pts, looper.paint());
1385 iter.fDevice->drawRect(iter, r, looper.paint());
1410 iter.fDevice->drawPath(iter, path, looper.paint());
1512 iter.fDevice->drawBitmap(iter, bitmap, srcRect, matrix, looper.paint());
1605 looper
[all...]

Completed in 6817 milliseconds

12