snd               267 src/simh/scp.c t_stat tmxr_locate_line_send (const char *dev_line, SEND **snd);
snd              3676 src/simh/scp.c SEND *snd = NULL;
snd              3681 src/simh/scp.c     r = tmxr_locate_line_send (gbuf, &snd);
snd              3688 src/simh/scp.c     snd = sim_cons_get_send ();
snd              3723 src/simh/scp.c return sim_send_input (snd, dbuf, dsize, after, delay);
snd              3731 src/simh/scp.c SEND *snd = NULL;
snd              3735 src/simh/scp.c     r = tmxr_locate_line_send (gbuf, &snd);
snd              3741 src/simh/scp.c     snd = sim_cons_get_send ();
snd              3744 src/simh/scp.c return sim_show_send_input (st, snd);
snd              9961 src/simh/scp.c t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay)
snd              9963 src/simh/scp.c if (snd->extoff != 0) {
snd              9964 src/simh/scp.c     if (snd->insoff > snd->extoff)
snd              9965 src/simh/scp.c         memmove(snd->buffer, snd->buffer+snd->extoff, snd->insoff-snd->extoff);
snd              9966 src/simh/scp.c     snd->insoff -= snd->extoff;
snd              9967 src/simh/scp.c     snd->extoff  = 0;
snd              9969 src/simh/scp.c if (snd->insoff+size > snd->bufsize) {
snd              9970 src/simh/scp.c     snd->bufsize = snd->insoff+size;
snd              9971 src/simh/scp.c     snd->buffer  = (uint8 *)realloc(snd->buffer, snd->bufsize);
snd              9972 src/simh/scp.c     if (!snd->buffer)
snd              9985 src/simh/scp.c memcpy(snd->buffer+snd->insoff, data, size);
snd              9986 src/simh/scp.c snd->insoff += size;
snd              9988 src/simh/scp.c     snd->delay = (sim_switches & SWMASK ('T')) ? (uint32)((sim_timer_inst_per_sec()*delay)/1000000.0) : delay;
snd              9990 src/simh/scp.c     snd->after = (sim_switches & SWMASK ('T')) ? (uint32)((sim_timer_inst_per_sec()*after)/1000000.0) : after;
snd              9991 src/simh/scp.c if (snd->after == 0)
snd              9992 src/simh/scp.c     snd->after = snd->delay;
snd              9993 src/simh/scp.c snd->next_time = sim_gtime() + snd->after;
snd              9998 src/simh/scp.c t_stat sim_send_clear (SEND *snd)
snd              10000 src/simh/scp.c snd->insoff = 0;
snd              10001 src/simh/scp.c snd->extoff = 0;
snd              10007 src/simh/scp.c t_stat sim_show_send_input (FILE *st, const SEND *snd)
snd              10009 src/simh/scp.c if (snd->extoff < snd->insoff) {
snd              10011 src/simh/scp.c                    (long long)snd->insoff-snd->extoff);
snd              10012 src/simh/scp.c     fprint_buffer_string (st, snd->buffer+snd->extoff, snd->insoff-snd->extoff);
snd              10017 src/simh/scp.c if ((snd->next_time - sim_gtime()) > 0) {
snd              10018 src/simh/scp.c     if ((snd->next_time - sim_gtime()) > (sim_timer_inst_per_sec()/1000000.0))
snd              10020 src/simh/scp.c                        (int)(snd->next_time - sim_gtime()),
snd              10021 src/simh/scp.c         (int)((snd->next_time - sim_gtime())/(sim_timer_inst_per_sec()/1000000.0)));
snd              10024 src/simh/scp.c                        (int)(snd->next_time - sim_gtime()));
snd              10026 src/simh/scp.c if (snd->delay > (sim_timer_inst_per_sec()/1000000.0))
snd              10028 src/simh/scp.c                    (int)snd->delay, (int)(snd->delay/(sim_timer_inst_per_sec()/1000000.0)));
snd              10031 src/simh/scp.c                    (int)snd->delay);
snd              10032 src/simh/scp.c if (snd->dptr && snd->dbit)
snd              10034 src/simh/scp.c                    sim_dname(snd->dptr), snd->dptr->debflags ? "=" : "",
snd              10035 src/simh/scp.c                    snd->dptr->debflags ? get_dbg_verb (snd->dbit, snd->dptr) : "");
snd              10041 src/simh/scp.c t_bool sim_send_poll_data (SEND *snd, t_stat *stat)
snd              10046 src/simh/scp.c if ((NULL != snd) && (snd->extoff < snd->insoff)) {     /* pending input characters available? */
snd              10047 src/simh/scp.c     if (sim_gtime() < snd->next_time) {                 /* too soon? */
snd              10049 src/simh/scp.c         sim_debug (snd->dbit, snd->dptr, "Too soon to inject next byte\n");
snd              10053 src/simh/scp.c         *stat = snd->buffer[snd->extoff++] | SCPE_KFLAG;/* get one */
snd              10054 src/simh/scp.c         snd->next_time = sim_gtime() + snd->delay;
snd              10057 src/simh/scp.c         sim_debug (snd->dbit, snd->dptr, "Byte value: 0x%02X%s injected\n", *stat & 0xFF, dstr);
snd               181 src/simh/scp.h t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay);
snd               182 src/simh/scp.h t_stat sim_show_send_input (FILE *st, const SEND *snd);
snd               183 src/simh/scp.h t_bool sim_send_poll_data (SEND *snd, t_stat *stat);
snd               184 src/simh/scp.h t_stat sim_send_clear (SEND *snd);
snd              2948 src/simh/sim_tmxr.c static t_stat _tmxr_locate_line_send_expect (const char *cptr, SEND **snd, EXPECT **exp)
snd              2955 src/simh/sim_tmxr.c if (snd)
snd              2956 src/simh/sim_tmxr.c     *snd = NULL;
snd              2969 src/simh/sim_tmxr.c         if (snd)
snd              2970 src/simh/sim_tmxr.c             *snd = &tmxr_open_devices[i]->ldsc[line].send;
snd              2978 src/simh/sim_tmxr.c t_stat tmxr_locate_line_send (const char *cptr, SEND **snd)
snd              2980 src/simh/sim_tmxr.c return _tmxr_locate_line_send_expect (cptr, snd, NULL);
snd               269 src/simh/sim_tmxr.h t_stat tmxr_locate_line_send (const char *dev_line, SEND **snd);