Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 15 of 15) sorted by relevance

/sdk/emulator/opengl/tests/event_injector/
Diolooper-select.c64 iolooper_add_fd( IoLooper* iol, int fd ) in iolooper_add_fd() argument
66 if (iol->max_fd_valid && fd > iol->max_fd) { in iolooper_add_fd()
67 iol->max_fd = fd; in iolooper_add_fd()
72 iolooper_del_fd( IoLooper* iol, int fd ) in iolooper_del_fd() argument
74 if (iol->max_fd_valid && fd == iol->max_fd) in iolooper_del_fd()
79 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags ) in iolooper_modify() argument
81 if (fd < 0) in iolooper_modify()
88 iolooper_add_read(iol, fd); in iolooper_modify()
90 iolooper_del_read(iol, fd); in iolooper_modify()
94 iolooper_add_write(iol, fd); in iolooper_modify()
[all …]
Dsockets.h339 SocketType socket_get_type(int fd);
342 int socket_set_xreuseaddr(int fd);
345 int socket_set_nonblock(int fd);
348 int socket_set_blocking(int fd);
351 int socket_set_nodelay(int fd);
354 int socket_set_oobinline(int fd);
357 int socket_set_ipv6only(int fd);
360 int socket_get_error(int fd);
366 void socket_close( int fd );
370 int socket_recv ( int fd, void* buf, int buflen );
[all …]
Demulator-console.c72 int fd; member
87 int ret = socket_recv(con->fd, temp, sizeof temp); in emulatorConsole_eatInput()
113 ret = socket_send(con->fd, in emulatorConsole_sendOutput()
133 iolooper_del_write(con->looper, con->fd); in emulatorConsole_sendOutput()
141 iolooper_add_read(con->looper, con->fd); in emulatorConsole_completeConnect()
142 iolooper_del_write(con->looper, con->fd); in emulatorConsole_completeConnect()
145 iolooper_add_write(con->looper, con->fd); in emulatorConsole_completeConnect()
163 if (con->fd < 0) { in emulatorConsole_connect()
164 con->fd = socket_create_inet( SOCKET_STREAM ); in emulatorConsole_connect()
165 if (con->fd < 0) { in emulatorConsole_connect()
[all …]
Diolooper.h33 void iolooper_add_read( IoLooper* iol, int fd );
34 void iolooper_add_write( IoLooper* iol, int fd );
35 void iolooper_del_read( IoLooper* iol, int fd );
36 void iolooper_del_write( IoLooper* iol, int fd );
42 void iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags);
52 int iolooper_is_read( IoLooper* iol, int fd );
53 int iolooper_is_write( IoLooper* iol, int fd );
Dsockets.c941 int socket_can_read(int fd) in socket_can_read() argument
946 if (ioctlsocket(fd, FIONREAD, &opt) < 0) in socket_can_read()
953 if (ioctl(fd, FIONREAD, &opt) < 0) in socket_can_read()
968 socket_send(int fd, const void* buf, int buflen) in socket_send() argument
970 SOCKET_CALL(send(fd, buf, buflen, 0)) in socket_send()
974 socket_send_oob( int fd, const void* buf, int buflen ) in socket_send_oob() argument
976 SOCKET_CALL(send(fd, buf, buflen, MSG_OOB)); in socket_send_oob()
980 socket_sendto(int fd, const void* buf, int buflen, const SockAddress* to) in socket_sendto() argument
988 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); in socket_sendto()
992 socket_recv(int fd, void* buf, int len) in socket_recv() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
DSaveImageAction.java44 FileDialog fd = new FileDialog(mImageCanvas.getShell(), SWT.SAVE); in run() local
45 fd.setFilterExtensions(new String[] { "*.png" }); in run()
47 fd.setFilterPath(sLastUsedPath); in run()
50 String path = fd.open(); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DOpenGLTraceAction.java60 FileDialog fd = new FileDialog(shell, SWT.OPEN); in openTrace() local
62 fd.setText("Open Trace File"); in openTrace()
63 fd.setFilterPath(sLoadFromFolder); in openTrace()
64 fd.setFilterExtensions(new String[] { "*.gltrace" }); in openTrace()
66 String fname = fd.open(); in openTrace()
DGLTraceOptionsDialog.java197 FileDialog fd = new FileDialog(Display.getDefault().getActiveShell(), SWT.SAVE); in openBrowseDialog() local
199 fd.setText("Save To"); in openBrowseDialog()
200 fd.setFileName("trace1.gltrace"); in openBrowseDialog()
202 fd.setFilterPath(sSaveToFolder); in openBrowseDialog()
203 fd.setFilterExtensions(new String[] { "*.gltrace" }); in openBrowseDialog()
205 String fname = fd.open(); in openBrowseDialog()
210 sSaveToFolder = fd.getFilterPath(); in openBrowseDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGestureToolTip.java105 FontData[] fd = systemFont.getFontData(); in GestureToolTip() local
106 for (int i = 0; i < fd.length; i++) { in GestureToolTip()
107 fd[i].setHeight(FONT_SIZE); in GestureToolTip()
109 mFont = new Font(display, fd); in GestureToolTip()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceOptionsDialogV2.java240 FileDialog fd = new FileDialog(parentShell, SWT.SAVE); in openBrowseDialog() local
242 fd.setText("Save To"); in openBrowseDialog()
243 fd.setFileName(DEFAULT_TRACE_FNAME); in openBrowseDialog()
245 fd.setFilterPath(sSaveToFolder); in openBrowseDialog()
246 fd.setFilterExtensions(new String[] { "*.html" }); //$NON-NLS-1$ in openBrowseDialog()
248 String fname = fd.open(); in openBrowseDialog()
253 sSaveToFolder = fd.getFilterPath(); in openBrowseDialog()
DSystraceOptionsDialogV1.java304 FileDialog fd = new FileDialog(parentShell, SWT.SAVE); in openBrowseDialog() local
306 fd.setText("Save To"); in openBrowseDialog()
307 fd.setFileName(DEFAULT_TRACE_FNAME); in openBrowseDialog()
309 fd.setFilterPath(sSaveToFolder); in openBrowseDialog()
310 fd.setFilterExtensions(new String[] { "*.html" }); //$NON-NLS-1$ in openBrowseDialog()
312 String fname = fd.open(); in openBrowseDialog()
317 sSaveToFolder = fd.getFilterPath(); in openBrowseDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkDebuggerTab.java203 FileDialog fd = new FileDialog(shell); in browseForGdb() local
204 fd.setFilterPath(sLastGdbPath); in browseForGdb()
206 String gdbPath = fd.open(); in browseForGdb()
214 FileDialog fd = new FileDialog(shell); in browseForGdbInit() local
215 String gdbInit = fd.open(); in browseForGdbInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateViewPage.java146 FileDialog fd = new FileDialog(shell, SWT.SAVE); in saveCurrentState() local
147 fd.setFilterExtensions(new String[] { "*.txt" }); in saveCurrentState()
149 fd.setFilterPath(sLastUsedPath); in saveCurrentState()
152 String path = fd.open(); in saveCurrentState()
DGLFunctionTraceViewer.java885 FileDialog fd = new FileDialog(mFrameTreeViewer.getTree().getShell(), SWT.SAVE); in exportTrace() local
886 fd.setFilterExtensions(new String[] { "*.txt" }); in exportTrace()
888 fd.setFilterPath(sLastExportedToFolder); in exportTrace()
891 String path = fd.open(); in exportTrace()
/sdk/emulator/qtools/
Dtrace_reader.cpp1140 int fd = fileno(static_fstream_); in TruncateLastBlock() local
1143 ftruncate(fd, len); in TruncateLastBlock()