iptr 337 src/simh/scp.c static const char *get_glyph_gen (const char *iptr, char *optr, char mchar, t_bool uc, t_bool quote, char escape_char); iptr 7352 src/simh/scp.c static const char *get_glyph_gen (const char *iptr, char *optr, char mchar, t_bool uc, t_bool quote, char escape_char) iptr 7358 src/simh/scp.c while ((*iptr != 0) && iptr 7359 src/simh/scp.c ((quote && quoting) || ((sim_isspace (*iptr) == 0) && (*iptr != mchar)))) { iptr 7363 src/simh/scp.c if (*iptr == escape_char) iptr 7366 src/simh/scp.c if (*iptr == quote_char) iptr 7373 src/simh/scp.c if ((*iptr == '"') || (*iptr == '\'')) { iptr 7375 src/simh/scp.c quote_char = *iptr; iptr 7379 src/simh/scp.c if (sim_islower (*iptr) && uc) iptr 7380 src/simh/scp.c *optr = (char)toupper (*iptr); iptr 7381 src/simh/scp.c else *optr = *iptr; iptr 7382 src/simh/scp.c iptr++; optr++; iptr 7384 src/simh/scp.c if (mchar && (*iptr == mchar)) /* skip input terminator */ iptr 7385 src/simh/scp.c iptr++; iptr 7387 src/simh/scp.c while (sim_isspace (*iptr)) /* absorb additional input spaces */ iptr 7388 src/simh/scp.c iptr++; iptr 7389 src/simh/scp.c return iptr; iptr 7392 src/simh/scp.c CONST char *get_glyph (const char *iptr, char *optr, char mchar) iptr 7394 src/simh/scp.c return (CONST char *)get_glyph_gen (iptr, optr, mchar, TRUE, FALSE, 0); iptr 7397 src/simh/scp.c CONST char *get_glyph_nc (const char *iptr, char *optr, char mchar) iptr 7399 src/simh/scp.c return (CONST char *)get_glyph_gen (iptr, optr, mchar, FALSE, FALSE, 0); iptr 7402 src/simh/scp.c CONST char *get_glyph_quoted (const char *iptr, char *optr, char mchar) iptr 7404 src/simh/scp.c return (CONST char *)get_glyph_gen (iptr, optr, mchar, FALSE, TRUE, '\\'); iptr 7407 src/simh/scp.c CONST char *get_glyph_cmd (const char *iptr, char *optr) iptr 7410 src/simh/scp.c if ((iptr[0] == '!') && (!sim_isspace(iptr[1]))) { iptr 7412 src/simh/scp.c return (CONST char *)(iptr + 1); /* and skip over the leading ! */ iptr 7414 src/simh/scp.c return (CONST char *)get_glyph_gen (iptr, optr, 0, TRUE, FALSE, 0); iptr 7589 src/simh/scp.c t_stat sim_decode_quoted_string (const char *iptr, uint8 *optr, uint32 *osize) iptr 7595 src/simh/scp.c if ((strlen(iptr) == 1) || iptr 7596 src/simh/scp.c (iptr[0] != iptr[strlen(iptr)-1]) || iptr 7597 src/simh/scp.c ((iptr[strlen(iptr)-1] != '"') && (iptr[strlen(iptr)-1] != '\''))) iptr 7599 src/simh/scp.c quote_char = *iptr++; /* Save quote character */ iptr 7600 src/simh/scp.c while (iptr[1]) { /* Skip trailing quote */ iptr 7601 src/simh/scp.c if (*iptr != '\\') { iptr 7602 src/simh/scp.c if (*iptr == quote_char) iptr 7604 src/simh/scp.c *(optr++) = (uint8)(*(iptr++)); iptr 7607 src/simh/scp.c ++iptr; /* Skip backslash */ iptr 7608 src/simh/scp.c switch (*iptr) { iptr 7610 src/simh/scp.c *(optr++) = 13; ++iptr; iptr 7613 src/simh/scp.c *(optr++) = 10; ++iptr; iptr 7616 src/simh/scp.c *(optr++) = 12; ++iptr; iptr 7619 src/simh/scp.c *(optr++) = 9; ++iptr; iptr 7622 src/simh/scp.c *(optr++) = 11; ++iptr; iptr 7625 src/simh/scp.c *(optr++) = 8; ++iptr; iptr 7628 src/simh/scp.c *(optr++) = 92; ++iptr; iptr 7631 src/simh/scp.c *(optr++) = 27; ++iptr; iptr 7634 src/simh/scp.c *(optr++) = 39; ++iptr; iptr 7637 src/simh/scp.c *(optr++) = 34; ++iptr; iptr 7640 src/simh/scp.c *(optr++) = 63; ++iptr; iptr 7643 src/simh/scp.c *optr = *(iptr++) - '0'; iptr 7644 src/simh/scp.c if ((*iptr >= '0') && (*iptr <= '7')) iptr 7645 src/simh/scp.c *optr = ((*optr)<<3) + (*(iptr++) - '0'); iptr 7646 src/simh/scp.c if ((*iptr >= '0') && (*iptr <= '7')) iptr 7647 src/simh/scp.c *optr = ((*optr)<<3) + (*(iptr++) - '0'); iptr 7655 src/simh/scp.c ++iptr; iptr 7657 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); iptr 7660 src/simh/scp.c ++iptr; iptr 7662 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); iptr 7665 src/simh/scp.c ++iptr; iptr 7692 src/simh/scp.c char *sim_encode_quoted_string (const uint8 *iptr, size_t size) iptr 7705 src/simh/scp.c switch ((char)iptr[i]) { iptr 7717 src/simh/scp.c switch (*iptr) { iptr 7734 src/simh/scp.c if (quote == *iptr) iptr 7738 src/simh/scp.c if (sim_isprint (*iptr)) iptr 7739 src/simh/scp.c *tptr++ = *iptr; iptr 7741 src/simh/scp.c (void)sprintf (tptr, "\\%03o", *iptr); iptr 7746 src/simh/scp.c ++iptr; iptr 144 src/simh/scp.h CONST char *get_glyph (const char *iptr, char *optr, char mchar); iptr 145 src/simh/scp.h CONST char *get_glyph_nc (const char *iptr, char *optr, char mchar); iptr 146 src/simh/scp.h CONST char *get_glyph_quoted (const char *iptr, char *optr, char mchar); iptr 147 src/simh/scp.h CONST char *get_glyph_cmd (const char *iptr, char *optr); iptr 151 src/simh/scp.h t_stat sim_decode_quoted_string (const char *iptr, uint8 *optr, uint32 *osize); iptr 152 src/simh/scp.h char *sim_encode_quoted_string (const uint8 *iptr, size_t size); iptr 3888 src/simh/sim_tmxr.c int32 *iptr = mp->lnorder; iptr 3891 src/simh/sim_tmxr.c if (iptr == NULL) /* connection order undefined? */ iptr 3894 src/simh/sim_tmxr.c if (*iptr < 0) /* sequential order indicated? */ iptr 3898 src/simh/sim_tmxr.c low = last = *iptr++; /* set first line value */ iptr 3902 src/simh/sim_tmxr.c i = *iptr++; /* get next line in list */