/osnet-11/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...] |
H A D | nis_subr.c | 670 struct netconfig *nc, /* Our transport */ 686 if (strcmp(NC_UDP, nc->nc_proto) == 0) { 692 client = __nis_clnt_create(RPC_ANYFD, nc, uaddr, 0, 0, 714 parms.r_netid = nc->nc_netid; /* not needed */ 731 (strcmp(nc->nc_protofmly, NC_INET) == 0)) { 749 protocol = strcmp(nc->nc_proto, NC_TCP) ? 783 __nis_clnt_create(int fd, struct netconfig *nc, char *uaddr, argument 792 if (nc == 0 || (addr == 0 && uaddr == 0)) { 801 if (__can_use_af((strcmp(nc->nc_protofmly, NC_INET6) == 0) ? 807 svc_addr = __map_addr(nc, uadd 669 __map_addr( struct netconfig *nc, char *uaddr, rpcprog_t prog, rpcvers_t ver) argument [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | newpad.c | 48 newpad(int l, int nc) argument 52 pad = newwin(l, nc, 0, 0);
|
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 | 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 | 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;
|
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 | mbaddch.c | 149 int n, x, y, nc, m, len, nbyte, ty; local 156 nc = 0; 159 rc[nc++] = (char)(LBYTE(c)|MBIT); 162 rc[nc++] = (char)RBYTE(c); 167 for (n = 0; n < nc; ++n) {
|
H A D | newscreen.c | 230 int i, nc; local 237 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); 238 if ((*marks = (char *)calloc((unsigned)nc * LINES, 242 *(marks + 1) = *marks + nc;
|
H A D | wrefresh.c | 88 int wx, wy, nc, boty, clby, idby, *hs, curwin; local 173 nc = scrco / BITSPERBYTE - (scrco % 183 for (wx = nc; wx >= 0; --wx)
|
/osnet-11/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);
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_scheme.c | 76 int na, i, nc; local 91 nc = t->numColumns; 95 nc = 1; 117 if (index >= nc) { 120 myself, index, nc);
|
H A D | ldap_attr.c | 193 int nc = 0, s, e, i; local 230 new = realloc(comp, (nc+1) * sizeof (comp[nc])); 233 for (i = 0; i < nc; i++) 238 nc = 0; 242 comp[nc] = sdup(myself, T, &str[s]); 243 if (comp[nc] == 0) { 244 for (i = 0; i < nc; i++) 248 nc = 0; 251 nc [all...] |
H A D | db_mindex3.cc | 671 int j, nc; local 722 nc = res[i]->size(); 728 for (j = 0; j < nc; j++) {
|
H A D | ldap_nisdbquery.c | 839 int nc, i; local 843 nc = e->en_cols.en_cols_len - 1; 845 if (e == 0 || nc < 0 || nc > NIS_MAXCOLUMNS) 869 if (nc == 0) 872 qcbuf = am(myself, nc * sizeof (*qcbuf)); 885 qbuf->components.components_len = nc; 886 for (i = 0; i < nc; i++) {
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regdecomp.c | 87 unsigned char nc[2*UCHAR_MAX]; local 154 s = nc; 225 if ((t - ic + 1) < (s - nc + (nc[0] == '^'))) 252 if (nc[0] == '^') 254 sfwrite(sp, nc + 1, s - nc - 1); 258 sfwrite(sp, nc, s - nc);
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 523 NCONF_HANDLE *nc = NULL; local 545 if ((nc = setnetpath()) == NULL) 553 while (nconf = getnetpath(nc)) { 586 while (nconf = getnetpath(nc)) { 610 endnetpath(nc); 611 if ((nc = setnetpath()) == NULL) 650 if (nc) 651 endnetpath(nc);
|
/osnet-11/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...] |
H A D | clnt_generic.c | 695 struct netconfig *nc; local 697 if ((nc = __rpcfd_to_nconf(fd, servtype)) != NULL) { 698 if (nc->nc_netid) { 699 cl->cl_netid = strdup(nc->nc_netid); 710 if (nc->nc_device) { 711 cl->cl_tp = strdup(nc->nc_device); 724 freenetconfigent(nc);
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mvcur.c | 175 simp_col(struct Sequence *outseq, int oc, int nc) argument 183 if (oc == nc) 190 if (oc < nc) { 194 /* Tabstop preceding nc. */ 195 tabstop = nc / init_tabs; 199 /* Set oc to tabstop before nc : oc <= nc. */ 202 /* Distance from next tabstop to nc in columns. */ 203 tabstop = init_tabs - nc % init_tabs; 206 dist = nc [all...] |
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 432 char c, nc; local 436 while (nc = c = *src++) { 439 nc = 'S'; 442 nc = 'C'; 445 nc = 'E'; 449 if (nc != c) 451 *dst++ = nc;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 2254 int nc; local 2257 nc = (cl != NULL) ? sk_X509_num(cl) : 0; 2268 if (nc > 0 && n >= 0 && n < nc) {
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_provider.c | 240 int i, nc, xc; local 252 for (nc = -1, i = 0; i < adc; i++, adp++) { 265 nc = MAX(nc, adp->dtargd_mapping); 269 nc++; 277 nargs = dt_probe_alloc_args(pvp, nc); 279 if ((xc != 0 && xargs == NULL) || (nc != 0 && nargs == NULL)) 292 nargs, nc, xargs, xc)) == NULL) {
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_nic.c | 404 smb_nic_t *nc; local 431 nc = smb_niclist.nl_nics; 437 if (smb_nic_getinfo(ifname, nc, AF_INET) != 439 if (smb_nic_getinfo(ifname, nc, 445 (void) strlcpy(nc->nic_host, iflist->if_host, 446 sizeof (nc->nic_host)); 447 (void) strlcpy(nc->nic_cmnt, iflist->if_cmnt, 448 sizeof (nc->nic_cmnt)); 450 smb_tonetbiosname(nc->nic_host, nc 478 smb_nic_getinfo(char *interface, smb_nic_t *nc, int family) argument 1230 smb_nic_nbt_exclude(const smb_nic_t *nc, const char **exclude_list, int nexclude) argument [all...] |