Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/sys/
H A Diconv.h159 int iconv_conv(void *handle, const char **inbuf,
161 int iconv_conv_case(void *handle, const char **inbuf,
163 int iconv_convchr(void *handle, const char **inbuf,
165 int iconv_convchr_case(void *handle, const char **inbuf,
181 int (*conv)(void *handle, const char **inbuf, size_t *inbytesleft,
183 int (*conv_case)(void *handle, const char **inbuf, size_t *inbytesleft,
185 int (*convchr)(void *handle, const char **inbuf, size_t *inbytesleft,
187 int (*convchr_case)(void *handle, const char **inbuf, size_t *inbytesleft,
/f-stack/freebsd/libkern/
H A Diconv_xlat.c82 iconv_xlat_conv(void *d2p, const char **inbuf, in iconv_xlat_conv() argument
91 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) in iconv_xlat_conv()
99 src = *inbuf; in iconv_xlat_conv()
103 *inbuf += n; in iconv_xlat_conv()
H A Diconv.c283 iconv_conv(void *handle, const char **inbuf, in iconv_conv() argument
286 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, 0); in iconv_conv()
290 iconv_conv_case(void *handle, const char **inbuf, in iconv_conv_case() argument
293 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 0, casetype); in iconv_conv_case()
297 iconv_convchr(void *handle, const char **inbuf, in iconv_convchr() argument
300 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, 0); in iconv_convchr()
304 iconv_convchr_case(void *handle, const char **inbuf, in iconv_convchr_case() argument
307 return ICONV_CONVERTER_CONV(handle, inbuf, inbytesleft, outbuf, outbytesleft, 1, casetype); in iconv_convchr_case()
H A Diconv_xlat16.c113 iconv_xlat16_conv(void *d2p, const char **inbuf, in iconv_xlat16_conv() argument
126 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) in iconv_xlat16_conv()
130 src = *inbuf; in iconv_xlat16_conv()
288 *inbuf += in - ir; in iconv_xlat16_conv()
H A Diconv_ucs.c169 iconv_ucs_conv(void *d2p, const char **inbuf, in iconv_ucs_conv() argument
181 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) in iconv_ucs_conv()
185 src = *inbuf; in iconv_ucs_conv()
367 *inbuf += in - ir; in iconv_ucs_conv()
H A Diconv_converter_if.m46 const char **inbuf;
/f-stack/freebsd/netgraph/
H A Dng_deflate.c448 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_compress()
453 if (priv->inbuf[0] != 0) { in ng_deflate_compress()
454 priv->cx.next_in = priv->inbuf; in ng_deflate_compress()
557 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_decompress()
560 if ((priv->inbuf[0] & 0x01) != 0) { in ng_deflate_decompress()
561 proto = priv->inbuf[0]; in ng_deflate_decompress()
564 proto = be16dec(priv->inbuf); in ng_deflate_decompress()
575 rseqnum = be16dec(priv->inbuf + offset); in ng_deflate_decompress()
590 priv->cx.next_in = priv->inbuf + offset; in ng_deflate_decompress()
669 if (priv->inbuf[0] == 0) { in ng_deflate_decompress()
[all …]
H A Dng_mppc.c502 u_char *inbuf, *outbuf; in ng_mppc_compress() local
511 inbuf = mtod(m, u_char *); in ng_mppc_compress()
515 if (inbuf == NULL) in ng_mppc_compress()
525 free(inbuf, M_NETGRAPH_MPPC); in ng_mppc_compress()
534 source = inbuf; in ng_mppc_compress()
566 free(inbuf, M_NETGRAPH_MPPC); in ng_mppc_compress()
762 u_char *inbuf, *outbuf; in ng_mppc_decompress() local
775 if (inbuf == NULL) { in ng_mppc_decompress()
789 free(inbuf, M_NETGRAPH_MPPC); in ng_mppc_decompress()
795 source = inbuf; in ng_mppc_decompress()
[all …]
H A Dng_pred1.c75 u_char inbuf[PRED1_BUF_SIZE]; /* input buffer */ member
413 m_copydata(m, 0, inlen, (caddr_t)(priv->inbuf + 2)); in ng_pred1_compress()
419 fcs = Crc16(fcs, priv->inbuf + 2, inlen); in ng_pred1_compress()
423 len = Pred1Compress(node, priv->inbuf + 2, priv->outbuf + 2, inlen); in ng_pred1_compress()
433 out = priv->inbuf; in ng_pred1_compress()
491 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_pred1_decompress()
496 len = priv->inbuf[0] << 8; in ng_pred1_decompress()
497 len += priv->inbuf[1]; in ng_pred1_decompress()
505 len1 = Pred1Decompress(node, priv->inbuf + 2, priv->outbuf, in ng_pred1_decompress()
525 fcs = Crc16(fcs, priv->inbuf + inlen - 2, 2); in ng_pred1_decompress()
[all …]
/f-stack/tools/ifconfig/
H A Difbridge.c133 char *inbuf = NULL, *ninbuf; in bridge_interfaces() local
148 ninbuf = realloc(inbuf, len); in bridge_interfaces()
155 bifc.ifbic_buf = inbuf = ninbuf; in bridge_interfaces()
198 free(inbuf); in bridge_interfaces()
200 rte_free(inbuf); in bridge_interfaces()
209 char *inbuf = NULL, *ninbuf; in bridge_addresses() local
214 ninbuf = realloc(inbuf, len); in bridge_addresses()
218 ifbac.ifbac_buf = inbuf = ninbuf; in bridge_addresses()
236 free(inbuf); in bridge_addresses()
/f-stack/freebsd/crypto/rc4/
H A Drc4.c89 const u_char *inbuf, u_char *outbuf, int buflen) in rc4_crypt() argument
106 outbuf[i] = inbuf[i] ^ state->perm[j]; in rc4_crypt()
H A Drc4.h51 const u_char *inbuf, u_char *outbuf, int buflen);
/f-stack/freebsd/contrib/openzfs/config/
H A Diconv.m4262 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
270 …am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t …