/freebsd-11-stable/tools/test/iconv/gnu/ |
H A D | gnu.c | 335 mb_to_uc_fb(const char* inbuf, size_t inbufsize, argument 351 uint16_t inbuf[1] = { 0xF187 }; local 369 inptr = (const char *)inbuf; 393 char *inbuf = "works!", *outptr; local 401 inptr = (const char *)inbuf; 408 return ((memcmp(inbuf, outbuf, 6) == 0) ? 0 : 1);
|
/freebsd-11-stable/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc_cache.c | 177 static size_t _unmarshall8(uint8_t * inbuf, uint8_t * num) argument 179 (*num) = inbuf[0]; 184 static size_t _unmarshall16(uint8_t * inbuf, uint16_t * num) argument 186 (*num) = ((uint16_t) inbuf[1] << 8) | inbuf[0]; 191 static size_t _unmarshall32(uint8_t * inbuf, uint32_t * num) argument 193 (*num) = (uint32_t) inbuf[0]; 194 (*num) |= ((uint32_t) inbuf[1] << 8); 195 (*num) |= ((uint32_t) inbuf[2] << 16); 196 (*num) |= ((uint32_t) inbuf[ 201 _unmarshall64(uint8_t * inbuf, uint64_t * num) argument 215 _unmarshall_buf(const void *inbuf, void *outbuf, unsigned int len) argument 760 _marshall_buf(void *outbuf, const void *inbuf, unsigned int len) argument [all...] |
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | charset.c | 176 const uchar *inbuf = *inbufp; local 182 c = *inbuf; 203 inbuf++; 206 cppchar_t n = *inbuf++; 223 *inbufp = inbuf; 312 const uchar *inbuf; local 317 inbuf = *inbufp; 319 s = inbuf[bigend ? 0 : 3] << 24; 320 s += inbuf[bigend ? 1 : 2] << 16; 321 s += inbuf[bigen 404 const uchar *inbuf = *inbufp; local 459 const uchar *inbuf; local 555 ICONV_CONST char *inbuf; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | remote-sds.c | 281 tob64 (unsigned char *inbuf, char *outbuf, int len) 293 sum = ((long) *inbuf++) << 16; 294 sum |= ((long) *inbuf++) << 8; 295 sum |= ((long) *inbuf++); 307 fromb64 (char *inbuf, char *outbuf, int len) 317 sum = (*inbuf++ - '0') << 18; 318 sum |= (*inbuf++ - '0') << 12; 319 sum |= (*inbuf++ - '0') << 6; 320 sum |= (*inbuf++ - '0'); 869 unsigned char inbuf[50 280 tob64(unsigned char *inbuf, char *outbuf, int len) argument 306 fromb64(char *inbuf, char *outbuf, int len) argument 862 unsigned char inbuf[500]; local [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_deflate.c | 64 u_char inbuf[DEFLATE_BUF_SIZE]; /* input buffer */ member in struct:ng_deflate_private 471 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); 474 /* Compress "inbuf" into "outbuf". */ 476 if (priv->inbuf[0] != 0) { 477 priv->cx.next_in = priv->inbuf; 480 priv->cx.next_in = priv->inbuf + 1; /* compress protocol */ 565 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); 568 if ((priv->inbuf[0] & 0x01) != 0) { 569 proto = priv->inbuf[0]; 572 proto = be16dec(priv->inbuf); [all...] |
H A D | ng_pred1.c | 73 u_char inbuf[PRED1_BUF_SIZE]; /* input buffer */ member in struct:ng_pred1_private 411 m_copydata(m, 0, inlen, (caddr_t)(priv->inbuf + 2)); 417 fcs = Crc16(fcs, priv->inbuf + 2, inlen); 421 len = Pred1Compress(node, priv->inbuf + 2, priv->outbuf + 2, inlen); 431 out = priv->inbuf; 489 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); 494 len = priv->inbuf[0] << 8; 495 len += priv->inbuf[1]; 503 len1 = Pred1Decompress(node, priv->inbuf + 2, priv->outbuf, 523 fcs = Crc16(fcs, priv->inbuf [all...] |
H A D | ng_mppc.c | 501 u_char *inbuf, *outbuf; local 510 inbuf = mtod(m, u_char *); 513 inbuf = malloc(inlen, M_NETGRAPH_MPPC, M_NOWAIT); 514 if (inbuf == NULL) 516 m_copydata(m, 0, inlen, (caddr_t)inbuf); 524 free(inbuf, M_NETGRAPH_MPPC); 533 source = inbuf; 565 free(inbuf, M_NETGRAPH_MPPC); 762 u_char *inbuf, *outbuf; local 771 inbuf [all...] |
/freebsd-11-stable/sys/fs/cd9660/ |
H A D | cd9660_rrip.c | 120 char *outbuf, *inbuf; local 145 inbuf = ".."; 170 inbuf = ana->imp->im_mountp->mnt_stat.f_mntonname; 171 wlen = strlen(inbuf); 178 inbuf = hostbuf; 179 wlen = strlen(inbuf); 188 inbuf = pcomp->name; 205 bcopy(inbuf,outbuf,wlen); 229 char *inbuf; local 234 inbuf [all...] |
H A D | cd9660_util.c | 68 char inbuf[3], outbuf[3], *inp, *outp; local 78 inbuf[0]=(char)*(isofn - 1); 79 inbuf[1]=(char)*isofn; 80 inbuf[2]='\0'; 81 inp = inbuf;
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_gzip.c | 56 u_char *inbuf; member in struct:imgact_gzip 139 if (igz.inbuf) 140 kmap_free_wakeup(exec_map, (vm_offset_t)igz.inbuf, PAGE_SIZE); 306 if (igz->inbuf && igz->idx < (igz->offset + PAGE_SIZE)) { 307 return igz->inbuf[(igz->idx++) - igz->offset]; 309 if (igz->inbuf) 310 kmap_free_wakeup(exec_map, (vm_offset_t)igz->inbuf, PAGE_SIZE); 314 (vm_offset_t *) & igz->inbuf, /* address */ 327 return igz->inbuf[(igz->idx++) - igz->offset];
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | base64.c | 126 unsigned char *inbuf, size_t *inbuflen, size_t *linelen, 164 memcpy(inbuf + *inbuflen, p, 3 - *inbuflen); 166 encode_group(inbuf, group); 181 memcpy(inbuf + *inbuflen, p, end - p); 413 unsigned char *inbuf, int *inbuflen, svn_boolean_t *done) 446 memset(inbuf + *inbuflen, 0, 4 - *inbuflen); 447 decode_group(inbuf, group); 458 inbuf[(*inbuflen)++] = find; 461 decode_group(inbuf, group); 123 encode_bytes(svn_stringbuf_t *str, const void *data, apr_size_t len, unsigned char *inbuf, size_t *inbuflen, size_t *linelen, svn_boolean_t break_lines) argument 409 decode_bytes(svn_stringbuf_t *str, const char *data, apr_size_t len, unsigned char *inbuf, int *inbuflen, svn_boolean_t *done) argument
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipfsyncd.c | 225 int inbuf; local 237 inbuf = 0; 262 n1 = read(lfd, buff+inbuf, BUFFERLEN-inbuf); 280 inbuf += left; 283 inbuf = 0; 514 do_kbuff(inbuf, buf, left) 515 int inbuf, *left; 529 bytes = inbuf;
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | rd_priv.c | 39 const krb5_data *inbuf, 66 ret = decode_KRB_PRIV (inbuf->data, inbuf->length, &priv, &len); 37 krb5_rd_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument
|
H A D | rd_safe.c | 86 const krb5_data *inbuf, 110 ret = decode_KRB_SAFE (inbuf->data, inbuf->length, &safe, &len); 84 krb5_rd_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument
|
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/ |
H A D | ctm_smail.c | 322 unsigned char inbuf[LINE_LENGTH*3/4]; local 334 want = (msg_size < sizeof(inbuf)) ? msg_size : sizeof(inbuf); 335 if ((n = fread(inbuf, sizeof(char), want, delta_fp)) == 0) 340 add_ck(cksum, inbuf[i]); 346 ip = inbuf;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/regex/ |
H A D | main.c | 158 char inbuf[1000]; local 170 while (fgets(inbuf, sizeof(inbuf), in) != NULL) { 172 if (inbuf[0] == '#' || inbuf[0] == '\n') 174 inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */ 177 nf = split(inbuf, f, MAXF, "\t\t");
|
/freebsd-11-stable/lib/libc/regex/grot/ |
H A D | main.c | 131 char inbuf[1000]; local 143 while (fgets(inbuf, sizeof(inbuf), in) != NULL) { 145 if (inbuf[0] == '#' || inbuf[0] == '\n') 147 inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */ 150 nf = split(inbuf, f, MAXF, "\t\t");
|
/freebsd-11-stable/sys/libkern/ |
H A D | iconv.c | 280 iconv_conv(void *handle, const char **inbuf, argument 283 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, 0); 287 iconv_conv_case(void *handle, const char **inbuf, argument 290 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, casetype); 294 iconv_convchr(void *handle, const char **inbuf, argument 297 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, 0); 301 iconv_convchr_case(void *handle, const char **inbuf, argument 304 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, casetype);
|
H A D | iconv_xlat16.c | 111 iconv_xlat16_conv(void *d2p, const char **inbuf, argument 124 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) 128 src = *inbuf; 145 * inbuf char is a double byte char 169 * inbuf char is a single byte char 202 * XLAT16_ACCEPT_NULL_IN requires inbuf has 2byte 268 * there is a case that inbuf char is a single 287 *inbuf += in - ir;
|
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 39 struct wpabuf *inbuf; member in struct:eap_pwd_data 162 data->inbuf = data->outbuf = NULL; 196 wpabuf_free(data->inbuf); 962 if (data->inbuf) { 968 data->inbuf = wpabuf_alloc(tot_len); 969 if (data->inbuf == NULL) { 982 if (!data->inbuf) { 990 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { 994 (int) wpabuf_len(data->inbuf)); 995 wpabuf_free(data->inbuf); [all...] |
/freebsd-11-stable/contrib/dtc/ |
H A D | flattree.c | 589 struct inbuf { struct 593 static void inbuf_init(struct inbuf *inb, void *base, void *limit) 600 static void flat_read_chunk(struct inbuf *inb, void *p, int len) 610 static uint32_t flat_read_word(struct inbuf *inb) 621 static void flat_realign(struct inbuf *inb, int align) 630 static char *flat_read_string(struct inbuf *inb) 651 static struct data flat_read_data(struct inbuf *inb, int len) 668 static char *flat_read_stringtable(struct inbuf *inb, int offset) 687 static struct property *flat_read_property(struct inbuf *dtbuf, 688 struct inbuf *strbu [all...] |
/freebsd-11-stable/sbin/routed/ |
H A D | input.c | 65 } inbuf; local 69 } inbuf; local 75 cc = recvfrom(sock, &inbuf, sizeof(inbuf), 0, 94 if ((cc -= sizeof(inbuf.ifname)) < 0) 96 cc+sizeof(inbuf.ifname)); 104 aifp = ifwithname(inbuf.ifname, 0); 108 IFNAMSIZ, inbuf.ifname); 127 input(&from, sifp, aifp, &inbuf.pbuf.rip, cc);
|
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 37 struct wpabuf *inbuf; member in struct:eap_pwd_data 135 data->inbuf = data->outbuf = NULL; 162 wpabuf_free(data->inbuf); 896 if (data->inbuf) { 901 data->inbuf = wpabuf_alloc(tot_len); 902 if (data->inbuf == NULL) { 915 if (!data->inbuf) { 921 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) { 925 (int) wpabuf_size(data->inbuf)); 929 wpabuf_put_data(data->inbuf, po [all...] |
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | kerberos5.c | 544 krb5_data inbuf; local 546 inbuf.data = (char *)data; 547 inbuf.length = cnt; 578 &inbuf); 671 krb5_data inbuf; local 674 inbuf.length = cnt; 675 inbuf.data = (char *)data; 677 ret = krb5_rd_rep(context, auth_context, &inbuf, &reply);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | clnt_bcast.c | 255 char *inbuf = NULL; /* Reply buf */ local 371 inbuf = malloc(maxbufsize); 373 if ((inbuf == NULL) || (outbuf == NULL)) { 549 inlen = _recvfrom(fdlist[i].fd, inbuf, fdlist[i].dsize, 567 if (*((u_int32_t *)(void *)(inbuf)) == 577 *((u_int32_t *)(void *)(inbuf)) == 588 xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE); 640 free(inbuf);
|