/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);
|
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));
|
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...] |
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...] |
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);
|
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...] |
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);
|
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);
|
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);
|