Lines Matching +defs:quoted +defs:string
82 * Structure specifying which parts of the string should be searched
94 char *expdest; /* output of current string */
274 case CTLENDARI: /* end of a $(( )) string */
459 * Nothing there about "except if a null string". So do what it wants.
563 int quoted;
579 quoted = *p++ == '"';
582 quoted ? "(quoted)" : "", p, begoff));
584 p = argstr(p, EXP_NL); /* expand $(( )) string */
606 if (quoted == 0) /* allow weird splitting */
622 expbackq(union node *cmd, int quoted, int flag)
638 quoted, flag, startloc));
704 if ((quotes && quoted && NEEDESC(lastc)) ||
718 if (quoted == 0)
884 * input string.
1066 * Terminate the string and start recording the pattern
1200 * Add the value of a specialized variable to the stack string.
1204 varvalue(const char *name, int quoted, int subtype, int flag)
1216 quoted ? ", quoted" : "", subtype, flag));
1223 if ((flag & EXP_QNEEDED) && quoted) { \
1259 if (flag & EXP_SPLIT && quoted) {
1274 /* retain an explicit null string */
1293 if (quoted && (flag & EXP_QNEEDED) &&
1299 && !quoted && **ap != '\0')
1336 * string for IFS characters.
1367 * Break the argument string into pieces based upon IFS and add the
1368 * strings to the argument list. The regions of the string to be
1372 ifsbreakup(char *string, struct arglist *arglist)
1383 start = string;
1385 VTRACE(DBG_EXPAND, ("ifsbreakup(\"%s\")", string)); /* misses \0's */
1388 VTRACE(DBG_EXPAND, ("no regions\n", string));
1399 p = string + ifsp->begoff;
1402 while (p < string + ifsp->endoff) {
1446 for (; p < string + ifsp->endoff; p++) {
1878 * Returns true if the pattern matches the string.
1882 patmatch(const char *pattern, const char *string, int squoted)
1890 pattern, string, squoted ? ", SQ" : ""));
1892 q = string;
2053 * of the string), go back to the last '*' seen and
2075 * Remove any CTLESC or CTLNONL characters from a string.
2118 * latter back into the string - just being careful to put them only
2119 * at a place where white space can reasonably occur in the string