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

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c109 __posix_asctime_r(const struct tm *t, char *cbuf) argument
119 cp = cbuf;
123 cp = cbuf;
145 return (cbuf);
153 asctime_r(const struct tm *t, char *cbuf, int buflen) argument
159 return (__posix_asctime_r(t, cbuf));
165 char *cbuf = tsdalloc(_T_CTIME, CBUFSIZ, NULL); local
168 if (cbuf == NULL)
173 return (__posix_asctime_r(p, cbuf));
179 char *cbuf local
[all...]
H A Dgetopt.c62 char cbuf[2]; \
63 cbuf[0] = c; \
64 cbuf[1] = '\0'; \
66 (i ? argv[i]+2 : cbuf)); \
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz22.c36 char cbuf[40]; local
48 (void) strcpy(cbuf, "\02.\r");
49 cbuf[1] = *mod;
50 if (cmd(cbuf)) {
54 (void) strcpy(cbuf, "\02D");
55 (void) strlcat(cbuf, num, sizeof (cbuf));
56 (void) strlcat(cbuf, "\r", sizeof (cbuf));
57 (void) write(FD, cbuf, strle
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_console.c75 char cbuf; local
78 cbuf = '\r';
79 OF_write(stdout, &cbuf, 1);
82 cbuf = c;
83 OF_write(stdout, &cbuf, 1);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dasctime.c19 static char cbuf[26]; variable
29 cp = cbuf;
32 cp = cbuf;
49 return (cbuf);
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DStderrLog.java57 public void write(char[] cbuf, int off, int len) throws IOException { argument
58 buf.append(cbuf, off, len);
H A DSyslog.java67 public void write(char[] cbuf, int off, int len) throws IOException { argument
68 buf.append(cbuf, off, len);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt_zap.c61 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
71 ASSERT(csize <= sizeof (cbuf));
74 DDT_KEY_WORDS, 1, csize, cbuf);
78 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys));
93 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
96 csize = ddt_compress(dde->dde_phys, cbuf,
97 sizeof (dde->dde_phys), sizeof (cbuf));
100 DDT_KEY_WORDS, 1, csize, cbuf, tx));
119 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
123 DDT_KEY_WORDS, 1, csize, cbuf);
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.lx.l53 #define CADD { cbuf[clen++]=yytext[0]; if (clen>=CBUFLEN-1) { yyerror(\
54 "string too long", cbuf); BEGIN A; } }
56 wchar_t cbuf[CBUFLEN];
188 <str>\" { wchar_t *s; BEGIN A; cbuf[clen]=0; s = tostring(cbuf);
189 cbuf[clen] = ' '; cbuf[++clen] = 0;
190 yylval = (int)setsymtab(cbuf, s, 0.0, CON|STR, symtab);
193 <str>"\\\"" { cbuf[clen++]='"'; }
194 <str>"\\"n { cbuf[cle
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Dmkey3.c25 static char cbuf[COMNUM*9]; variable
51 cbp = cbuf;
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c157 __posix_asctime_r(const struct tm *t, char *cbuf) argument
169 cp = cbuf;
173 cp = cbuf;
197 return (cbuf);
205 asctime_r(const struct tm *t, char *cbuf, int buflen) argument
211 return (__posix_asctime_r(t, cbuf));
224 static char cbuf[CBUFSIZ]; local
226 return (asctime_r(t, cbuf, CBUFSIZ));
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwinnwstr.c52 char cbuf[CSMAX+1]; local
66 cp = (wchar_t *)cbuf;
77 if (_curs_mbtowc(&wc, cbuf, CSMAX) <= 0)
H A Dwinwstr.c48 char *cp, cbuf[CSMAX+1]; local
58 cp = cbuf;
71 if (_curs_mbtowc(&wc, cbuf, CSMAX) <= 0)
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_syslog.c37 char cbuf[CBUFSIZ]; local
49 /* NB: cbuf has \n */
51 ctime_r(&ts, cbuf, sizeof (cbuf)));
/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c397 char *cbuf; local
435 cbuf = MALLOC(cbsize);
437 if (snprintf(cbuf, cbsize, snf, *arg) < 0)
440 while ((cbuf[ndigits] != NULL) &&
446 cbuf[cw] = 0;
452 *arg = strtol(cbuf,
455 free(cbuf);
466 cbuf = MALLOC(cbsize);
471 if (snprintf(cbuf, cbsize, "%p", *llarg) < 0)
477 if (snprintf(cbuf, cbsiz
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c543 char cbuf[CBUFSIZ]; /* char buffer for number */ local
553 width = sizeof cbuf;
579 s = cbuf;
580 while (w < width && w < sizeof cbuf) {
604 ret = strtol(cbuf, (char **)0, 10);
609 s = cbuf;
610 while (w < width && w < sizeof cbuf) {
632 ret = strtol(cbuf, (char **)0, 8);
637 s = cbuf;
638 while (w < width && w < sizeof cbuf) {
692 char cbuf[CBUFSIZ]; local
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Dawk.lx.l73 #define CADD cbuf[clen++] = yytext[0]; \
75 ERROR "string/reg expr %.10s... too long", cbuf SYNTAX; \
79 static uchar cbuf[CBUFLEN];
218 <reg>\\. { cbuf[clen++] = '\\'; cbuf[clen++] = yytext[1]; }
219 <reg>\n { ERROR "newline in regular expression %.10s...", cbuf SYNTAX; lineno++; BEGIN A; }
221 cbuf[clen] = 0;
222 yylval.s = tostring(cbuf);
228 cbuf[clen] = 0; s = tostring(cbuf);
[all...]
H A Dtran.c458 uchar *cbuf, *ret; local
462 init_buf(&cbuf, &cbufsz, LINE_INCR);
466 ERROR "newline in string %.10s...", cbuf SYNTAX;
468 expand_buf(&cbuf, &cbufsz, cnt);
469 cbuf[cnt++] = c;
471 expand_buf(&cbuf, &cbufsz, cnt);
473 case '\\': cbuf[cnt++] = '\\'; break;
474 case 'n': cbuf[cnt++] = '\n'; break;
475 case 't': cbuf[cnt++] = '\t'; break;
476 case 'b': cbuf[cn
[all...]
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c77 struct sigaction cbuf, dfl; local
85 (void) sigaction(SIGCHLD, &dfl, &cbuf);
96 (void) sigaction(SIGCHLD, &cbuf, NULL);
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrace.c178 char cbuf[CTLSIZE]; local
182 struct log_ctl *lp = (struct log_ctl *)cbuf;
189 ctl.buf = cbuf;
231 lp = (struct log_ctl *)cbuf;
H A Dstrerr.c103 char cbuf[CTLSIZE]; local
116 ctl.buf = cbuf;
150 lp = (struct log_ctl *)cbuf;
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c172 static char cbuf[CBUFSIZ]; local
174 cp = cbuf;
177 cp = cbuf;
204 return (cbuf);
/illumos-gate/usr/src/uts/common/syscall/
H A Dsysfs.c114 sysfstyp(int index, char *cbuf) argument
133 if (copyout(osrc, cbuf, src - osrc))
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid.c624 md_raidcbuf_t *cbuf; local
649 for (cbuf = cs->cs_buflist; cbuf; cbuf = cbuf->cbuf_next) {
650 if (cbuf->cbuf_pwslot == -1)
652 col = &un->un_column_ic[cbuf->cbuf_column];
654 sb = &pw->pw_sb[cbuf->cbuf_pwslot];
673 md_raidcbuf_t *cbuf; local
681 cbuf
817 md_raidcbuf_t *cbuf; local
1249 md_raidcbuf_t *cbuf, *cbuf1; local
1679 md_raidcbuf_t *cbuf; local
1700 md_raidcbuf_t *cbuf; local
2174 md_raidcbuf_t *cbuf; local
2446 md_raidcbuf_t *cbuf; local
2904 md_raidcbuf_t *cbuf; local
2943 md_raidcbuf_t *cbuf; local
3379 md_raidcbuf_t *cbuf; local
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dgendeliv.c38 char buf[1024], cbuf[256], ybuf[10]; local
176 cbuf[0] = '\0';
178 /* Pick comment field off of ">To:" line and put into cbuf */
179 getcomment(hptr->value, cbuf);
183 thissys, name, cbuf, buf);
192 ((p == (char *)NULL) ? cbuf : ""));
232 fprintf(outfile, "En-Route-To: %s %s\n", name, cbuf);

Completed in 81 milliseconds

1234