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

1 2 3 4 5 6

  /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/sys/fs/ntfs/
ntfs_compr.c 48 ntfs_uncompblock(u_int8_t *dbuf, u_int8_t *cbuf)
56 len = GET_UINT16(cbuf) & 0xFFF;
58 len, len, GET_UINT16(cbuf)));
60 if (!(GET_UINT16(cbuf) & 0x8000)) {
65 memcpy(dbuf, cbuf + 2, len + 1);
72 ctag = cbuf[cpos++];
80 boff = -1 - (GET_UINT16(cbuf + cpos) >> dshift);
81 blen = 3 + (GET_UINT16(cbuf + cpos) & lmask);
88 dbuf[pos++] = cbuf[cpos++];
  /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/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/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);
  /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/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/bin/ksh/
vi.c 29 char *cbuf; member in struct:edstate
250 if (es->cbuf != buf)
251 memmove(buf, es->cbuf, es->linelen);
330 es->cbuf[es->cursor++] = ch;
449 es->cbuf[es->linelen++] = 'M';
450 es->cbuf[es->linelen++] = '-';
456 es->cbuf[es->linelen++] = '^';
457 es->cbuf[es->linelen++] = ch ^ '@';
461 es->cbuf[es->linelen++] = ch;
586 es->cbuf[es->cursor] = undo->cbuf[es->cursor]
    [all...]
  /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/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/fmt/
fmt.c 213 struct buffer lbuf, cbuf; local
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/external/bsd/ntp/dist/ntpd/
refclock_bancomm.c 491 char cbuf[7]; local
545 snprintf(cbuf, sizeof(cbuf), "%3.3x",
548 time_vme->day = (unsigned short)atoi(cbuf);
551 snprintf(cbuf, sizeof(cbuf), "%2.2x",
553 time_vme->hr = (unsigned short)atoi(cbuf);
556 snprintf(cbuf, sizeof(cbuf), "%2.2x",
558 time_vme->mn = (unsigned short)atoi(cbuf);
    [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/sys/arch/sgimips/stand/common/
iris_scsi.c 161 wd33c93_go(struct wd33c93_softc *sc, uint8_t *cbuf, size_t clen, uint8_t *buf,
172 if ((csr = wd33c93_selectbus(sc, cbuf, clen, buf, lenp)) == 0)
182 i = wd33c93_nextstate(sc, cbuf, clen, buf, lenp, csr, asr);
204 if (wd33c93_poll(sc, cbuf, clen, buf, lenp)) {
205 wd33c93_timeout(sc, cbuf, clen, buf, lenp);
206 if (wd33c93_poll(sc, cbuf, clen, buf, lenp)) {
207 wd33c93_timeout(sc, cbuf, clen, buf, lenp);
221 wd33c93_selectbus(struct wd33c93_softc *sc, uint8_t *cbuf, size_t clen,
267 wd33c93_nextstate(sc, cbuf, clen, buf, lenp, csr, asr);
361 wd33c93_nextstate(struct wd33c93_softc *sc, uint8_t *cbuf, size_t clen
    [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/external/bsd/less/dist/
command.c 248 char *cbuf; local
251 cbuf = get_cmdbuf();
252 if (cbuf == NULL)
259 multi_search(cbuf, (int) number, 0);
264 set_filter_pattern(cbuf, search_type);
271 while (*cbuf == '+' || *cbuf == ' ')
272 cbuf++;
275 if (*cbuf == '\0')
278 every_first_cmd = save(cbuf);
1230 char *cbuf; local
    [all...]
  /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/sys/dev/acpi/
qcomspmi.c 276 uint8_t *cbuf = buf; local
325 memcpy(cbuf, &reg, MIN(len, 4));
326 cbuf += MIN(len, 4);
332 memcpy(cbuf, &reg, MIN(len, 4));
333 cbuf += MIN(len, 4);
344 const uint8_t *cbuf = buf; local
366 memcpy(&reg, cbuf, MIN(len, 4));
369 cbuf += MIN(len, 4);
373 memcpy(&reg, cbuf, MIN(len, 4));
376 cbuf += MIN(len, 4)
    [all...]
  /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...]

Completed in 26 milliseconds

1 2 3 4 5 6