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

123

/macosx-10.10/ncurses-44/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;
/macosx-10.10/OpenSSH-189/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);
/macosx-10.10/lukemftp-14/tnftp/libnetbsd/
H A Dfgetln.c59 char *nbuf = realloc(buf, nbufsiz); local
61 if (nbuf == NULL) {
68 buf = nbuf;
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/
H A Dfgetln.c67 char *nbuf = realloc(buf, nbufsiz); local
69 if (nbuf == NULL) {
76 buf = nbuf;
/macosx-10.10/system_cmds-643.1.1/passwd.tproj/
H A Dpasswd.c52 static char nbuf[_PASSWORD_LEN+1]; local
75 nbuf[0] = '\0';
126 //strcpy(nbuf, p);
127 snprintf( nbuf, sizeof(nbuf), "%s", p );
129 if (!strcmp(nbuf, getpass("Retype new password:"))) break;
141 *new_pw = crypt(nbuf, salt);
144 *new_clear = nbuf;
/macosx-10.10/file-46/file/src/
H A Dreadelf.c297 unsigned char nbuf[BUFSIZ]; local
345 bufsize = read(fd, nbuf,
346 ((xph_filesz < sizeof(nbuf)) ? xph_filesz : sizeof(nbuf)));
355 offset = donote(ms, nbuf, offset, (size_t)bufsize,
377 unsigned char *nbuf = CAST(unsigned char *, vbuf); local
379 (void)memcpy(xnh_addr, &nbuf[offset], xnh_sizeof);
425 if (namesz == 4 && strcmp((char *)&nbuf[noff], "GNU") == 0 &&
428 (void)memcpy(desc, &nbuf[doff], sizeof(desc));
464 if (namesz == 7 && strcmp((char *)&nbuf[nof
824 void *nbuf; local
1021 unsigned char nbuf[BUFSIZ]; local
[all...]
H A Dencoding.c72 unsigned char *nbuf = NULL; local
74 mlen = (nbytes + 1) * sizeof(nbuf[0]);
75 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) {
117 from_ebcdic(buf, nbytes, nbuf);
119 if (looks_ascii(nbuf, nbytes, *ubuf, ulen)) {
123 } else if (looks_latin1(nbuf, nbytes, *ubuf, ulen)) {
135 if (nbuf)
136 free(nbuf);
/macosx-10.10/zsh-61/zsh/Src/Zle/
H A Dzle_refresh.c537 * buffer, nbuf, since we access the multiword buffer nmwbuf
638 *nbuf = NULL, /* new video buffer line-by-line array */ variable
670 if (nbuf) {
673 zfree(nbuf[ln], (winw_alloc + 2) * sizeof(**nbuf));
676 free(nbuf);
684 nbuf = NULL;
707 nbuf = (REFRESH_STRING *)zshcalloc((winh + 1) * sizeof(*nbuf));
709 nbuf[
[all...]
/macosx-10.10/text_cmds-88/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];
/macosx-10.10/bind9-45.101/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);
H A Dgssapictx.c343 char nbuf[DNS_NAME_FORMATSIZE]; local
359 dns_name_format(name, nbuf, sizeof(nbuf));
393 if ((strcasecmp(sname, nbuf) == 0)
416 char nbuf[DNS_NAME_FORMATSIZE]; local
433 dns_name_format(name, nbuf, sizeof(nbuf));
472 nname = strchr(nbuf, '.');
482 if ((strcasecmp(sname, nbuf) == 0)
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/base32/
H A Dbase32_c.tcl27 int nbuf;
45 buf = Tcl_GetByteArrayFromObj (objv[1], &nbuf);
46 nout = ((nbuf+4)/5)*8;
49 for (at = out; nbuf >= 5; nbuf -= 5, buf += 5) {
59 if (nbuf > 0) {
61 switch (nbuf) {
147 int nbuf;
180 buf = Tcl_GetStringFromObj (objv[1], &nbuf);
182 if (nbuf
[all...]
H A Dbase32hex_c.tcl27 int nbuf;
45 buf = Tcl_GetByteArrayFromObj (objv[1], &nbuf);
46 nout = ((nbuf+4)/5)*8;
49 for (at = out; nbuf >= 5; nbuf -= 5, buf += 5) {
59 if (nbuf > 0) {
61 switch (nbuf) {
147 int nbuf;
180 buf = Tcl_GetStringFromObj (objv[1], &nbuf);
182 if (nbuf
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/nssov/
H A Dservice.c108 char nbuf[256];
214 READ_STRING(fp,cbp.nbuf);
216 cbp.name.bv_val = cbp.nbuf;
232 cbp.name.bv_val = cbp.nbuf;
233 cbp.name.bv_len = snprintf(cbp.nbuf,sizeof(cbp.nbuf),"%d",number);
/macosx-10.10/gnutar-453/gnutar/src/
H A Dsparse.c930 char nbuf[UINTMAX_STRSIZE_BOUND];
960 umaxtostr (map[i].offset, nbuf));
963 umaxtostr (map[i].numbytes, nbuf));
992 char nbuf[UINTMAX_STRSIZE_BOUND];
1015 p = umaxtostr (file->stat_info->sparse_map_avail, nbuf);
1019 p = umaxtostr (map[i].offset, nbuf);
1021 p = umaxtostr (map[i].numbytes, nbuf);
1046 p = umaxtostr (file->stat_info->sparse_map_avail, nbuf);
1051 p = umaxtostr (map[i].offset, nbuf);
1054 p = umaxtostr (map[i].numbytes, nbuf);
924 char nbuf[UINTMAX_STRSIZE_BOUND]; local
986 char nbuf[UINTMAX_STRSIZE_BOUND]; local
1091 char nbuf[UINTMAX_STRSIZE_BOUND]; local
[all...]
H A Dxheader.c243 char nbuf[UINTMAX_STRSIZE_BOUND];
278 nptr = umaxtostr (n, nbuf);
279 len += nbuf + sizeof nbuf - 1 - nptr - 2;
683 char nbuf[UINTMAX_STRSIZE_BOUND];
689 np = umaxtostr (len + p, nbuf);
690 n = nbuf + sizeof nbuf - 1 - np;
761 char nbuf[UINTMAX_STRSIZE_BOUND];
774 np = umaxtostr (len + p, nbuf);
241 char nbuf[UINTMAX_STRSIZE_BOUND]; local
680 char nbuf[UINTMAX_STRSIZE_BOUND]; local
757 char nbuf[UINTMAX_STRSIZE_BOUND]; local
[all...]
/macosx-10.10/mail_cmds-30/mail/
H A Daux.c419 char *nbuf, *bufend, *cp, *cp2; local
429 if ((nbuf = malloc(strlen(name) + 1)) == NULL)
433 bufend = nbuf;
514 if ((cp = realloc(nbuf, strlen(nbuf) + 1)) != NULL)
515 nbuf = cp;
516 return (nbuf);
H A Dsend.c309 char *nbuf; local
393 if ((nbuf = malloc(strlen(detract(nsto, 0)) + 1)) == NULL)
395 if ((cp = yanklogin(detract(nsto, 0), nbuf)) != NULL)
396 (void)savemail(expand(nbuf), mtf);
397 free(nbuf);
/macosx-10.10/OpenSSH-189/openssh/
H A Dkex.c605 u_int8_t nbuf[2048], obuf[EVP_MAX_MD_SIZE]; local
611 if (len < (512 / 8) || (u_int)len > sizeof(nbuf))
613 BN_bn2bin(host_modulus, nbuf);
614 EVP_DigestUpdate(&md, nbuf, len);
617 if (len < (512 / 8) || (u_int)len > sizeof(nbuf))
619 BN_bn2bin(server_modulus, nbuf);
620 EVP_DigestUpdate(&md, nbuf, len);
627 memset(nbuf, 0, sizeof(nbuf));
/macosx-10.10/ncurses-44/ncurses/test/
H A Ddemo_forms.c248 int nbuf; local
317 for (nbuf = 0; nbuf <= 2; ++nbuf) {
318 if ((buffer = field_buffer(field, nbuf)) != 0) {
319 wprintw(win, "buffer %d:", nbuf);
/macosx-10.10/system_cmds-643.1.1/login.tproj/
H A Dlogin.c1230 char *nbuf, *p; local
1233 nbuf = malloc(MAXLOGNAME);
1234 if (nbuf == NULL)
1238 for (p = nbuf; (ch = getchar()) != '\n'; ) {
1243 if (p < nbuf + MAXLOGNAME - 1)
1246 } while (p == nbuf);
1249 if (nbuf[0] == '-') {
1253 memmove(nbuf, nbuf + 1, strlen(nbuf));
[all...]
/macosx-10.10/zsh-61/zsh/Src/
H A Dcompat.c259 char nbuf[PATH_MAX+3]; local
276 strcpy(nbuf, "../");
334 strncpy(nbuf + 3, fn, PATH_MAX);
343 strncpy(nbuf + 3, fn, PATH_MAX);
344 lstat(nbuf, &sbuf);
354 * We get the "/" free just by copying from nbuf+2 instead
355 * of nbuf+3, which is where we copied the path component.
358 len = strlen(nbuf + 2);
367 memcpy(buf + pos, nbuf + 2, len);

Completed in 503 milliseconds

123