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

123456

/macosx-10.9.5/bash-92/bash-3.2/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);
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dexp_strf.c169 char tbuf[100]; local
194 tbuf[0] = '\0';
230 strcpy(tbuf, "?");
232 strcpy(tbuf, days_a[timeptr->tm_wday]);
237 strcpy(tbuf, "?");
239 strcpy(tbuf, days_l[timeptr->tm_wday]);
247 strcpy(tbuf, "?");
249 strcpy(tbuf, months_a[timeptr->tm_mon]);
254 strcpy(tbuf, "?");
256 strcpy(tbuf, months_
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/talkd.tproj/
H A Dprint.c67 char tbuf[80]; local
70 (void)snprintf(tbuf, sizeof(tbuf), "type %d", mp->type);
71 tp = tbuf;
82 char tbuf[80], abuf[80]; local
85 (void)snprintf(tbuf, sizeof(tbuf), "type %d", rp->type);
86 tp = tbuf;
/macosx-10.9.5/bash-92/bash-3.2/examples/loadables/
H A Dstrftime.c24 char *format, *tbuf; local
66 tbuf = 0;
73 tbuf = xrealloc (tbuf, tbsize * n);
74 tsize = strftime (tbuf, tbsize * n, format, t);
79 printf ("%s\n", tbuf);
80 free (tbuf);
/macosx-10.9.5/bless-98/libbless/Misc/
H A DBLElToritoFindUEFI.c179 char tbuf [2500]; local
193 bzero (tbuf, 2048);
194 tbuf[0] = 0x01;
195 strcpy (&(tbuf[1]), "CD001");
196 tbuf[80]=0x33; tbuf[81]=0x22; tbuf[82]=0x11; tbuf[83]=0x00;
197 pwrite (fd, tbuf, 2048, 2048*16);
200 bzero (tbuf, 204
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/os_windows/
H A Dos_getenv.c29 _TCHAR *tname, tbuf[1024];
53 * The declared size of the tbuf buffer limits the maximum environment
56 * malloc the tbuf memory.
58 ret = GetEnvironmentVariable(tname, tbuf, sizeof(tbuf));
79 if (ret > (int)sizeof(tbuf))
82 FROM_TSTRING(env, tbuf, p, ret);
/macosx-10.9.5/system_cmds-597.90.1/sc_usage.tproj/
H A Dsc_usage.c520 char tbuf[256]; local
524 sprintf(tbuf, "%-23.23s %8d(%d)", se->name, se->total_count, se->delta_count);
526 sprintf(tbuf, "%-23.23s %8d", se->name, se->total_count);
527 clen = strlen(tbuf);
529 memset(&tbuf[clen], ' ', 45 - clen);
531 print_time(&tbuf[45], (unsigned long)(se->stime_usecs), se->stime_secs);
532 clen = strlen(tbuf);
535 sprintf(&tbuf[clen], " ");
536 clen += strlen(&tbuf[clen]);
538 print_time(&tbuf[cle
573 char tbuf[256]; local
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/sc_usage.tproj/
H A Dsc_usage.c520 char tbuf[256]; local
524 sprintf(tbuf, "%-23.23s %8d(%d)", se->name, se->total_count, se->delta_count);
526 sprintf(tbuf, "%-23.23s %8d", se->name, se->total_count);
527 clen = strlen(tbuf);
529 memset(&tbuf[clen], ' ', 45 - clen);
531 print_time(&tbuf[45], (unsigned long)(se->stime_usecs), se->stime_secs);
532 clen = strlen(tbuf);
535 sprintf(&tbuf[clen], " ");
536 clen += strlen(&tbuf[clen]);
538 print_time(&tbuf[cle
573 char tbuf[256]; local
[all...]
/macosx-10.9.5/SmartcardCCID-55005/libusb/libusb/
H A Dusb.c232 char tbuf[255]; /* Some devices choke on size > 255 */ local
242 ret = usb_get_string(dev, 0, 0, tbuf, sizeof(tbuf));
249 langid = tbuf[2] | (tbuf[3] << 8);
251 ret = usb_get_string(dev, index, langid, tbuf, sizeof(tbuf));
255 if (tbuf[1] != USB_DT_STRING)
258 if (tbuf[0] > ret)
261 for (di = 0, si = 2; si < tbuf[
[all...]
/macosx-10.9.5/vim-53/src/proto/
H A Dtermlib.pro2 int tgetent __ARGS((char *tbuf, char *term));
/macosx-10.9.5/vim-53/src/
H A Dtermlib.c38 * Purpose: Get termcap entry for <term> into buffer at <tbuf>.
40 * Calling conventions: char tbuf[TBUFSZ+], term=canonical name for terminal.
69 tgetent(tbuf, term)
70 char *tbuf; /* Buffer to hold termcap entry, TBUFSZ bytes max */
107 strcpy(tbuf, tmp);
108 tent = tbuf;
118 strcpy(tbuf, tcap);
123 while (getent(tbuf + len, term, termcap, TBUFSZ - len))
129 len = strlen(tbuf);
134 tent = tbuf; /* rese
[all...]
/macosx-10.9.5/postfix-252/postfix/src/oqmgr/
H A Dqmgr_move.c63 struct utimbuf tbuf; local
75 tbuf.actime = tbuf.modtime = time_stamp;
77 if (utime(path, &tbuf) < 0) {
/macosx-10.9.5/postfix-252/postfix/src/qmgr/
H A Dqmgr_move.c63 struct utimbuf tbuf; local
75 tbuf.actime = tbuf.modtime = time_stamp;
77 if (utime(path, &tbuf) < 0) {
/macosx-10.9.5/ntp-88/ntpd/
H A Drefclock_arbiter.c218 char tbuf[BMAX]; /* temp buffer */ local
226 temp = refclock_gtlin(rbufp, tbuf, BMAX, &trtmp);
261 if (!strncmp(tbuf, "TQ", 2)) {
262 up->qualchar = tbuf[2];
266 } else if (!strncmp(tbuf, "SR", 2)) {
267 strcpy(up->status, tbuf + 2);
274 } else if (!strncmp(tbuf, "LA", 2)) {
275 strcpy(up->latlon, tbuf + 2);
279 } else if (!strncmp(tbuf, "LO", 2)) {
281 strcat(up->latlon, tbuf
[all...]
H A Dntp_loopfilter.c215 char tbuf[80]; /* report buffer */ local
243 snprintf(tbuf, sizeof(tbuf),
246 report_event(EVNT_SYSFAULT, NULL, tbuf);
330 snprintf(tbuf, sizeof(tbuf), "%+.6f s",
332 report_event(EVNT_SPIK, NULL, tbuf);
393 snprintf(tbuf, sizeof(tbuf), "%+.6f s",
395 report_event(EVNT_CLOCKRESET, NULL, tbuf);
808 char tbuf[80]; local
[all...]
/macosx-10.9.5/adv_cmds-153/finger/
H A Dlprint.c139 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s, %s",
141 oddfield = demi_print(tbuf, oddfield);
144 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s",
146 oddfield = demi_print(tbuf, oddfield);
149 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s",
151 oddfield = demi_print(tbuf, oddfield);
155 (void)snprintf(tbuf, sizeo
[all...]
H A Dextern.h40 extern char tbuf[1024]; /* Temp buffer for anybody. */
H A Dutil.c81 (void)strncpy(p = tbuf, pw->pw_gecos, sizeof(tbuf));
82 tbuf[sizeof(tbuf) - 1] = '\0';
309 (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", _PATH_DEV, w->tty);
311 error = stat(tbuf, &sb);
322 warn("%s", tbuf);
355 (void)strncpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf));
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dcstring.c157 char tbuf[30]; local
158 int32_t tbx = sizeof(tbuf);
171 tbx = sizeof(tbuf)-1;
172 tbuf[tbx] = 0; /* We are generating the digits backwards. Null term the end. */
175 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
180 uprv_strcpy(buffer+length, tbuf+tbx);
181 length += sizeof(tbuf) - tbx -1;
195 char tbuf[30]; local
196 int32_t tbx = sizeof(tbuf);
209 tbx = sizeof(tbuf)
[all...]
/macosx-10.9.5/network_cmds-433/rtadvd.tproj/
H A Dadvcap.c103 * BUG: Should use a "last" pointer in tbuf, so that searching
114 static char *tbuf; variable
155 tbuf = bp;
223 char *holdtbuf = tbuf;
226 p = tbuf + strlen(tbuf) - 2; /* before the last colon */
228 if (p < tbuf) {
257 strlcpy(p, q, p-tbuf);
258 tbuf = holdtbuf;
274 Bp = tbuf;
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dvis.c169 char tbuf[5]; local
189 i = vis(tbuf, c, flag, *++src) - tbuf;
191 memcpy(dst, tbuf, i);
204 dst += vis(tbuf, c, flag, *++src) - tbuf;
/macosx-10.9.5/CPANInternal-140/IO-KQueue/
H A DKQueue.xs77 struct timespec *tbuf = (struct timespec *)0;
90 tbuf = &t;
94 num_events = kevent(kq, NULL, 0, ke, max_events, tbuf);
123 struct timespec *tbuf = (struct timespec *)0;
130 tbuf = &t;
134 RETVAL = kevent(kq, NULL, 0, ke2, 1000, tbuf);
/macosx-10.9.5/CPANInternal-140/IO-KQueue-0.34/
H A DKQueue.xs77 struct timespec *tbuf = (struct timespec *)0;
90 tbuf = &t;
94 num_events = kevent(kq, NULL, 0, ke, max_events, tbuf);
123 struct timespec *tbuf = (struct timespec *)0;
130 tbuf = &t;
134 RETVAL = kevent(kq, NULL, 0, ke2, 1000, tbuf);
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dsftp-common.c195 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; local
213 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime);
215 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime);
218 tbuf[0] = '\0';
225 sbuf, tbuf, name);
229 (unsigned long long)st->st_size, tbuf, name);

Completed in 394 milliseconds

123456