Home
last modified time | relevance | path

Searched refs:looper (Results 1 – 25 of 44) sorted by relevance

12

/external/qemu/android/
Dlooper-generic.c40 GLooper* looper; member
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); in glooptimer_stop()
75 glooper_addActiveTimer(tt->looper, tt); in glooptimer_startAbsolute()
86 glooptimer_startAbsolute(tt, timeout_ms + glooper_now((Looper*)tt->looper)); in glooptimer_startRelative()
105 glooper_delTimer(tt->looper, tt); in glooptimer_free()
118 glooper_timer_init(Looper* looper, in glooper_timer_init() argument
[all …]
Dlooper-qemu.c82 qlooper_timer_init(Looper* looper, in qlooper_timer_init() argument
132 QLooper* looper; member
137 static void qlooper_addIo(QLooper* looper, QLoopIo* io);
138 static void qlooper_delIo(QLooper* looper, QLoopIo* io);
150 io->looper = qlooper; in qloopio_new()
165 qlooper_delPendingIo(io->looper, io); in qloopio_removePending()
174 qlooper_addPendingIo(io->looper, io); in qloopio_setReady()
249 qlooper_delIo(io->looper, io); in qloopio_free()
274 qlooper_io_init(Looper* looper, in qlooper_io_init() argument
280 QLoopIo* io = qloopio_new(fd, callback, opaque, (QLooper*)looper); in qlooper_io_init()
[all …]
Dlooper.h91 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);
130 Looper* looper, in loopTimer_init() argument
134 looper->timer_init(looper, timer, callback, opaque); in loopTimer_init()
223 loopIo_init(LoopIo* io, Looper* looper, int fd, LoopIoFunc callback, void* opaque) in loopIo_init() argument
225 looper->io_init(looper, io, fd, callback, opaque); in loopIo_init()
[all …]
Dasync-socket-connector.c51 Looper* looper; member
106 if (connector->looper != NULL) { in _async_socket_connector_free()
109 looper_free(connector->looper); in _async_socket_connector_free()
269 loopIo_init(connector->connector_io, connector->looper, in _on_async_socket_connector_retry()
297 Looper* looper) in async_socket_connector_new() argument
324 if (looper == NULL) { in async_socket_connector_new()
325 connector->looper = looper_newCore(); in async_socket_connector_new()
326 if (connector->looper == NULL) { in async_socket_connector_new()
335 connector->looper = looper; in async_socket_connector_new()
340 loopTimer_init(connector->connector_timer, connector->looper, in async_socket_connector_new()
[all …]
Dsync-utils.c56 IoLooper* looper; in syncsocket_connect() local
66 looper = iolooper_new(); in syncsocket_connect()
72 looper = iolooper_new(); in syncsocket_connect()
73 iolooper_add_write(looper, fd); in syncsocket_connect()
74 connect_status = iolooper_wait(looper, timeout); in syncsocket_connect()
76 iolooper_del_write(looper, fd); in syncsocket_connect()
79 iolooper_free(looper); in syncsocket_connect()
95 sync_socket->iolooper = looper; in syncsocket_connect()
Dasync-socket.c367 Looper* looper; member
399 return as->looper; in _async_socket_get_looper()
708 if (as->looper != NULL) { in _async_socket_free()
711 looper_free(as->looper); in _async_socket_free()
1060 loopIo_init(as->io, as->looper, as->fd, _on_async_socket_io, as); in _on_connector_events()
1107 Looper* looper) in async_socket_new() argument
1125 if (looper == NULL) { in async_socket_new()
1126 as->looper = looper_newCore(); in async_socket_new()
1127 if (as->looper == NULL) { in async_socket_new()
1136 as->looper = looper; in async_socket_new()
[all …]
Dhw-pipe-net.c187 netPipe_initFromAddress( void* hwpipe, const SockAddress* address, Looper* looper ) in netPipe_initFromAddress() argument
206 loopIo_init(pipe->io, looper, fd, netPipe_io_func, pipe); in netPipe_initFromAddress()
531 Looper* looper = looper_newCore(); local
533 goldfish_pipe_add_type( "tcp", looper, &netPipeTcp_funcs );
535 goldfish_pipe_add_type( "unix", looper, &netPipeUnix_funcs );
537 goldfish_pipe_add_type( "opengles", looper, &openglesPipe_funcs );
Dadb-server.c84 Looper* looper; member
386 loopIo_init(adb_host->io, adb_srv->looper, adb_host->host_so, in _on_server_socket_io()
422 _adb_server.looper = looper_newCore(); in adb_server_init()
423 if (_adb_server.looper == NULL) { in adb_server_init()
439 loopIo_init(_adb_server.io, _adb_server.looper, _adb_server.so, in adb_server_init()
Dmain-common.c980 coreconsole_init(CoreConsole* cc, const SockAddress* address, Looper* looper) in coreconsole_init() argument
986 loopIo_init(cc->io, looper, fd, coreconsole_io_func, cc); in coreconsole_init()
1012 Looper* looper; in list_running_cores() local
1022 looper = looper_newGeneric(); in list_running_cores()
1027 coreconsole_init(&cores[nn], &address, looper); in list_running_cores()
1030 looper_runWithTimeout(looper, CORE_PORT_TIMEOUT_MS*2); in list_running_cores()
1044 looper_free(looper); in list_running_cores()
/external/qemu/
Daio-android.c147 IoLooper* looper; in qemu_aio_wait() local
159 looper = iolooper_new(); in qemu_aio_wait()
164 iolooper_reset(looper); in qemu_aio_wait()
177 iolooper_add_read(looper, node->fd); in qemu_aio_wait()
180 iolooper_add_write(looper, node->fd); in qemu_aio_wait()
187 if (!iolooper_has_operations(looper)) { in qemu_aio_wait()
192 ret = iolooper_wait(looper, -1); in qemu_aio_wait()
205 iolooper_is_read(looper, node->fd) && in qemu_aio_wait()
210 iolooper_is_write(looper, node->fd) && in qemu_aio_wait()
228 iolooper_free(looper); in qemu_aio_wait()
/external/qemu/android/protocol/
Dattach-ui-proxy.c36 Looper* looper; member
92 _attachUiProxy.looper = looper_newCore(); in attachUiProxy_create()
93 loopIo_init(&_attachUiProxy.io, _attachUiProxy.looper, _attachUiProxy.sock, in attachUiProxy_create()
103 if (_attachUiProxy.looper != NULL) { in attachUiProxy_destroy()
106 looper_free(_attachUiProxy.looper); in attachUiProxy_destroy()
107 _attachUiProxy.looper = NULL; in attachUiProxy_destroy()
Duser-events-impl.c49 Looper* looper; member
188 _UserEventsImpl.looper = looper_newCore(); in userEventsImpl_create()
189 loopIo_init(&_UserEventsImpl.io, _UserEventsImpl.looper, _UserEventsImpl.sock, in userEventsImpl_create()
200 if (_UserEventsImpl.looper != NULL) { in userEventsImpl_destroy()
203 looper_free(_UserEventsImpl.looper); in userEventsImpl_destroy()
204 _UserEventsImpl.looper = NULL; in userEventsImpl_destroy()
Dui-commands-proxy.c34 Looper* looper; member
165 _uiCmdProxy.looper = looper_newCore(); in uiCmdProxy_create()
166 loopIo_init(&_uiCmdProxy.io, _uiCmdProxy.looper, _uiCmdProxy.sock, in uiCmdProxy_create()
193 if (_uiCmdProxy.looper != NULL) { in uiCmdProxy_destroy()
196 looper_free(_uiCmdProxy.looper); in uiCmdProxy_destroy()
197 _uiCmdProxy.looper = NULL; in uiCmdProxy_destroy()
Dfb-updates-proxy.c44 Looper* looper; member
265 ret->looper = looper_newCore(); in proxyFb_create()
276 loopIo_init(&ret->io, ret->looper, sock, _proxyFb_io_fun, ret); in proxyFb_create()
287 if (proxy_fb->looper != NULL) { in proxyFb_destroy()
297 looper_free(proxy_fb->looper); in proxyFb_destroy()
298 proxy_fb->looper = NULL; in proxyFb_destroy()
Dcore-commands-impl.c50 Looper* looper; member
407 _coreCmdImpl.looper = looper_newCore(); in coreCmdImpl_create()
408 loopIo_init(&_coreCmdImpl.io, _coreCmdImpl.looper, _coreCmdImpl.sock, in coreCmdImpl_create()
432 if (_coreCmdImpl.looper != NULL) { in coreCmdImpl_destroy()
435 looper_free(_coreCmdImpl.looper); in coreCmdImpl_destroy()
436 _coreCmdImpl.looper = NULL; in coreCmdImpl_destroy()
Dui-commands-impl.h33 extern int uiCmdImpl_create(SockAddress* console_socket, Looper* looper);
Dfb-updates-impl.h39 Looper* looper);
/external/webkit/Source/WebCore/platform/haiku/
DSharedTimerHaiku.cpp73 BLooper* looper = BLooper::LooperForThread(find_thread(0)); in instance() local
77 BAutolock lock(looper); in instance()
79 looper->AddCommonFilter(timer); in instance()
/external/valgrind/main/none/tests/amd64/
DMakefile.am50 looper.stderr.exp looper.stdout.exp looper.vgtest \
104 looper \ program
Dlooper.vgtest1 prog: looper
/external/valgrind/main/none/tests/x86/
DMakefile.am53 looper.stderr.exp looper.stdout.exp looper.vgtest \
88 looper \ program
Dlooper.vgtest1 prog: looper
/external/qemu/proxy/
Dproxy_common.c542 IoLooper* looper; in proxy_check_connection() local
566 looper = iolooper_new(); in proxy_check_connection()
567 iolooper_add_write(looper, sock); in proxy_check_connection()
569 ret = iolooper_wait(looper, timeout_ms); in proxy_check_connection()
571 iolooper_free(looper); in proxy_check_connection()
/external/skia/tests/
DPaintTest.cpp21 SkLayerDrawLooper* looper = new SkLayerDrawLooper(); in test_copy() local
22 paint.setLooper(looper)->unref(); in test_copy()
/external/skia/src/core/
DSkCanvas.cpp391 AutoDrawLooper looper(this, paint); \
392 while (looper.next(type)) { \
941 paint = &looper.paint(); in drawDevice()
1349 iter.fDevice->drawPaint(iter, looper.paint()); in internalDrawPaint()
1366 iter.fDevice->drawPoints(iter, mode, count, pts, looper.paint()); in drawPoints()
1384 iter.fDevice->drawRect(iter, r, looper.paint()); in drawRect()
1409 iter.fDevice->drawPath(iter, path, looper.paint()); in drawPath()
1511 iter.fDevice->drawBitmap(iter, bitmap, srcRect, matrix, looper.paint()); in commonDrawBitmap()
1604 looper.paint()); in drawSprite()
1707 SkDeviceFilteredPaint dfp(iter.fDevice, looper.paint()); in drawText()
[all …]

12