Searched defs:nb (Results 1 - 25 of 83) sorted by relevance

1234

/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrvcmp.c35 register unsigned long nb; local
41 na = nb = 0;
45 nb = nb * 10 + *b++ - '0';
46 if (na < nb)
48 if (na > nb)
H A Dstrnvcmp.c37 register unsigned long nb; local
53 na = nb = 0;
57 nb = nb * 10 + *b++ - '0';
58 if (na < nb)
60 if (na > nb)
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_overflow.c91 size_t nb, plen; local
115 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
119 nb = MIN(sz, plen);
120 memmove(p, (char *)h + BTDATAOFF, nb); local
123 if ((sz -= nb) == 0)
149 size_t nb, plen; local
167 nb = MIN(sz, plen);
168 memmove((char *)h + BTDATAOFF, p, nb);
176 if ((sz -= nb) == 0) {
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DOpaque.java63 Opaque(byte[] nb) { argument
64 bytes = nb;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dio.c65 int read_set, nb; local
89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait);
91 if (nb <= 0) {
109 nb = read(sockt, buf, sizeof (buf));
111 if (nb <= 0) {
116 display(&rem_win, buf, nb);
127 ioctl(0, FIONREAD, (struct sgttyb *)&nb);
128 nb = read(0, buf, nb);
129 display(&my_win, buf, nb);
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A Dt3.c49 char line[200], *cp, nb[25], *t; local
77 t=nb;
85 if (nb[0])
86 *(lp->optadd) = nb[0];
89 printf(".nr %d %s\n", LSIZE, nb);
92 delim1 = nb[0];
93 delim2 = nb[1];
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmbsnrtowcs.c64 size_t nb; local
71 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1)
74 else if (nb == 0 || nb == (size_t)-2)
76 s += nb;
77 nms -= nb;
84 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) {
87 } else if (nb == (size_t)-2) {
90 } else if (nb == 0) {
94 s += nb;
[all...]
H A Dwcsnrtombs.c66 size_t nb; local
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
77 return (nbytes + nb - 1);
79 nbytes += nb;
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
100 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) {
104 if (nb > (int)len) {
109 (void) memcpy(dst, buf, nb);
113 return (nbytes + nb - 1);
116 dst += nb;
[all...]
H A Dutf8.c206 size_t nb; local
229 nb = 1;
230 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) ==
234 else if (nb == 0 || nb == (size_t)-2)
236 s += nb;
237 nms -= nb;
259 nb = 1;
260 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) ==
264 } else if (nb
354 size_t nb; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c116 unsigned nb; local
119 nb = nf * framesz;
121 bcopy(cnvsrc, data, nb);
122 data += nb;
123 cnvsrc += nb;
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_entry.cc94 copy_entry(entry_object * old, entry_object *nb) argument
103 nb->en_type = NULL;
105 nb->en_type = strdup(old->en_type);
106 if (nb->en_type == NULL)
115 nb->en_cols.en_cols_val = NULL;
119 if (nb->en_type)
120 delete nb->en_type;
131 if (nb->en_type)
132 delete nb->en_type;
145 nb
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c169 struct netbuf nb; local
181 nb.len = nb.maxlen = sizeof (struct sockaddr);
182 nb.buf = (char *)&sa;
186 name = charmap_search(&nb, sh->sh_opts);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb.c32 * $Id: nb.c,v 1.1.1.2 2001/07/06 22:38:42 conrad Exp $
71 struct nb_ctx *nb = ctx->ct_nb; local
73 if (nb == NULL)
76 nb_ctx_setnbflags(nb, ns_ena, bc_ena);
86 struct nb_ctx *nb = ctx->ct_nb; local
88 if (nb == NULL)
91 return (nb_ctx_setwins(nb, wins1, wins2));
100 struct nb_ctx *nb = ctx->ct_nb; local
102 if (nb == NULL)
105 return (nb_ctx_setscope(nb, scop
133 nb_ctx_setnbflags(struct nb_ctx *nb, int ns_ena, int bc_ena) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c76 struct n_stat nb; local
84 if ((ret = _syscall(SYS_fstatat, fd, NULL, &nb, 0)) == -1)
87 cpstatbuf(buf, &nb);
100 struct n_stat nb; local
133 "/var/adm/utmpx", &nb, follow)) != -1) {
134 cpstatbuf(buf, &nb);
142 "/var/adm/wtmpx", &nb, follow)) != -1) {
143 cpstatbuf(buf, &nb);
160 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, path, &nb, follow)) != -1)
161 cpstatbuf(buf, &nb);
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c226 get_uaddr(int fd, struct netconfig *nconf, struct netbuf *nb) argument
235 ua = taddr2uaddr(nconf, nb);
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregdecomp.c84 int nb; local
152 nb = ne = ib = ie = -2;
165 else if (nb < 0)
166 ne = nb = m;
171 if (ne == nb)
175 *s++ = nb;
179 ne = nb = m;
207 if (nb >= 0)
209 *s++ = nb;
210 if (ne != nb)
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_validate.c355 struct roff_node *nb; local
367 nb = n;
386 mandoc_msg(MANDOCERR_TH_NOTITLE, nb->line, nb->pos, "TH");
398 nb->line, nb->pos, "TH %s", man->meta.title);
412 n ? n->line : nb->line,
413 n ? n->pos : nb->pos, "TH");
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c131 struct netbuf *nb = NULL; local
211 struct netbuf *nb; local
261 nb = get_server_addr(host, NFS_PROGRAM, nfsver,
271 return (nb);
349 struct netbuf *nb = NULL; local
366 nb = (struct netbuf *)malloc(sizeof (struct netbuf));
367 if (nb == NULL) {
371 nb->buf = (char *)malloc(tbind->addr.maxlen);
372 if (nb->buf == NULL) {
374 free(nb);
[all...]
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Ddoscan.c249 char *nb = buffer; local
254 file_to_decimal(&nb, len, 0, &dr, &form, &echar, iop, &nread);
272 c = *nb; /* Get first unused character. */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c210 struct netbuf *nb; local
250 nb = &(*xprt)->xp_ltaddr;
252 while (!rpcb_set(start, vers, nc, nb))
303 struct netbuf *nb; local
339 * we must know that nb->buf is a (sockaddr_in *) or a
344 nb = svc_getrpccaller(xprt);
345 if (nb != 0)
346 caller_af = ((struct sockaddr_storage *)nb->buf)->ss_family;
352 sin6 = (struct sockaddr_in6 *)nb->buf;
360 sin4 = (struct sockaddr_in *)nb
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c101 int nb, c2; local
117 nb = 0;
125 if (nb >= 16) {
127 for (k = 0; k < nb; ++k) {
132 nb = 0;
134 buf[nb++] = c;
156 for (k = nb; k < 16; ++k)
159 for (k = 0; k < nb; ++k) {
245 int nb, nl, dn, proto, rv; local
285 nb
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c171 grub_daddr32_t nb, blkno; local
192 nb = INODE->ic_ib[level];
193 if (nb == 0) {
196 if (indirblk0 != nb) {
198 blkno = fsbtodb(SUPERBLOCK, nb);
202 indirblk0 = nb;
206 nb = INDIRBLK0[index];
210 if (indirblk1 != nb) {
211 blkno = fsbtodb(SUPERBLOCK, nb);
215 indirblk1 = nb;
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_top.c59 off_t nb,
68 ASSERT(nb);
70 top_delta_debug(ul, mof, nb, dtyp));
72 deltamap_add(ul->un_deltamap, mof, nb, dtyp, func, arg, tp);
84 top_cancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, int flags) argument
90 ASSERT(nb);
93 top_delta_debug(ul, mof, nb, DT_CANCEL)));
96 deltamap_del(ul->un_deltamap, mof, nb);
98 logmap_cancel(ul, mof, nb, metadata);
110 top_iscancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
56 top_delta( ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg) argument
697 top_log(ufsvfs_t *ufsvfsp, char *va, offset_t vamof, off_t nb, caddr_t buf, uint32_t bufsz) argument
[all...]
/illumos-gate/usr/src/cmd/localedef/
H A Dwide.c196 int nb; local
209 nb = 2;
214 nb = 3;
219 nb = 4;
227 if (nb > n) {
232 for (i = 1; i < nb; i++) {
246 return (nb);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c124 busorrc_t *nb; local
130 (nb = busorrc_new(mod, ba, n)) == NULL) {
134 busorrc_insert(mod, list, nb);

Completed in 156 milliseconds

1234