Lines Matching defs:quotes
427 #define CTLQUOTE 01 /* ored with CTLBACKQ code if in quotes */
436 #define VSQUOTE 0x80 /* inside double quotes--suppress splitting */
2483 #define BASESYNTAX 0 /* not in quotes */
2484 #define DQSYNTAX 1 /* in double quotes */
2485 #define SQSYNTAX 2 /* in single quotes */
4124 /* These can only happen inside quotes */
4917 #define EXP_CASE 0x10 /* keeps quotes around for CASE pattern */
4927 #define RMESCAPE_QUOTED 0x4 /* Remove CTLESC unless in quotes */
5077 memtodest(const char *p, size_t len, int syntax, int quotes)
5087 if (quotes && (SIT(c, syntax) == CCTL || SIT(c, syntax) == CBACK))
5096 strtodest(const char *p, int syntax, int quotes)
5098 memtodest(p, strlen(p), syntax, quotes);
5171 int quotes = flag & (EXP_FULL | EXP_CASE);
5205 strtodest(home, SQSYNTAX, quotes);
5214 * Execute a command inside back quotes. If it's a builtin command, we
5277 * Expand stuff in backwards quotes.
5280 expbackq(union node *cmd, int quoted, int quotes)
5304 memtodest(p, i, syntax, quotes);
5343 expari(int quotes)
5389 if (quotes)
5426 int quotes = flag & (EXP_FULL | EXP_CASE); /* do CTLESC */
5515 if (quotes) {
5531 expbackq(argbackq->n, c, quotes);
5537 expari(quotes);
5547 scanleft(char *startp, char *rmesc, char *rmescend, char *str, int quotes,
5568 if (quotes && *loc == CTLESC)
5577 scanright(char *startp, char *rmesc, char *rmescend, char *str, int quotes,
5597 if (quotes) {
5630 subevalvar(char *p, char *str, int strloc, int subtype, int startloc, int varflags, int quotes)
5668 if (quotes) {
5684 loc = scan(startp, rmesc, rmescend, str, quotes, zero);
5713 int quotes = flags & (EXP_FULL | EXP_CASE);
5752 if (quotes && (SIT(sep, syntax) == CCTL || SIT(sep, syntax) == CBACK))
5765 memtodest(p, partlen, syntax, quotes);
5805 memtodest(p, len, syntax, quotes);
5829 int quotes;
5832 quotes = flag & (EXP_FULL | EXP_CASE);
5919 startloc, varflags, quotes) == 0) {
7033 #define EV_BACKCMD 04 /* command executing within back quotes */
9875 int dqvarnest = 0; /* levels of variables expansion within double quotes */