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

1 2 3 4 5

  /src/crypto/external/bsd/heimdal/dist/lib/roken/
net_read.c 49 char *cbuf = (char *)buf; local
54 count = read (fd, cbuf, rem);
63 cbuf += count;
74 char *cbuf = (char *)buf; local
85 count = _read (sock, cbuf, rem);
87 count = recv (sock, cbuf, rem, 0);
95 count = _read (sock, cbuf, rem);
98 count = recv (sock, cbuf, rem, 0);
114 cbuf += count;
net_write.c 51 const char *cbuf = (const char *)buf; local
56 count = write (fd, cbuf, rem);
70 cbuf += count;
81 const char *cbuf = (const char *)buf; local
91 count = _write (sock, cbuf, rem);
93 count = send (sock, cbuf, rem, 0);
101 count = _write (sock, cbuf, rem);
104 count = send (sock, cbuf, rem, 0);
127 cbuf += count;
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
net_write.c 58 const char *cbuf = (const char *)buf; local
87 count = send (fd, cbuf, rem, 0);
103 count = write (fd, cbuf, rem);
114 cbuf += count;
store_fd.c 48 char *cbuf = (char *)data; local
54 count = read (FD(sp), cbuf, rem);
63 cbuf += count;
72 const char *cbuf = (const char *)data; local
78 count = write(FD(sp), cbuf, rem);
85 cbuf += count;
  /src/external/bsd/less/dist/lesstest/
wchar.c 56 byte cbuf[UNICODE_MAX_BYTES]; local
57 int n = read(fd, &cbuf[0], 1);
60 int len = wchar_len(cbuf[0]);
63 int n = read(fd, &cbuf[i], 1);
66 const byte* cp = cbuf;
68 // assert(cp-cbuf == len);
display.c 74 byte cbuf[UNICODE_MAX_BYTES]; local
75 byte* cp = cbuf;
77 fwrite(cbuf, 1, cp-cbuf, stdout);
run.c 47 byte cbuf[UNICODE_MAX_BYTES]; local
48 byte* cp = cbuf;
50 write(pipeline->less_in, cbuf, cp-cbuf);
  /src/sys/arch/alpha/stand/common/
prom.c 96 char cbuf = c; local
99 ret.bits = prom_dispatch(PROM_R_PUTS, console, &cbuf, 1);
  /src/usr.bin/tip/aculib/
biz22.c 61 char cbuf[40]; local
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/external/bsd/ntp/dist/libntp/
dolfptoa.c 23 u_char cbuf[24]; local
34 ZERO(cbuf);
42 cp = cpend = cpdec = &cbuf[10];
43 for (dec = (int)(cp - cbuf); dec > 0 && fpi != 0; dec--) {
64 if ((size_t)dec > sizeof(cbuf) - (cpend - cbuf))
65 dec = (int)(sizeof(cbuf) - (cpend - cbuf));
98 for (dec = (int)(tp - cbuf); carry && dec > 0; dec--) {
111 * We've now got the fraction in cbuf[], with cp pointing a
    [all...]
dofptoa.c 23 u_char cbuf[12]; local
36 ZERO(cbuf);
42 cp = cpend = &cbuf[5];
69 cpdec = &cbuf[8];
  /src/sys/dev/sun/
bt_subr.c 72 u_char *cbuf = NULL; local
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
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/external/bsd/ipf/dist/ipsend/
sdlpi.c 144 struct strbuf cbuf; local
147 cp = &cbuf;
snit.c 122 struct strbuf cbuf, *cp = &cbuf, dbuf, *dp = &dbuf; local
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
ddt_zap.c 60 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
70 ASSERT(csize <= sizeof (cbuf));
73 DDT_KEY_WORDS, 1, csize, cbuf);
77 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys));
92 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
95 csize = ddt_compress(dde->dde_phys, cbuf,
96 sizeof (dde->dde_phys), sizeof (cbuf));
99 DDT_KEY_WORDS, 1, csize, cbuf, tx));
118 uchar_t cbuf[sizeof (dde->dde_phys) + 1]; local
122 DDT_KEY_WORDS, 1, csize, cbuf);
    [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
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/kem/
mlx_kem.c 114 uint8_t *cbuf; local
168 cbuf = ctext + ml_kem_slot * key->xinfo->pubkey_bytes;
173 || EVP_PKEY_encapsulate(ctx, cbuf, &encap_clen, sbuf, &encap_slen) <= 0)
203 cbuf = ctext + (1 - ml_kem_slot) * key->minfo->ctext_bytes;
210 cbuf, encap_clen, &encap_clen)
250 const uint8_t *cbuf; local
289 cbuf = ctext + ml_kem_slot * key->xinfo->pubkey_bytes;
294 || EVP_PKEY_decapsulate(ctx, sbuf, &decap_slen, cbuf, decap_clen) <= 0)
307 cbuf = ctext + (1 - ml_kem_slot) * key->minfo->ctext_bytes;
313 || EVP_PKEY_set1_encoded_public_key(xkey, cbuf, decap_clen) <=
    [all...]
  /src/sbin/fsck/
fsutil.c 192 char cbuf[MAXPATHLEN]; local
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/sys/arch/ofppc/ofppc/
cpu.c 142 char cbuf[7]; local
144 format_bytes(cbuf, sizeof(cbuf), size);
145 aprint_normal("%s %dB/line", cbuf, line);
  /src/usr.bin/nc/
socks.c 195 char *cbuf = (char *)buf; local
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
201 (void)strftime(cbuf, sizeof(cbuf), "%c", localtime(&t));
205 mp->myutmp.out_name, (int)width, buf, cbuf + 4);
  /src/crypto/external/apache2/openssl/dist/test/
bio_enc_test.c 273 unsigned char cbuf[16]; /* At least as long as pbuf */ local
314 || !TEST_int_gt((n = BIO_read(cbio, cbuf, sizeof(cbuf))), 0)
318 || !TEST_mem_eq(cbuf, n, pbuf, sizeof(pbuf) - 1))
  /src/external/bsd/nvi/dist/vi/
vs_line.c 58 CHAR_T *cbp, *ecbp, cbuf[128]; local
147 nlen = snprintf((char*)cbuf,
148 sizeof(cbuf), O_NUMBER_FMT,
150 (void)gp->scr_addstr(sp, (char*)cbuf, nlen);
382 ecbp = (cbp = cbuf) + sizeof(cbuf)/sizeof(CHAR_T) - 1;
472 (void)gp->scr_waddstr(sp, cbuf, cbp - cbuf); \
473 cbp = cbuf; \
479 * be larger than cbuf, if the user set a impossibly larg
    [all...]
  /src/external/gpl2/xcvs/dist/src/
gssapi-client.c 139 char cbuf[2]; local
142 cbuf[0] = (tok_out.length >> 8) & 0xff;
143 cbuf[1] = tok_out.length & 0xff;
144 if (send (sock, cbuf, 2, 0) < 0)
149 recv_bytes (sock, cbuf, 2);
150 need = ((cbuf[0] & 0xff) << 8) | (cbuf[1] & 0xff);
162 buf[0] = cbuf[0];
163 buf[1] = cbuf[1];
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 90 char *cbuf; local
186 if ((cbuf = malloc(cbuflen)) == NULL) {
191 msg.msg_control = cbuf;

Completed in 48 milliseconds

1 2 3 4 5