Home
last modified time | relevance | path

Searched refs:fde (Results 1 – 10 of 10) sorted by relevance

/system/core/adb/
Dfdevent.cpp55 fdevent* fde; member
58 PollNode(fdevent* fde) : fde(fde) { in PollNode()
60 pollfd.fd = fde->fd; in PollNode()
89 static std::string dump_fde(const fdevent* fde) { in dump_fde() argument
91 if (fde->state & FDE_ACTIVE) { in dump_fde()
94 if (fde->state & FDE_PENDING) { in dump_fde()
97 if (fde->state & FDE_CREATED) { in dump_fde()
100 if (fde->state & FDE_READ) { in dump_fde()
103 if (fde->state & FDE_WRITE) { in dump_fde()
106 if (fde->state & FDE_ERROR) { in dump_fde()
[all …]
Dfdevent.h56 void fdevent_destroy(fdevent *fde);
60 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
69 void fdevent_set(fdevent *fde, unsigned events);
70 void fdevent_add(fdevent *fde, unsigned events);
71 void fdevent_del(fdevent *fde, unsigned events);
73 void fdevent_set_timeout(fdevent *fde, int64_t timeout_ms);
Djdwp_service.cpp131 fdevent* fde; member
194 if (proc->fde != NULL) { in jdwp_process_free()
195 fdevent_destroy(proc->fde); in jdwp_process_free()
196 proc->fde = NULL; in jdwp_process_free()
231 proc->fde = fdevent_create( socket, jdwp_process_event, proc ); in jdwp_process_alloc()
232 if (proc->fde == NULL) { in jdwp_process_alloc()
238 proc->fde->state |= FDE_DONT_CLOSE; in jdwp_process_alloc()
250 fdevent_add(proc->fde, FDE_READ); in jdwp_process_alloc()
394 fdevent_del( proc->fde, FDE_WRITE ); in jdwp_process_event()
433 fdevent_add( proc->fde, FDE_WRITE ); in create_jdwp_connection_fd()
[all …]
Dfdevent_test.cpp141 fdevent fde; member
149 fdevent_remove(&arg->fde); in InvalidFdEventCallback()
161 fdevent_install(&read_arg.fde, INVALID_READ_FD, InvalidFdEventCallback, &read_arg); in InvalidFdThreadFunc()
162 fdevent_add(&read_arg.fde, FDE_READ); in InvalidFdThreadFunc()
168 fdevent_install(&write_arg.fde, INVALID_WRITE_FD, InvalidFdEventCallback, &write_arg); in InvalidFdThreadFunc()
169 fdevent_add(&write_arg.fde, FDE_WRITE); in InvalidFdThreadFunc()
Dsockets.cpp174 fdevent_add(&s->fde, FDE_WRITE); in local_socket_enqueue()
182 fdevent_add(&s->fde, FDE_READ); in local_socket_ready()
190 D("LS(%d): destroying fde.fd=%d", s->id, s->fde.fd); in local_socket_destroy()
195 fdevent_remove(&s->fde); in local_socket_destroy()
243 fdevent_del(&s->fde, FDE_READ); in local_socket_close()
247 CHECK_EQ(FDE_WRITE, s->fde.state & FDE_WRITE); in local_socket_close()
303 fdevent_del(&s->fde, FDE_WRITE); in local_socket_event_func()
334 s->fde.force_eof); in local_socket_event_func()
364 fdevent_del(&s->fde, FDE_READ); in local_socket_event_func()
368 if ((s->fde.force_eof && !r) || is_eof) { in local_socket_event_func()
[all …]
Dadb_listeners.cpp93 fdevent_remove(&l->fde); in free_listener()
246 fdevent_install(&listener->fde, listener->fd, ss_listener_event_func, in install_listener()
249 fdevent_install(&listener->fde, listener->fd, listener_event_func, in install_listener()
252 fdevent_set(&listener->fde, FDE_READ); in install_listener()
Dsocket.h65 fdevent fde; member
Dadb.h133 fdevent fde; member
/system/core/sdcard/
Dsdcard.c1397 struct fuse_dirent *fde = (struct fuse_dirent*) buffer; in handle_readdir() local
1411 fde->ino = FUSE_UNKNOWN_INO; in handle_readdir()
1413 fde->off = req->offset + 1; in handle_readdir()
1414 fde->type = de->d_type; in handle_readdir()
1415 fde->namelen = strlen(de->d_name); in handle_readdir()
1416 memcpy(fde->name, de->d_name, fde->namelen + 1); in handle_readdir()
1417 fuse_reply(fuse, hdr->unique, fde, in handle_readdir()
1418 FUSE_DIRENT_ALIGN(sizeof(struct fuse_dirent) + fde->namelen)); in handle_readdir()
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt5977 uuid : "b944e301-abbf-4fde-af83-23652d0903ba"
8599 uuid : "2485c2ff-d520-4fde-91eb-171e49d93bc3"