Searched refs:tbuf (Results 1 - 25 of 175) sorted by relevance

1234567

/netbsd-6-1-5-RELEASE/libexec/talkd/
H A Dprint.c75 char tbuf[80]; local
79 (void)snprintf(tbuf, sizeof tbuf, "type %d", mp->type);
80 tp = tbuf;
91 char tbuf[80], abuf[80]; local
95 (void)snprintf(tbuf, sizeof tbuf, "type %d", rp->type);
96 tp = tbuf;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/bfin/
H A Dinterp.c159 char _tbuf[512], *tbuf = _tbuf; local
195 tbuf += sprintf (tbuf, "exit(%i)", args[0]);
200 tbuf += sprintf (tbuf, "argc()");
205 tbuf += sprintf (tbuf, "argnlen(%u)", args[0]);
214 tbuf += sprintf (tbuf, "argn(%u)", args[0]);
236 tbuf
[all...]
/netbsd-6-1-5-RELEASE/sys/ddb/
H A Ddb_print.c65 char tbuf[24]; local
67 db_format_radix(tbuf, 24, offset, true);
68 db_printf("+%s", tbuf);
H A Ddb_examine.c78 char tbuf[24]; local
114 db_format_radix(tbuf, 24, value, false);
115 db_printf("%-*s", width, tbuf);
161 db_format_hex(tbuf, 24, value, false);
162 db_printf("%-*s", width, tbuf);
236 char tbuf[24]; local
238 db_format_radix(tbuf, 24, addr, false);
239 db_printf("%11s", tbuf);
247 char tbuf[24]; local
249 db_format_hex(tbuf, 2
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/vgrind/
H A Dvgrindefs.c52 * BUG: Should use a "last" pointer in tbuf, so that searching
63 static char *tbuf; variable
88 tbuf = bp;
144 char *holdtbuf = tbuf;
147 p = tbuf + strlen(tbuf) - 2; /* before the last colon */
149 if (p<tbuf) {
173 q[BUFSIZ - (p - tbuf)] = 0;
176 tbuf = holdtbuf;
192 Bp = tbuf;
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dmpt_debug.c183 static char tbuf[64]; local
189 snprintf(tbuf, sizeof tbuf, "Unknown (0x%08x)", code);
190 return tbuf;
197 static char tbuf[128]; local
198 char *ptr = tbuf;
199 char *end = &tbuf[128];
200 tbuf[0] = '\0';
201 ptr += snprintf(tbuf, sizeof tbuf, "(
215 static char tbuf[64]; local
228 static char tbuf[64]; local
241 static char tbuf[128]; local
258 static char tbuf[64]; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dlogger.h41 time_t *tbuf; member in struct:log
/netbsd-6-1-5-RELEASE/sbin/dkscan_bsdlabel/
H A Ddkscan_util.h38 void *tbuf, size_t len);
H A Ddkscan_util.c71 void *tbuf, size_t len)
73 if (pread(disk_fd, tbuf, len, blkno * BLOCK_SIZE) < 0)
70 dkwedge_read(struct disk *pdk, struct vnode *vp, daddr_t blkno, void *tbuf, size_t len) argument
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/oqmgr/
H A Dqmgr_move.c65 struct utimbuf tbuf; local
77 tbuf.actime = tbuf.modtime = time_stamp;
79 if (utime(path, &tbuf) < 0) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/qmgr/
H A Dqmgr_move.c65 struct utimbuf tbuf; local
77 tbuf.actime = tbuf.modtime = time_stamp;
79 if (utime(path, &tbuf) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_arbiter.c245 char tbuf[BMAX]; /* temp buffer */ local
253 temp = refclock_gtlin(rbufp, tbuf, BMAX, &trtmp);
288 if (!strncmp(tbuf, "TQ", 2)) {
289 up->qualchar = tbuf[2];
293 } else if (!strncmp(tbuf, "SR", 2)) {
294 strcpy(up->status, tbuf + 2);
301 } else if (!strncmp(tbuf, "LA", 2)) {
302 strcpy(up->latlon, tbuf + 2);
306 } else if (!strncmp(tbuf, "LO", 2)) {
308 strcat(up->latlon, tbuf
[all...]
H A Dntp_loopfilter.c187 char buf[256], tbuf[1024]; local
193 snprintf(tbuf, sizeof(tbuf), "%s status=%s", what, buf);
194 report_event(EVNT_KERN, NULL, tbuf);
233 char tbuf[80]; /* report buffer */ local
261 snprintf(tbuf, sizeof(tbuf),
264 report_event(EVNT_SYSFAULT, NULL, tbuf);
348 snprintf(tbuf, sizeof(tbuf), "
813 char tbuf[80]; local
[all...]
H A Drefclock_atom.c190 char tbuf[80]; local
204 snprintf(tbuf, sizeof(tbuf), "%.9f",
206 record_clock_stats(&peer->srcadr, tbuf);
/netbsd-6-1-5-RELEASE/usr.bin/finger/
H A Dlprint.c151 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s, %s",
153 oddfield = demi_print(tbuf, oddfield);
156 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s",
158 oddfield = demi_print(tbuf, oddfield);
161 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s",
163 oddfield = demi_print(tbuf, oddfield);
167 (void)snprintf(tbuf, sizeo
[all...]
H A Dextern.h35 extern char tbuf[1024]; /* Temp buffer for anybody. */
H A Dutil.c113 (void)strlcpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf));
358 (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", _PATH_DEV, w->tty);
359 if (stat(tbuf, &sb) < 0) {
360 warn("%s", tbuf);
383 (void)strlcpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf));
396 (void)snprintf(tbuf, sizeof(tbuf), "
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/rtadvd/
H A Dadvcap.c72 * BUG: Should use a "last" pointer in tbuf, so that searching
83 static char *tbuf; variable
122 tbuf = bp;
189 char *holdtbuf = tbuf;
192 p = tbuf + strlen(tbuf) - 2; /* before the last colon */
194 if (p < tbuf) {
222 tbuf = holdtbuf;
237 Bp = tbuf;
307 char *bp = tbuf;
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/cut/
H A Dcut.c226 char *lbuf, *tbuf; local
228 for (sep = dchar, tbuf = NULL; (lbuf = fgetln(fp, &len)) != NULL;) {
232 if ((tbuf = (char *)malloc(len + 1)) == NULL)
234 (void)memcpy(tbuf, lbuf, len);
235 tbuf[len++] = '\n';
236 lbuf = tbuf;
276 if (tbuf) {
277 free(tbuf);
278 tbuf = NULL;
281 if (tbuf)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/tui/
H A Dtui.c492 struct tchars tbuf;
510 ioctl (FILEDES, TIOCGETC, &tbuf);
511 tbuf.t_intrc = CHK (tbuf.t_intrc, CTRL ('?'));
512 tbuf.t_quitc = CHK (tbuf.t_quitc, CTRL ('\\'));
513 tbuf.t_startc = CHK (tbuf.t_startc, CTRL ('Q'));
514 tbuf.t_stopc = CHK (tbuf
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/
H A Dvis.c167 char tbuf[5]; local
187 i = vis(tbuf, c, flag, *++src) - tbuf;
189 memcpy(dst, tbuf, i);
202 dst += vis(tbuf, c, flag, *++src) - tbuf;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dcharset.c734 struct _cpp_strbuf tbuf; local
753 tbuf.asize = 1;
754 tbuf.text = XNEWVEC (uchar, tbuf.asize);
755 tbuf.len = 0;
757 if (!APPLY_CONVERSION (pfile->narrow_cset_desc, sbuf, 1, &tbuf))
762 if (tbuf.len != 1)
769 c = tbuf.text[0];
770 free(tbuf.text);
1038 struct _cpp_strbuf *tbuf, boo
1036 convert_ucn(cpp_reader *pfile, const uchar *from, const uchar *limit, struct _cpp_strbuf *tbuf, bool wide) argument
1071 emit_numeric_escape(cpp_reader *pfile, cppchar_t n, struct _cpp_strbuf *tbuf, bool wide) argument
1121 convert_hex(cpp_reader *pfile, const uchar *from, const uchar *limit, struct _cpp_strbuf *tbuf, bool wide) argument
1172 convert_oct(cpp_reader *pfile, const uchar *from, const uchar *limit, struct _cpp_strbuf *tbuf, bool wide) argument
1209 convert_escape(cpp_reader *pfile, const uchar *from, const uchar *limit, struct _cpp_strbuf *tbuf, bool wide) argument
1308 struct _cpp_strbuf tbuf; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libterminfo/
H A Dcompile.c68 _ti_grow_tbuf(TBUF *tbuf, size_t len) argument
73 _DIAGASSERT(tbuf != NULL);
75 l = tbuf->bufpos + len;
76 if (l > tbuf->buflen) {
77 if (tbuf->buflen == 0)
80 buf = realloc(tbuf->buf, l);
83 tbuf->buf = buf;
84 tbuf->buflen = l;
86 return tbuf->buf;
90 _ti_find_cap(TBUF *tbuf, cha argument
124 _ti_find_extra(TBUF *tbuf, const char *code) argument
313 encode_string(const char *term, const char *cap, TBUF *tbuf, const char *str, int flags) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsftp-common.c196 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; local
214 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime);
216 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime);
219 tbuf[0] = '\0';
226 sbuf, tbuf, name);
230 (unsigned long long)st->st_size, tbuf, name);
/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/libsa/
H A Dnetif_sun.c72 char *tbuf; member in struct:devdata
134 if (dd->tbuf == NULL) {
136 dd->tbuf = dvma_alloc(dd->tbuf_len);
139 (dd->tbuf == NULL))
144 printf("netif_init: rbuf=0x%x, tbuf=0x%x\n",
145 dd->rbuf, dd->tbuf);
174 if (dd->tbuf) {
175 dvma_free(dd->tbuf, dd->tbuf_len);
176 dd->tbuf = NULL;
315 memcpy(dd->tbuf, pk
[all...]

Completed in 238 milliseconds

1234567