Searched refs:fde (Results 1 - 9 of 9) sorted by relevance

/system/core/adb/
H A Dfdevent.c48 static void dump_fde(fdevent *fde, const char *info) argument
50 fprintf(stderr,"FDE #%03d %c%c%c %s\n", fde->fd,
51 fde->state & FDE_READ ? 'R' : ' ',
52 fde->state & FDE_WRITE ? 'W' : ' ',
53 fde->state & FDE_ERROR ? 'E' : ' ',
57 #define dump_fde(fde, info) do { } while(0)
100 static void fdevent_connect(fdevent *fde) argument
106 ev.data.ptr = fde;
109 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) {
116 static void fdevent_disconnect(fdevent *fde) argument
132 fdevent_update(fdevent *fde, unsigned events) argument
181 fdevent *fde; local
234 fdevent_connect(fdevent *fde) argument
241 fdevent_disconnect(fdevent *fde) argument
255 fdevent_update(fdevent *fde, unsigned events) argument
279 fdevent *fde; local
318 fdevent_register(fdevent *fde) argument
346 fdevent_unregister(fdevent *fde) argument
399 fdevent *fde = (fdevent*) malloc(sizeof(fdevent)); local
406 fdevent_destroy(fdevent *fde) argument
415 fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
432 fdevent_remove(fdevent *fde) argument
449 fdevent_set(fdevent *fde, unsigned events) argument
475 fdevent_add(fdevent *fde, unsigned events) argument
481 fdevent_del(fdevent *fde, unsigned events) argument
489 fdevent *fde; local
[all...]
H A Dfdevent.h44 void fdevent_destroy(fdevent *fde);
48 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
57 void fdevent_set(fdevent *fde, unsigned events);
58 void fdevent_add(fdevent *fde, unsigned events);
59 void fdevent_del(fdevent *fde, unsigned events);
61 void fdevent_set_timeout(fdevent *fde, int64_t timeout_ms);
H A Dsysdeps_win32.c1247 static void dump_fde(fdevent *fde, const char *info) argument
1249 fprintf(stderr,"FDE #%03d %c%c%c %s\n", fde->fd,
1250 fde->state & FDE_READ ? 'R' : ' ',
1251 fde->state & FDE_WRITE ? 'W' : ' ',
1252 fde->state & FDE_ERROR ? 'E' : ' ',
1256 #define dump_fde(fde, info) do { } while(0)
1340 fdevent* fde = fd_table[ fd - WIN32_FH_BASE ]; local
1342 if (fde != NULL && fde->fd == fd) {
1343 if ((fde
1437 fdevent_connect(fdevent *fde) argument
1446 fdevent_disconnect(fdevent *fde) argument
1455 fdevent_update(fdevent *fde, unsigned events) argument
1571 fdevent_register(fdevent *fde) argument
1601 fdevent_unregister(fdevent *fde) argument
1656 fdevent *fde = (fdevent*) malloc(sizeof(fdevent)); local
1663 fdevent_destroy(fdevent *fde) argument
1672 fdevent_install(fdevent *fde, int fd, fd_func func, void *arg) argument
1686 fdevent_remove(fdevent *fde) argument
1703 fdevent_set(fdevent *fde, unsigned events) argument
1729 fdevent_add(fdevent *fde, unsigned events) argument
1735 fdevent_del(fdevent *fde, unsigned events) argument
1743 fdevent *fde; local
[all...]
H A Djdwp_service.c109 fdevent* fde; member in struct:JdwpProcess
172 if (proc->fde != NULL) {
173 fdevent_destroy(proc->fde);
174 proc->fde = NULL;
208 proc->fde = fdevent_create( socket, jdwp_process_event, proc );
209 if (proc->fde == NULL) {
215 proc->fde->state |= FDE_DONT_CLOSE;
227 fdevent_add(proc->fde, FDE_READ);
358 fdevent_del( proc->fde, FDE_WRITE );
396 fdevent_add( proc->fde, FDE_WRIT
413 fdevent* fde; member in struct:__anon23
[all...]
H A Dsysdeps.h185 void fdevent_destroy(fdevent *fde);
186 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
188 void fdevent_set(fdevent *fde, unsigned events);
189 void fdevent_add(fdevent *fde, unsigned events);
190 void fdevent_del(fdevent *fde, unsigned events);
H A Dsockets.c175 fdevent_add(&s->fde, FDE_WRITE);
184 fdevent_add(&s->fde, FDE_READ);
203 fdevent_remove(&s->fde);
241 fdevent_del(&s->fde, FDE_READ);
294 fdevent_del(&s->fde, FDE_WRITE);
347 fdevent_del(&s->fde, FDE_READ);
376 fdevent_install(&s->fde, fd, local_socket_event_func, s);
377 /* fdevent_add(&s->fde, FDE_ERROR); */
H A Dadb.h92 /* For local asockets, the fde is used to bind
96 fdevent fde; member in struct:asocket
208 fdevent fde; member in struct:alistener
H A Dadb.c454 fdevent_remove(&l->fde);
568 fdevent_install(&l->fde, l->fd, ss_listener_event_func, l);
570 fdevent_install(&l->fde, l->fd, listener_event_func, l);
572 fdevent_set(&l->fde, FDE_READ);
/system/core/sdcard/
H A Dsdcard.c660 struct fuse_dirent *fde = (struct fuse_dirent*) buffer; local
669 fde->ino = FUSE_UNKNOWN_INO;
670 fde->off = 0;
671 fde->type = de->d_type;
672 fde->namelen = strlen(de->d_name);
673 memcpy(fde->name, de->d_name, fde->namelen + 1);
674 fuse_reply(fuse, hdr->unique, fde,
675 FUSE_DIRENT_ALIGN(sizeof(struct fuse_dirent) + fde->namelen));

Completed in 140 milliseconds