/freebsd-11-stable/contrib/ncurses/form/ |
H A D | fld_info.c | 42 | int *nrow, int *nbuf) 53 int *nrow, int *nbuf) 59 (void *)nrow, (void *)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 D | fld_def.c | 49 0, /* nbuf */ 264 | int nrow, int nbuf ) 268 | Allocate 'nrow' off-screen rows and 'nbuf' additional 277 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument 285 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); 291 nbuf >= 0 && 304 New_Field->nbuf = (short) nbuf; 309 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf); 324 for (i = 0; i <= New_Field->nbuf; [all...] |
H A D | fld_dup.c | 72 New_Field->nbuf = field->nbuf;
|
H A D | fld_link.c | 74 New_Field->nbuf = field->nbuf;
|
/freebsd-11-stable/lib/libnetbsd/ |
H A D | sockaddr_snprintf.c | 115 char abuf[1024], nbuf[1024], *addr = NULL; local 206 (void)snprintf(nbuf, sizeof(nbuf), "%d", p); 207 ADDS(nbuf); 212 (void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family); 213 ADDS(nbuf); 216 (void)snprintf(nbuf, sizeof(nbuf), "%zu", salen); 217 ADDS(nbuf); [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_descdma.h | 38 ath_bufhead *head, const char *name, int ds_size, int nbuf, 42 int nbuf, int desclen);
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | pwcache.c | 55 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-11-stable/contrib/blacklist/port/ |
H A D | sockaddr_snprintf.c | 167 char abuf[1024], nbuf[1024], *addr = NULL; local 256 (void)snprintf(nbuf, sizeof(nbuf), "%d", p); 257 ADDS(nbuf); 262 (void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family); 263 ADDS(nbuf); 266 (void)snprintf(nbuf, sizeof(nbuf), "%d", SLEN(sa)); 267 ADDS(nbuf); [all...] |
H A D | fgetln.c | 66 char *nbuf = realloc(buf, nbufsiz); local 68 if (nbuf == NULL) { 75 buf = nbuf;
|
/freebsd-11-stable/contrib/file/src/ |
H A D | getline.c | 70 char *nbuf; local 73 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) 75 *buf = nbuf; 77 eptr = nbuf + nbufsiz; 78 ptr = nbuf + d;
|
H A D | readelf.c | 355 unsigned char nbuf[BUFSIZ]; local 397 len = xph_filesz < sizeof(nbuf) ? xph_filesz : sizeof(nbuf); 398 if ((bufsize = pread(fd, nbuf, len, xph_offset)) == -1) { 406 offset = donote(ms, nbuf, offset, CAST(size_t, bufsize), 542 do_bid_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, argument 546 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "GNU") == 0 && 568 memcpy(desc, &nbuf[doff], descsz); 574 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "Go") == 0 && 579 RCAST(const char *, &nbuf[dof 587 do_os_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 686 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 726 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 994 do_auxv_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, int swap, uint32_t namesz __attribute__((__unused__)), uint32_t descsz __attribute__((__unused__)), size_t noff __attribute__((__unused__)), size_t doff, int *flags, size_t size __attribute__((__unused__)), int clazz, int fd, off_t ph_off, int ph_num, off_t fsize) argument 1142 unsigned char *nbuf = CAST(unsigned char *, vbuf); local 1336 void *nbuf; local 1623 unsigned char nbuf[BUFSIZ]; local [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | compat_getline.c | 34 char *nbuf; local 52 if ((nbuf = realloc(*buf, nbufsz)) == NULL) 54 *buf = nbuf;
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | config.c | 114 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-11-stable/usr.bin/gprof/ |
H A D | aout.c | 119 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-11-stable/contrib/nvi/vi/ |
H A D | v_at.c | 42 char nbuf[20]; local 106 len = snprintf(nbuf, sizeof(nbuf), "%lu", vp->count); 107 CHAR2INT(sp, nbuf, len, wp, wlen);
|
H A D | v_increment.c | 60 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-11-stable/contrib/wpa/src/utils/ |
H A D | wpabuf.c | 70 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-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | h_gai.c | 114 char nbuf[10]; local 167 strncpy(nbuf, "(empty)", sizeof(nbuf)); 168 print1("arg:", &ai, p ? p : nbuf , q ? q : nbuf); 178 snprintf(nbuf, sizeof(nbuf), "ai%d:", i); 179 print1(nbuf, res, NULL, NULL);
|
/freebsd-11-stable/usr.bin/ctags/ |
H A D | tree.c | 59 char nbuf[MAXTOKEN]; local 75 (void)snprintf(nbuf, sizeof(nbuf), "M%s", fp); 76 fp = strrchr(nbuf, '.'); 79 name = nbuf;
|
/freebsd-11-stable/bin/ed/ |
H A D | cbc.c | 227 int nbuf[64]; /* used for hex/key translation */ local 238 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 16)) == -1) 241 nbuf[i++] = 0; 244 ((nbuf[2*i]&0xf)<<4) | (nbuf[2*i+1]&0xf); 258 if ((nbuf[i] = hex_to_binary((int) kbuf[i], 2)) == -1) 261 nbuf[i++] = 0; 264 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
|
/freebsd-11-stable/usr.sbin/nfsdumpstate/ |
H A D | nfsdumpstate.c | 125 char nbuf[INET6_ADDRSTRLEN]; local 159 nbuf, sizeof(nbuf)) != NULL) 160 printf("%-45s ", nbuf); 182 char nbuf[INET6_ADDRSTRLEN]; local 231 nbuf, sizeof(nbuf)) != NULL) 232 printf("%-45s ", nbuf);
|
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | bitdomain.c | 220 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-11-stable/contrib/libucl/src/ |
H A D | ucl_emitter_utils.c | 337 char nbuf[64]; local 340 snprintf (nbuf, sizeof (nbuf), "%.1lf", val); 344 snprintf (nbuf, sizeof (nbuf), "%.*lg", DBL_DIG, val); 347 snprintf (nbuf, sizeof (nbuf), "%lf", val); 350 return write (fd, nbuf, strlen (nbuf));
|
/freebsd-11-stable/sys/xen/interface/ |
H A D | xenoprof.h | 102 int32_t nbuf; member in struct:xenoprof_get_buffer 125 int32_t nbuf; member in struct:xenoprof_passive
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | util.c | 388 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);
|