Searched refs:ibuf (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-9.3-release/sbin/dhclient/
H A Dconvert.c54 u_int32_t ibuf; local
56 memcpy(&ibuf, buf, sizeof(ibuf));
57 return (ntohl(ibuf));
63 int32_t ibuf; local
65 memcpy(&ibuf, buf, sizeof(ibuf));
66 return (ntohl(ibuf));
72 u_int16_t ibuf; local
74 memcpy(&ibuf, bu
81 int16_t ibuf; local
[all...]
/freebsd-9.3-release/crypto/openssl/fips/des/
H A Dfips_desmovs.c267 char ibuf[2048], tbuf[2048]; local
310 while (!err && (fgets(ibuf, sizeof(ibuf), afp)) != NULL) {
311 tidy_line(tbuf, ibuf);
312 ilen = strlen(ibuf);
313 /* printf("step=%d ibuf=%s",step,ibuf); */
320 if (ibuf[0] == '\n') { /* end of preamble */
325 fputs(ibuf, rfp);
328 } else if (ibuf[
[all...]
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dpercent_m.c23 char *percent_m(obuf, ibuf)
25 char *ibuf;
28 char *cp = ibuf;
/freebsd-9.3-release/usr.bin/stdbuf/
H A Dstdbuf.c51 char *ibuf, *obuf, *ebuf; local
55 ibuf = obuf = ebuf = NULL;
62 ibuf = optarg;
78 if (ibuf != NULL && setenv("_STDBUF_I", ibuf, 1) == -1)
80 "_STDBUF_I", ibuf);
/freebsd-9.3-release/secure/usr.bin/bdes/
H A Dbdes.c355 cvtkey(DES_cblock obuf, char *ibuf) argument
365 (void)strncpy(obuf, ibuf, 8);
371 if (ibuf[0] == '0' && (ibuf[1] == 'x' || ibuf[1] == 'X')) {
372 ibuf = &ibuf[2];
376 for (i = 0; ibuf[i] && i < 16; i++)
377 if ((nbuf[i] = tobinhex(ibuf[i], 16)) == -1)
391 if (ibuf[
592 DES_cblock ibuf; /* temp buffer for initialization vector */ local
676 char ibuf[8]; /* input buffer */ local
719 char ibuf[8]; /* input buffer */ local
765 char ibuf[8]; /* input buffer */ local
811 char ibuf[8]; /* input buffer */ local
859 char ibuf[8]; /* input buffer */ local
905 char ibuf[8]; /* input buffer */ local
953 char ibuf[8]; /* input buffer */ local
[all...]
/freebsd-9.3-release/contrib/traceroute/
H A Difaddrlist.c80 struct ifreq ibuf[(32 * 1024) / sizeof(struct ifreq)], ifr; local
81 #define MAX_IPADDR ((int)(sizeof(ibuf) / sizeof(ibuf[0])))
90 ifc.ifc_len = sizeof(ibuf);
91 ifc.ifc_buf = (caddr_t)ibuf;
98 sizeof(ibuf));
105 ifrp = ibuf;
106 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
/freebsd-9.3-release/crypto/openssl/fips/aes/
H A Dfips_aesavs.c492 char ibuf[2048]; local
536 while (!err && (fgets(ibuf, sizeof(ibuf), afp)) != NULL) {
537 tidy_line(tbuf, ibuf);
538 ilen = strlen(ibuf);
539 /* printf("step=%d ibuf=%s",step,ibuf); */
542 if (ibuf[0] == '\n') { /* end of preamble */
548 fputs(ibuf, rfp);
551 } else if (ibuf[
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c49 void *obuf, *ibuf; local
53 if ((ibuf = malloc(netibufsize)) == NULL)
59 if (ring_init(&netiring, ibuf, netibufsize) != 1) {
/freebsd-9.3-release/usr.bin/mail/
H A Dquit.c72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local
210 if ((ibuf = Fopen(tempname, "r")) == NULL) {
225 (void)Fclose(ibuf);
234 (void)Fclose(ibuf);
251 (void)Fclose(ibuf);
264 rewind(ibuf);
265 c = getc(ibuf);
270 c = getc(ibuf);
272 (void)Fclose(ibuf);
392 FILE *obuf, *ibuf, *readsta local
[all...]
H A Dlex.c67 FILE *ibuf; local
79 if ((ibuf = Fopen(name, "r")) == NULL) {
86 if (fstat(fileno(ibuf), &stb) < 0) {
88 (void)Fclose(ibuf);
93 (void)Fclose(ibuf);
129 mailsize = fsize(ibuf);
139 setptr(ibuf, 0);
146 mailsize = ftello(ibuf);
147 (void)Fclose(ibuf);
171 FILE *ibuf; local
[all...]
H A Dutil.c133 FILE *ibuf; local
139 ibuf = setinput(mp);
142 if (readline(ibuf, linebuf, LINESIZE) < 0)
145 if ((lc = gethfield(ibuf, linebuf, lc, &colon)) < 0)
502 FILE *ibuf; local
509 ibuf = setinput(mp);
511 if (readline(ibuf, linebuf, LINESIZE) < 0)
523 if (readline(ibuf, linebuf, LINESIZE) < 0)
/freebsd-9.3-release/usr.bin/mkulzma/
H A Dmkulzma.c55 char *iname, *oname, *obuf, *ibuf; local
132 ibuf = safe_malloc(hdr.blksz);
206 for(i = 0; i == 0 || ibuf != NULL; i++) {
207 ibuf = readblock(fdr, ibuf, hdr.blksz);
208 if (ibuf != NULL) {
222 strm.next_in = ibuf;
286 readblock(int fd, char *ibuf, u_int32_t clstsize) argument
290 bzero(ibuf, clstsize);
291 numread = read(fd, ibuf, clstsiz
[all...]
/freebsd-9.3-release/usr.bin/mkuzip/
H A Dmkuzip.c46 char *iname, *oname, *obuf, *ibuf; local
117 ibuf = safe_malloc(hdr.blksz);
180 for(i = 0; i == 0 || ibuf != NULL; i++) {
181 ibuf = readblock(fdr, ibuf, hdr.blksz);
182 if (ibuf != NULL) {
184 if (compress2(obuf, &destlen, ibuf, hdr.blksz,
231 readblock(int fd, char *ibuf, u_int32_t clstsize) argument
235 bzero(ibuf, clstsize);
236 numread = read(fd, ibuf, clstsiz
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Dbf_buff.c99 ctx->ibuf = (char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
100 if (ctx->ibuf == NULL) {
106 OPENSSL_free(ctx->ibuf);
130 if (b->ibuf != NULL)
131 OPENSSL_free(b->ibuf);
161 memcpy(out, &(ctx->ibuf[ctx->ibuf_off]), i);
197 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size);
315 p1 = ctx->ibuf;
342 if (ctx->ibuf != NULL)
343 OPENSSL_free(ctx->ibuf);
[all...]
/freebsd-9.3-release/contrib/sendmail/makemap/
H A Dmakemap.c105 char ibuf[BUFSIZE]; local
398 while (sm_io_fgets(smioin, SM_TIME_DEFAULT, ibuf, sizeof ibuf)
409 p = strchr(ibuf, '\n');
417 (long) sizeof ibuf);
422 if (ibuf[0] == '\0' || ibuf[0] == comment)
424 if (sep == '\0' && isascii(ibuf[0]) && isspace(ibuf[0]))
435 db_key.data = ibuf;
[all...]
/freebsd-9.3-release/sbin/clri/
H A Dclri.c79 char *ibuf[MAXBSIZE]; local
84 void *v = ibuf;
127 if (read(fd, ibuf, bsize) != bsize)
153 if (write(fd, ibuf, bsize) != bsize)
/freebsd-9.3-release/contrib/nvi/ip/
H A Dip_read.c60 memmove(ipp->ibuf, ipp->ibuf + ipp->iskip, ipp->iblen);
117 bp = ipp->ibuf + ipp->iblen;
118 blen = sizeof(ipp->ibuf) - ipp->iblen;
204 switch (ipp->ibuf[0]) {
225 memcpy(&val1, ipp->ibuf + IPO_CODE_LEN, IPO_INT_LEN);
228 ipp->ibuf + IPO_CODE_LEN + IPO_INT_LEN, IPO_INT_LEN);
245 memcpy(&val1, ipp->ibuf + IPO_CODE_LEN, IPO_INT_LEN);
250 evp->e_csp = ipp->ibuf + IPO_CODE_LEN + IPO_INT_LEN;
H A Dip.h19 char ibuf[256]; /* Input buffer. */ member in struct:_ip_private
/freebsd-9.3-release/bin/ed/
H A Dio.c237 else if (n == 0 || ibuf[n - 1] != '\n') {
242 memcpy(cvbuf + l, ibuf, n);
268 REALLOC(ibuf, ibufsz, i + 2, ERR);
269 if (!(ibuf[i++] = c)) isbinary = 1;
273 ibuf[i] = '\0';
274 ibufp = ibuf;
289 ibuf[i] = '\0';
290 ibufp = ibuf;
/freebsd-9.3-release/contrib/nvi/tk/
H A Dtki.h26 CHAR_T ibuf[64]; /* Input keys. */ member in struct:_tk_private
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c379 if (sc->got >= sizeof(sc->ibuf)) {
395 sc->ibuf[sc->got ++] = (c & TTY_CHARMASK);
410 NG_NODE_NAME(sc->node), sc->ibuf[0]);
419 switch (sc->ibuf[0]) {
435 sc->ibuf[0]);
450 switch (sc->ibuf[0]) {
453 (sc->ibuf))->length);
457 c = ((ng_hci_scodata_pkt_t *)(sc->ibuf))->length;
461 c = ((ng_hci_event_pkt_t *)(sc->ibuf))->length;
466 sc->ibuf[
[all...]
/freebsd-9.3-release/contrib/wpa/src/eap_common/
H A Deap_gpsk_common.c50 u8 ibuf[2], hash[16]; local
56 addr[0] = ibuf;
57 vlen[0] = sizeof(ibuf);
65 WPA_PUT_BE16(ibuf, i);
85 u8 ibuf[2], hash[SHA256_MAC_LEN]; local
91 addr[0] = ibuf;
92 vlen[0] = sizeof(ibuf);
100 WPA_PUT_BE16(ibuf, i);
/freebsd-9.3-release/sys/amd64/amd64/
H A Dbpf_jit_machdep.c80 stream->ibuf[stream->cur_ip] = (u_char)value;
85 *((u_short *)(stream->ibuf + stream->cur_ip)) = (u_short)value;
90 *((u_int *)(stream->ibuf + stream->cur_ip)) = value;
605 stream.ibuf = malloc(*size, M_BPFJIT, M_NOWAIT);
606 if (stream.ibuf == NULL)
609 stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE,
611 if (stream.ibuf == MAP_FAILED) {
612 stream.ibuf = NULL;
645 if (stream.ibuf != NULL &&
646 mprotect(stream.ibuf, *siz
[all...]
/freebsd-9.3-release/sys/i386/i386/
H A Dbpf_jit_machdep.c80 stream->ibuf[stream->cur_ip] = (u_char)value;
85 *((u_short *)(stream->ibuf + stream->cur_ip)) = (u_short)value;
90 *((u_int *)(stream->ibuf + stream->cur_ip)) = value;
634 stream.ibuf = malloc(*size, M_BPFJIT, M_NOWAIT);
635 if (stream.ibuf == NULL)
638 stream.ibuf = mmap(NULL, *size, PROT_READ | PROT_WRITE,
640 if (stream.ibuf == MAP_FAILED) {
641 stream.ibuf = NULL;
674 if (stream.ibuf != NULL &&
675 mprotect(stream.ibuf, *siz
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/comp/
H A Dc_zlib.c417 unsigned char *ibuf; /* Input buffer */ member in struct:__anon33
471 ctx->ibuf = NULL;
501 if (ctx->ibuf) {
504 OPENSSL_free(ctx->ibuf);
528 if (!ctx->ibuf) {
529 ctx->ibuf = OPENSSL_malloc(ctx->ibufsize);
530 if (!ctx->ibuf) {
535 zin->next_in = ctx->ibuf;
560 ret = BIO_read(b->next_bio, ctx->ibuf, ctx->ibufsize);
570 zin->next_in = ctx->ibuf;
[all...]

Completed in 303 milliseconds

123