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

12345

/freebsd-10.0-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-10.0-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-10.0-release/contrib/file/
H A Dgetline.c66 char *nbuf; local
69 if ((nbuf = realloc(*buf, nbufsiz)) == NULL)
71 *buf = nbuf;
73 eptr = nbuf + nbufsiz;
74 ptr = nbuf + d;
H A Dreadelf.c311 unsigned char nbuf[BUFSIZ]; local
350 bufsize = read(fd, nbuf,
351 ((xph_filesz < sizeof(nbuf)) ? xph_filesz : sizeof(nbuf)));
360 offset = donote(ms, nbuf, offset, (size_t)bufsize,
382 unsigned char *nbuf = CAST(unsigned char *, vbuf); local
384 (void)memcpy(xnh_addr, &nbuf[offset], xnh_sizeof);
431 if (namesz == 4 && strcmp((char *)&nbuf[noff], "GNU") == 0 &&
434 (void)memcpy(desc, &nbuf[doff], sizeof(desc));
470 if (namesz == 4 && strcmp((char *)&nbuf[nof
863 void *nbuf; local
1060 unsigned char nbuf[BUFSIZ]; local
[all...]
/freebsd-10.0-release/contrib/mdocml/
H A Dcompat_fgetln.c71 char *nbuf = realloc(buf, nbufsiz); local
73 if (nbuf == NULL) {
80 buf = nbuf;
/freebsd-10.0-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);
/freebsd-10.0-release/usr.bin/gprof/
H A Daout.c119 struct nlist nbuf; local
125 fread(&nbuf, sizeof(nbuf), 1, nfile);
126 if ( ! funcsymbol( &nbuf ) ) {
144 fread(&nbuf, sizeof(nbuf), 1, nfile);
145 if ( ! funcsymbol( &nbuf ) ) {
149 nbuf.n_type , strtab + nbuf.n_un.n_strx );
154 npe->value = nbuf
[all...]
/freebsd-10.0-release/contrib/nvi/vi/
H A Dv_at.c42 char nbuf[20]; local
106 len = snprintf(nbuf, sizeof(nbuf), "%lu", vp->count);
107 CHAR2INT(sp, nbuf, len, wp, wlen);
H A Dv_increment.c60 CHAR_T *ntype, nbuf[100]; local
205 nlen = SPRINTF(nbuf, sizeof(nbuf), ntype, lval);
227 nlen = SPRINTF(nbuf, sizeof(nbuf), ntype, wlen, ulval);
232 MEMMOVE(bp + beg, nbuf, nlen);
/freebsd-10.0-release/contrib/wpa/src/utils/
H A Dwpabuf.c70 unsigned char *nbuf; local
72 nbuf = os_realloc(buf->buf, buf->used + add_len);
73 if (nbuf == NULL)
75 os_memset(nbuf + buf->used, 0, add_len);
76 buf->buf = nbuf;
79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) +
82 if (nbuf == NULL)
84 trace = (struct wpabuf_trace *) nbuf;
86 os_memset(nbuf + sizeof(struct wpabuf_trace) +
90 nbuf
[all...]
/freebsd-10.0-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-10.0-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-10.0-release/bin/ed/
H A Dcbc.c230 int nbuf[64]; /* used for hex/key translation */ local
241 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 16)) == -1)
244 nbuf[i++] = 0;
247 ((nbuf[2*i]&0xf)<<4) | (nbuf[2*i+1]&0xf);
261 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 2)) == -1)
264 nbuf[i++] = 0;
267 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
/freebsd-10.0-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-10.0-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dsources37 $(ADF)\include\nbuf; \
40 $(ADF)\nbuf\win_nwf; \
/freebsd-10.0-release/sys/xen/interface/
H A Dxenoprof.h102 int32_t nbuf; member in struct:xenoprof_get_buffer
125 int32_t nbuf; member in struct:xenoprof_passive
/freebsd-10.0-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-10.0-release/sys/kern/
H A Dsubr_param.c94 int nbuf; variable
112 SYSCTL_INT(_kern, OID_AUTO, nbuf, CTLFLAG_RDTUN, &nbuf, 0,
331 nbuf = NBUF;
332 TUNABLE_INT_FETCH("kern.nbuf", &nbuf);
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipmon_y.y988 char nbuf[80];
1013 snprintf(nbuf, sizeof(nbuf), "%sdup", name);
1014 is->ims_dup = (ims_dup_func_t)dlsym(isi->imsi_handle, nbuf);
1016 snprintf(nbuf, sizeof(nbuf), "%sdestroy", name);
1017 is->ims_destroy = (ims_destroy_func_t)dlsym(isi->imsi_handle, nbuf);
1021 snprintf(nbuf, sizeof(nbuf), "%smatch", name);
1022 is->ims_match = (ims_match_func_t)dlsym(isi->imsi_handle, nbuf);
[all...]
/freebsd-10.0-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-10.0-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);

Completed in 292 milliseconds

12345