HomeSort by: relevance | last modified time | path
    Searched refs:inbuf (Results 1 - 25 of 47) 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;
  /src/usr.bin/msgs/
msgs.c 113 char inbuf[BUFSIZ]; variable
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
    [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
447 inbuf.data = (char *) data;
448 inbuf.length = cnt;
475 ccache, &inbuf);
562 krb5_data inbuf; local
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
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
65 rsize = read(watch_file, &inbuf, sizeof(inbuf));
  /src/games/caesar/
caesar.c 129 unsigned char inbuf[2048]; local
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/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
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/usr.bin/iconv/
iconv.c 98 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local
112 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fi)) > 0) {
113 in = inbuf;
136 if (errno != EINVAL || in == inbuf)
140 (void)memmove(inbuf, in, inbytes);
141 ret = fread(inbuf + inbytes, 1,
153 in = inbuf;
  /src/lib/libcurses/
get_wch.c 88 char *inbuf = &_cursesi_screen->cbuf[ 0 ]; local
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
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
    [all...]
  /src/usr.bin/elf2aout/
elf2aout.c 459 Elf32_Sym inbuf[64]; local
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
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
298 if (!fgets(inbuf, sizeof(inbuf), stdin)) {
306 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
312 return (checkend(inbuf, "====",
  /src/sbin/atactl/
atactl.c 1166 unsigned char inbuf[DEV_BSIZE]; member in union:__anon632
1168 } inbuf; local
1175 memset(&inbuf, 0, sizeof(inbuf));
1180 req.databuf = &inbuf;
1181 req.datalen = sizeof(inbuf);
1186 inqbuf = &inbuf.inqbuf;
1665 unsigned char inbuf[DEV_BSIZE]; local
1705 memset(&inbuf, 0, sizeof(inbuf));
    [all...]
  /src/sys/fs/cd9660/
cd9660_rrip.c 121 const char *inbuf; local
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
232 inbuf = "..";
249 inbuf = hostname
    [all...]
  /src/tests/lib/libc/regex/
main.c 168 char inbuf[1000]; local
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/lib/libc/rpc/
clnt_bcast.c 268 char *inbuf = NULL; /* Reply buf */ local
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/routed/
input.c 69 } inbuf; local
73 } inbuf; local
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/evbppc/nintendo/dev/
si.c 260 uint32_t inbuf[2]; local
261 uint8_t *iptr = (uint8_t *)inbuf;
265 inbuf[0] = RD4(sc, SICINBUFH(chan));
266 inbuf[1] = RD4(sc, SICINBUFL(chan));
326 /* Reading INBUF[HL] de-asserts RDSTINT. */
431 uint32_t *inbuf = data; local
438 si_make_report(sc, ch->ch_index, inbuf, true);

Completed in 33 milliseconds

1 2