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

1 2

  /src/sys/dev/dmover/
dmover_request.c 74 dmover_request_alloc(struct dmover_session *dses, dmover_buffer *inbuf)
89 if (inbuf == NULL) {
90 inbuf = malloc(sizeof(dmover_buffer) * inputs,
92 if (inbuf == NULL) {
98 dreq->dreq_inbuf = inbuf;
dmover_io.c 223 dmio_buffer inbuf; local in function:dmio_usrreq_init
290 error = copyin(&req->req_inbuf[i], &inbuf, sizeof(inbuf));
294 if (inbuf.dmbuf_iovcnt > IOV_MAX) {
298 len = sizeof(struct iovec) * inbuf.dmbuf_iovcnt;
305 error = copyin(inbuf.dmbuf_iov, uio_in->uio_iov, len);
311 for (j = 0, len = 0; j < inbuf.dmbuf_iovcnt; j++) {
326 uio_in->uio_iovcnt = inbuf.dmbuf_iovcnt;
  /src/usr.bin/msgs/
msgs.c 113 char inbuf[BUFSIZ]; variable in typeref:typename:char[]
292 snprintf(inbuf, sizeof (inbuf), "%s/%s",
301 if (stat(inbuf, &stbuf) != 0)
305 unlink(inbuf);
373 fgets(inbuf, sizeof inbuf, stdin);
377 ptr, ctime(&t), inbuf);
383 fgets(inbuf, sizeof inbuf, stdin)
    [all...]
  /src/bin/ed/
cbc.c 293 expand_des_key(char *obuf /* bit pattern */, char *inbuf /* the key itself */)
301 if (inbuf[0] == '0' && (inbuf[1] == 'x' || inbuf[1] == 'X')) {
302 inbuf = &inbuf[2];
306 for (i = 0; i < 16 && inbuf[i]; i++)
307 if ((nbuf[i] = hex_to_binary((int) inbuf[i], 16)) == -1)
321 if (inbuf[0] == '0' && (inbuf[1] == 'b' || inbuf[1] == 'B'))
427 Desbuf inbuf; \/* temp buffer for initialization vector *\/ local in function:cbc_decode
    [all...]
  /src/lib/libtelnet/
forward.c 38 rd_and_store_for_creds(context, auth_context, inbuf, ticket)
41 krb5_data *inbuf;
49 if ((retval = krb5_rd_cred(context, auth_context, inbuf, &creds, NULL)) != 0)
kerberos5.c 445 krb5_data inbuf; local in function:kerberos5_is
447 inbuf.data = (char *) data;
448 inbuf.length = cnt;
475 ccache, &inbuf);
562 krb5_data inbuf; local in function:kerberos5_reply
565 inbuf.length = cnt;
566 inbuf.data = (char *) data;
569 auth_context, &inbuf, &reply);
  /src/usr.bin/gzip/
unbzip2.c 40 static char *inbuf, *outbuf; local in function:unbzip2
42 if (inbuf == NULL)
43 inbuf = malloc(BUFLEN);
46 if (inbuf == NULL || outbuf == NULL)
70 n = read(in, inbuf, BUFLEN);
76 bzs.next_in = inbuf;
  /src/tests/lib/libc/kevent_nullmnt/
h_nullmnt.c 37 char inbuf[20]; local in function:main
65 rsize = read(watch_file, &inbuf, sizeof(inbuf));
  /src/games/caesar/
caesar.c 129 unsigned char inbuf[2048]; local in function:guess_and_rotate
143 for (nread = 0; nread < sizeof(inbuf); nread++) {
146 inbuf[nread] = (unsigned char)ch;
150 obs[inbuf[i]]++;
172 print_array(inbuf, nread);
  /src/usr.bin/iconv/
iconv.c 97 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local in function:do_conv
111 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fp)) > 0) {
112 in = inbuf;
132 if (errno != EINVAL || in == inbuf)
136 (void)memmove(inbuf, in, inbytes);
137 ret = fread(inbuf + inbytes, 1,
149 in = inbuf;
  /src/sys/arch/evbarm/stand/gzboot/
gzboot.c 97 unsigned char *inbuf; /* input buffer */ member in struct:state
207 got = readbuf(s, s->inbuf, Z_BUFSIZE);
211 s->stream.next_in = s->inbuf;
268 got = readbuf(s, s->inbuf, Z_BUFSIZE);
274 s->stream.next_in = s->inbuf;
376 state.stream.next_in = state.inbuf = alloc(Z_BUFSIZE);
377 if (state.inbuf == NULL) {
386 dealloc(state.inbuf, Z_BUFSIZE);
398 dealloc(state.inbuf, Z_BUFSIZE);
  /src/lib/libc/compat/rpc/
compat_rpcb.c 66 const rpcproc_t proc, const xdrproc_t inproc, const char *inbuf,
72 return __rpcb_rmtcall50(nc, name, prog, vers, proc, inproc, inbuf,
  /src/lib/libc/inet/
inet_net_ntop.c 178 unsigned char inbuf[16]; local in function:inet_net_ntop_ipv6
198 memcpy(inbuf, src, p);
199 memset(inbuf + p, 0, 16 - p);
203 inbuf[p-1] &= m;
206 s = inbuf;
  /src/sys/arch/atari/stand/tostools/libtos/
cread.c 81 unsigned char *inbuf; /* input buffer */ member in struct:sd
128 got = cread(s->fd, s->inbuf, Z_BUFSIZE);
135 s->stream.next_in = s->inbuf;
243 s->stream.next_in = s->inbuf = (unsigned char*)malloc(Z_BUFSIZE);
244 if (s->inbuf == 0) {
269 free(s->inbuf);
320 got = read(fd, s->inbuf, Z_BUFSIZE);
329 s->stream.next_in = s->inbuf;
395 sav_inbuf = s->inbuf; /* don't allocate again */
399 s->stream.next_in = s->inbuf = sav_inbuf
    [all...]
  /src/lib/libcurses/
get_wch.c 88 char *inbuf = &_cursesi_screen->cbuf[ 0 ]; local in function:inkey
108 inbuf[*end] = k;
116 k = inbuf[*working];
155 k = inbuf[*start];
162 inbuf[*end] = k;
200 *wc = inbuf[*start];
218 inbuf[*end] = k;
225 ret = (int)mbrtowc(wc, inbuf + (*working), 1,
238 *wc = inbuf[*start];
303 ret = (int)mbrtowc(wc, inbuf + (*working), mlen
    [all...]
  /src/sys/external/isc/libsodium/src/
sodium_selftest.c 138 uint8_t inbuf[sizeof(ciphertext) + TESTALIGN]; local in function:crypto_aead_chacha20poly1305_ietf_selftest
166 memset(inbuf, 0, sizeof(inbuf));
172 memcpy(inbuf + i, plaintext, sizeof(plaintext));
179 inbuf + i, sizeof(plaintext),
211 memset(inbuf, 0, sizeof(inbuf));
217 memcpy(inbuf + i, ciphertext, sizeof(ciphertext));
225 inbuf + i, sizeof(ciphertext),
257 inbuf[i] ^= 0x80
381 uint8_t inbuf[sizeof(ciphertext) + TESTALIGN]; local in function:crypto_aead_xchacha20poly1305_ietf_selftest
    [all...]
  /src/usr.bin/elf2aout/
elf2aout.c 459 Elf32_Sym inbuf[64]; local in function:translate_syms
495 if ((i = read(in, inbuf, (size_t)cur * sizeof(Elf32_Sym)))
509 inbuf[i].st_name = bswap32(inbuf[i].st_name);
510 inbuf[i].st_value = bswap32(inbuf[i].st_value);
511 inbuf[i].st_size = bswap32(inbuf[i].st_size);
512 inbuf[i].st_shndx = bswap16(inbuf[i].st_shndx)
    [all...]
  /src/sys/lib/libsa/
cread.c 75 unsigned char *inbuf; /* input buffer */ member in struct:sd
158 got = oread(s->fd, s->inbuf, Z_BUFSIZE);
166 s->stream.next_in = s->inbuf;
278 s->stream.next_in = s->inbuf = (unsigned char *)alloc(Z_BUFSIZE);
279 if (s->inbuf == 0) {
313 dealloc(s->inbuf, Z_BUFSIZE);
367 got = oread(fd, s->inbuf, Z_BUFSIZE);
376 s->stream.next_in = s->inbuf;
470 sav_inbuf = s->inbuf; /* don't allocate again */
475 s->stream.next_in = s->inbuf = sav_inbuf
    [all...]
  /src/usr.bin/mail/
mime_codecs.c 121 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local in function:mime_ficonv
132 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fi)) > 0) {
133 in = inbuf;
139 if (errno != EINVAL || in == inbuf) {
148 * If here: errno == EINVAL && in != inbuf
151 (void)memmove(inbuf, in, inbytes);
152 ret = fread(inbuf + inbytes, 1,
167 in = inbuf;
439 mime_QPh_decode(char *outbuf, size_t outlen, const char *inbuf, size_t inlen)
446 inend = inbuf + inlen
    [all...]
  /src/usr.bin/uudecode/
uudecode.c 294 char inbuf[MAXPATHLEN]; local in function:base64_decode
298 if (!fgets(inbuf, sizeof(inbuf), stdin)) {
306 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
312 return (checkend(inbuf, "====",
  /src/sbin/atactl/
atactl.c 1165 unsigned char inbuf[DEV_BSIZE]; member in union:fillataparams::__anone032833a050a
1167 } inbuf; local in function:fillataparams
1174 memset(&inbuf, 0, sizeof(inbuf));
1179 req.databuf = &inbuf;
1180 req.datalen = sizeof(inbuf);
1185 inqbuf = &inbuf.inqbuf;
1664 unsigned char inbuf[DEV_BSIZE]; local in function:device_smart
1704 memset(&inbuf, 0, sizeof(inbuf));
    [all...]
  /src/sys/fs/cd9660/
cd9660_rrip.c 121 const char *inbuf; local in function:cd9660_rrip_slink
146 inbuf = "..";
173 inbuf = ana->imp->im_mountp->mnt_stat.f_mntonname;
174 wlen = strlen(inbuf);
179 inbuf = hostname;
189 inbuf = pcomp->name;
206 memcpy(outbuf, inbuf, wlen);
228 const char *inbuf; local in function:cd9660_rrip_altname
232 inbuf = "..";
249 inbuf = hostname
    [all...]
  /src/tests/lib/libc/regex/
main.c 168 char inbuf[1000]; local in function:regress
180 while (fgets(inbuf, sizeof(inbuf), in) != NULL) {
182 if (inbuf[0] == '#' || inbuf[0] == '\n')
184 inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */
187 nf = split(inbuf, f, MAXF, "\t\t");
  /src/sbin/routed/
input.c 69 } inbuf; local in function:read_rip
73 } inbuf; local in function:read_rip
79 cc = recvfrom(sock, &inbuf, sizeof(inbuf), 0,
98 if ((cc -= sizeof(inbuf.ifname)) < 0)
100 cc+sizeof(inbuf.ifname));
108 aifp = ifwithname(inbuf.ifname, 0);
112 IFNAMSIZ, inbuf.ifname);
131 input(&from, sifp, aifp, &inbuf.pbuf.rip, cc);
  /src/lib/libc/rpc/
clnt_bcast.c 268 char *inbuf = NULL; /* Reply buf */ local in function:rpc_broadcast_exp
384 inbuf = malloc(maxbufsize);
386 if ((inbuf == NULL) || (outbuf == NULL)) {
561 inlen = recvfrom(fdlist[i].fd, inbuf, fdlist[i].dsize,
579 if (*((u_int32_t *)(void *)(inbuf)) ==
589 *((u_int32_t *)(void *)(inbuf)) ==
600 xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE);
652 if (inbuf)
653 (void) free(inbuf);

Completed in 22 milliseconds

1 2