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

/haiku-fatelf/src/bin/bash/lib/sh/
H A Dstrftime.c142 auto char tbuf[100]; local
228 tbuf[0] = '\0';
245 strcpy(tbuf, "?");
247 strcpy(tbuf, days_a[timeptr->tm_wday]);
252 strcpy(tbuf, "?");
254 strcpy(tbuf, days_l[timeptr->tm_wday]);
260 strcpy(tbuf, "?");
262 strcpy(tbuf, months_a[timeptr->tm_mon]);
267 strcpy(tbuf, "?");
269 strcpy(tbuf, months_
[all...]
H A Dpathphys.c79 char tbuf[PATH_MAX+1], linkbuf[PATH_MAX+1]; local
208 strcpy (tbuf, linkbuf);
209 tbuf[linklen] = '/';
210 strcpy (tbuf + linklen, p);
211 strcpy (workpath, tbuf);
/haiku-fatelf/src/tests/system/libroot/posix/
H A Dtest_time.c29 struct tm tbuf; local
51 tbuf.tm_year = 72;
52 tbuf.tm_mon = 0;
53 tbuf.tm_mday = 31;
54 tbuf.tm_hour = 6;
55 tbuf.tm_min = 14;
56 tbuf.tm_sec = 50;
57 tbuf.tm_isdst = -1;
59 t = mktime(&tbuf);
78 if (tbuf
[all...]
/haiku-fatelf/src/bin/gdb/gdb/tui/
H A Dtui.c489 struct tchars tbuf;
507 ioctl (FILEDES, TIOCGETC, &tbuf);
508 tbuf.t_intrc = CHK (tbuf.t_intrc, CTRL ('?'));
509 tbuf.t_quitc = CHK (tbuf.t_quitc, CTRL ('\\'));
510 tbuf.t_startc = CHK (tbuf.t_startc, CTRL ('Q'));
511 tbuf.t_stopc = CHK (tbuf
[all...]
/haiku-fatelf/src/libs/util/
H A Duucplock.c155 char tbuf[sizeof(_PATH_UUCPLOCK) + MAXNAMLEN]; local
157 (void)snprintf(tbuf, sizeof(tbuf), _PATH_UUCPLOCK LOCKFMT, tty_name);
158 return unlink(tbuf);
/haiku-fatelf/src/bin/gdb/bfd/
H A Dvms-hdr.c215 static unsigned char tbuf[18]; local
228 sprintf (tbuf, "%2s-%3s-%s %s", pnt + 8, pnt + 4, pnt + 20, pnt + 11);
237 Descriptor.Ptr = tbuf;
242 vms_debug (6, "vmstimestring:'%s'\n", tbuf);
245 return tbuf;
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_luv.c165 tidata_t* tbuf; /* translation buffer */ member in struct:logLuvState
205 tp = (int16*) sp->tbuf;
260 tp = (uint32 *) sp->tbuf;
305 tp = (uint32*) sp->tbuf;
393 tp = (int16*) sp->tbuf;
483 tp = (uint32*) sp->tbuf;
533 tp = (uint32*) sp->tbuf;
701 int16* l16 = (int16*) sp->tbuf;
711 int16* l16 = (int16*) sp->tbuf;
724 int16* l16 = (int16*) sp->tbuf;
[all...]
/haiku-fatelf/src/bin/
H A Dtput.c68 char *cptr, *p, *term, buf[1024], tbuf[1024]; local
85 if (tgetent(tbuf, term) != 1)
100 prlongname(tbuf);
/haiku-fatelf/src/libs/mapm/
H A Dmapmutl2.c248 char *p, tbuf[64]; local
271 tbuf[i++] = (char)(j + '0');
280 *p++ = tbuf[--i];
/haiku-fatelf/src/libs/ncurses/tack/
H A Dcontrol.c528 char tbuf[32]; local
544 sprintf(tbuf, "%011lu", usec_run_time);
546 usec_run_time / 1000000UL, &tbuf[5], tx_cps, tx_characters);
550 sprintf(tbuf, "(%s)", strnames[j]);
552 strcpy(tbuf, "(?)");
556 tbuf, expand(tx_cap[i]));
H A Dpad.c195 char tbuf[128]; local
198 sprintf(tbuf, "(%s) %s, start testing", t->caps_done,
200 if (skip_pad_test(t, state, ch, tbuf)) {
/haiku-fatelf/src/libs/tiff/
H A Dtif_luv.c165 tidata_t* tbuf; /* translation buffer */ member in struct:logLuvState
202 tp = (int16*) sp->tbuf;
257 tp = (uint32 *) sp->tbuf;
302 tp = (uint32*) sp->tbuf;
389 tp = (int16*) sp->tbuf;
475 tp = (uint32*) sp->tbuf;
523 tp = (uint32*) sp->tbuf;
681 int16* l16 = (int16*) sp->tbuf;
691 int16* l16 = (int16*) sp->tbuf;
703 int16* l16 = (int16*) sp->tbuf;
[all...]
H A Dtif_pixarlog.c457 uint16 *tbuf; member in struct:__anon5216
666 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size);
667 if (sp->tbuf == NULL)
735 sp->stream.next_out = (unsigned char *) sp->tbuf;
765 up = sp->tbuf;
843 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size);
844 if (sp->tbuf == NULL)
1077 for (i = 0, up = sp->tbuf; i < n; i += llen, up += llen) {
1102 sp->stream.next_in = (unsigned char *) sp->tbuf;
1196 if (sp->tbuf)
[all...]
/haiku-fatelf/src/kits/network/libbind/irs/
H A Ddns_ho.c710 char tbuf[MAXDNAME+1]; local
820 n = dn_expand(ansbuf, eor, cp, tbuf, sizeof tbuf);
821 if (n < 0 || !maybe_ok(pvt->res, tbuf, name_ok)) {
833 n = strlen(tbuf) + 1; /*%< for the \\0 */
838 strcpy(bp, tbuf); /* (checked) */
845 n = dn_expand(ansbuf, eor, cp, tbuf, sizeof tbuf);
846 if (n < 0 || !maybe_dnok(pvt->res, tbuf)) {
865 n = strlen(tbuf)
[all...]
/haiku-fatelf/src/bin/less/
H A Doutput.c366 char tbuf[INT_STRLEN_BOUND(num)+2]; \
367 register char *s = tbuf + sizeof(tbuf); \
H A Dcommand.c897 char tbuf[2]; local
1003 tbuf[0] = c;
1004 tbuf[1] = '\0';
1005 cbuf = tbuf;
H A Dscreen.c886 static char tbuf[40]; local
907 char *sp = tbuf;
947 tbuf[0] = '\177';
948 tbuf[1] = '\0';
949 s = tbuf;
1035 tbuf[0] = '\177';
1036 tbuf[1] = '\0';
1037 s = tbuf;
1042 tbuf[0] = CONTROL('K');
1043 tbuf[
[all...]
/haiku-fatelf/src/libs/libtelnet/
H A Dauth.c607 unsigned char tbuf[16]; local
615 sprintf((char *)tbuf, " %d", *data);
616 for (cp = tbuf; *cp && buflen > 0; --buflen)
H A Dencrypt.c922 char tbuf[16], *cp; local
930 sprintf(tbuf, " %d", *data);
931 for (cp = tbuf; *cp && buflen > 0; --buflen)
/haiku-fatelf/src/bin/network/telnet/
H A Dutilities.c632 char tbuf[64];
633 sprintf(tbuf, "%s%s%s%s%s",
639 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0");
631 char tbuf[64]; local
H A Dcommands.c2620 command(int top, const char *tbuf, int cnt)
2634 if (tbuf) {
2637 while (cnt > 0 && (*cp++ = *tbuf++) != '\n')
2639 tbuf = 0;
2612 command(int top, const char *tbuf, int cnt) argument
/haiku-fatelf/src/bin/network/telnetd/
H A Dutility.c719 char tbuf[32]; local
720 sprintf(tbuf, "%s%s%s%s%s",
726 output_data("%s", tbuf[1] ? &tbuf[1] : "0");
/haiku-fatelf/src/bin/gawk/
H A Dio.c1439 char tbuf[BUFSIZ]; local
1446 sprintf(tbuf, "%d\n", (int) getpgrp(getpgrp_arg()));
1448 sprintf(tbuf, "%d\n", (int) getpid());
1450 sprintf(tbuf, "%d\n", (int) getppid());
1451 i = strlen(tbuf);
1453 strcpy(iop->buf, tbuf);
1472 char tbuf[BUFSIZ], *cp; local
1477 sprintf(tbuf, "%d %d %d %d", (int) getuid(), (int) geteuid(), (int) getgid(), (int) getegid());
1479 cp = tbuf + strlen(tbuf);
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dread_termcap.c703 static char *tbuf; variable
793 tbuf = bp;
/haiku-fatelf/src/bin/bash/
H A Dvariables.c4563 char *t, tbuf[INT_STRLEN_BOUND(int) + 1]; local
4576 t = inttostr (ps[i], tbuf, sizeof (tbuf));
4602 t = inttostr (ps[i], tbuf, sizeof (tbuf));
4612 t = inttostr (ps[i], tbuf, sizeof (tbuf));

Completed in 338 milliseconds