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

12345

/macosx-10.10/bash-94.1.2/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.10/tcl-105/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.10/remote_cmds-47/talkd.tproj/
H A Dprint.c68 char tbuf[80]; local
71 (void)snprintf(tbuf, sizeof(tbuf), "type %d", mp->type);
72 tp = tbuf;
83 char tbuf[80], abuf[80]; local
86 (void)snprintf(tbuf, sizeof(tbuf), "type %d", rp->type);
87 tp = tbuf;
/macosx-10.10/bash-94.1.2/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.10/bless-103/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.10/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.10/system_cmds-643.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.10/vim-55/src/proto/
H A Dtermlib.pro2 int tgetent __ARGS((char *tbuf, char *term));
/macosx-10.10/vim-55/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.10/postfix-255/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.10/postfix-255/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.10/ntp-92/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.c217 char tbuf[80]; /* report buffer */ local
245 snprintf(tbuf, sizeof(tbuf),
248 report_event(EVNT_SYSFAULT, NULL, tbuf);
332 snprintf(tbuf, sizeof(tbuf), "%+.6f s",
334 report_event(EVNT_SPIK, NULL, tbuf);
395 snprintf(tbuf, sizeof(tbuf), "%+.6f s",
397 report_event(EVNT_CLOCKRESET, NULL, tbuf);
809 char tbuf[80]; local
[all...]
/macosx-10.10/adv_cmds-158/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.10/ICU-531.30/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.10/network_cmds-457/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.10/OpenSSH-189/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.10/CPANInternal-159.1/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.10/OpenSSH-189/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);
/macosx-10.10/Libc-1044.1.2/gen/
H A Doldsyslog.c132 char *stdp, tbuf[TBUF_LEN], fmt_cpy[FMT_LEN]; local
165 p = tbuf;
229 cnt = p - tbuf;
236 iov[0].iov_len = cnt - (stdp - tbuf);
245 if (send(_sl_LogFile, tbuf, cnt, 0) >= 0)
257 p = strchr(tbuf, '>') + 1;
259 iov[0].iov_len = cnt - (p - tbuf);
/macosx-10.10/zsh-61/zsh/Src/Builtins/
H A Dsched.c208 char tbuf[60], *flagstr, *endstr; local
214 ztrftime(tbuf, 40, "%a %b %e %k:%M:%S", tmp);
223 printf("%3d %s %s%s%s\n", sn, tbuf, flagstr, endstr, sch->cmd);
351 char tbuf[40], *flagstr; local
355 sprintf(tbuf, "%ld", t);
360 *aptr = (char *)zhalloc(5 + strlen(tbuf) + strlen(sch->cmd));
361 sprintf(*aptr, "%s:%s:%s", tbuf, flagstr, sch->cmd);
/macosx-10.10/lsof-53/lsof/lib/
H A Dprfp.c66 char tbuf[32]; local
201 print_kptr(fp, tbuf, sizeof(tbuf)), (int)f.f_type,

Completed in 347 milliseconds

12345