/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc.c | 63 __nis_netconfig2ep(struct netconfig *nc, endpoint *ep) { argument 65 if (nc == 0 || ep == 0) 68 ep->family = strdup(nc->nc_protofmly); 71 ep->proto = strdup(nc->nc_netid); 73 ep->proto = strdup(nc->nc_proto); 78 __nis_netconfig_matches_ep(struct netconfig *nc, endpoint *ep) { argument 80 if (nc == 0 || ep == 0) 83 if (strcmp(nc->nc_protofmly, ep->family) != 0) 87 return (strcmp(nc->nc_netid, ep->proto) == 0 || 88 strcmp(nc [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | _subpad.c | 49 subpad(WINDOW *win, int l, int nc, int by, int bx) argument 51 return (derwin(win, l, nc, by, bx));
|
H A D | newpad.c | 48 newpad(int l, int nc) argument 52 pad = newwin(l, nc, 0, 0);
|
H A D | subwin.c | 48 subwin(WINDOW *win, int l, int nc, int by, int bx) argument 50 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx));
|
H A D | derwin.c | 51 * nl, nc: numbers of lines and columns 57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) argument 68 (bx + nc) > orig->_maxx) 70 if (nc == 0) 71 nc = orig->_maxx - bx; 76 if ((win = _makenew(num_lines, nc, by + orig->_begy,
|
H A D | start_col.c | 107 int i, nc; local 114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); 115 if ((*marks = (char *)calloc((unsigned)nc * LINES, 126 *(marks + 1) = *marks + nc;
|
/illumos-gate/usr/src/cmd/lp/cmd/lptest/ |
H A D | lptest.c | 27 register int i, j, fc, nc; local 43 nc = fc; 45 putchar(nc); 46 if (++nc == 0177) 47 nc = ' ';
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_netcfg.c | 49 NCONF_HANDLE *nc; local 56 if ((nc = setnetconfig()) == (NCONF_HANDLE *)NULL) { 62 while (nconf = getnetconfig(nc)) { 74 (void) endnetconfig(nc); 85 (void) endnetconfig(nc); 92 (void) endnetconfig(nc);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | econvert.c | 44 int nc; local 69 nc = 3; 71 nc = 8; 77 nc = 3; 79 for (i = 0; i < nc; i++) 81 buf[nc] = 0; 98 int nc; local 127 nc = 3; 129 nc = 8; 135 nc [all...] |
H A D | qeconvert.c | 43 int nc; local 68 nc = 3; 70 nc = 8; 76 nc = 3; 78 for (i = 0; i < nc; i++) 80 buf[nc] = 0;
|
H A D | seconvert.c | 43 int nc; local 68 nc = 3; 70 nc = 8; 76 nc = 3; 78 for (i = 0; i < nc; i++) 80 buf[nc] = 0;
|
/illumos-gate/usr/src/lib/libxcurses/src/tabs/ |
H A D | tabs.c | 158 STATREF void mvcol ANSI((int oc, int nc)); 301 int nc = 0; local 325 nc = (int) wcstol(p, &p, 0); 326 if (p == tablist || nc < 0) { 331 set_every(nc); 335 if (nc <= oc) { 344 oc = nc; 345 set_tab_at(nc); 346 nc = (int) wcstol(p, &p, 0); 347 } while (nc ! [all...] |
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | newwin.c | 44 int i, by, bx, nl, nc; local 50 nc = num_cols; 54 if (nc == 0) 55 nc = COLS - bx; 56 if ((win = makenew(nl, nc, by, bx)) == NULL) 75 if ((win->_y[i] = malloc(nc * sizeof (win->_y[0]))) == NULL) { 85 for (sp = win->_y[i]; sp < win->_y[i] + nc; ) 98 int by, bx, nl, nc; local 103 nc = num_cols; 109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, b 158 int by, bx, nl, nc; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_notify.c | 101 smb_notify_change_req_t *nc; local 119 nc = &sr->sr_ncr; 120 nc->nc_flags = CompletionFilter; 121 ASSERT(nc->nc_action == 0); 122 ASSERT(nc->nc_fname == NULL); 123 nc->nc_fname = kmem_zalloc(MAXNAMELEN, KM_SLEEP); 141 cv_wait(&nc->nc_cv, &sr->sr_mutex); 175 switch (nc->nc_action) { 189 nc->nc_action, nc [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 126 struct netconfig *nc; local 136 while (nc = getnetconfig(nch)) { 137 if ((nc->nc_flag & NC_VISIBLE) == 0) 139 if (! netdir_getbyname(nc, &hs, &addrs)) { 143 taddr2uaddr(nc, &(addrs->n_addrs[i])); 144 __nis_netconfig2ep(nc, &(eps[num_ep])); 192 struct netconfig *nc; /* Various handles */ local 217 nc = NULL; 264 while ((nc = getnetconfig(nc_handle)) != NULL) { 267 if ((nc [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_scheme.c | 79 int na, i, nc; local 94 nc = t->numColumns; 98 nc = 1; 120 if (index >= nc) { 123 myself, index, nc);
|
H A D | ldap_attr.c | 256 int nc = 0, s, e, i; local 293 new = realloc(comp, (nc+1) * sizeof (comp[nc])); 296 for (i = 0; i < nc; i++) 301 nc = 0; 305 comp[nc] = sdup(myself, T, &str[s]); 306 if (comp[nc] == 0) { 307 for (i = 0; i < nc; i++) 311 nc = 0; 314 nc [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | keytab.c | 72 char *binary, int *nc); 80 int nc, int *first, int *last); 265 int nc; /* The number of characters in binary[] */ local 299 if(_kt_parse_keybinding_string(keyseq, binary, &nc)) { 306 switch(_kt_locate_keybinding(kt, binary, nc, &first, &last)) { 368 sym->nc = nc; 393 * nc int the number of characters in keyseq[]. 409 int nc, int *first, int *last) 422 test = _kt_compare_strings(kt->table[mid].keyseq, kt->table[mid].nc, 408 _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, int *first, int *last) argument 482 _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, KeySym **matches, int *nmatch) argument 546 _kt_parse_keybinding_string(const char *keyseq, char *binary, int *nc) argument [all...] |
H A D | keytab.h | 89 int nc; /* The number of characters in keyseq[] */ member in struct:__anon4092 132 int nc, KeySym **matches, int *nmatch);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv.c | 82 struct netconfig *nc; local 95 if (!getconf(tp, &h, &nc)) { /* dont forget endnetconfig() */ 100 tp = nc->nc_netid; 175 YPDNSVERS, nc)) == NULL) { 209 struct netconfig *nc; local 244 if ((nc = getnetconfigent(tp_type)) == NULL) 246 if ((*xprt = svc_tli_create(RPC_ANYFD, nc, NULL, 0, 0)) == NULL) { 247 freenetconfigent(nc); 252 while (!rpcb_set(start, vers, nc, nb)) 254 freenetconfigent(nc); 267 struct netconfig *nc, *save = NULL; local [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mvcur.c | 179 simp_col(struct Sequence *outseq, int oc, int nc) argument 187 if (oc == nc) 194 if (oc < nc) { 198 /* Tabstop preceeding nc. */ 199 tabstop = nc / init_tabs; 203 /* Set oc to tabstop before nc : oc <= nc. */ 206 /* Distance from next tabstop to nc in columns. */ 207 tabstop = init_tabs - nc % init_tabs; 210 dist = nc [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | stable.c | 99 struct chunklst *cp, *nc; local 111 nc = NULL; 113 nc = cp->next; 116 cp = nc;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | Makefile | 26 PROG= nc
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mvcur.c | 180 simp_col(outseq, oc, nc) 182 int oc, nc; 190 if (oc == nc) 197 if (oc < nc) { 201 /* Tabstop preceeding nc. */ 202 tabstop = nc / init_tabs; 206 /* Set oc to tabstop before nc : oc <= nc. */ 209 /* Distance from next tabstop to nc in columns. */ 210 tabstop = init_tabs - nc [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_nic.c | 406 smb_nic_t *nc; local 433 nc = smb_niclist.nl_nics; 439 if (smb_nic_getinfo(ifname, nc, AF_INET) != 441 if (smb_nic_getinfo(ifname, nc, 447 (void) strlcpy(nc->nic_host, iflist->if_host, 448 sizeof (nc->nic_host)); 449 (void) strlcpy(nc->nic_cmnt, iflist->if_cmnt, 450 sizeof (nc->nic_cmnt)); 452 smb_tonetbiosname(nc->nic_host, nc 480 smb_nic_getinfo(char *interface, smb_nic_t *nc, int family) argument 1203 smb_nic_nbt_exclude(const smb_nic_t *nc, const char **exclude_list, int nexclude) argument [all...] |