Searched refs:nbuf (Results 1 - 25 of 111) sorted by relevance

12345

/freebsd-9.3-release/contrib/ncurses/form/
H A Dfld_info.c42 | int *nrow, int *nbuf)
53 int *nrow, int *nbuf)
59 nrow, nbuf));
74 if (nbuf)
75 *nbuf = field->nbuf;
50 field_info(const FIELD *field, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument
H A Dfld_def.c49 0, /* nbuf */
263 | int nrow, int nbuf )
267 | Allocate 'nrow' off-screen rows and 'nbuf' additional
276 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument
284 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf));
290 nbuf >= 0 &&
303 New_Field->nbuf = nbuf;
308 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf);
323 for (i = 0; i <= New_Field->nbuf;
[all...]
H A Dfld_dup.c72 New_Field->nbuf = field->nbuf;
H A Dfld_link.c74 New_Field->nbuf = field->nbuf;
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dpwcache.c55 static char nbuf[15]; /* 32 bits == 10 digits */ local
70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid);
75 cp->name = strdup(pw ? pw->pw_name : nbuf);
90 static char nbuf[15]; /* 32 bits == 10 digits */ local
105 (void)snprintf(nbuf, sizeof(nbuf), "%u", gid);
110 cp->name = strdup(gr ? gr->gr_name : nbuf);
/freebsd-9.3-release/contrib/file/src/
H A Dgetline.c70 char *nbuf; local
73 if ((nbuf = realloc(*buf, nbufsiz)) == NULL)
75 *buf = nbuf;
77 eptr = nbuf + nbufsiz;
78 ptr = nbuf + d;
H A Dreadelf.c313 unsigned char nbuf[BUFSIZ]; local
344 len = xph_filesz < sizeof(nbuf) ? xph_filesz : sizeof(nbuf);
345 if ((bufsize = pread(fd, nbuf, len, xph_offset)) == -1) {
353 offset = donote(ms, nbuf, offset, (size_t)bufsize,
485 do_bid_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, argument
489 if (namesz == 4 && strcmp((char *)&nbuf[noff], "GNU") == 0 &&
497 (void)memcpy(desc, &nbuf[doff], descsz);
507 do_os_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, argument
511 if (namesz == 5 && strcmp((char *)&nbuf[nof
599 do_pax_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags) argument
637 do_core_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz, uint32_t descsz, size_t noff, size_t doff, int *flags, size_t size, int clazz) argument
823 unsigned char *nbuf = CAST(unsigned char *, vbuf); local
997 void *nbuf; local
1242 unsigned char nbuf[BUFSIZ]; local
[all...]
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dconfig.c114 char nbuf[100];
120 if (l > sizeof nbuf - 1)
121 l = sizeof nbuf - 1;
122 memmove(nbuf, env, l);
123 nbuf[l] = '\0';
124 return setenv(nbuf, ++p, 1);
H A Dutil.c64 char *nbuf = sm_pmalloc_x(l); local
69 buf = nbuf;
/freebsd-9.3-release/usr.bin/gprof/
H A Daout.c120 struct nlist nbuf; local
126 fread(&nbuf, sizeof(nbuf), 1, nfile);
127 if ( ! funcsymbol( &nbuf ) ) {
145 fread(&nbuf, sizeof(nbuf), 1, nfile);
146 if ( ! funcsymbol( &nbuf ) ) {
150 nbuf.n_type , strtab + nbuf.n_un.n_strx );
155 npe->value = nbuf
[all...]
/freebsd-9.3-release/contrib/nvi/vi/
H A Dv_at.c43 char nbuf[20]; local
104 len = snprintf(nbuf, sizeof(nbuf), "%lu", vp->count);
105 if (v_event_push(sp, NULL, nbuf, len, 0))
H A Dv_increment.c62 char *bp, *ntype, *p, *t, nbuf[100]; local
206 nlen = snprintf(nbuf, sizeof(nbuf), ntype, lval);
228 nlen = snprintf(nbuf, sizeof(nbuf), ntype, wlen, ulval);
233 memmove(bp + beg, nbuf, nlen);
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dwpabuf.c76 unsigned char *nbuf; local
78 nbuf = os_realloc(buf->ext_data, buf->used + add_len);
79 if (nbuf == NULL)
81 os_memset(nbuf + buf->used, 0, add_len);
82 buf->ext_data = nbuf;
85 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) +
88 if (nbuf == NULL)
90 trace = (struct wpabuf_trace *) nbuf;
92 os_memset(nbuf + sizeof(struct wpabuf_trace) +
96 nbuf
[all...]
/freebsd-9.3-release/sys/contrib/ia64/libuwx/src/
H A Duwx_bstream.h31 int nbuf; member in struct:uwx_bstream
H A Duwx_bstream.c42 bstream->nbuf = 0;
50 bstream->nbuf = len;
75 if (bstream->nbuf <= 0) {
85 bstream->nbuf = n;
90 bstream->nbuf--;
/freebsd-9.3-release/usr.bin/ctags/
H A Dtree.c59 char nbuf[MAXTOKEN]; local
75 (void)snprintf(nbuf, sizeof(nbuf), "M%s", fp);
76 fp = strrchr(nbuf, '.');
79 name = nbuf;
/freebsd-9.3-release/bin/ed/
H A Dcbc.c236 int nbuf[64]; /* used for hex/key translation */ local
247 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 16)) == -1)
250 nbuf[i++] = 0;
253 ((nbuf[2*i]&0xf)<<4) | (nbuf[2*i+1]&0xf);
267 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 2)) == -1)
270 nbuf[i++] = 0;
273 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
/freebsd-9.3-release/sys/xen/interface/
H A Dxenoprof.h98 int32_t nbuf; member in struct:xenoprof_get_buffer
121 int32_t nbuf; member in struct:xenoprof_passive
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dttl.c156 char nbuf[64]; /* Number buffer */ local
171 char *np = nbuf;
175 INSIST(np - nbuf <= (int)sizeof(nbuf));
176 result = isc_parse_uint32(&n, nbuf, 10);
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dbitdomain.c220 char nbuf[1024]; local
284 (u_char *) nbuf, sizeof nbuf);
300 eom, ap, (u_char *)nbuf, sizeof(nbuf))) < 0)
302 if (strlen(nbuf) < hbsize) {
303 (void)strcpy(host, nbuf);
/freebsd-9.3-release/usr.bin/mail/
H A Dutil.c388 char *nbuf, *bufend, *cp, *cp2; local
398 if ((nbuf = malloc(strlen(name) + 1)) == NULL)
402 bufend = nbuf;
484 if ((cp = realloc(nbuf, strlen(nbuf) + 1)) != NULL)
485 nbuf = cp;
486 return (nbuf);
/freebsd-9.3-release/sys/kern/
H A Dsubr_param.c93 int nbuf; variable
113 SYSCTL_INT(_kern, OID_AUTO, nbuf, CTLFLAG_RDTUN, &nbuf, 0,
328 nbuf = NBUF;
329 TUNABLE_INT_FETCH("kern.nbuf", &nbuf);
/freebsd-9.3-release/lib/libstand/
H A Dprintf.c107 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
110 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
114 p = nbuf;
121 *lenp = p - nbuf;
155 char nbuf[MAXNBUF]; local
239 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
411 p = ksprintn(nbuf, num, base, &n, upper);
/freebsd-9.3-release/libexec/rtld-elf/
H A Drtld_printf.c105 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
109 p = nbuf;
117 *lenp = p - nbuf;
125 char nbuf[MAXNBUF]; local
204 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
376 p = ksprintn(nbuf, num, base, &n, upper);
/freebsd-9.3-release/usr.sbin/config/
H A Dmkoptions.c294 char nbuf[MAXPATHLEN]; local
298 (void)strlcpy(nbuf, "options.h", sizeof(nbuf));
302 strlcpy(nbuf, po->o_file, sizeof(nbuf));
307 (void)strlcpy(hbuf, path(nbuf), sizeof(hbuf));

Completed in 174 milliseconds

12345