HomeSort by: relevance | last modified time | path
    Searched defs:cbuf (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/sys/arch/alpha/stand/common/
prom.c 96 char cbuf = c; local in function:putonechar
99 ret.bits = prom_dispatch(PROM_R_PUTS, console, &cbuf, 1);
  /src/usr.bin/tip/aculib/
biz22.c 61 char cbuf[40]; local in function:biz_dialer
73 (void)strncpy(cbuf, "\02.\r", sizeof(cbuf) - 1);
74 cbuf[1] = *mod;
75 if (cmd(cbuf)) {
79 (void)snprintf(cbuf, sizeof cbuf, "\02D%s\r", num);
80 (void)write(FD, cbuf, strlen(cbuf));
  /src/sys/dev/sun/
bt_subr.c 72 u_char *cbuf = NULL; local in function:bt_getcmap
81 cbuf = malloc(3 * count * sizeof(char), M_TEMP, M_WAITOK);
82 r = cbuf;
112 if (cbuf != NULL)
113 free(cbuf, M_TEMP);
127 u_char *cbuf = NULL; local in function:bt_putcmap
136 cbuf = malloc(3 * count * sizeof(char), M_TEMP, M_WAITOK);
137 r = cbuf;
164 if (cbuf != NULL)
165 free(cbuf, M_TEMP)
    [all...]
  /src/usr.sbin/bootp/bootptest/
getether.c 199 struct strbuf cbuf;
235 cbuf.buf = tmpbuf;
236 cbuf.len = DL_ATTACH_REQ_SIZE;
237 if (putmsg(fd, &cbuf, NULL, 0) < 0) {
242 cbuf.buf = tmpbuf;
243 cbuf.maxlen = sizeof(tmpbuf);
245 if (getmsg(fd, &cbuf, NULL, &flags) < 0) {
277 cbuf.buf = tmpbuf;
278 cbuf.len = DL_BIND_REQ_SIZE;
279 if (putmsg(fd, &cbuf, NULL, 0) < 0)
196 struct strbuf cbuf; local in function:getether
    [all...]
  /src/sbin/fsck/
fsutil.c 192 char cbuf[MAXPATHLEN]; local in function:blockcheck
200 len = readlink(origname, cbuf, sizeof(cbuf)-1);
204 cbuf[len] = '\0';
205 newname = cbuf;
231 cooked = getdiskcookedname(cbuf, sizeof(cbuf), newname);
240 newname = getfsspecname(cbuf, sizeof(cbuf), fsp->fs_spec);
  /src/usr.bin/nc/
socks.c 195 char *cbuf = (char *)buf; local in function:socks_connect
341 r = snprintf(cbuf, sizeof(buf),
345 r = snprintf(cbuf, sizeof(buf),
351 r = strlen(cbuf);
361 r = snprintf(cbuf, sizeof(buf), "%s:%s",
364 b64_ntop(buf, strlen(cbuf), resp,
367 r = snprintf(cbuf, sizeof(buf), "Proxy-Authorization: "
371 r = strlen(cbuf);
381 proxy_read_line(proxyfd, cbuf, sizeof(buf));
383 strncmp(cbuf, "HTTP/1.0 407 ", 12) == 0)
    [all...]
  /src/usr.bin/rwho/
rwho.c 191 char buf[BUFSIZ], cbuf[80]; local in function:main
201 (void)strftime(cbuf, sizeof(cbuf), "%c", localtime(&t));
205 mp->myutmp.out_name, (int)width, buf, cbuf + 4);
  /src/sys/arch/ofppc/ofppc/
cpu.c 142 char cbuf[7]; local in function:cpu_print_cache_config
144 format_bytes(cbuf, sizeof(cbuf), size);
145 aprint_normal("%s %dB/line", cbuf, line);
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 90 char *cbuf; local in function:main
186 if ((cbuf = malloc(cbuflen)) == NULL) {
191 msg.msg_control = cbuf;
  /src/sys/arch/playstation2/playstation2/
sifbios.h 137 void *cbuf; member in struct:sifrpc_client
151 void *cbuf; member in struct:sifrpc_server
  /src/sys/arch/vax/boot/xxboot/
bootxx.c 268 char *cbuf; local in function:romstrategy
270 cbuf = (char *)buf;
282 romread_uvax(block, size, cbuf, rpb);
289 memcpy(cbuf, 0, 512);
291 cbuf += 512;
  /src/sys/dev/hil/
hilkbd.c 399 uint8_t cbuf[HILBUFSIZE * 2]; local in function:hilkbd_callback
410 cbuf[j++] = 0xe0;
411 cbuf[j] = c & 0x7f;
413 cbuf[j] |= 0x80;
418 wskbd_rawinput(sc->sc_wskbddev, cbuf, j);
  /src/usr.bin/fmt/
fmt.c 213 struct buffer lbuf, cbuf; local in function:fmt
259 buf_init(&cbuf);
290 buf_reset(&cbuf);
294 buf_putc(&cbuf, c);
298 buf_putc(&cbuf, ' ');
306 for (cp2 = cbuf.ptr - 1; cp2 >= cbuf.bptr && *cp2 == ' '; cp2--)
308 cbuf.ptr = cp2 + 1;
309 buf_putc(&cbuf, '\0');
310 (void)buf_unputc(&cbuf);
    [all...]
  /src/sys/arch/amiga/dev/
msc.c 577 volatile u_char *ibuf, *cbuf; local in function:mscmint
676 cbuf = &msc->board->InCtl[msc->port][0];
681 switch (cbuf[bufpos]) {
704 msc->unit, cbuf[bufpos]);
747 cbuf = &msc->board->InCtl[msc->port][0];
752 switch (cbuf[bufpos]) {
  /src/sys/arch/evbarm/g42xxeb/
g42xxeb_kmkbd.c 448 char cbuf[NUMKEYS]; local in function:kmkbd_report_raw
460 cbuf[nc] = i + 1;
463 cbuf[nc] |= 0x80;
471 wskbd_rawinput(sc->wskbddev, cbuf, nc);
  /src/usr.sbin/usbdevs/
usbdevs.c 192 static char rbuf[5], cbuf[5]; local in function:getstrings
195 snprintf(cbuf, sizeof(cbuf), "0x%02x", col);
198 *cp = cbuf;
  /src/sys/dev/hid/
hidkbd.c 570 u_char cbuf[MAXKEYS * 2]; local in function:hidkbd_decode
579 cbuf[j++] = 0xe0;
580 cbuf[j] = c & 0x7f;
582 cbuf[j] |= 0x80;
585 cbuf[j]));
589 wskbd_rawinput(kbd->sc_wskbddev, cbuf, j);
  /src/lib/libedit/
read.c 283 char cbuf[MB_LEN_MAX]; local in function:read_char
289 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) {
323 switch (mbrtowc(cp, cbuf, cbp, &mbs)) {
330 cbuf[0] = cbuf[cbp - 1];
  /src/sys/arch/macppc/dev/
akbd.c 480 char cbuf[2]; local in function:kbd_passup
489 cbuf[j++] = 0xe0;
491 cbuf[j++] = (c & 0x7f) | (ADBK_PRESS(key)? 0 : 0x80);
494 wskbd_rawinput(sc->sc_wskbddev, cbuf, j);
  /src/tests/lib/libc/sys/
t_clock_gettime.c 166 char name[128], cbuf[512], ctrbuf[10240]; local in function:ATF_TC_BODY
167 size_t cbufsiz = sizeof(cbuf);
173 if (sysctlbyname(TC_HARDWARE, cbuf, &cbufsiz, NULL, 0) != 0) {
180 (void)printf("%s = %s\n", TC_HARDWARE, cbuf);
181 REQUIRE_LIBC(save = strdup(cbuf), NULL);
  /src/sys/arch/vax/boot/boot/
mfm.c 460 char *cbuf; local in function:mfm_rxstrategy
462 cbuf = (char*)buf;
519 memcpy((void *) 0x200D0000, cbuf, *rsize);
531 memcpy(cbuf, (void *) 0x200D0000, *rsize);
536 cbuf += *rsize;
548 char *cbuf; local in function:mfm_rdstrategy
550 cbuf = (char *)buf;
610 memcpy((void *) 0x200D0000, cbuf, *rsize);
620 memcpy(cbuf, (void *) 0x200D0000, *rsize);
625 cbuf += *rsize
    [all...]
  /src/sys/arch/zaurus/dev/
zkbd.c 391 char cbuf[MAXKEYS * 2]; local in function:zkbd_poll
481 cbuf[ncbuf++] = 0xe0;
483 cbuf[ncbuf] = c & 0x7f;
491 cbuf[ncbuf] |= 0x80;
516 wskbd_rawinput(sc->sc_wskbddev, cbuf, ncbuf);
zrc.c 363 u_char cbuf[2]; local in function:zrc_input
368 cbuf[ncbuf++] = 0xe0;
369 cbuf[ncbuf] = c & 0x7f;
372 cbuf[ncbuf] |= 0x80;
375 wskbd_rawinput(sc->sc_wskbddev, cbuf, ncbuf);
  /src/sys/dev/bluetooth/
btkbd.c 549 u_char cbuf[MAXKEYS * 2]; local in function:btkbd_input
562 cbuf[j++] = 0xe0;
564 cbuf[j] = c & 0x7f;
566 cbuf[j] |= 0x80;
581 wskbd_rawinput(sc->sc_wskbd, cbuf, j);
  /src/usr.sbin/lpr/lpd/
lpd.c 422 char cbuf[BUFSIZ]; /* command line buffer */ variable in typeref:typename:char[]
439 cp = cbuf;
441 if (cp >= &cbuf[sizeof(cbuf) - 1])
450 cp = cbuf;
504 displayq(cbuf[0] - '\3');

Completed in 22 milliseconds

1 2