/osnet-11/usr/src/lib/libeti/menu/common/ |
H A D | menuformat.c | 39 set_menu_format(MENU *m, int rows, int cols) argument 41 if (rows < 0 || cols < 0) { 51 if (cols == 0) { 52 cols = FCols(m); 63 FCols(m) = cols; 64 Cols(m) = min(cols, Nitems(m)); 65 Rows(m) = (Nitems(m)-1) / cols + 1; 75 if (cols > 0) { 76 FCols(Dfl_Menu) = cols; 83 menu_format(MENU *m, int *rows, int *cols) argument [all...] |
/osnet-11/usr/src/lib/libeti/panel/common/ |
H A D | new.c | 69 int lines, cols; local 79 getmaxyx(window, lines, cols); 81 panel -> wendx = panel->wstartx + cols - 1;
|
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | astwinsize.c | 26 * return terminal rows and cols 72 astwinsize(int fd, register int* rows, register int* cols) argument 81 if (cols) *cols = ws.ws_col; 92 if (cols) *cols = ts.ts_cols; 103 if (cols) *cols = ws.bytesx; 113 if (cols) *cols [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_entry.cc | 98 entry_col *cols, *newcols = NULL; local 113 cols = old->en_cols.en_cols_val; 125 newcols[j].ec_flags = cols[j].ec_flags; 127 cols[j].ec_value.ec_value_len; 141 cols[j].ec_value.ec_value_val, 155 entry_col *cols; local 159 cols = obj->en_cols.en_cols_val; 161 if (cols[i].ec_value.ec_value_val != NULL) 162 delete cols[i].ec_value.ec_value_val; 163 if (cols) [all...] |
H A D | db_scheme.cc | 173 db_key_desc * cols = keys.keys_val; local 175 if (cols) { 177 if (cols[j].key_name) 178 delete cols[j].key_name; 180 delete cols;
|
H A D | nis_db.cc | 60 static table_col cols[2] = { variable 65 table_obj tbl_prototype = { (char *)"DIRECTORY", 2, ' ', {2, &cols[0]}, NULL };
|
H A D | nis_parse_ldap_util.c | 921 /* populate cols field */ 1687 char **cols = NULL; local 1695 cols = (char **)s_realloc(t->column, (t->numColumns + 1) * 1697 if (cols == NULL) 1699 t->column = cols; 1700 cols[t->numColumns] = s_strdup(col_name); 1701 if (cols[t->numColumns] == NULL)
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | fold.c | 89 static void fold(Sfio_t *in, Sfio_t *out, register int width, const char *cont, size_t contsize, char *cols) argument 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]; local 180 memset(cols, 0, sizeof(cols)); 181 cols['\t'] = T_TAB; 182 cols['\ [all...] |
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | field.c | 47 0, /* cols */ 142 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument 145 /* int cols; number of visible cols */ 154 if (rows > 0 && cols > 0 && frow >= 0 && fcol >= 0 && nrow >= 0 && 159 f->cols = cols; 163 f->dcols = cols; 206 f->cols = field->cols; 310 field_info(FIELD *f, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument [all...] |
H A D | form.c | 47 0, /* cols */ 142 int xmax = f->fcol + f->cols; 147 if (form->cols < xmax) 148 form->cols = xmax; 165 form->cols = 0; 302 scale_form(FORM *f, int *rows, int *cols) argument 311 *cols = f->cols; 339 int cols = c->cols; local [all...] |
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 45 int cols; /* max cols */ member in struct:__anon1130 195 if (++more->col <= more->cols || s < e && *s == '\n') 298 * if rows==0 or cols==0 then they are deterimined from the tty 303 int sfdcmore(Sfio_t* f, const char* prompt, int rows, int cols) argument 305 int sfdcmore(f, prompt, rows, cols) 309 int cols; 332 if (!rows || !cols) 335 astwinsize(sffileno(sfstdin), &rows, &cols); local 339 if (!cols) [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 77 int rows=0, cols=0; local 79 astwinsize(2,&rows,&cols); 80 if(v = cols)
|
/osnet-11/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 80 int cols; /* Number of items wide */ member in struct:MENU
|
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 134 int i, cols; local 143 cols = 0; 145 cols += template[i].of_width; 151 if (maxcols > 0 && cols > maxcols)
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | acltext.c | 272 split_line(char *str, int cols) argument 288 if ((i + pad_len + 4) >= cols) { 1081 ace_printacl(acl_t *aclp, int cols, int compact) argument 1105 split_line(token, cols - 5); 1117 * for ace_t ACL's the cols variable will break up 1122 acl_printacl(acl_t *aclp, int cols, int compact) argument 1130 ace_printacl(aclp, cols, compact);
|
/osnet-11/usr/src/lib/libeti/form/inc/ |
H A D | form.h | 76 int cols; /* size in cols */ member in struct:fieldnode 80 int dcols; /* dynamic cols */ 110 int cols; /* size in cols */ member in struct:formnode
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/ia64/efi/ |
H A D | linux.c | 305 grub_efi_uintn_t cols, rows; local 308 if (conout->query_mode (conout, conout->mode->mode, &cols, &rows) 313 "Console info: cols=%lu rows=%lu x=%u y=%u\n", 314 cols, rows, 317 boot_param->console_info.num_cols = cols;
|
/osnet-11/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 515 int rows,cols; local 518 cols = (int)strtol(cp, (char**)0, 10)-1; 521 astwinsize(2,&rows,&cols); 522 if(--cols <0) 523 cols = DFLTWINDOW-1; 525 if(cols < MINWINDOW) 526 cols = MINWINDOW; 527 else if(cols > MAXWINDOW) 528 cols = MAXWINDOW; 529 return(cols); [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | via-rhine.c | 432 unsigned long cols:1; member in struct:rhine_tx_desc::VTC_tx_status_tag::__anon286
|