Home | History | Annotate | Download | only in common

Lines Matching refs:host_callback

60 fdbad (host_callback *p, int fd)
71 fdmap (host_callback *p, int fd)
77 os_close (host_callback *p, int fd)
146 os_poll_quit (host_callback *p)
161 os_get_errno (host_callback *p)
168 os_isatty (host_callback *p, int fd)
182 os_lseek (host_callback *p, int fd, int64_t off, int way)
196 os_open (host_callback *p, const char *name, int flags)
219 os_read (host_callback *p, int fd, char *buf, int len)
273 os_read_stdin (host_callback *p, char *buf, int len)
283 os_write (host_callback *p, int fd, const char *buf, int len)
352 os_write_stdout (host_callback *p ATTRIBUTE_UNUSED, const char *buf, int len)
358 os_flush_stdout (host_callback *p ATTRIBUTE_UNUSED)
364 os_write_stderr (host_callback *p ATTRIBUTE_UNUSED, const char *buf, int len)
370 os_flush_stderr (host_callback *p ATTRIBUTE_UNUSED)
376 os_rename (host_callback *p, const char *f1, const char *f2)
387 os_system (host_callback *p, const char *s)
397 os_time (host_callback *p)
408 os_unlink (host_callback *p, const char *f1)
418 os_stat (host_callback *p, const char *file, struct stat *buf)
432 os_fstat (host_callback *p, int fd, struct stat *buf)
480 os_lstat (host_callback *p, const char *file, struct stat *buf)
495 os_ftruncate (host_callback *p, int fd, int64_t len)
518 os_truncate (host_callback *p, const char *file, int64_t len)
533 os_getpid (host_callback *p)
544 os_kill (host_callback *p, int pid, int signum)
559 os_pipe (host_callback *p, int *filedes)
599 os_pipe_empty (host_callback *p, int reader, int writer)
607 os_pipe_nonempty (host_callback *p, int reader, int writer)
612 os_shutdown (host_callback *p)
652 os_init (host_callback *p)
677 os_printf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, ...)
688 os_vprintf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, va_list args)
695 os_evprintf_filtered (host_callback *p ATTRIBUTE_UNUSED, const char *format, va_list args)
702 os_error (host_callback *p ATTRIBUTE_UNUSED, const char *format, ...)
714 host_callback default_callback =
790 cb_read_target_syscall_maps (host_callback *cb, const char *file)
856 cb_target_to_host_syscall (host_callback *cb, int target_val)
871 cb_host_to_target_errno (host_callback *cb, int host_val)
887 cb_target_to_host_open (host_callback *cb, int target_val)
940 cb_target_to_host_signal (host_callback *cb, int target_val)
954 cb_store_target_endian (host_callback *cb, char *p, int size, long val)
983 cb_host_to_target_stat (host_callback *cb, const struct stat *hs, void *ts)
1077 cb_is_stdin (host_callback *cb, int fd)
1083 cb_is_stdout (host_callback *cb, int fd)
1089 cb_is_stderr (host_callback *cb, int fd)
1096 cb_host_str_syscall (host_callback *cb, int host_val)
1104 cb_host_str_errno (host_callback *cb, int host_val)
1112 cb_host_str_signal (host_callback *cb, int host_val)
1120 cb_target_str_syscall (host_callback *cb, int target_val)
1129 cb_target_str_errno (host_callback *cb, int target_val)
1138 cb_target_str_signal (host_callback *cb, int target_val)