Searched refs:nbuf (Results 26 - 50 of 66) sorted by relevance

123

/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/libresolv-57/
H A Dres_debug.c608 static char nbuf[40]; local
642 default: sprintf(nbuf, "?0x%lx?", (u_long)option);
643 return (nbuf);
652 static char nbuf[40]; /* XXX nonreentrant */ local
654 if (ns_format_ttl(value, nbuf, sizeof nbuf) < 0)
655 sprintf(nbuf, "%u", value);
656 return (nbuf);
H A Dres_query.c705 char nbuf[NS_MAXDNAME]; local
706 const char *longname = nbuf;
728 strncpy(nbuf, name, n);
729 nbuf[n] = '\0';
746 sprintf(nbuf, "%s.%s", name, domain);
/macosx-10.10/mail_cmds-30/mail/
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);
/macosx-10.10/bind9-45.101/bind9/lib/lwres/
H A Dgetaddrinfo.c350 char nbuf[NI_MAXHOST]; local
438 ai->ai_addrlen, nbuf, sizeof(nbuf),
441 ai->ai_canonname = strdup(nbuf);
/macosx-10.10/ncurses-44/ncurses/form/
H A Dform.priv.h103 ( (Buffer_Length(field) + 1) * (1+(field)->nbuf) * sizeof(FIELD_CELL) )
H A Dllib-lform166 int nbuf)
214 int *nbuf)
H A Dllib-lformw166 int nbuf)
214 int *nbuf)
H A Dform.h81 short nbuf; /* additional buffers */ member in struct:fieldnode
/macosx-10.10/zsh-61/zsh/Src/Modules/
H A Dtcp.c173 static char nbuf[16]; local
174 static char *addrlist[] = { nbuf, NULL };
181 if (zsh_inet_pton(af, name, nbuf) == 1) {
182 zsh_inet_ntop(af, nbuf, pbuf, sizeof(pbuf));
/macosx-10.10/ruby-106/ruby/
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);
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);
/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/ksh-23/ksh/src/lib/libast/misc/
H A Dmagic.c160 char nbuf[256]; /* !CC_NATIVE data */ \
688 if (c >= sizeof(mp->nbuf))
689 c = sizeof(mp->nbuf) - 1;
690 p = (char*)memcpy(mp->nbuf, p, c);
727 if (p == mp->nbuf || ep->mask >= sizeof(mp->nbuf))
729 p = (char*)memcpy(mp->nbuf, p, ep->mask);
/macosx-10.10/text_cmds-88/pr/
H A Dpr.c198 char *nbuf; local
227 nbuf = obuf + offst;
228 lbuf = nbuf + num;
230 nbuf[--num] = nmchar;
281 addnum(nbuf, num, ++lncnt);
/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/Libc-1044.1.2/gen/FreeBSD/
H A Dgetcap.c653 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; local
716 np = nbuf;
753 for(cp = nbuf; *cp != '\0'; cp++)
762 * Last argument of getent here should be nbuf if we want true
/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/BerkeleyDB-21/db/mutex/
H A Dtest_mutex.c982 char *args[13], lbuf[16], nbuf[16], pbuf[16], tbuf[16], Tbuf[256]; local
989 snprintf(nbuf, sizeof(nbuf), "%d", nlocks);
990 args[4] = nbuf;
/macosx-10.10/BerkeleyDB-21/db/qam/
H A Dqam_files.c717 char buf[DB_MAXPATHLEN], nbuf[DB_MAXPATHLEN], sepsave; local
832 snprintf(nbuf, sizeof(nbuf), QUEUE_EXTENT,
836 txn, buf, nbuf, fid, DB_APP_DATA, 1,
/macosx-10.10/bind9-45.101/bind9/lib/irs/
H A Dgetaddrinfo.c367 char nbuf[NI_MAXHOST]; local
456 nbuf, sizeof(nbuf), NULL, 0,
458 ai->ai_canonname = strdup(nbuf);
/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/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/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/tcpdump-61/tcpdump/
H A Dsmbutil.c693 char nbuf[255]; local
700 maxbuf, nbuf);
707 printf("%-15.15s NameType=0x%02X (%s)", nbuf, name_type,

Completed in 340 milliseconds

123