• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/shell/

Lines Matching defs:quotes

464 #define CTLQUOTE 01             /* ored with CTLBACKQ code if in quotes */
474 #define VSQUOTE 0x80 /* inside double quotes--suppress splitting */
2663 #define BASESYNTAX 0 /* not in quotes */
2664 #define DQSYNTAX 1 /* in double quotes */
2665 #define SQSYNTAX 2 /* in single quotes */
4276 /* These can only happen inside quotes */
5351 #define EXP_CASE 0x10 /* keeps quotes around for CASE pattern */
5361 #define RMESCAPE_QUOTED 0x4 /* Remove CTLESC unless in quotes */
5514 memtodest(const char *p, size_t len, int syntax, int quotes)
5518 q = makestrspace(quotes ? len * 2 : len, q);
5524 if (quotes) {
5536 strtodest(const char *p, int syntax, int quotes)
5538 memtodest(p, strlen(p), syntax, quotes);
5611 int quotes = flags & (EXP_FULL | EXP_CASE | EXP_REDIR);
5645 strtodest(home, SQSYNTAX, quotes);
5654 * Execute a command inside back quotes. If it's a builtin command, we
5716 * Expand stuff in backwards quotes.
5719 expbackq(union node *cmd, int quoted, int quotes)
5743 memtodest(p, i, syntax, quotes);
5781 expari(int quotes)
5827 if (quotes)
5867 int quotes = flags & (EXP_FULL | EXP_CASE | EXP_REDIR); /* do CTLESC */
5958 if (quotes) {
5974 expbackq(argbackq->n, c, quotes);
5980 expari(quotes);
5990 scanleft(char *startp, char *rmesc, char *rmescend UNUSED_PARAM, char *str, int quotes,
6052 if (quotes && (unsigned char)*loc == CTLESC)
6061 scanright(char *startp, char *rmesc, char *rmescend, char *pattern, int quotes, int match_at_start)
6072 * rmescend=""(ptr to NUL in rmesc) pattern="pattern" quotes=match_at_start=1
6117 if (quotes) {
6182 int startloc, int varflags, int quotes, struct strlist *var_str_list)
6218 if (quotes) {
6257 if (quotes && (unsigned char)*str == CTLESC)
6261 if (quotes && (unsigned char)*str == CTLESC)
6290 if (quotes) {
6321 loc = scanright(idx, rmesc, rmescend, str, quotes, 1);
6327 if (quotes && (unsigned char)*idx == CTLESC) {
6351 if (quotes && (unsigned char)*idx == CTLESC)
6362 if (quotes && *loc == '\\') {
6375 if (quotes && *idx == '\\') {
6411 loc = scan(startp, rmesc, rmescend, str, quotes, zero);
6446 int quotes = flags & (EXP_FULL | EXP_CASE | EXP_REDIR);
6495 if (quotes && (i == CCTL || i == CBACK))
6508 memtodest(p, partlen, syntax, quotes);
6577 memtodest(p, len, syntax, quotes);
6639 /* quotes: */ 0,
6698 /* quotes: */ flags & (EXP_FULL | EXP_CASE),
7820 #define EV_BACKCMD 04 /* command executing within back quotes */
10920 int dqvarnest; /* levels of variables expansion within double quotes */