Lines Matching refs:flag
45 (flag & VIS_GLOB) == 0) && isgraph((u_char)(c))) || \
46 ((flag & VIS_SP) == 0 && (c) == ' ') || \
47 ((flag & VIS_TAB) == 0 && (c) == '\t') || \
48 ((flag & VIS_NL) == 0 && (c) == '\n') || \
49 ((flag & VIS_SAFE) && ((c) == '\b' || \
57 vis(char *dst, int c, int flag, int nextc) in vis() argument
61 if (c == '\\' && (flag & VIS_NOSLASH) == 0) in vis()
67 if (flag & VIS_CSTYLE) { in vis()
111 if (((c & 0177) == ' ') || (flag & VIS_OCTAL) || in vis()
112 ((flag & VIS_GLOB) && (c == '*' || c == '?' || c == '[' || c == '#'))) { in vis()
119 if ((flag & VIS_NOSLASH) == 0) in vis()
154 strvis(char *dst, const char *src, int flag) in strvis() argument
160 dst = vis(dst, c, flag, *++src); in strvis()
166 strnvis(char *dst, const char *src, size_t siz, int flag) in strnvis() argument
177 if (c == '\\' && (flag & VIS_NOSLASH) == 0) { in strnvis()
189 i = vis(tbuf, c, flag, *++src) - tbuf; in strnvis()
204 dst += vis(tbuf, c, flag, *++src) - tbuf; in strnvis()
210 strvisx(char *dst, const char *src, size_t len, int flag) in strvisx() argument
217 dst = vis(dst, c, flag, *++src); in strvisx()
220 dst = vis(dst, *src, flag, '\0'); in strvisx()