Searched defs:ncol (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/vi/misc/
H A Dfold.c95 int ncol; local
99 ncol = 0;
102 ncol = (col + 8) &~ 7;
105 ncol = col ? col - 1 : 0;
108 ncol = 0;
111 ncol = col + 1;
113 if (ncol > fold)
/illumos-gate/usr/src/cmd/eqn/
H A Dmatrix.c37 int nrow, ncol, i, j, k, hb, b, val[100]; local
42 ncol = 0;
44 ncol++;
50 for (i = 0; i < ncol; i++) {
57 for (i = 0; i < ncol; i++) {
64 for (i = 0; i < ncol; i++) {
75 yyval, nrow, ncol, eht[yyval], ebase[yyval]);
77 for (i = 0; i < ncol; i++) {
78 printf("\\*(%d%s", val[i], i == ncol-1 ? "" : space);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c68 int ncol, /* number of columns in the database */
89 if ((ecol = (entry_col *)malloc(ncol * sizeof (entry_col) +
92 (void) memset((char *)ecol, 0, ncol * sizeof (ecol));
95 buf = (char (*)[sizeof (*buf)]) (ecol + ncol);
99 for (i = 0; i < ncol; i++, buf = NULL) {
66 genent_attr( char *line, int ncol, entry_col **ecolret) argument
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c66 static int ncol = 0; variable
209 ncol = 0;
213 ncol = col + chr_width(c);
215 ncol = (col + 8) &~ 7;
219 ncol = col + chr_width(c);
221 ncol = col ? col - 1 : 0;
225 ncol = col + chr_width(c);
227 ncol = 0;
232 ncol = col + chr_width(c);
234 ncol
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c285 column(struct Sequence *outseq, int ocol, int ncol) argument
292 if (ncol == ocol)
297 add_op(best, __MOVE_COLUMN, ncol, 0);
300 if (ncol < ocol) {
302 dist = ocol - ncol;
305 dist = ncol - ocol;
311 if (ncol < ocol || !relative) {
315 simp_col(try, 0, ncol);
321 simp_col(try, ocol, ncol);
/illumos-gate/usr/src/cmd/tbl/
H A Dt0.c55 int nlin, ncol; variable
/illumos-gate/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c73 static int ncol; variable
102 ncol++;
115 ncol--;
317 if (count == 0 || ncol != 1)
322 if (++count >= 20 || (count >= 10 && global != 0) || ncol != 1)
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcut.c258 register int ncol = 0; local
275 if (!(ncol = skip = *(lp = cut->list)))
276 ncol = *++lp;
283 register int w = len < ncol ? len : ncol;
309 ncol = !w && ncol >= len;
317 while (w > 0 && ncol > 0)
319 ncol--;
327 ncol
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplmatch.c143 int ncol; /* The number of columns needed */ member in struct:__anon4315
1047 fmt->nline = fmt->ncol = 0;
1068 fmt->ncol = fmt->term_width / (fmt->column_width + CPL_COL_SEP);
1075 if(fmt->ncol < 1)
1076 fmt->ncol = 1;
1080 fmt->nline = (result->nmatch + fmt->ncol - 1) / fmt->ncol;
1119 * Print the matches in 'ncol' columns, sorted in line order within each
1122 for(col=0; col < fmt->ncol; col++) {
1149 if(col+1 < fmt->ncol) {
[all...]
H A Dexpand.c136 int ncol; /* The number of columns needed */ member in struct:__anon171
1322 fmt->nline = fmt->ncol = 0;
1342 fmt->ncol = fmt->term_width / (fmt->column_width + EF_COL_SEP);
1349 if(fmt->ncol < 1)
1350 fmt->ncol = 1;
1354 fmt->nline = (result->nfile + fmt->ncol - 1) / fmt->ncol;
1393 * Print the matches in 'ncol' columns, sorted in line order within each
1396 for(col=0; col < fmt->ncol; col++) {
1417 if(col+1 < fmt->ncol) {
[all...]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c833 int *ncol, /* Number of result columns written here */
841 rc = sqlite_get_table_vprintf(db, sqlFormat, resultp, nrow, ncol, errmsg, ap);
828 sqlite_get_table_printf( sqlite *db, const char *sqlFormat, char ***resultp, int *nrow, int *ncol, char **errmsg, ... ) argument
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c737 int ncol, rc; local
761 rc = sqlite_step(vm, &ncol, &values, NULL);
763 if (ncol != SMB_NIC_HTBL_NCOL) {
994 int nrow, ncol; local
1008 rc = sqlite_get_table(db, sql, &result, &nrow, &ncol, &errmsg);
1019 if (nrow != 1 || ncol != 3) {
1044 rc = sqlite_get_table(db, sql, &result, &nrow, &ncol, &errmsg);
H A Dsmb_lgrp.c892 int ncol; local
904 rc = sqlite_step(iter->sgi_vm, &ncol, &values, NULL);
915 if (ncol != SMB_LGRP_GTBL_NCOL) {
920 for (i = 0; i < ncol; i++) {
1323 int nrow, ncol; local
1371 rc = sqlite_get_table(db, sql, &result, &nrow, &ncol, &errmsg);
1386 if (nrow != 1 || ncol != SMB_LGRP_GTBL_NCOL) {
1407 int nrow, ncol; local
1415 rc = sqlite_get_table(db, sql, &result, &nrow, &ncol, &errmsg);
1441 int nrow, ncol; local
1626 int nrow, ncol; local
1722 int nrow, ncol; local
1842 int nrow, ncol; local
1908 int nrow, ncol; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c2181 int nrow, ncol=1, ndigits=1; local
2200 ncol = wsize/i;
2201 if(argn > nrow*ncol)
2203 nrow = 1 + (argn-1)/ncol;
2207 ncol = 1 + (argn-1)/nrow;
2208 nrow = 1 + (argn-1)/ncol;
2211 fldsize = (wsize/ncol)-(ndigits+LBLSIZ);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c730 int ncol, uchar_t **list, size_t valsize)
738 if (argc < ncol || argv == NULL) {
1004 * ncol - number of columns in the result
1015 sql_compile_n_step_once(sqlite *db, char *sql, sqlite_vm **vm, int *ncol, argument
1028 r = sqlite_step(*vm, ncol, values, NULL);
1032 if (ncol != NULL && *ncol < reqcol) {
1507 int ncol, is_user; local
1577 retcode = sql_compile_n_step_once(cache, sql, &vm, &ncol,
1748 int ncol; local
729 validate_list_cb_data(list_cb_data_t *cb_data, int argc, char **argv, int ncol, uchar_t **list, size_t valsize) argument
3018 int ncol, r, is_user, is_wuser; local
3885 int ncol; local
4100 int ncol; local
4419 int ncol, r; local
[all...]
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c1976 int ncol, nbytes; local
1979 ncol = 0;
1992 ncol = 1;
1994 if ((ncol =
1997 ncol = 1;
2001 if ((prec -= ncol) >= 0) {
2010 prec += ncol;
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c2123 int ncol,
2136 for (pp = list; pp < &list[ncol]; pp++) {
2212 int ncol,
2231 for (pp = list; pp < &list[ncol]; pp++) {
2245 for (pp = list; pp < &list[ncol]; pp++) {
2122 process_fields( int ncol, struct print_col *list, int line2, char *fmt) argument
2211 print_fields( int ncol, struct print_col *list, int heading, int line2, char *delim, cfga_list_data_t *bdp, FILE *fp) argument

Completed in 282 milliseconds