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

1 2

  /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/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/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/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/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/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...]
getch.c 210 static wchar_t inbuf[INBUF_SZ]; variable in typeref:typename:wchar_t[]
211 static int start, end, working; /* pointers for manipulating inbuf data */
564 inbuf[working] = k;
572 k = inbuf[working];
610 k = inbuf[start];
614 inbuf[working] = k;
632 k = inbuf[start];
648 * in inbuf */
650 /* check if inbuf empty now */
  /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/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/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/lib/libedit/
map.c 1262 wchar_t inbuf[EL_BUFSIZ]; local in function:map_bind
1323 else if ((in = parse__string(inbuf, argv[argc++])) == NULL) {
  /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/
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/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/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/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/usr.sbin/pf/pfs/
pfs.c 95 char* inbuf; local in function:get_states
106 inbuf = malloc(ps->ps_len);
107 if (inbuf == NULL)
110 ps->ps_buf = inbuf;
  /src/common/dist/zlib/examples/
gun.c 83 unsigned char *inbuf; member in struct:ind
96 next = me->inbuf;
161 unsigned char inbuf[SIZE]; /* input buffer */ variable in typeref:typename:unsigned char[]
393 ind.inbuf = inbuf;
  /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/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/dev/dmover/
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/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);
  /src/sbin/brconfig/
brconfig.c 427 char *inbuf = NULL, *ninbuf; local in function:show_interfaces
432 ninbuf = realloc(inbuf, nlen);
435 inbuf = ninbuf;
436 if (do_cmd2(sock, bridge, BRDGGIFS, inbuf, nlen, &len, 0) < 0)
441 req = (struct ifbreq *)inbuf + i;
460 free(inbuf);
467 char *inbuf = NULL, *ninbuf; local in function:show_addresses
473 ninbuf = realloc(inbuf, nlen);
476 inbuf = ninbuf;
477 if (do_cmd2(sock, bridge, BRDGRTS, inbuf, nlen, &len, 0) < 0
    [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...]

Completed in 25 milliseconds

1 2