stat             1020 src/dps8/dps8_console.c                         t_stat stat = cmdp->action (cmdp->arg, cptr);
stat             1022 src/dps8/dps8_console.c                         if (stat != SCPE_OK)
stat             1026 src/dps8/dps8_console.c                                            SIM_NAME, stat, sim_error_text (stat));
stat              838 src/dps8/dps8_crdrdr.c     struct stat info;
stat              846 src/dps8/dps8_crdrdr.c         if (stat(fqname, &info) != 0)
stat              547 src/dps8/dps8_disk.c     t_stat stat = sim_disk_detach (& dsk_unit [dsk_unit_idx]);
stat              548 src/dps8/dps8_disk.c     if (stat != SCPE_OK) {
stat              549 src/dps8/dps8_disk.c       sim_warn ("%s: sim_disk_detach returned %ld\n", __func__, (long) stat);
stat              561 src/dps8/dps8_disk.c   t_stat stat = attach_unit (& dsk_unit [dsk_unit_idx], disk_filename);
stat              562 src/dps8/dps8_disk.c   if (stat != SCPE_OK) {
stat              563 src/dps8/dps8_disk.c     sim_printf ("%s: sim_disk_attach returned %d\n", __func__, stat);
stat              564 src/dps8/dps8_disk.c     return stat;
stat              941 src/dps8/dps8_mt.c     t_stat stat = sim_tape_attach (& mt_unit [driveNumber], full_tape_file_name);
stat              942 src/dps8/dps8_mt.c     if (stat != SCPE_OK)
stat              944 src/dps8/dps8_mt.c         sim_printf ("%s sim_tape_attach returned %d\n", __func__, stat);
stat              945 src/dps8/dps8_mt.c         return stat;
stat              954 src/dps8/dps8_mt.c         t_stat stat = sim_tape_detach (& mt_unit [driveNumber]);
stat              955 src/dps8/dps8_mt.c         if (stat != SCPE_OK)
stat              957 src/dps8/dps8_mt.c             sim_warn ("%s sim_tape_detach returned %d\n", __func__, stat);
stat              958 src/dps8/dps8_mt.c             return stat;
stat             1757 src/dps8/dps8_sys.c         t_stat stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */
stat             1758 src/dps8/dps8_sys.c         if (stat != SCPE_OK)
stat               57 src/libsir/include/sir/filesystem.h bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to);
stat              181 src/libsir/src/sirfilecache.c         struct stat st = {0};
stat              185 src/libsir/src/sirfilecache.c             getstat = stat(sf->path, &st);
stat              502 src/libsir/src/sirfilecache.c     struct stat st1             = {0};
stat              503 src/libsir/src/sirfilecache.c     struct stat st2             = {0};
stat              511 src/libsir/src/sirfilecache.c     if ((!stat(resolved1, &st1) && !stat(resolved2, &st2)) ||
stat              512 src/libsir/src/sirfilecache.c         (!stat(path, &st1) && !stat(iter->path, &st2))) {
stat               44 src/libsir/src/sirfilesystem.c bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to) {
stat               48 src/libsir/src/sirfilesystem.c     (void)memset(st, 0, sizeof(struct stat));
stat               97 src/libsir/src/sirfilesystem.c             stat_ret = stat(abs_path, st);
stat              103 src/libsir/src/sirfilesystem.c         stat_ret = stat(path, st);
stat              122 src/libsir/src/sirfilesystem.c         stat_ret = stat(abs_path, st);
stat              125 src/libsir/src/sirfilesystem.c         stat_ret = stat(path, st);
stat              140 src/libsir/src/sirfilesystem.c     struct stat st = {0};
stat              233 src/libsir/src/sirfilesystem.c     struct stat st;
stat              530 src/libsir/src/sirfilesystem.c         struct stat statstruct;
stat              556 src/libsir/src/sirfilesystem.c                 if (stat(symlink, &statstruct) != -1) {
stat              568 src/libsir/src/sirfilesystem.c                 if (stat(symlink, &statstruct) != -1) {
stat              361 src/simh/scp.c t_stat attach_err (UNIT *uptr, t_stat stat);
stat             1443 src/simh/scp.c t_stat process_stdin_commands (t_stat stat, char *argv[]);
stat             1685 src/simh/scp.c t_stat stat;
stat             2053 src/simh/scp.c if ((stat = sim_ttinit ()) != SCPE_OK) {
stat             2055 src/simh/scp.c                    sim_error_text (stat));
stat             2064 src/simh/scp.c if ((stat = reset_all_p (0)) != SCPE_OK) {
stat             2066 src/simh/scp.c                    sim_error_text (stat));
stat             2070 src/simh/scp.c if ((stat = sim_brk_init ()) != SCPE_OK) {
stat             2072 src/simh/scp.c                    sim_error_text (stat));
stat             2090 src/simh/scp.c     stat = do_cmd (0, cbuf);                            /* proc cmd file */
stat             2094 src/simh/scp.c     stat = do_cmd (-1, nbuf) & ~SCPE_NOMESSAGE;         /* proc default cmd file */
stat             2095 src/simh/scp.c     if (stat == SCPE_OPENERR) {                         /* didn't exist/can't open? */
stat             2101 src/simh/scp.c             stat = do_cmd (-1, np) & ~SCPE_NOMESSAGE;   /* proc default cmd file */
stat             2108 src/simh/scp.c stat = process_stdin_commands (SCPE_BARE_STATUS(stat), argv);
stat             2133 src/simh/scp.c t_stat process_stdin_commands (t_stat stat, char *argv[])
stat             2140 src/simh/scp.c stat = SCPE_BARE_STATUS(stat);                          /* remove possible flag */
stat             2141 src/simh/scp.c while (stat != SCPE_EXIT) {                             /* in case exit */
stat             2163 src/simh/scp.c         stat = cmdp->action (cmdp->arg, cptr);          /* if found, exec */
stat             2165 src/simh/scp.c         stat = SCPE_UNK;
stat             2166 src/simh/scp.c     stat_nomessage = stat & SCPE_NOMESSAGE;             /* extract possible message suppression flag */
stat             2168 src/simh/scp.c     stat = SCPE_BARE_STATUS(stat);                      /* remove possible flag */
stat             2169 src/simh/scp.c     sim_last_cmd_stat = stat;                           /* save command error status */
stat             2172 src/simh/scp.c             cmdp->message (NULL, stat);                 /* let it deal with display */
stat             2174 src/simh/scp.c             if (stat >= SCPE_BASE)                      /* error? */
stat             2175 src/simh/scp.c                 sim_printf ("%s\n", sim_error_text (stat));
stat             2180 src/simh/scp.c return stat;
stat             2922 src/simh/scp.c t_stat stat, stat_nomessage;
stat             2924 src/simh/scp.c stat = SCPE_OK;
stat             2994 src/simh/scp.c     stat = goto_cmd (0, label);
stat             2995 src/simh/scp.c     if (stat != SCPE_OK) {
stat             3016 src/simh/scp.c         stat = SCPE_OK;                                 /* set good return */
stat             3034 src/simh/scp.c                 stat = SCPE_NEST;
stat             3036 src/simh/scp.c                 stat = do_cmd (sim_do_depth+1, cptr);   /* exec DO cmd */
stat             3039 src/simh/scp.c             stat = cmdp->action (cmdp->arg, cptr);      /* exec other cmd */
stat             3041 src/simh/scp.c     else stat = SCPE_UNK;                               /* bad cmd given */
stat             3043 src/simh/scp.c     stat_nomessage = stat & SCPE_NOMESSAGE;             /* extract possible message suppression flag */
stat             3045 src/simh/scp.c     stat = SCPE_BARE_STATUS(stat);                      /* remove possible flag */
stat             3047 src/simh/scp.c       if (((stat != SCPE_OK) && (stat != SCPE_EXPECT)) ||
stat             3052 src/simh/scp.c         sim_last_cmd_stat = stat;                       /* save command error status */
stat             3053 src/simh/scp.c     switch (stat) {
stat             3056 src/simh/scp.c                        sim_on_actions[sim_do_depth][stat]); /* use it, otherwise exit */
stat             3067 src/simh/scp.c     if ((stat >= SCPE_BASE) && (stat != SCPE_EXIT) &&   /* error from cmd? */
stat             3068 src/simh/scp.c         (stat != SCPE_STEP)) {
stat             3077 src/simh/scp.c             cmdp->message ((!echo && !sim_quiet) ? sim_do_ocptr[sim_do_depth] : NULL, stat);
stat             3079 src/simh/scp.c             if (stat >= SCPE_BASE)                      /* report error if not suppressed */
stat             3080 src/simh/scp.c                 sim_printf ("%s\n", sim_error_text (stat));
stat             3082 src/simh/scp.c     if (stat == SCPE_EXPECT)                            /* EXPECT status is non actionable */
stat             3083 src/simh/scp.c         stat = SCPE_OK;                                 /* so adjust it to SCPE_OK */
stat             3086 src/simh/scp.c         (stat != SCPE_OK) &&
stat             3087 src/simh/scp.c         (stat != SCPE_STEP)) {
stat             3088 src/simh/scp.c         if ((stat <= SCPE_MAX_ERR) && sim_on_actions[sim_do_depth][stat])
stat             3089 src/simh/scp.c             sim_brk_setact (sim_on_actions[sim_do_depth][stat]);
stat             3117 src/simh/scp.c     sim_string_to_stat (cptr, &stat);
stat             3118 src/simh/scp.c     sim_last_cmd_stat = stat;                           /* save explicit status as command error status */
stat             3120 src/simh/scp.c         stat |= SCPE_NOMESSAGE;                         /* suppress error message display (in caller) if requested */
stat             3121 src/simh/scp.c     return stat;                                        /* return with explicit return status */
stat             3123 src/simh/scp.c return stat | SCPE_NOMESSAGE;                           /* suppress message since we've already done that here */
stat             6143 src/simh/scp.c t_stat attach_err (UNIT *uptr, t_stat stat)
stat             6147 src/simh/scp.c return stat;
stat             10107 src/simh/scp.c t_bool sim_send_poll_data (SEND *snd, t_stat *stat)
stat             10114 src/simh/scp.c         *stat = SCPE_OK;
stat             10119 src/simh/scp.c         *stat = snd->buffer[snd->extoff++] | SCPE_KFLAG;/* get one */
stat             10121 src/simh/scp.c         if (sim_isgraph(*stat & 0xFF) || ((*stat & 0xFF) == ' '))
stat             10122 src/simh/scp.c             (void)sprintf (dstr, " '%c'", *stat & 0xFF);
stat             10123 src/simh/scp.c         sim_debug (snd->dbit, snd->dptr, "Byte value: 0x%02X%s injected\n", *stat & 0xFF, dstr);
stat             10132 src/simh/scp.c const char *sim_error_text (t_stat stat)
stat             10136 src/simh/scp.c stat &= ~(SCPE_KFLAG|SCPE_BREAK|SCPE_NOMESSAGE);        /* remove any flags */
stat             10137 src/simh/scp.c if (stat == SCPE_OK)
stat             10139 src/simh/scp.c if ((stat >= SCPE_BASE) && (stat <= SCPE_MAX_ERR))
stat             10140 src/simh/scp.c     return scp_errors[stat-SCPE_BASE].message;
stat             10141 src/simh/scp.c (void)sprintf(msgbuf, "Error %d", stat);
stat             10145 src/simh/scp.c t_stat sim_string_to_stat (const char *cptr, t_stat *stat)
stat             10150 src/simh/scp.c *stat = SCPE_ARG;
stat             10169 src/simh/scp.c *stat = cond;
stat             10370 src/simh/scp.c t_stat sim_messagef (t_stat stat, const char* fmt, ...)
stat             10377 src/simh/scp.c t_bool inhibit_message = (!sim_show_message || (stat & SCPE_NOMESSAGE));
stat             10431 src/simh/scp.c return stat | SCPE_NOMESSAGE;
stat              183 src/simh/scp.h t_bool sim_send_poll_data (SEND *snd, t_stat *stat);
stat              196 src/simh/scp.h const char *sim_error_text (t_stat stat);
stat              199 src/simh/scp.h t_stat sim_messagef (t_stat stat, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
stat              576 src/simh/sim_console.c static t_stat _sim_rem_message (const char *cmd, t_stat stat)
stat              579 src/simh/sim_console.c t_stat stat_nomessage = stat & SCPE_NOMESSAGE;  /* extract possible message suppression flag */
stat              582 src/simh/sim_console.c stat = SCPE_BARE_STATUS(stat);              /* remove possible flag */
stat              585 src/simh/sim_console.c         cmdp->message (NULL, stat);             /* let it deal with display */
stat              587 src/simh/sim_console.c         if (stat >= SCPE_BASE)                  /* error? */
stat              588 src/simh/sim_console.c             sim_printf ("%s\r\n", sim_error_text (stat));
stat              591 src/simh/sim_console.c return stat;
stat              621 src/simh/sim_console.c t_stat stat;
stat              632 src/simh/sim_console.c stat = sim_rem_active_command->action (sim_rem_active_command->arg, cptr);/* execute command */
stat              633 src/simh/sim_console.c if (stat != SCPE_OK)
stat              634 src/simh/sim_console.c     stat = _sim_rem_message (gbuf, stat);       /* display results */
stat              635 src/simh/sim_console.c sim_last_cmd_stat = SCPE_BARE_STATUS(stat);
stat              647 src/simh/sim_console.c t_stat stat = SCPE_OK;
stat              676 src/simh/sim_console.c     stat = SCPE_OK;
stat              682 src/simh/sim_console.c                 stat = SCPE_STEP;
stat              683 src/simh/sim_console.c                 _sim_rem_message ("STEP", stat);        /* produce a STEP complete message */
stat              714 src/simh/sim_console.c                 stat = SCPE_STOP;
stat              715 src/simh/sim_console.c                 _sim_rem_message ("RUN", stat);
stat              761 src/simh/sim_console.c         if (stat == SCPE_EXIT)
stat              762 src/simh/sim_console.c             return stat|SCPE_NOMESSAGE;
stat              923 src/simh/sim_console.c                 stat = SCPE_UNK;
stat              931 src/simh/sim_console.c                     stat = SCPE_OK;
stat              937 src/simh/sim_console.c                         stat = SCPE_OK;
stat              941 src/simh/sim_console.c                                  stat = SCPE_2MARG;
stat              943 src/simh/sim_console.c                                  steps = (int32) get_uint (gbuf, 10, INT_MAX, &stat);
stat              944 src/simh/sim_console.c                                  if ((stat != SCPE_OK) || (steps <= 0)) /* error? */
stat              945 src/simh/sim_console.c                                      stat = SCPE_ARG;
stat              948 src/simh/sim_console.c                         if (stat != SCPE_OK)
stat              954 src/simh/sim_console.c                             stat = basecmdp->action (cmdp->arg, cptr);
stat              956 src/simh/sim_console.c                             if (stat == SCPE_OK) {
stat              962 src/simh/sim_console.c                             stat = SCPE_REMOTE;         /* force processing outside of sim_instr() */
stat              967 src/simh/sim_console.c                 stat = SCPE_INVREM;
stat              970 src/simh/sim_console.c         if ((stat != SCPE_OK) && (stat != SCPE_REMOTE))
stat              971 src/simh/sim_console.c             stat = _sim_rem_message (gbuf, stat);
stat             1021 src/simh/sim_console.c             (stat == SCPE_REMOTE)) {
stat              280 src/simh/sim_defs.h # define SCPE_BARE_STATUS(stat) ((stat) & ~(SCPE_NOMESSAGE|SCPE_KFLAG|SCPE_BREAK))
stat              538 src/simh/sim_defs.h     void                (*message)(const char *unechoed_cmdline, t_stat stat);
stat              500 src/simh/sim_disk.c static t_stat _err_return (UNIT *uptr, t_stat stat)
stat              506 src/simh/sim_disk.c return stat;
stat              380 src/simh/sim_fio.c struct stat stbuf;
stat              655 src/simh/sim_timer.c t_stat stat;
stat              669 src/simh/sim_timer.c stat = sim_clock_unit[tmr]->action (sim_clock_unit[tmr]);
stat              671 src/simh/sim_timer.c if (stat == SCPE_OK) {
stat              696 src/simh/sim_timer.c return stat;