Searched refs:cbuf (Results 1 - 25 of 76) 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.c60 char cbuf[2]; \
61 cbuf[0] = c; \
62 cbuf[1] = '\0'; \
64 (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/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.c62 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
72 ASSERT(csize <= sizeof (cbuf));
75 DDT_KEY_WORDS, 1, csize, cbuf);
79 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys));
94 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
97 csize = ddt_compress(dde->dde_phys, cbuf,
98 sizeof (dde->dde_phys), sizeof (cbuf));
101 DDT_KEY_WORDS, 1, csize, cbuf, tx));
131 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
135 DDT_KEY_WORDS, 1, csize, cbuf);
[all...]
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_mib.c55 struct strbuf cbuf, dbuf; local
68 bzero(&cbuf, sizeof (cbuf));
80 cbuf.buf = (caddr_t)&req;
81 cbuf.len = sizeof (req);
83 if (putmsg(fd, &cbuf, NULL, 0) == -1) {
95 cbuf.buf = (caddr_t)&ack;
96 cbuf.maxlen = sizeof (ack);
105 r = getmsg(fd, &cbuf, NULL, &flags);
118 if (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/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/cmd/refer/
H A Dmkey3.c25 static char cbuf[COMNUM*9]; variable
51 cbp = cbuf;
/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/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/lib/smbclnt/libfksmbfs/common/
H A Dfake_rw.c56 fake_pread(vnode_t *vp, void *cbuf, size_t count, off_t offset) argument
98 aiov.iov_base = cbuf;
128 fake_pwrite(vnode_t *vp, void *cbuf, size_t count, off_t offset) argument
172 aiov.iov_base = 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/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);
/illumos-gate/usr/src/cmd/syseventd/modules/devfsadmd_mod/
H A Ddevfsadmd_mod.c86 struct sigaction cbuf, ibuf, qbuf, ignore, dfl; local
118 (void) sigaction(SIGCHLD, &dfl, &cbuf);
124 (void) sigaction(SIGCHLD, &cbuf, NULL);
151 (void) sigaction(SIGCHLD, &cbuf, NULL);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cfg.c407 smb_config_getstr(smb_cfg_id_t id, char *cbuf, int bufsz) argument
416 *cbuf = '\0';
421 return (smb_config_get_idmap_site_name(cbuf, bufsz));
423 return (smb_config_get_idmap_preferred_dc(cbuf, bufsz));
440 (void) strlcpy(cbuf, tmp, bufsz);
449 cbuf, bufsz);
581 smb_config_get(smb_cfg_id_t id, char *cbuf, int bufsz) argument
590 return (smb_config_getstr(id, cbuf, bufsz));
595 (void) snprintf(cbuf, bufsz, "%lld", cint);
600 (void) strlcpy(cbuf, "tru
943 smb_config_get_idmap_preferred_dc(char *cbuf, int bufsz) argument
967 smb_config_get_idmap_site_name(char *cbuf, int bufsz) argument
[all...]

Completed in 914 milliseconds

1234