/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | asctime.c | 26 char *cp, *ncp; local 30 for (ncp = "Day Mon 00 00:00:00 1900\n"; *cp++ = *ncp++;); 31 ncp = &"SunMonTueWedThuFriSat"[3*t->tm_wday]; 33 *cp++ = *ncp++; 34 *cp++ = *ncp++; 35 *cp++ = *ncp++; 38 ncp = &"JanFebMarAprMayJunJulAugSepOctNovDec"[(*tp)*3]; 39 *cp++ = *ncp++; 40 *cp++ = *ncp [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ctime.c | 112 const char *ncp; local 120 for (ncp = Date; *cp++ = *ncp++; /* */) 122 ncp = Day + (3 * t->tm_wday); 124 *cp++ = *ncp++; 125 *cp++ = *ncp++; 126 *cp++ = *ncp++; 128 ncp = Month + (3 * t->tm_mon); 129 *cp++ = *ncp++; 130 *cp++ = *ncp [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.c | 314 struct iexpr *ncp; local 316 for (cp = Cache[i]; cp != NULL; cp = ncp) { 318 ncp = cp->next;
|
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | ctime.c | 162 const char *ncp; local 170 for (ncp = Date; *cp++ = *ncp++; /* */) 172 ncp = Day + (3*t->tm_wday); 174 *cp++ = *ncp++; 175 *cp++ = *ncp++; 176 *cp++ = *ncp++; 179 ncp = Month + ((*tp) * 3); 180 *cp++ = *ncp++; 181 *cp++ = *ncp [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 64 struct netconfig *ncp; local 86 while ((ncp = getnetconfig(hdl)) != NULL) { 87 if (strcmp(ncp->nc_protofmly, NC_LOOPBACK) != 0) 90 if (!force && rpcb_getaddr(prog, vers, ncp, &buf, HOST_SELF)) { 95 if ((fd = t_open(ncp->nc_device, O_RDWR, NULL)) == -1) { 97 ncp->nc_device, t_strerror(t_errno)); 103 if ((xprt = svc_tli_create(fd, ncp, NULL, ssz, rsz)) == NULL) { 108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) { 110 "rpc service on %s\n", ncp->nc_netid);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | process_buffer.c | 92 nfsl_config_t *ncp = NULL, *last_good_ncp; local 184 if ((ncp = last_good_ncp = 207 ncp = nfsl_findconfig(*config_list, tag, &error); 217 if (ncp == NULL) { 219 ncp = last_good_ncp; 222 last_good_ncp = ncp; 225 if (ncp->nc_flags & NC_UPDATED) { 232 cleanup_elf_state(ncp); 233 cleanup_trans_state(ncp); 235 ncp 387 cleanup_elf_state(nfsl_config_t *ncp) argument 396 cleanup_trans_state(nfsl_config_t *ncp) argument [all...] |
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | time.c | 167 const char *ncp; local 175 for (ncp = Date; *cp++ = *ncp++; /* */); 176 ncp = Day + (3 * t->tm_wday); 178 *cp++ = *ncp++; 179 *cp++ = *ncp++; 180 *cp++ = *ncp++; 183 ncp = Month + ((*tp) * 3); 184 *cp++ = *ncp++; 185 *cp++ = *ncp [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_misc.c | 106 char *cp, *ncp, *tcp; local 114 for (ncp = cp; *ncp; ncp++) 115 if (!isalnum(*ncp) && *ncp != '\'') 118 if (*ncp) 119 *ncp++ = '\0'; 127 cp = ncp;
|
/illumos-gate/usr/src/common/bignum/ |
H A D | bignum.h | 111 BIGNUM *tmp, BIG_CHUNK_TYPE n0, void *ncp, void *req); 115 void *ncp; member in struct:__anon1944
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncp.c | 42 #include "ncp.h" 47 * ncp.c - handles NCP actions. 211 nwamd_ncp_action(const char *ncp, nwam_action_t action) argument 214 (NWAM_OBJECT_TYPE_NCP, ncp, NULL, action);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_tick.c | 620 cpu_t *cp, *ncp; local 669 ncp = cpu_active; 671 if (cp == ncp) 673 clock_tick_cpus[i] = ncp; 675 } while ((ncp = ncp->cpu_next_onln) != cpu_active);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_device_cache.c | 366 name_cache_t *ncp; local 371 if ((ncp = (name_cache_t *) 377 ncp->desc = strdup(buf); 378 if (ncp->desc == NULL) { 379 free(ncp); 383 ncp->name = strdup(name); 384 if (ncp->name == NULL) { 385 free(ncp->desc); 386 free(ncp); 396 entry.key = ncp [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bootp.c | 611 u_char *ncp; local 616 ncp = cp; 621 while (ncp < ep) { 626 tag = *ncp++; /* extract tag and size */ 627 size = *ncp++; 628 cp = ncp; /* current payload */ 629 ncp += size; /* point to the next option */
|
H A D | ufs.c | 493 char *cp, *ncp; local 582 ncp = cp; 599 rc = search_directory(ncp, f, &inumber);
|
/illumos-gate/usr/src/cmd/col/ |
H A D | col.c | 498 int ncp; local 526 ncp = pcp; 528 if ((++ncp & 7) == 0 && !xflag) { 529 pcp = ncp; 535 while (pcp < ncp) {
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 323 cpu_t *ncp, *newlist; local 478 ncp = cp->cpu_prev_part->cpu_next_part = cp->cpu_next_part; 481 oldpp->cp_cpulist = ncp; 484 ncp = oldpp->cp_cpulist = NULL; 518 ASSERT(ncp != NULL); 572 t->t_cpu = disp_lowpri_cpu(ncp, 625 t->t_cpu = disp_lowpri_cpu(ncp, t->t_lpl,
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_ncallio.c | 98 nsc_ncio_dev_t *ncp, *new; local 118 for (ncp = nsc_ncio_top; ncp; ncp = ncp->next) 119 if (ncp->phash == phash && strcmp(path, ncp->path) == 0) 122 if (ncp == NULL && new != NULL) { 123 ncp = new; 125 ncp 146 nsc_ncio_close(nsc_ncio_dev_t *ncp) argument 403 nsc_ncio_allocb(nsc_ncio_dev_t *ncp, nsc_off_t pos, nsc_size_t len, int flag, nsc_ncio_buf_t **hp) argument 463 nsc_ncio_partsize(nsc_ncio_dev_t *ncp, nsc_size_t *rvalp) argument 472 nsc_ncio_maxfbas(nsc_ncio_dev_t *ncp, int flag, nsc_size_t *ptr) argument 484 nsc_ncio_attach(nsc_ncio_dev_t *ncp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/os/ |
H A D | pda.c | 495 register int i, cp, ncp; local 502 for (cp = i = 0; i < (nchunks-1); i++, cp = ncp) { 503 ncp = cp + 1; 506 naddr = mc[ncp].Memc_StartAddress; 507 nsize = mc[ncp].Memc_Size; 522 bcopy((char *)&mc[ncp+1], 523 (char *)&mc[ncp], 524 (nchunks - ncp - 1) * sizeof (MemChunk_t)); 525 ncp = cp;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb.c | 873 mdb_cmd_t *cp, *ncp; local 897 ncp = mdb_list_next(cp); 898 mdb_vcb_inherit(cp, ncp); 902 fp->f_pcmd = ncp; 948 mdb_addrvec_length(&ncp->c_addrv) == 0)
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | str.c | 523 int i, len, ncp; local 526 ncp = len; 528 ncp++; 531 if (ncp == 0) 535 if ((ndx + ncp) > strsec->sec_data->d_size) 541 if (((ndx + ncp) == strsec->sec_data->d_size) && 559 for (i = 0; i < ncp; i++) 562 if (i == ncp) { /* No change */ 609 bcopy(newstr, oldstr, ncp);
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 80 struct netconfig *ncp; member in struct:host_info 228 struct netconfig *ncp; member in struct:hostname_cache 247 static host_list_t *cvthname(struct netbuf *nbp, struct netconfig *ncp, char *); 257 static int addnet(struct netconfig *ncp, struct netbuf *nbp);
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_sunmod.c | 803 struct ddi_umem_cookie *ncp; local 812 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; 813 ncp->cook_refcnt ++; 815 ASSERT(ncp == cp); 820 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; 821 ncp->cook_refcnt ++; 823 ASSERT(ncp == cp);
|
/illumos-gate/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 1061 struct ddi_umem_cookie *ncp; local 1083 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; 1084 ncp->cook_refcnt++; 1089 ncp = (struct ddi_umem_cookie *)ndhp->dh_cookie; 1090 ncp->cook_refcnt++;
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | run.c | 1452 register Cell *x, *vp, *arrayp, *cp, *ncp; local 1464 for (cp = tp->tab[i]; cp != NULL; cp = ncp) { 1466 ncp = cp->cnext;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 980 struct netconfig *ncp; local 995 while ((ncp = getnetconfig(hp)) != NULL) { 996 if ((strcmp(ncp->nc_protofmly, NC_INET) == 0) || 997 (strcmp(ncp->nc_protofmly, NC_INET6) == 0)) { 999 rv = netdir_getbyname(ncp, &service, &addrs); 1004 uaddr = taddr2uaddr(ncp, addrs->n_addrs);
|