/freebsd-current/contrib/bearssl/tools/ |
H A D | vector.c | 47 void *nbuf; local 59 nbuf = xmalloc(nlen * esize); 61 memcpy(nbuf, buf, *len * esize); 65 return nbuf;
|
/freebsd-current/contrib/ncurses/form/ |
H A D | fld_info.c | 43 | int *nrow, int *nbuf) 54 int *nrow, int *nbuf) 60 (void *)nrow, (void *)nbuf)); 75 if (nbuf) 76 *nbuf = field->nbuf; 51 field_info(const FIELD *field, int *rows, int *cols, int *frow, int *fcol, int *nrow, int *nbuf) argument
|
H A D | fld_dup.c | 73 New_Field->nbuf = field->nbuf;
|
H A D | fld_def.c | 50 0, /* nbuf */ 265 | int nrow, int nbuf ) 269 | Allocate 'nrow' off-screen rows and 'nbuf' additional 278 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) argument 286 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); 292 nbuf >= 0 && 305 New_Field->nbuf = (short)nbuf; 310 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf); 325 for (i = 0; i <= New_Field->nbuf; [all...] |
H A D | fld_link.c | 75 New_Field->nbuf = field->nbuf;
|
/freebsd-current/lib/libnetbsd/ |
H A D | sockaddr_snprintf.c | 112 char abuf[1024], nbuf[1024], *addr = NULL; local 203 (void)snprintf(nbuf, sizeof(nbuf), "%d", p); 204 ADDS(nbuf); 209 (void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family); 210 ADDS(nbuf); 213 (void)snprintf(nbuf, sizeof(nbuf), "%zu", salen); 214 ADDS(nbuf); [all...] |
/freebsd-current/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), "%lu", (u_long)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), "%lu", (u_long)gid); 110 cp->name = strdup(gr ? gr->gr_name : nbuf);
|
H A D | bsd-getline.c | 79 char *nbuf; local 82 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) 84 *buf = nbuf; 86 eptr = nbuf + nbufsiz; 87 ptr = nbuf + d;
|
/freebsd-current/sys/dev/ath/ |
H A D | if_ath_descdma.h | 36 ath_bufhead *head, const char *name, int ds_size, int nbuf, 40 int nbuf, int desclen);
|
/freebsd-current/contrib/blocklist/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-current/contrib/libfido2/openbsd-compat/ |
H A D | bsd-getline.c | 81 char *nbuf; local 84 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) 86 *buf = nbuf; 88 eptr = nbuf + nbufsiz; 89 ptr = nbuf + d;
|
/freebsd-current/contrib/libarchive/unzip/ |
H A D | la_getline.c | 81 char *nbuf; local 84 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) 86 *buf = nbuf; 88 eptr = nbuf + nbufsiz; 89 ptr = nbuf + d;
|
/freebsd-current/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 | 353 unsigned char nbuf[BUFSIZ]; local 398 len = xph_filesz < sizeof(nbuf) ? xph_filesz : sizeof(nbuf); 400 if ((bufsize = pread(fd, nbuf, len, offs)) == -1) { 410 offset = donote(ms, nbuf, offset, CAST(size_t, bufsize), 549 do_bid_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, argument 553 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "GNU") == 0 && 575 memcpy(desc, &nbuf[doff], descsz); 581 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "Go") == 0 && 586 RCAST(const char *, &nbuf[dof 594 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 693 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 733 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 1013 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 1165 unsigned char *nbuf = CAST(unsigned char *, vbuf); local 1357 void *nbuf; local 1662 unsigned char nbuf[BUFSIZ]; local [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | compat_getline.c | 27 char *nbuf; local 45 if ((nbuf = realloc(*buf, nbufsz)) == NULL) 47 *buf = nbuf;
|
/freebsd-current/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-current/contrib/nvi/vi/ |
H A D | v_at.c | 38 char nbuf[20]; local 102 len = snprintf(nbuf, sizeof(nbuf), "%lu", vp->count); 103 CHAR2INT(sp, nbuf, len, wp, wlen);
|
/freebsd-current/usr.bin/ctags/ |
H A D | tree.c | 53 char nbuf[MAXTOKEN]; local 69 (void)snprintf(nbuf, sizeof(nbuf), "M%s", fp); 70 fp = strrchr(nbuf, '.'); 73 name = nbuf;
|
/freebsd-current/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-current/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-current/contrib/bearssl/T0/ |
H A D | CPU.cs | 109 TValue[] nbuf = new TValue[len << 1]; 110 Array.Copy(stackBuf, 0, nbuf, 0, len); 111 stackBuf = nbuf;
|
/freebsd-current/usr.sbin/nfsdumpstate/ |
H A D | nfsdumpstate.c | 122 char nbuf[INET6_ADDRSTRLEN]; local 156 nbuf, sizeof(nbuf)) != NULL) 157 printf("%-45s ", nbuf); 182 char nbuf[INET6_ADDRSTRLEN]; local 231 nbuf, sizeof(nbuf)) != NULL) 232 printf("%-45s ", nbuf);
|
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_output.c | 77 int i, ch, nbuf = 0; local 85 nbuf += n; 99 if (nbuf >= DIFF_OUTPUT_BUF_SIZE) { 100 wlen = fwrite(buf, 1, nbuf, dest); 101 if (wlen != nbuf) 104 nbuf = 0; 106 buf[nbuf++] = ch; 108 buf[nbuf++] = '\n'; 109 wlen = fwrite(buf, 1, nbuf, dest); 110 if (wlen != nbuf) [all...] |
/freebsd-current/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);
|