Searched refs:fd_in (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/tools/android/file_poller/
H A Dfile_poller.cc47 void transfer_to_fd(int fd_in, int fd_out) { argument
50 while ((n = read(fd_in, buffer, sizeof(buffer))) > 0)
55 int transfer_to_buffer(int fd_in, char* bufffer, size_t size) { argument
59 while (to_read > 0 && ((n = read(fd_in, index, to_read)) > 0)) {
76 void transfer_measurement(int fd_in, int fd_out, bool last) { argument
78 if (lseek(fd_in, 0, SEEK_SET) < 0)
80 int n = transfer_to_buffer(fd_in, buffer, sizeof(buffer));
/external/qemu/
H A Dqemu-char.c601 int fd_in, fd_out; member in struct:__anon30077
635 size = read(s->fd_in, buf, len);
638 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL);
651 if (s->fd_in >= 0) {
652 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) {
654 qemu_set_fd_handler2(s->fd_in, fd_chr_read_poll,
664 if (s->fd_in >= 0) {
665 if (display_type == DT_NOGRAPHIC && s->fd_in == 0) {
667 qemu_set_fd_handler2(s->fd_in, NULL, NULL, NULL, NULL);
676 static CharDriverState *qemu_chr_open_fd(int fd_in, in argument
708 int fd_in, fd_out; local
736 int fd_in = qemu_opt_get_number(opts, "fdin",-1); local
[all...]
/external/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1668 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \
1670 __sanitizer_syscall_pre_impl_splice((long)(fd_in), (long)(off_in), \
1673 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \
1675 __sanitizer_syscall_post_impl_splice(res, (long)(fd_in), (long)(off_in), \
2953 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out,
2955 void __sanitizer_syscall_post_impl_splice(long res, long fd_in, long off_in,
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp4766 int fd_in = -1; member in namespace:test98
4777 while (read(fd_in, buff, 100) == 0)
4798 fd_in = open(in_name, 0, O_RDONLY);
4800 CHECK(fd_in >= 0);
4806 close(fd_in);
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c5069 int, fd_in, vki_loff_t *, off_in,
5072 if (!ML_(fd_allowed)(ARG1, "splice(fd_in)", tid, False) ||
5088 int, fd_in, int, fd_out,
5090 if (!ML_(fd_allowed)(ARG1, "tee(fd_in)", tid, False) ||

Completed in 223 milliseconds