Searched defs:col (Results 1 - 22 of 22) sorted by relevance

/ast/src/lib/libcmd/
H A Dfold.c92 register int n, col=0, x=0; local
111 col = 0;
116 while((cp-first) > (width-col))
119 col = last_space - first;
121 col = width-col;
122 sfwrite(out,first,col);
123 first += col;
124 col = 0;
136 col
[all...]
/ast/src/lib/libast/disc/
H A Dsfdcmore.c47 int col; /* current col */ member in struct:__anon257
72 more->col = 1;
165 if (!more->col)
192 more->col = ((more->col + 8) & ~7) - 1;
195 if (++more->col <= more->cols || s < e && *s == '\n')
199 more->col = 1;
204 if (more->col > 1)
205 more->col
[all...]
/ast/src/lib/libcodex/
H A Dcode-qp.c48 int col; member in struct:State_s
78 if (c < 0 && state->col)
80 state->col = 0;
175 register int col; local
182 state->col = 0;
188 col = state->col;
197 state->col = col;
203 if (!col
[all...]
/ast/src/cmd/mam/
H A Dmamold.c101 dumpvalue(register int col, register char* s, int sep) argument
112 col++;
120 col = 1;
123 return col;
126 if (sep == '\t' && state.heredoc || col < LONGLINE - 8)
133 col = 8;
138 col += 8;
164 col += (v - s) + 3;
198 col++;
203 col
229 dumpname(int col, char* s) argument
284 dumpprereqs(register int col, register struct rule* r) argument
309 register int col; local
[all...]
H A Dmamnew.c167 dumpvalue(register int col, register char* s, int sep) argument
175 col++;
183 col = 1;
186 return col;
188 col += 7 - (col % 8);
191 if (col < LONGLINE - 8)
198 col = 8;
214 col += (v - s) + 3;
225 col
235 dumpname(int col, char* s) argument
409 dumpprereqs(register int col, register struct rule* r) argument
446 register int col; local
485 register int col; local
[all...]
/ast/src/cmd/pzip/
H A Dr2c.c27 * row major to col major order
67 register Col_t* col; local
70 if ((col = state.cols) && sfstrtell(col->sp))
74 n = sfstrtell(col->sp);
75 if (sfwrite(op, sfstrseek(col->sp, 0, SEEK_SET), n) != n || sfsync(op))
80 } while (col = col->next);
98 register Col_t* col; local
122 col
[all...]
/ast/src/cmd/mailx/
H A Dsend.c551 int col; member in struct:__anon156
568 if (fs->col = strlen(fs->label))
572 else if ((fs->col + fs->comma + n + 1) > MARGIN) {
576 fs->col = 4;
581 fs->col++;
584 fs->col++;
587 fs->col += n;
600 fs.col = 0;
H A Dmailx.h146 #define moretop() (state.more.match=0,state.more.row=state.more.col=1)
737 int col; member in struct:__anon136::more
/ast/src/lib/libdss/
H A Dtag.c290 Column_t* col; local
310 col = end = 0;
343 col = end = p;
374 for (p = col; p && *s; p = p->next)
403 while (end = col)
405 col = end->next;
/ast/src/cmd/builtin/
H A Dpr.c242 * <col> is the number of columns until the next tab position
245 static int outspaces(register Pr_t* pp,register int spaces, register int col) argument
251 while(spaces >= col)
256 spaces -= col;
257 col = pp->ogap;
275 register int n=S_NL,col=0; local
295 col += (size-1);
296 if(pp->width && col >= pp->width)
298 size -= (col+1-pp->width);
309 if(pp->width && col >
[all...]
/ast/src/lib/libuu/
H A Duulib.c565 int col; member in struct:__anon445
727 if ((bx->col += 4) >= 63)
729 bx->col = 0;
/ast/src/lib/libast/regex/
H A Dregcomp.c1032 col(Celt_t* ce, int ic, unsigned char* bp, int bw, int bc, unsigned char* ep, int ew, int ec) function
1537 ce = col(ce, ic, rp, rw, rc, NiL, 0, 0);
1539 ce = col(ce, ic, NiL, 1, '-', NiL, 0, 0);
1567 ce = col(ce, ic, rp, rw, rc, NiL, 0, 0);
1605 ce = col(ce, ic, rp, rw, rc, NiL, 0, 0);
1693 ce = col(ce, ic, rp, rw, rc, pp, w, c);
1706 ce = col(ce, ic, rp, rw, rc, NiL, 0, 0);
/ast/src/lib/libpz/
H A Dpzip.h171 size_t col; /* # chars per col per win */ member in struct:Pzpart_s
/ast/src/lib/libtk/generic/
H A DtkGrid.c1255 int col = slavePtr->column;
1258 x = (col>0) ? slotPtr->columnPtr[col-1].offset : 0;
1261 width = slotPtr->columnPtr[slavePtr->numCols+col-1].offset - x;
1341 register SlotInfo *slotPtr; /* Pointer to row/col constraints. */
2117 * Row/col on */
1249 int col = slavePtr->column; local
H A DtkImgPhoto.c3652 int col[3];
3771 col[i] = colorPtr->colorQuant[i][c];
3772 *errPtr++ = c - col[i];
3780 col[0] = *srcPtr++;
3781 col[1] = *srcPtr++;
3782 col[2] = *srcPtr++;
3790 i = colorPtr->redValues[col[0]]
3791 + colorPtr->greenValues[col[1]]
3792 + colorPtr->blueValues[col[2]];
3624 int col[3]; local
/ast/src/cmd/ksh93/include/
H A Dedit.h68 unsigned short col; member in struct:_edit_pos
/ast/src/cmd/ksh93/sh/
H A Dlex.c1916 int col=0; local
1921 col++;
1923 col += 8 - col%8;
1924 if(col>stripcol)
/ast/src/cmd/std/
H A Dlocale.c1001 char col[1024]; local
1069 sfsprintf(col, sizeof(col), ".%s.]", name);
1070 if ((i = regcollate(col, NiL, buf, sizeof(buf), NiL)) < 0)
1075 if (!(collate = mbxfrm(col, buf, sizeof(col))))
1083 memcpy(col, buf, i);
1095 sfprintf(sfstdout, "%c%02x", j, ((unsigned char*)col)[i]);
1110 collate = mbxfrm(col, name, sizeof(col));
[all...]
H A Dls.c841 col(register List_t* lp, register Ftw_t* ftw, int length) function
1235 col(&list, ftw, length);
/ast/src/cmd/ksh93/edit/
H A Dedit.c1162 register int c=1, col=ep->e_plen; local
1172 col = pos.col;
1177 while(col > ep->e_winsz)
1180 col -= (ep->e_winsz+1);
1192 col = 0;
1194 col++;
1195 if(col > ep->e_winsz)
1196 col = 0;
1197 if(col
1623 int c,n=1,col=1; local
[all...]
H A Dvi.c116 int ofirst_wind; /* old window first col */
1835 static void putstring(register Vi_t *vp,register int col, register int nchars) argument
1838 putchar(physical[col++]);
2311 /*** find physical col that corresponds to virtual col ***/
/ast/src/cmd/html/
H A Dtroff2html.c4956 col = br = p = 0
4984 register int col = 0; local
5049 col++;
5054 col++;
5059 col++;
5113 col = 0;
5148 col++;
5151 if (col)
5153 col = 0;
5182 col
[all...]

Completed in 132 milliseconds