Lines Matching +full:encode +full:- +full:only
1 /*-
45 * to alter set of characters encoded (default is to encode all
46 * non-graphic except space, tab, and newline).
48 #define VIS_SP 0x04 /* also encode space */
49 #define VIS_TAB 0x08 /* also encode tab */
50 #define VIS_NL 0x10 /* also encode newline */
52 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */
58 #define VIS_HTTPSTYLE 0x80 /* http-style escape % HEX HEX */
59 #define VIS_GLOB 0x100 /* encode glob(3) magics */
67 #define UNVIS_SYNBAD -1 /* unrecognized escape sequence */
68 #define UNVIS_ERROR -2 /* decoder in unknown state (unrecoverable) */
78 * vis - visually encode characters
90 if (!(isalnum(c) /* alpha-numeric */
92 || c == '$' || c == '-' || c == '_' || c == '.' || c == '+'
182 *dst++ = '-';