Searched defs:fold (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/vi/misc/
H A Dfold.c44 * fold - fold long lines for finite output devices
48 int fold = 80; variable
62 fold = 0;
65 fold *= 10, fold += *argv[0]++ - '0';
67 printf("Bad number for fold\n");
113 if (ncol > fold)
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfold.c26 * fold
30 "[-?\n@(#)$Id: fold (AT&T Research) 2004-11-18 $\n]"
32 "[+NAME?fold - fold lines]"
89 static void fold(Sfio_t *in, Sfio_t *out, register int width, const char *cont, size_t contsize, char *cols) function
236 fold(fp,sfstdout,width,cont,contsize,cols);
/illumos-gate/usr/src/cmd/look/
H A Dlook.c24 int fold; variable
50 fold++;
70 fold++;
193 if(fold) {
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c57 * fold - fold long lines for finite output devices
60 static int fold = 80; variable
117 fold = w; /* Update with new width */
133 (void) fprintf(stderr, "fold");
157 (void) fprintf(stderr, "fold");
167 fold = w;
246 if ((ncol > fold) && (bflg ||
339 "Usage: fold [-bs] [-w width | -width ] [file...]\n"));
389 /* fold erro
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstring.c435 * fold>0 prints raw newlines and inserts appropriately
436 * escaped newlines every (fold-x) chars
438 char *sh_fmtqf(const char *string, int single, int fold) argument
449 if (--fold < 8)
450 fold = 0;
451 if (!cp || !*cp || !single && !fold || fold && strlen(string) < fold)
461 n = fold;
495 n = fold
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc61 static void sinc_coef(int fold, // sample rate change argument
67 double bandwidth = M_PI / fold; // digital bandwidth of pass band
154 int fold = (up > down)? up : down; // take the bigger rate change local
155 order = (fold << 4) - 2; // filter order = fold * 16 - 2
157 sinc_coef(fold, order, coef); // required bandwidth = PI/fold
/illumos-gate/usr/src/cmd/spell/
H A Dspellprog.c291 int fold; local
361 fold = 0;
370 ++fold;
380 if (fold) *dp = Tolower(*dp);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dprint.c607 int fold = fe->base; local
885 value->s = sh_fmtqf(value->s, !!(fe->flags & SFFMT_ALTER), fold);
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c96 fprintf( stderr, gettext(" -T\t\tdon't fold (wrap) long lines (default is to fold)\n") );
139 static int attrsonly, timelimit, sizelimit, server_sort, fold; variable
172 fold = 1;
475 case 'T': /* don't fold lines */
476 fold = 0;
1123 if ( !fold ) {
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregcomp.c134 unsigned char* MAP; /* fold and/or map */
3185 unsigned char* fold; local
3209 if (!(fold = (unsigned char*)LCINFO(AST_LC_CTYPE)->data))
3211 if (!(fold = newof(0, unsigned char, UCHAR_MAX, 1)))
3214 fold[i] = toupper(i);
3215 LCINFO(AST_LC_CTYPE)->data = (void*)fold;
3233 env.MAP = p->env->fold;
3236 env.MAP[i] = fold[env.map[i]];
3246 env.MAP = fold;
H A Dreglib.h504 unsigned char* map; /* fold and/or ccode map*/
549 unsigned char fold[UCHAR_MAX+1]; /* REG_ICASE map */ member in struct:reglib_s
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c1238 DIR *fold = opendir(from); local
1244 if (fold == 0 || ((pflg || mve) && fstat(fold->dd_fd, &statb) < 0)) {
1257 dp = readdir(fold);
1259 (void) closedir(fold);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dvi.c94 # define fold(c) ((c)&~040) /* lower and uppercase equivalent */ macro
96 # define fold(c) ((c)|0100) /* lower and uppercase equivalent */ macro
1696 if( fold(vp->last_find) == 'T' )
2155 if( cur_virt==0 || fold(mode)=='N' )
2305 if(mode && (fold(vp->lastmotion)=='F' || fold(vp->lastmotion)=='T'))
2308 if( fold(c) == 'P' )
2412 if( fold(mode) == 'A' )
2431 if( fold(mode) == 'I' )
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c108 typedef struct {int fold; int skip; int eof; } foldinf; member in struct:__anon1271
145 static int fold = 0; variable
514 fold++;
552 if (Ncols == 1 && fold)
586 Fcol[i].fold = Fcol[i].skip = 0;
646 if (C == WEOF && !(fold && Buffer))
684 if (fold) {
784 (Fcol[0].fold && Multi == 'a') ||
808 Fcol[(Multi == 'a') ? 0 : colno].fold
812 Fcol[0].fold
[all...]

Completed in 114 milliseconds