Searched refs:olen (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-10.0-release/crypto/heimdal/lib/wind/
H A Dtest-ldap.c49 size_t olen; member in struct:testcase
71 size_t olen; local
78 olen = sizeof(out)/sizeof(out[0]);
79 assert(olen > t->olen);
81 ret = _wind_ldap_case_exact_attribute(t->in, t->ilen, out, &olen);
87 if (olen != t->olen) {
89 (unsigned)olen, (unsigned)t->olen);
[all...]
H A Dstringprep.c63 size_t olen; local
80 olen = *out_len;
81 ret = _wind_stringprep_normalize(tmp, tmp_len, tmp, &olen);
86 ret = _wind_stringprep_prohibited(tmp, olen, flags);
91 ret = _wind_stringprep_testbidi(tmp, olen, flags);
99 ret = _wind_ldap_case_exact_attribute(tmp, olen, out, out_len);
106 memcpy(out, tmp, sizeof(out[0]) * olen);
107 *out_len = olen;
H A Dldap.c49 size_t olen,
55 if (olen == 0) {
62 while(i < olen && tmp[i] == 0x20) /* skip initial spaces */
65 while (i < olen) {
70 while(i < olen && tmp[i] == 0x20) /* skip middle spaces */
48 _wind_ldap_case_exact_attribute(const uint32_t *tmp, size_t olen, uint32_t *out, size_t *out_len) argument
/freebsd-10.0-release/crypto/openssl/crypto/comp/
H A Dc_rle.c8 unsigned int olen, unsigned char *in, unsigned int ilen);
10 unsigned int olen, unsigned char *in, unsigned int ilen);
29 unsigned int olen, unsigned char *in, unsigned int ilen)
33 if (ilen == 0 || olen < (ilen-1))
45 unsigned int olen, unsigned char *in, unsigned int ilen)
49 if (olen < (ilen-1))
28 rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
44 rle_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
H A Dcomp.h20 unsigned char *out, unsigned int olen,
23 unsigned char *out, unsigned int olen,
44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
H A Dcomp_lib.c37 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, argument
46 ret=ctx->meth->compress(ctx,out,olen,in,ilen);
55 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, argument
65 ret=ctx->meth->expand(ctx,out,olen,in,ilen);
H A Dc_zlib.c30 unsigned int olen, unsigned char *in, unsigned int ilen);
32 unsigned int olen, unsigned char *in, unsigned int ilen);
54 unsigned int olen, unsigned char *in, unsigned int ilen);
56 unsigned int olen, unsigned char *in, unsigned int ilen);
192 unsigned int olen, unsigned char *in, unsigned int ilen)
205 state->ostream.avail_out = olen;
212 ilen,olen - state->ostream.avail_out,
213 (ilen != olen - state->ostream.avail_out)?"zlib":"clear");
215 return olen - state->ostream.avail_out;
219 unsigned int olen, unsigne
191 zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
218 zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
[all...]
/freebsd-10.0-release/contrib/sendmail/libsm/
H A Dutil.c146 int bufused, olen; local
153 for (ip = ibp, olen = 1; *ip != '\0'; ip++, olen++)
157 olen++;
163 if (olen > *bsp)
165 obp = sm_malloc_x(olen);
167 *bsp = olen;
183 SM_ASSERT(bufused <= olen);
190 obp = sm_malloc_x(olen);
192 *bsp = olen;
[all...]
/freebsd-10.0-release/contrib/smbfs/lib/smb/
H A Dkiconv.c53 size_t olen; local
63 olen = sizeof(dout);
66 if (sysctlbyname("net.smb.fs.iconv.add", &dout, &olen, &din, sizeof(din)) == -1) {
72 if (sysctlbyname("kern.iconv.add", &dout, &olen, &din, sizeof(din)) == -1)
/freebsd-10.0-release/crypto/openssh/
H A Drsa.c78 int len, ilen, olen; local
83 olen = BN_num_bytes(key->n);
84 outbuf = xmalloc(olen);
97 memset(outbuf, 0, olen);
107 int len, ilen, olen; local
109 olen = BN_num_bytes(key->n);
110 outbuf = xmalloc(olen);
123 memset(outbuf, 0, olen);
/freebsd-10.0-release/contrib/wpa/src/utils/
H A Dbase64.c34 size_t olen; local
37 olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */
38 olen += olen / 72; /* line feeds */
39 olen++; /* nul termination */
40 if (olen < len)
42 out = os_malloc(olen);
101 size_t i, count, olen; local
118 olen = count / 4 * 3;
119 pos = out = os_malloc(olen);
[all...]
/freebsd-10.0-release/contrib/nvi/common/
H A Dseq.c45 size_t olen,
64 if (output == NULL || olen == 0) {
66 olen = 0;
67 } else if ((p = v_wstrdup(sp, output, olen)) == NULL) {
73 qp->olen = olen;
104 olen = 0;
105 } else if ((qp->output = v_wstrdup(sp, output, olen)) == NULL) {
115 qp->olen = olen;
38 seq_set( SCR *sp, CHAR_T *name, size_t nlen, CHAR_T *input, size_t ilen, CHAR_T *output, size_t olen, seq_t stype, int flags) argument
309 int cnt, len, olen; local
357 size_t olen; local
[all...]
H A Dseq.h37 size_t olen; /* Output keys length. */ member in struct:_seq
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/
H A Dkey-gen.c42 apr_size_t olen = *len; /* remember the first length */
43 int i = olen - 1; /* initial index; we work backwards */
56 for (i = (olen - 1); i >= 0; i--)
87 *len = olen + (carry ? 1 : 0);
100 memmove(next+1, next, olen);
41 apr_size_t olen = *len; /* remember the first length */ local
/freebsd-10.0-release/lib/libkiconv/
H A Dxlat16_sysctl.c55 size_t olen; local
65 olen = sizeof(dout);
66 if (sysctlbyname("kern.iconv.add", &dout, &olen, &din, sizeof(din)) == -1)
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_fs/
H A Dkey-gen.c84 apr_size_t olen = *len; /* remember the first length */
97 for (i = (olen - 1); i >= 0; i--)
128 *len = olen + (carry ? 1 : 0);
141 memmove(next+1, next, olen);
83 apr_size_t olen = *len; /* remember the first length */ local
/freebsd-10.0-release/contrib/bsnmp/lib/
H A Dsnmpcrypto.c94 uint32_t i, keylen, olen; local
116 EVP_DigestFinal(&ctx, md, &olen) != 1)
121 EVP_DigestUpdate(&ctx, md, olen) != 1 ||
122 EVP_DigestFinal(&ctx, md, &olen) != 1)
125 if (olen < SNMP_USM_AUTH_SIZE) {
126 snmp_error("bad digest size - %d", olen);
176 int32_t err, olen; local
190 if (EVP_EncryptUpdate(&ctx, pdu->scoped_ptr, &olen, pdu->scoped_ptr,
192 EVP_EncryptFinal(&ctx, pdu->scoped_ptr + olen, &olen) !
204 int32_t err, olen; local
235 uint32_t keylen, olen; local
275 uint32_t keylen, olen; local
313 uint32_t i, keylen, olen; local
[all...]
/freebsd-10.0-release/usr.sbin/ppp/
H A Dtcpmss.c101 size_t hlen, olen, optlen; local
116 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1);
117 olen > 0; olen -= optlen, opt += optlen) {
124 if (optlen <= 0 || optlen > olen)
H A Ddeflate.c74 int olen, ilen, len, res, flush; local
110 olen = 0;
136 olen += (mo->m_len = DEFLATE_CHUNK_LEN);
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out);
145 olen -= 4; /* exclude the trailing EMPTY_BLOCK */
151 if (olen >= ilen) {
155 ilen, olen, *proto);
169 for (len = mo->m_len; len < olen; mo = mo->m_next, len += mo->m_len)
171 mo->m_len -= len - olen;
178 ccp->compout += olen;
204 int ilen, olen; local
[all...]
H A Dvjcomp.c118 int len, olen, rlen; local
122 olen = len = m_length(bp);
149 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
155 len -= olen;
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Daddipopt.c20 int olen = len; local
64 return len - olen;
/freebsd-10.0-release/libexec/revnetgroup/
H A Dparse_netgroup.c290 int len, olen; local
319 olen = 0;
332 linep = (char *)malloc(olen + len + 1);
333 if (olen > 0) {
334 bcopy(olinep, linep, olen);
337 bcopy(pos, linep + olen, len);
338 olen += len;
339 *(linep + olen) = '\0';
/freebsd-10.0-release/sys/fs/smbfs/
H A Dsmbfs_subr.c158 size_t olen; local
164 olen = sizeof(outbuf);
169 (vcp->vc_tolocal, NULL, NULL, &obuf, &olen, copt);
174 (vcp->vc_tolocal, (const char **)&ibuf, &ilen, &obuf, &olen, copt);
183 olen--;
187 *nmlen = sizeof(outbuf) - olen;
/freebsd-10.0-release/crypto/openssl/crypto/cms/
H A Dcms_pwri.c283 size_t olen; local
288 olen = (inlen + 4 + blocklen - 1)/blocklen;
289 olen *= blocklen;
290 if (olen < 2 * blocklen)
309 if (olen > inlen + 4)
310 RAND_pseudo_bytes(out + 4 + inlen, olen - 4 - inlen);
312 EVP_EncryptUpdate(ctx, out, &dummy, out, olen);
313 EVP_EncryptUpdate(ctx, out, &dummy, out, olen);
316 *outlen = olen;
/freebsd-10.0-release/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c50 unsigned olen; member in struct:fifolog_reader
70 fr->olen = fr->ff->recsize * 16;
71 fr->obuf = calloc(fr->olen, 1);
213 q = fr->obuf + (fr->olen - fr->ff->zs->avail_out);
280 zs->avail_out = fr->olen;
297 zs->avail_out, fr->olen);
312 if (zs->avail_out != fr->olen) {
313 q = fr->obuf + (fr->olen - zs->avail_out);
317 zs->avail_out = fr->olen - (q - p);

Completed in 177 milliseconds

1234