Searched refs:nbuf (Results 1 - 25 of 66) sorted by last modified time

123

/macosx-10.10/gssd-64/
H A Dgssd.c1446 gss_buffer_desc nbuf; local
1455 maj = gss_display_name(&min, canon, &nbuf, NULL);
1459 str = buf_to_str(&nbuf);
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Droute.c2993 uint8_t nbuf[128]; /* long enough for IPv6 */ local
3022 if (netmask != NULL && netmask->sa_len > sizeof (nbuf)) {
3057 rt_maskedcopy(dst, SA(nbuf), netmask);
3058 dst = SA(nbuf);
/macosx-10.10/xnu-2782.1.97/libkern/c++/
H A DOSSerializeBinary.cpp244 typeof(v##Array) nbuf = (typeof(v##Array)) kalloc(ncap * sizeof(o)); \
245 if (!nbuf) ok = false; \
248 bcopy(v##Array, nbuf, v##Capacity * sizeof(o)); \
251 v##Array = nbuf; \
/macosx-10.10/IOKitUser-1050.1.21/
H A DIOCFSerialize.c1112 typeof(v##Array) nbuf = (typeof(v##Array)) malloc(ncap * sizeof(o)); \
1113 if (!nbuf) ok = false; \
1116 bcopy(v##Array, nbuf, v##Capacity * sizeof(o)); \
1119 v##Array = nbuf; \
/macosx-10.10/dtrace-147/libdtrace/
H A Ddt_consume.c2652 dtrace_bufdesc_t nbuf; local
2711 bzero(&nbuf, sizeof (dtrace_bufdesc_t));
2713 if ((nbuf.dtbd_data = malloc(size)) == NULL)
2720 nbuf.dtbd_cpu = i;
2725 if (dt_ioctl(dtp, DTRACEIOC_BUFSNAP, &nbuf) == -1) {
2735 free(nbuf.dtbd_data);
2743 i, &nbuf, pf, rf, arg)) != 0) {
2744 free(nbuf.dtbd_data);
2749 free(nbuf.dtbd_data);
/macosx-10.10/system_cmds-643.1.1/fs_usage.tproj/
H A Dfs_usage.c5241 char nbuf[MAXPATHLEN]; local
5246 snprintf(nbuf, MAXPATHLEN, "%s/%s", "/dev", dir->d_name);
5248 if (stat(nbuf, &st) < 0)
/macosx-10.10/xnu-2782.1.97/bsd/dev/
H A Dunix_startup.c87 SYSCTL_INT (_kern, OID_AUTO, nbuf, CTLFLAG_RD | CTLFLAG_LOCKED, &nbuf_headers, 0, "");
/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/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...]
H A Dcompctl.c209 char nbuf[14]; local
214 sprintf(nbuf, "%d", zlemetacs + 1);
215 setsparam(reply, ztrdup(nbuf));
234 char nbuf[14]; local
239 sprintf(nbuf, "%d", clwpos + 1);
240 setsparam(reply, ztrdup(nbuf));
/macosx-10.10/apache-793/httpd/modules/metadata/
H A Dmod_mime_magic.c1976 char nbuf[SMALL_HOWMANY + 1]; /* one extra for terminating '\0' */ local
2010 s = (unsigned char *) memcpy(nbuf, buf, small_nbytes);
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOHibernateRestoreKernel.c774 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
777 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
788 p = nbuf;
795 *lenp = (int)(p - nbuf);
829 char nbuf[MAXNBUF]; local
913 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
1085 p = ksprintn(nbuf, num, base, &tmp, upper);
/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 Dnames.c102 char *cp, *nbuf; local
107 if ((nbuf = malloc(strlen(line) + 1)) == NULL)
112 while ((cp = yankword(cp, nbuf)) != NULL) {
113 t = nalloc(nbuf, ntype);
121 (void)free(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/ruby-106/ruby/
H A Dsprintf.c757 char fbuf[32], nbuf[64], *s; local
856 snprintf(nbuf, sizeof(nbuf), fbuf, v);
857 s = nbuf;
860 s = nbuf;
865 snprintf(++s, sizeof(nbuf) - 1, fbuf, v);
H A Daddr2line.c720 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
723 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
727 p = nbuf;
734 *lenp = p - nbuf;
768 char nbuf[MAXNBUF]; local
852 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
1024 p = ksprintn(nbuf, num, base, &n, upper);
/macosx-10.10/libxml2-26/libxml2/
H A DHTMLparser.c2045 char nbuf[16]; local
2053 snprintf(nbuf, sizeof(nbuf), "#%u", c);
2054 cp = nbuf;
2144 char nbuf[16]; local
2152 snprintf(nbuf, sizeof(nbuf), "#%u", c);
2153 cp = 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/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/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dftpd.c2285 char nbuf[MaxPathLen]; local
2295 snprintf(nbuf, sizeof(nbuf), "%s/%s", dirname, dir->d_name);
2301 if (simple || (stat(nbuf, &st) == 0 &&
2309 if(strncmp(nbuf, "./", 2) == 0)
2310 snprintf(buf, sizeof(buf), "%s%s\n", nbuf +2,
2313 snprintf(buf, sizeof(buf), "%s%s\n", nbuf,
2316 byte_count += strlen(nbuf) + 1;
/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/Heimdal-398.1.2/lib/roken/
H A Dgetcap.c727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
785 np = nbuf;
816 for(cp = nbuf; *cp != '\0'; cp++)
825 * Last argument of getent here should be nbuf if we want true
/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);
/macosx-10.10/bind9-45.101/bind9/bin/named/
H A Dquery.c486 isc_buffer_t *nbuf)
502 isc_buffer_init(nbuf, r.base, r.length);
504 dns_name_setbuffer(name, nbuf);
3125 isc_buffer_t *nbuf)
3131 *fname = query_newname(client, *dbuf, nbuf);
485 query_newname(ns_client_t *client, isc_buffer_t *dbuf, isc_buffer_t *nbuf) argument
3124 fixfname(ns_client_t *client, dns_name_t **fname, isc_buffer_t **dbuf, isc_buffer_t *nbuf) argument

Completed in 489 milliseconds

123