Lines Matching defs:cols
89 static void fold(Sfio_t *in, Sfio_t *out, register int width, const char *cont, size_t contsize, char *cols)
94 cols[0] = 0;
105 if(cols['\b']==0 && (n=sfvalue(in))<=width)
115 while((n=cols[*(unsigned char*)cp++])==0);
154 if(cols[' '])
177 char cols[1<<CHAR_BIT];
180 memset(cols, 0, sizeof(cols));
181 cols['\t'] = T_TAB;
182 cols['\b'] = T_BS;
183 cols['\n'] = T_NL;
184 cols['\r'] = T_RET;
192 cols['\r'] = cols['\b'] = 0;
193 cols['\t'] = cols[' '];
200 cols[n] = T_SP;
203 cols[' '] = T_SP;
204 if(cols['\t']==0)
205 cols['\t'] = T_SP;
236 fold(fp,sfstdout,width,cont,contsize,cols);