Searched refs:inbuf (Results 1 - 25 of 116) sorted by relevance

12345

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A D980506-1.c27 fetchByte (inbuf)
29 unsigned char **inbuf;
32 unsigned char byte = **inbuf;
33 (*inbuf)++;
38 decode_white_run (inbuf)
40 unsigned char **inbuf;
52 sp_data = fetchByte (inbuf);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A D980506-1.c24 fetchByte (inbuf)
26 unsigned char **inbuf;
29 unsigned char byte = **inbuf;
30 (*inbuf)++;
35 decode_white_run (inbuf)
37 unsigned char **inbuf;
49 sp_data = fetchByte (inbuf);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Drsa.c77 u_char *inbuf, *outbuf; local
87 inbuf = xmalloc(ilen);
88 BN_bn2bin(in, inbuf);
90 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key,
98 memset(inbuf, 0, ilen);
100 xfree(inbuf);
106 u_char *inbuf, *outbuf; local
113 inbuf = xmalloc(ilen);
114 BN_bn2bin(in, inbuf);
116 if ((len = RSA_private_decrypt(ilen, inbuf, outbu
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20080122-1.c28 u8 inbuf[32] = "\f"; local
31 do_segfault(inbuf, outbuf, 12);
/netbsd-6-1-5-RELEASE/sys/dev/dmover/
H A Ddmover_request.c74 dmover_request_alloc(struct dmover_session *dses, dmover_buffer *inbuf) argument
89 if (inbuf == NULL) {
90 inbuf = malloc(sizeof(dmover_buffer) * inputs,
92 if (inbuf == NULL) {
98 dreq->dreq_inbuf = inbuf;
/netbsd-6-1-5-RELEASE/bin/ed/
H A Dcbc.c293 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; inbuf[i] && i < 16; i++)
307 if ((nbuf[i] = hex_to_binary((int) inbuf[i], 16)) == -1)
321 if (inbuf[0] == '0' && (inbuf[
427 Desbuf inbuf; /* temp buffer for initialization vector */ local
[all...]
/netbsd-6-1-5-RELEASE/lib/libtelnet/
H A Dforward.c38 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)
/netbsd-6-1-5-RELEASE/usr.bin/msgs/
H A Dmsgs.c113 char inbuf[BUFSIZ]; variable
294 snprintf(inbuf, sizeof (inbuf), "%s/%s",
303 if (stat(inbuf, &stbuf) != 0)
307 unlink(inbuf);
375 fgets(inbuf, sizeof inbuf, stdin);
379 ptr, ctime(&t), inbuf);
385 fgets(inbuf, sizeof inbuf, stdi
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/gzip/
H A Dunbzip2.c40 static char *inbuf, *outbuf; local
42 if (inbuf == NULL)
43 inbuf = malloc(BUFLEN);
46 if (inbuf == NULL || outbuf == NULL)
69 n = read(in, inbuf, BUFLEN);
74 bzs.next_in = inbuf;
/netbsd-6-1-5-RELEASE/dist/ipf/tools/
H A Dipsyncm.c65 int inbuf; local
126 inbuf = 0;
129 n1 = read(lfd, buff+inbuf, BUFFERLEN-inbuf);
147 inbuf += n1;
150 if (inbuf < sizeof(*sh)) {
186 if (inbuf < sizeof(*sh) + len) {
231 inbuf -= n2;
232 if (inbuf) {
233 bcopy(buff+n2, buff, inbuf);
[all...]
H A Dipsyncs.c61 int n1, n2, n3, magic, len, inbuf; local
138 inbuf = 0;
146 n1 = read(nfd, buff+inbuf, BUFFERLEN-inbuf);
164 inbuf += n1;
167 if (inbuf < sizeof(*sh)) {
203 if (inbuf < sizeof(*sh) + len) {
249 inbuf -= n2;
250 if (inbuf) {
251 bcopy(buff+n2, buff, inbuf);
[all...]
/netbsd-6-1-5-RELEASE/dist/bzip2/
H A Dunzcrash.c40 uchar inbuf[M_BLOCK]; variable
92 nIn = fread ( inbuf, 1, M_BLOCK, f );
97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 );
118 if (inbuf[i] != outbuf[i]) {
132 if (inbuf[i] != outbuf[i]) {
/netbsd-6-1-5-RELEASE/dist/dhcp/omapip/
H A Dconvert.c159 int binary_to_ascii (outbuf, inbuf, base, width)
161 const unsigned char *inbuf;
167 int power = converted_length (inbuf, base, width);
174 number = getUChar (inbuf);
176 number = getUShort (inbuf);
178 number = getULong (inbuf);
/netbsd-6-1-5-RELEASE/sys/netsmb/
H A Diconv.c30 iconv_conv(void *handle, const char **inbuf, argument
36 if (inbuf == NULL)
39 (void)memcpy(*outbuf, *inbuf, *inbytesleft);
43 *inbuf += *inbytesleft;
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/isc/
H A Dctl_clnt.c96 struct ctl_buf inbuf; member in struct:ctl_cctx
176 buffer_init(ctx->inbuf);
375 if (allocated_p(ctx->inbuf))
376 ctl_bufput(&ctx->inbuf);
503 if (!allocated_p(ctx->inbuf) &&
504 ctl_bufget(&ctx->inbuf, ctx->logger) < 0) {
509 n = read(ctx->sock, ctx->inbuf.text + ctx->inbuf.used,
510 MAX_LINELEN - ctx->inbuf.used);
519 ctx->inbuf
[all...]
/netbsd-6-1-5-RELEASE/games/caesar/
H A Dcaesar.c144 unsigned char inbuf[2048]; local
158 for (nread = 0; nread < sizeof(inbuf); nread++) {
161 inbuf[nread] = (unsigned char) ch;
165 obs[inbuf[i]]++;
187 print_array(inbuf, nread);
/netbsd-6-1-5-RELEASE/usr.bin/iconv/
H A Diconv.c97 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local
110 while ((inbytes = fread(inbuf, 1, INBUFSIZE, fp)) > 0) {
111 in = inbuf;
129 if (errno != EINVAL || in == inbuf)
133 (void)memmove(inbuf, in, inbytes);
134 ret = fread(inbuf + inbytes, 1,
146 in = inbuf;
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/
H A Dbuffer.c101 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
108 size_t oldoff = inbuf->off;
112 SWAP(outbuf, inbuf);
113 SWAP(inbuf, &tmp);
118 * of data that we transfered from inbuf to outbuf
120 if (inbuf->off != oldoff && inbuf->cb != NULL)
121 (*inbuf->cb)(inbuf, oldoff, inbuf
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Drd_rep.c41 const krb5_data *inbuf,
52 ret = decode_AP_REP(inbuf->data, inbuf->length, &ap_rep, &len);
39 krb5_rd_rep(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_ap_rep_enc_part **repl) argument
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/gzboot/
H A Dgzboot.c97 unsigned char *inbuf; /* input buffer */ member in struct:state
198 got = readbuf(s, s->inbuf, Z_BUFSIZE);
202 s->stream.next_in = s->inbuf;
259 got = readbuf(s, s->inbuf, Z_BUFSIZE);
265 s->stream.next_in = s->inbuf;
367 state.stream.next_in = state.inbuf = alloc(Z_BUFSIZE);
368 if (state.inbuf == NULL) {
377 dealloc(state.inbuf, Z_BUFSIZE);
389 dealloc(state.inbuf, Z_BUFSIZE);
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dgssapi-client.c215 gss_buffer_desc inbuf, outbuf; local
219 inbuf.value = (void *)input;
220 inbuf.length = size;
222 if (gss_unwrap (&stat_min, gd->gcontext, &inbuf, &outbuf, &conf, NULL)
249 gss_buffer_desc inbuf, outbuf; local
253 inbuf.value = (void *)input;
254 inbuf.length = size;
263 &inbuf, &conf, &outbuf) != GSS_S_COMPLETE)
/netbsd-6-1-5-RELEASE/lib/libc/compat/rpc/
H A Dcompat_rpcb.c66 const rpcproc_t proc, const xdrproc_t inproc, const char *inbuf,
72 return __rpcb_rmtcall50(nc, name, prog, vers, proc, inproc, inbuf,
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/inet/
H A Dinet_net_ntop.c178 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;
/netbsd-6-1-5-RELEASE/usr.bin/uudecode/
H A Duudecode.c265 char inbuf[MAXPATHLEN]; local
269 if (!fgets(inbuf, sizeof(inbuf), stdin)) {
277 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
283 return (checkend(inbuf, "====",
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/tostools/libtos/
H A Dcread.c81 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
[all...]

Completed in 230 milliseconds

12345