Home
last modified time | relevance | path

Searched refs:nw (Results 1 – 25 of 46) sorted by relevance

12

/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dirp_nw.c77 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->byaddr = nw_byaddr; in irs_irp_nw()
110 nw->next = nw_next; in irs_irp_nw()
111 nw->rewind = nw_rewind; in irs_irp_nw()
[all …]
H A Dgen_nw.c73 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->byaddr = nw_byaddr; in irs_gen_nw()
94 nw->rewind = nw_rewind; in irs_gen_nw()
95 nw->minimize = nw_minimize; in irs_gen_nw()
[all …]
H A Dgetnetent.c112 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, name, AF_INET); in getnetbyname_p()
147 struct irs_nw *nw; in getnetbyaddr_p() local
151 if (!net_data || !(nw = net_data->nw)) in getnetbyaddr_p()
189 net_data->nww_last = (*nw->byaddr)(nw, addr, bits, AF_INET); in getnetbyaddr_p()
201 struct irs_nw *nw; in setnetent_p() local
[all …]
H A Dlcl_nw.c122 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->next = nw_next; in irs_lcl_nw()
143 nw->rewind = nw_rewind; in irs_lcl_nw()
144 nw->minimize = nw_minimize; in irs_lcl_nw()
[all …]
H A Ddns_nw.c105 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->next = nw_next; in irs_dns_nw()
126 nw->rewind = nw_rewind; in irs_dns_nw()
127 nw->minimize = nw_minimize; in irs_dns_nw()
[all …]
H A Dgen.c202 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 = (*inst->acc->nw_map)(inst->acc); in add_rule()
H A Dirs_data.c99 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 Dirs_data.h34 struct irs_nw * nw; member
/titanic_44/usr/src/cmd/lp/model/netpr/
H A Dnet.c135 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 = write(sockfd, pa, size); in xfer_cfAfile()
224 if (nw <= 0) { in xfer_cfAfile()
243 ctr -= nw; in xfer_cfAfile()
[all …]
/titanic_44/usr/src/cmd/spell/
H A Dmalloc.c85 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 = (nbytes+WORD-1)/WORD;
223 if(nw<onw)
[all …]
/titanic_44/usr/src/cmd/troff/troff.d/
H A Dmakedev.c222 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 Dt10.c101 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_44/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c228 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 > n ) { in dofont()
[all …]
/titanic_44/usr/src/cmd/tip/aculib/
H A Ddn11.c27 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(&lt)) != child && nw != -1) in dn_dialer()
/titanic_44/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c125 ssize_t nw; local
129 offset = 0; offset < len; taddr += nw, offset += nw)
130 if ((nw = __db_jump.j_write != NULL ?
/titanic_44/usr/src/cmd/ps/
H A Dps.c1413 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 = mbstowcs(NULL, pwd->pw_name, 0); in print_field()
[all …]
/titanic_44/usr/src/cmd/tcopy/
H A Dtcopy.c69 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_44/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c363 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_44/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c39 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_44/usr/src/cmd/bnu/
H A Dcpmv.c48 register int nr, nw; local
86 (nw = write(fd2, buf, nr)) == nr)
92 if (nr != 0 || nw == -1) {
/titanic_44/usr/src/cmd/sendmail/aux/
H A Dmail.local.c740 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_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c362 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_44/usr/src/uts/common/io/
H A Demul64.c1565 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_44/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c1402 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()
/titanic_44/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c1002 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) {

12