/freebsd-10-stable/sbin/dhclient/ |
H A D | convert.c | 54 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-10-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_aesctr2.c | 55 unsigned char ibuf[24]; local 69 memcpy(ibuf, iv, 8); 70 memcpy(ibuf + 8, plaintx, 16); 74 co.len = sizeof(ibuf); 75 co.src = ibuf; 81 memset(ibuf, 0, sizeof(ibuf)); 87 co.dst = ibuf; 88 co.dst_len = sizeof(ibuf);
|
/freebsd-10-stable/contrib/tcp_wrappers/ |
H A D | percent_m.c | 23 char *percent_m(obuf, ibuf) 25 char *ibuf; 28 char *cp = ibuf;
|
/freebsd-10-stable/usr.bin/stdbuf/ |
H A D | stdbuf.c | 51 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-10-stable/secure/usr.bin/bdes/ |
H A D | bdes.c | 355 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-10-stable/usr.bin/gzip/ |
H A D | unxz.c | 48 uint8_t ibuf[BUFSIZ]; local 54 strm.next_in = ibuf; 55 memcpy(ibuf, pre, prelen); 56 strm.avail_in = read(i, ibuf + prelen, sizeof(ibuf) - prelen); 76 strm.next_in = ibuf; 77 strm.avail_in = read(i, ibuf, sizeof(ibuf)); 110 if (strm.avail_in != 0 || read(i, ibuf, 1))
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/locale/ |
H A D | t_io.c | 61 wchar_t ibuf[] = { 0xcf10, 0 }; local 63 ATF_REQUIRE_ERRNO(EILSEQ, wprintf(L"%ls\n", ibuf) < 0); 80 wchar_t ibuf[] = { 0xcf10, 0 }; local 84 swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0); 96 wchar_t ibuf[] = { 0xcf40, 0 }; local 98 ATF_REQUIRE_EQ(wprintf(L"%ls\n", ibuf), 2); 110 wchar_t ibuf[] = { 0xcf40, 0 }; local 113 ATF_REQUIRE_EQ(swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf), 2); 116 struct ibuf { struct 125 struct ibuf *i [all...] |
/freebsd-10-stable/contrib/traceroute/ |
H A D | ifaddrlist.c | 80 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-10-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | network.c | 49 void *obuf, *ibuf; local 53 if ((ibuf = malloc(netibufsize)) == NULL) 59 if (ring_init(&netiring, ibuf, netibufsize) != 1) {
|
/freebsd-10-stable/usr.bin/mail/ |
H A D | quit.c | 72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local 210 if ((ibuf = Fopen(tempname, "r")) == NULL) { 225 (void)Fclose(ibuf); 235 (void)Fclose(ibuf); 252 (void)Fclose(ibuf); 265 rewind(ibuf); 266 c = getc(ibuf); 271 c = getc(ibuf); 273 (void)Fclose(ibuf); 393 FILE *obuf, *ibuf, *readsta local [all...] |
H A D | lex.c | 67 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 D | util.c | 133 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-10-stable/usr.bin/mkulzma/ |
H A D | mkulzma.c | 55 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-10-stable/crypto/openssl/crypto/bio/ |
H A D | bf_buff.c | 99 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-10-stable/contrib/sendmail/makemap/ |
H A D | makemap.c | 105 char ibuf[BUFSIZE]; local 394 while (sm_io_fgets(smioin, SM_TIME_DEFAULT, ibuf, sizeof ibuf) 405 p = strchr(ibuf, '\n'); 413 (long) sizeof ibuf); 418 if (ibuf[0] == '\0' || ibuf[0] == comment) 420 if (sep == '\0' && isascii(ibuf[0]) && isspace(ibuf[0])) 431 db_key.data = ibuf; [all...] |
/freebsd-10-stable/sbin/clri/ |
H A D | clri.c | 79 char *ibuf[MAXBSIZE]; local 84 void *v = ibuf; 127 if (read(fd, ibuf, bsize) != bsize) 153 if (write(fd, ibuf, bsize) != bsize)
|
/freebsd-10-stable/contrib/nvi/common/ |
H A D | encoding.c | 60 looks_utf8(const char *ibuf, size_t nbytes) argument 62 const u_char *buf = (u_char *)ibuf; 121 looks_utf16(const char *ibuf, size_t nbytes) argument 123 const u_char *buf = (u_char *)ibuf; 180 int decode_utf8(const char *ibuf) { argument 181 const u_char *buf = (u_char *)ibuf; 209 int decode_utf16(const char* ibuf, int bigend) { argument 210 const u_char *buf = (u_char *)ibuf;
|
/freebsd-10-stable/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 379 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-10-stable/contrib/wpa/src/eap_common/ |
H A D | eap_gpsk_common.c | 44 u8 ibuf[2], hash[16]; local 50 addr[0] = ibuf; 51 vlen[0] = sizeof(ibuf); 59 WPA_PUT_BE16(ibuf, i); 79 u8 ibuf[2], hash[SHA256_MAC_LEN]; local 85 addr[0] = ibuf; 86 vlen[0] = sizeof(ibuf); 94 WPA_PUT_BE16(ibuf, i);
|
/freebsd-10-stable/bin/ed/ |
H A D | io.c | 240 else if (n == 0 || ibuf[n - 1] != '\n') { 245 memcpy(cvbuf + l, ibuf, n); 271 REALLOC(ibuf, ibufsz, i + 2, ERR); 272 if (!(ibuf[i++] = c)) isbinary = 1; 276 ibuf[i] = '\0'; 277 ibufp = ibuf; 292 ibuf[i] = '\0'; 293 ibufp = ibuf;
|
/freebsd-10-stable/sys/amd64/amd64/ |
H A D | bpf_jit_machdep.c | 80 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-10-stable/sys/i386/i386/ |
H A D | bpf_jit_machdep.c | 80 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-10-stable/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 418 unsigned char *ibuf; /* Input buffer */ member in struct:__anon4 472 ctx->ibuf = NULL; 502 if (ctx->ibuf) { 505 OPENSSL_free(ctx->ibuf); 529 if (!ctx->ibuf) { 530 ctx->ibuf = OPENSSL_malloc(ctx->ibufsize); 531 if (!ctx->ibuf) { 536 zin->next_in = ctx->ibuf; 561 ret = BIO_read(b->next_bio, ctx->ibuf, ctx->ibufsize); 571 zin->next_in = ctx->ibuf; [all...] |
/freebsd-10-stable/contrib/nvi/cl/ |
H A D | cl_read.c | 106 clp->ibuf + clp->skip, SIZE(clp->ibuf) - clp->skip, &nr, tp)) { 108 rc = INPUT2INT5(sp, clp->cw, clp->ibuf, nr + clp->skip, 115 memmove(clp->ibuf, clp->ibuf + nr + clp->skip - n, n);
|
/freebsd-10-stable/libexec/bootpd/ |
H A D | getether.c | 130 struct ifreq ibuf[16]; 140 ifc.ifc_len = sizeof(ibuf); 141 ifc.ifc_buf = (caddr_t) ibuf; 148 ifrp = ibuf; 149 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len); 128 struct ifreq ibuf[16]; local
|