/device/samsung/crespo/alsa-lib/test/ |
rawmidi.c | 41 int fd_in = -1,fd_out = -1; local 108 fd_in = open(node_in,O_RDONLY); 109 if (fd_in<0) { 130 fd_in = fd_out = open(node_out,O_RDWR); 139 if (handle_in || fd_in!=-1) { 153 if (fd_in!=-1) { 156 read(fd_in,&ch,1); 190 if ((handle_in || fd_in!=-1) && (handle_out || fd_out!=-1)) { 200 if (fd_in!=-1) { 201 read(fd_in,&ch,1) [all...] |
/external/qemu/ |
qemu-char-android.c | 542 int fd_in, fd_out; member in struct:__anon6528 576 size = read(s->fd_in, buf, len); 579 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); 591 if (s->fd_in >= 0) { 592 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { 594 qemu_set_fd_handler2(s->fd_in, fd_chr_read_poll, 604 if (s->fd_in >= 0) { 605 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { 607 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); 615 static CharDriverState *qemu_chr_open_fd(int fd_in, int fd_out 646 int fd_in, fd_out; local 667 int fd_in, fd_out; local [all...] |
qemu-char.c | 530 int fd_in, fd_out; member in struct:__anon6535 564 size = read(s->fd_in, buf, len); 567 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); 579 if (s->fd_in >= 0) { 580 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { 582 qemu_set_fd_handler2(s->fd_in, fd_chr_read_poll, 592 if (s->fd_in >= 0) { 593 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) { 595 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL); 603 static CharDriverState *qemu_chr_open_fd(int fd_in, int fd_out 634 int fd_in, fd_out; local [all...] |