/minix/bin/ed/ |
H A D | cbc.c | 301 if (inbuf[0] == '0' && (inbuf[1] == 'x' || inbuf[1] == 'X')) { in expand_des_key() 302 inbuf = &inbuf[2]; in expand_des_key() 306 for (i = 0; i < 16 && inbuf[i]; i++) in expand_des_key() 321 if (inbuf[0] == '0' && (inbuf[1] == 'b' || inbuf[1] == 'B')) { in expand_des_key() 322 inbuf = &inbuf[2]; in expand_des_key() 326 for (i = 0; i < 16 && inbuf[i]; i++) in expand_des_key() 327 if ((nbuf[i] = hex_to_binary((int) inbuf[i], 2)) == -1) in expand_des_key() 341 (void)strncpy(obuf, inbuf, 8); in expand_des_key() 427 Desbuf inbuf; /* temp buffer for initialization vector */ in cbc_decode() local 436 MEMCPY(BUFFER(inbuf), BUFFER(msgbuf), 8); in cbc_decode() [all …]
|
/minix/external/bsd/dhcp/dist/server/ |
H A D | ldap.c | 145 x_strncat (cfile->inbuf, " ", LDAP_BUFFER_SIZE); in ldap_parse_subclass() 147 x_strncat (cfile->inbuf, " {\n", LDAP_BUFFER_SIZE); in ldap_parse_subclass() 263 x_strncat (cfile->inbuf, " {\n", LDAP_BUFFER_SIZE); in ldap_parse_subnet() 1193 if (found && cfile->inbuf[0] == '\0') in ldap_generate_config_string() 1275 cfile->inbuf[0] = '\0'; in ldap_read_function() 1281 if (ldap_stack == NULL && *cfile->inbuf == '\0') in ldap_read_function() 1285 cfile->buflen = strlen (cfile->inbuf) - 1; in ldap_read_function() 1293 return (cfile->inbuf[0]); in ldap_read_function() 1450 cfile->inbuf[0] = '\0'; in ldap_read_config() 1452 cfile->buflen = strlen (cfile->inbuf); in ldap_read_config() [all …]
|
/minix/usr.bin/gzip/ |
H A D | unbzip2.c | 40 static char *inbuf, *outbuf; in unbzip2() local 42 if (inbuf == NULL) in unbzip2() 43 inbuf = malloc(BUFLEN); in unbzip2() 46 if (inbuf == NULL || outbuf == NULL) in unbzip2() 69 n = read(in, inbuf, BUFLEN); in unbzip2() 74 bzs.next_in = inbuf; in unbzip2()
|
/minix/external/bsd/dhcp/dist/omapip/ |
H A D | convert.c | 154 int binary_to_ascii (outbuf, inbuf, base, width) in binary_to_ascii() argument 156 const unsigned char *inbuf; 162 int power = converted_length (inbuf, base, width); 169 number = getUChar (inbuf); 171 number = getUShort (inbuf); 173 number = getULong (inbuf);
|
H A D | buffer.c | 579 u_int32_t inbuf; in omapi_connection_get_uint32() local 583 c, sizeof inbuf); in omapi_connection_get_uint32() 587 *result = ntohl (inbuf); in omapi_connection_get_uint32() 594 u_int32_t inbuf; in omapi_connection_put_uint32() local 596 inbuf = htonl (value); in omapi_connection_put_uint32() 599 sizeof inbuf); in omapi_connection_put_uint32() 605 u_int16_t inbuf; in omapi_connection_get_uint16() local 609 c, sizeof inbuf); in omapi_connection_get_uint16() 620 u_int16_t inbuf; in omapi_connection_put_uint16() local 622 inbuf = htons (value); in omapi_connection_put_uint16() [all …]
|
/minix/external/bsd/bzip2/dist/ |
H A D | unzcrash.c | 42 uchar inbuf[M_BLOCK]; variable 94 nIn = fread ( inbuf, 1, M_BLOCK, f ); in main() 99 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); in main() 120 if (inbuf[i] != outbuf[i]) { in main() 134 if (inbuf[i] != outbuf[i]) { in main()
|
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/ |
H A D | setjmp.ll | 27 define i32 @foo(%struct.jmpbuf_env* byval %inbuf) #0 { 29 %0 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 0 31 %1 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 1 33 %2 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0 35 %4 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 3 37 store %struct.jmpbuf_env* %inbuf, %struct.jmpbuf_env** @jenv, align 4, !tbaa !3
|
/minix/games/caesar/ |
H A D | caesar.c | 144 unsigned char inbuf[2048]; in guess_and_rotate() local 158 for (nread = 0; nread < sizeof(inbuf); nread++) { in guess_and_rotate() 161 inbuf[nread] = (unsigned char) ch; in guess_and_rotate() 165 obs[inbuf[i]]++; in guess_and_rotate() 187 print_array(inbuf, nread); in guess_and_rotate()
|
/minix/lib/libcurses/ |
H A D | get_wch.c | 93 char *inbuf = &_cursesi_screen->cbuf[ 0 ]; in inkey() local 117 inbuf[ *end ] = k; in inkey() 127 k = inbuf[*working]; in inkey() 170 k = inbuf[*start]; in inkey() 179 inbuf[ *end ] = k; in inkey() 221 *wc = inbuf[*start]; in inkey() 244 inbuf[ *end ] = k; in inkey() 253 ret = (int) mbrtowc( wc, inbuf + (*working), 1, in inkey() 269 *wc = inbuf[ *start ]; in inkey() 353 ret = (int) mbrtowc( wc, inbuf, mlen, in inkey() [all …]
|
/minix/lib/libtelnet/ |
H A D | forward.c | 38 rd_and_store_for_creds(context, auth_context, inbuf, ticket) in rd_and_store_for_creds() argument 41 krb5_data *inbuf; 49 if ((retval = krb5_rd_cred(context, auth_context, inbuf, &creds, NULL)) != 0)
|
/minix/sys/lib/libsa/ |
H A D | cread.c | 75 unsigned char *inbuf; /* input buffer */ member 154 got = oread(s->fd, s->inbuf, Z_BUFSIZE); in get_byte() 162 s->stream.next_in = s->inbuf; in get_byte() 274 s->stream.next_in = s->inbuf = (unsigned char *)alloc(Z_BUFSIZE); in open() 275 if (s->inbuf == 0) { in open() 309 dealloc(s->inbuf, Z_BUFSIZE); in close() 361 got = oread(fd, s->inbuf, Z_BUFSIZE); in read() 370 s->stream.next_in = s->inbuf; in read() 448 sav_inbuf = s->inbuf; /* don't allocate again */ in lseek() 453 s->stream.next_in = s->inbuf = sav_inbuf; in lseek()
|
/minix/external/public-domain/xz/dist/doc/examples/ |
H A D | 03_compress_custom.c | 109 uint8_t inbuf[BUFSIZ]; in compress() local 119 strm->next_in = inbuf; in compress() 120 strm->avail_in = fread(inbuf, 1, sizeof(inbuf), in compress()
|
H A D | 02_decompress.c | 118 uint8_t inbuf[BUFSIZ]; in decompress() local 128 strm->next_in = inbuf; in decompress() 129 strm->avail_in = fread(inbuf, 1, sizeof(inbuf), in decompress()
|
H A D | 04_compress_easy_mt.c | 122 uint8_t inbuf[BUFSIZ]; in compress() local 132 strm->next_in = inbuf; in compress() 133 strm->avail_in = fread(inbuf, 1, sizeof(inbuf), in compress()
|
H A D | 01_compress_easy.c | 116 uint8_t inbuf[BUFSIZ]; in compress() local 140 strm->next_in = inbuf; in compress() 141 strm->avail_in = fread(inbuf, 1, sizeof(inbuf), in compress()
|
/minix/lib/libc/inet/ |
H A D | inet_net_ntop.c | 178 unsigned char inbuf[16]; in inet_net_ntop_ipv6() local 198 memcpy(inbuf, src, p); in inet_net_ntop_ipv6() 199 memset(inbuf + p, 0, 16 - p); in inet_net_ntop_ipv6() 203 inbuf[p-1] &= m; in inet_net_ntop_ipv6() 206 s = inbuf; in inet_net_ntop_ipv6()
|
/minix/usr.bin/uudecode/ |
H A D | uudecode.c | 294 char inbuf[MAXPATHLEN]; in base64_decode() local 298 if (!fgets(inbuf, sizeof(inbuf), stdin)) { in base64_decode() 306 n = b64_pton(inbuf, outbuf, sizeof(outbuf)); in base64_decode() 312 return (checkend(inbuf, "====", in base64_decode()
|
/minix/sys/fs/cd9660/ |
H A D | cd9660_rrip.c | 121 const char *inbuf; in cd9660_rrip_slink() local 146 inbuf = ".."; in cd9660_rrip_slink() 174 wlen = strlen(inbuf); in cd9660_rrip_slink() 179 inbuf = hostname; in cd9660_rrip_slink() 189 inbuf = pcomp->name; in cd9660_rrip_slink() 206 memcpy(outbuf, inbuf, wlen); in cd9660_rrip_slink() 228 const char *inbuf; in cd9660_rrip_altname() local 232 inbuf = ".."; in cd9660_rrip_altname() 249 inbuf = hostname; in cd9660_rrip_altname() 259 inbuf = (char *)p + 5; in cd9660_rrip_altname() [all …]
|
/minix/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | rd_rep.c | 41 const krb5_data *inbuf, in krb5_rd_rep() argument 52 ret = decode_AP_REP(inbuf->data, inbuf->length, &ap_rep, &len); in krb5_rd_rep()
|
H A D | rd_priv.c | 41 const krb5_data *inbuf, in krb5_rd_priv() argument 68 ret = decode_KRB_PRIV (inbuf->data, inbuf->length, &priv, &len); in krb5_rd_priv()
|
/minix/common/dist/zlib/ |
H A D | gzio.c | 63 Byte *inbuf; /* input buffer */ member 120 s->stream.next_in = s->inbuf = Z_NULL; 182 if (err != Z_OK || s->inbuf == Z_NULL) { 281 s->stream.next_in = s->inbuf; 315 s->stream.next_in = s->inbuf; 392 TRYFREE(s->inbuf); 469 s->stream.next_in = s->inbuf; 798 if (s->inbuf == Z_NULL) { 801 zmemzero(s->inbuf, Z_BUFSIZE); 827 s->stream.next_in = s->inbuf; [all …]
|
/minix/tests/lib/libc/regex/ |
H A D | main.c | 158 char inbuf[1000]; in regress() local 170 while (fgets(inbuf, sizeof(inbuf), in) != NULL) { in regress() 172 if (inbuf[0] == '#' || inbuf[0] == '\n') in regress() 174 inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */ in regress() 177 nf = split(inbuf, f, MAXF, "\t\t"); in regress()
|
/minix/lib/libc/compat/rpc/ |
H A D | compat_rpcb.c | 66 const rpcproc_t proc, const xdrproc_t inproc, const char *inbuf, in __weak_alias() 72 return __rpcb_rmtcall50(nc, name, prog, vers, proc, inproc, inbuf, in __weak_alias()
|
/minix/minix/drivers/tty/tty/arch/i386/ |
H A D | keyboard.c | 37 static unsigned short inbuf[KB_IN_BYTES]; variable 38 static unsigned short *inhead = inbuf; 39 static unsigned short *intail = inbuf; 169 if (inhead == inbuf + KB_IN_BYTES) inhead = inbuf; in do_input() 202 if (intail == inbuf + KB_IN_BYTES) intail = inbuf;
|
/minix/lib/libc/rpc/ |
H A D | clnt_bcast.c | 267 char *inbuf = NULL; /* Reply buf */ in rpc_broadcast_exp() local 383 inbuf = malloc(maxbufsize); in rpc_broadcast_exp() 385 if ((inbuf == NULL) || (outbuf == NULL)) { in rpc_broadcast_exp() 560 inlen = recvfrom(fdlist[i].fd, inbuf, fdlist[i].dsize, in rpc_broadcast_exp() 578 if (*((u_int32_t *)(void *)(inbuf)) == in rpc_broadcast_exp() 588 *((u_int32_t *)(void *)(inbuf)) == in rpc_broadcast_exp() 599 xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE); in rpc_broadcast_exp() 651 if (inbuf) in rpc_broadcast_exp() 652 (void) free(inbuf); in rpc_broadcast_exp()
|