/titanic_51/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_nw.c | 77 static void free_nw(struct nwent *nw); 89 struct irs_nw *nw; in irs_irp_nw() local 98 if (!(nw = memget(sizeof *nw))) { in irs_irp_nw() 103 memset(nw, 0x0, sizeof *nw); in irs_irp_nw() 106 nw->private = pvt; in irs_irp_nw() 107 nw->close = nw_close; in irs_irp_nw() 108 nw->byname = nw_byname; in irs_irp_nw() 109 nw in irs_irp_nw() 144 struct nwent *nw = &pvt->net; nw_byaddr() local 193 struct nwent *nw = &pvt->net; nw_byname() local 271 struct nwent *nw = &pvt->net; nw_next() local 328 free_nw(struct nwent * nw) free_nw() argument [all...] |
H A D | gen_nw.c | 73 struct irs_nw *nw; in irs_gen_nw() local 81 if (!(nw = memget(sizeof *nw))) { in irs_gen_nw() 86 memset(nw, 0x5e, sizeof *nw); in irs_gen_nw() 89 nw->private = pvt; in irs_gen_nw() 90 nw->close = nw_close; in irs_gen_nw() 91 nw->next = nw_next; in irs_gen_nw() 92 nw->byname = nw_byname; in irs_gen_nw() 93 nw in irs_gen_nw() 120 struct irs_nw *nw; nw_next() local 146 struct irs_nw *nw; nw_byname() local 169 struct irs_nw *nw; nw_byaddr() local 190 struct irs_nw *nw; nw_rewind() local 207 struct irs_nw *nw = rule->inst->nw; nw_minimize() local 246 struct irs_nw *nw = rule->inst->nw; nw_res_set() local [all...] |
H A D | getnetent.c | 112 struct irs_nw *nw; in getnetent_p() local 114 if (!net_data || !(nw = net_data->nw)) in getnetent_p() 116 net_data->nww_last = (*nw->next)(nw); in getnetent_p() 123 struct irs_nw *nw; in getnetbyname_p() local 127 if (!net_data || !(nw = net_data->nw)) in getnetbyname_p() 138 net_data->nww_last = (*nw->byname)(nw, nam in getnetbyname_p() 147 struct irs_nw *nw; getnetbyaddr_p() local 201 struct irs_nw *nw; setnetent_p() local 214 struct irs_nw *nw; endnetent_p() local [all...] |
H A D | lcl_nw.c | 122 struct irs_nw *nw; in irs_lcl_nw() local 132 if (!(nw = memget(sizeof *nw))) { in irs_lcl_nw() 137 memset(nw, 0x5e, sizeof *nw); in irs_lcl_nw() 138 nw->private = pvt; in irs_lcl_nw() 139 nw->close = nw_close; in irs_lcl_nw() 140 nw->byname = nw_byname; in irs_lcl_nw() 141 nw->byaddr = nw_byaddr; in irs_lcl_nw() 142 nw in irs_lcl_nw() [all...] |
H A D | dns_nw.c | 105 struct irs_nw *nw; in irs_dns_nw() local 115 if (!(nw = memget(sizeof *nw))) { in irs_dns_nw() 120 memset(nw, 0x5e, sizeof *nw); in irs_dns_nw() 121 nw->private = pvt; in irs_dns_nw() 122 nw->close = nw_close; in irs_dns_nw() 123 nw->byname = nw_byname; in irs_dns_nw() 124 nw->byaddr = nw_byaddr; in irs_dns_nw() 125 nw in irs_dns_nw() [all...] |
H A D | gen.c | 202 struct irs_nw *nw; in gen_res_set() 220 nw = rule->inst->nw; in gen_res_set() 222 (*nw->res_set)(nw, res, NULL); in gen_res_set() 250 if (irs->accessors[n].nw != NULL) in gen_close() 251 (*irs->accessors[n].nw->close)(irs->accessors[n].nw); in gen_close() 369 if (inst->nw == NULL && inst->acc->nw_map != NULL) in add_rule() 370 inst->nw in add_rule() [all...] |
H A D | irs_data.c | 99 if (net_data->nw != NULL) { in net_data_destroy() 100 (*net_data->nw->close)(net_data->nw); in net_data_destroy() 101 net_data->nw = NULL; in net_data_destroy()
|
H A D | irs_data.h | 34 struct irs_nw * nw; member
|
/titanic_51/usr/src/cmd/lp/model/netpr/ |
H A D | net.c | 135 int nw; in xfer_file() local 152 nw = write(sockfd, pa, ctr); in xfer_file() 153 syslog(LOG_DEBUG, "xfer_file: write while loop => nw = %d", nw); in xfer_file() 155 if ((nw == 0) || (nw < 0)) { in xfer_file() 180 ctr -= nw; in xfer_file() 181 pa += nw; in xfer_file() 199 int nw = 0; in xfer_cfAfile() local 222 nw in xfer_cfAfile() 323 int nw; netpr_send_message() local [all...] |
/titanic_51/usr/src/cmd/spell/ |
H A D | malloc.c | 85 register nw; local 89 nw = (nbytes+WORD+WORD-1)/WORD + 1; /*need one more than asked for*/ 101 if(q>=p+nw && p+nw>=p) 115 temp = nw; 126 temp -= (temp-nw+1)/2; 127 if(temp <= nw) 133 allocp = p + nw; 209 register unsigned nw; local 222 nw [all...] |
/titanic_51/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 222 int i, nw, spacewidth, n, v; local 254 nw = 0; 259 nw++; 260 width[nw] = atoi(s1); 261 kern[nw] = atoi(s2); 267 code[nw] = i; 274 fitab[ch[0] - 32] = nw; /* fitab origin omits non-graphics */ 278 fitab[i + 128-32] = nw; /* starts after the ascii */ 285 nw++; 286 if (dev.biggestfont >= nw) [all...] |
H A D | t10.c | 101 int i, fin, nw; in ptinit() local 136 nw = *p & BYTEMASK; /* 1st thing is width count */ in ptinit() 143 kerntab[i] = p + nw; in ptinit() 144 codetab[i] = p + 2 * nw; in ptinit() 145 fitab[i] = p + 3 * nw; /* skip width, kern, code */ in ptinit() 146 p += 3 * nw + dev.nchtab + 128 - 32; in ptinit()
|
/titanic_51/usr/src/cmd/lp/filter/postscript/font/ |
H A D | makedev.c | 228 int i, nw, spacewidth, n, v; in dofont() local 264 nw = 0; in dofont() 269 nw++; in dofont() 270 width[nw] = atoi(s1); in dofont() 271 kern[nw] = atoi(s2); in dofont() 277 code[nw] = i; in dofont() 283 fitab[ch[0] - 32] = nw; /* fitab origin omits non-graphics */ in dofont() 287 fitab[i + 128-32] = nw; /* starts after the ascii */ in dofont() 294 nw++; in dofont() 303 if ( nw > in dofont() [all...] |
/titanic_51/usr/src/cmd/tip/aculib/ |
H A D | dn11.c | 27 int lt, nw; in dn_dialer() local 56 nw = write(dn, num, lt = strlen(num)); in dn_dialer() 57 exit(nw != lt); in dn_dialer() 77 while ((nw = wait(<)) != child && nw != -1) in dn_dialer()
|
/titanic_51/usr/src/cmd/sendmail/db/os/ |
H A D | os_rw.c | 125 ssize_t nw; local 129 offset = 0; offset < len; taddr += nw, offset += nw) 130 if ((nw = __db_jump.j_write != NULL ?
|
/titanic_51/usr/src/cmd/ps/ |
H A D | ps.c | 1413 size_t nw; in prcom() local 1415 nw = mbstowcs(NULL, zonename, 0); in prcom() 1416 if (nw == (size_t)-1) in prcom() 1418 else if (nw > 8) in prcom() 1427 size_t nw; in prcom() local 1429 nw = mbstowcs(NULL, pwd->pw_name, 0); in prcom() 1430 if (nw == (size_t)-1) in prcom() 1432 else if (nw > 8) in prcom() 1670 size_t nw; in print_field() local 1672 nw in print_field() 1692 size_t nw; print_field() local 1961 size_t nw; print_field() local 2001 size_t nw; print_field() local 2293 size_t nw; przom() local 2310 size_t nw; przom() local [all...] |
/titanic_51/usr/src/cmd/tcopy/ |
H A D | tcopy.c | 69 int n, nw, inp, outp; local 124 nw = write(outp, buff, (size_t)n); 125 if (nw != n) { 127 " read (%d)\n", nw, n);
|
/titanic_51/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 363 size_t nw, remain; local 393 nw = remain > len ? len : remain; 394 memcpy(lp->buf + lp->b_off, addr, nw); 395 addr = (u_int8_t *)addr + nw; 396 len -= nw; 397 lp->b_off += nw; 421 ssize_t nw; local 438 (ret = __os_write(dblp->lfd, addr, len, &nw)) != 0) { 442 if (nw != (int32_t)len)
|
/titanic_51/usr/src/cmd/sendmail/db/db/ |
H A D | db_region.c | 39 ssize_t nr, nw; local 360 __os_write(infop->fd, rlp, sizeof(*rlp), &nw)) != 0) 742 ssize_t nr, nw; local 763 __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0) 765 if (nw != sizeof(buf)) 782 if ((ret = __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0) 784 if (nw != sizeof(buf))
|
/titanic_51/usr/src/cmd/bnu/ |
H A D | cpmv.c | 48 register int nr, nw; local 86 (nw = write(fd2, buf, nr)) == nr) 92 if (nr != 0 || nw == -1) {
|
/titanic_51/usr/src/cmd/sendmail/aux/ |
H A D | mail.local.c | 740 int mbfd = -1, nr, nw = 0, off; local 879 for (off = 0; off < nr; nr -= nw, off += nw) 880 if ((nw = write(mbfd, buf + off, nr)) < 0) 909 for (off = 0; off < nr; nr -= nw, off += nw) 910 if ((nw = write(mbfd, buf + off, nr)) < 0) {
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | localaddr.c | 362 struct linux_ipv6_addr_list *nw; in get_linux_ipv6_addrs() local 393 nw = malloc (sizeof (struct linux_ipv6_addr_list)); in get_linux_ipv6_addrs() 394 if (nw == 0) in get_linux_ipv6_addrs() 396 memset (nw, 0, sizeof (*nw)); in get_linux_ipv6_addrs() 397 nw->addr.sin6_addr = a6; in get_linux_ipv6_addrs() 398 nw->addr.sin6_family = AF_INET6; in get_linux_ipv6_addrs() 400 nw->next = lst; in get_linux_ipv6_addrs() 401 lst = nw; in get_linux_ipv6_addrs()
|
/titanic_51/usr/src/uts/common/io/ |
H A D | emul64.c | 1565 emul64_nowrite_t *nw; in emul64_nowrite_alloc() local 1567 nw = kmem_zalloc(sizeof (*nw), KM_SLEEP); in emul64_nowrite_alloc() 1569 (void *) &nw->emul64_blocked, in emul64_nowrite_alloc() 1570 sizeof (nw->emul64_blocked)); in emul64_nowrite_alloc() 1571 return (nw); in emul64_nowrite_alloc() 1575 emul64_nowrite_free(emul64_nowrite_t *nw) in emul64_nowrite_free() argument 1577 kmem_free((void *) nw, sizeof (*nw)); in emul64_nowrite_free()
|
/titanic_51/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_recno.c | 1002 ssize_t nw; local 1091 __os_write(fd, data.data, data.size, &nw)) != 0) 1093 if (nw != (ssize_t)data.size) { 1101 __os_write(fd, pad, rp->re_len, &nw)) != 0) 1103 if (nw != (ssize_t)rp->re_len) { 1114 if ((ret = __os_write(fd, &delim, 1, &nw)) != 0) 1116 if (nw != 1) {
|
/titanic_51/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 1402 int nw; /* number of width table entries */ in loadfont() local 1445 nw = fontbase[n]->nwfont & BMASK; in loadfont() 1447 codetab[n] = (char *) widthtab[n] + 2 * nw; in loadfont() 1448 fitab[n] = (char *) widthtab[n] + 3 * nw; in loadfont() 1465 int nw; /* width entries in next font */ in loadspecial() local 1484 nw = *p & BMASK; in loadspecial() 1487 p += 3 * nw + dev.nchtab + 128 - 32 + sizeof(struct Font); in loadspecial()
|