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

12345

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/wind/
H A Dtest-ldap.c51 size_t olen; member in struct:testcase
73 size_t olen; local
80 olen = sizeof(out)/sizeof(out[0]);
81 assert(olen > t->olen);
83 ret = _wind_ldap_case_exact_attribute(t->in, t->ilen, out, &olen);
89 if (olen != t->olen) {
91 (unsigned)olen, (unsigned)t->olen);
[all...]
H A Dstringprep.c65 size_t olen; local
82 olen = *out_len;
83 ret = _wind_stringprep_normalize(tmp, tmp_len, tmp, &olen);
88 ret = _wind_stringprep_prohibited(tmp, olen, flags);
93 ret = _wind_stringprep_testbidi(tmp, olen, flags);
101 ret = _wind_ldap_case_exact_attribute(tmp, olen, out, out_len);
108 memcpy(out, tmp, sizeof(out[0]) * olen);
109 *out_len = olen;
H A Dldap.c51 size_t olen,
57 if (olen == 0) {
64 while(i < olen && tmp[i] == 0x20) /* skip initial spaces */
67 while (i < olen) {
72 while(i < olen && tmp[i] == 0x20) /* skip middle spaces */
50 _wind_ldap_case_exact_attribute(const uint32_t *tmp, size_t olen, uint32_t *out, size_t *out_len) argument
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
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);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/
H A Dbase64.c40 size_t olen; local
43 olen = len * 4 / 3 + 4; /* 3-byte blocks to 4-byte */
44 olen += olen / 72; /* line feeds */
45 olen++; /* nul termination */
46 if (olen < len)
48 out = os_malloc(olen);
107 size_t i, count, olen; local
123 olen = count / 4 * 3;
124 pos = out = os_malloc(olen);
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/common/
H A Dseq.c39 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
56 if (output == NULL || olen == 0) {
58 olen = 0;
59 } else if ((p = v_wstrdup(sp, output, olen)) == NULL) {
65 qp->olen = olen;
96 olen = 0;
97 } else if ((qp->output = v_wstrdup(sp, output, olen)) == NULL) {
107 qp->olen = olen;
277 int cnt, len, olen; local
321 size_t olen; local
[all...]
H A Dseq.h39 size_t olen; /* Output keys length. */ member in struct:_seq
/netbsd-6-1-5-RELEASE/dist/smbfs/lib/smb/
H A Dkiconv.c59 int olen;
69 olen = sizeof(dout);
72 if (sysctlbyname("net.smb.fs.iconv.add", &dout, &olen, &din, sizeof(din)) == -1) {
78 if (sysctlbyname("kern.iconv.add", &dout, &olen, &din, sizeof(din)) == -1)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dexample_evp_cipher.c73 int ilen, olen; local
126 ret = EVP_CipherUpdate(&ctx, obuf, &olen, ibuf, ilen);
132 fwrite(obuf, 1, olen, out);
138 ret = EVP_CipherFinal_ex(&ctx, obuf, &olen);
144 fwrite(obuf, 1, olen, out);
/netbsd-6-1-5-RELEASE/games/pig/
H A Dpig.c99 int olen, allupper, firstupper; local
122 for (start = 0, olen = len;
123 !strchr("aeiouyAEIOUY", buf[start]) && start < olen;) {
125 if ((ch == 'q' || ch == 'Q') && start < olen &&
131 (void)printf("%.*s%s", olen, buf + start, allupper ? "AY" : "ay");
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Daddipopt.c20 int olen = len; local
66 return len - olen;
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/revnetgroup/
H A Dparse_netgroup.c294 int len, olen; local
323 olen = 0;
336 linep = (char *)malloc(olen + len + 1);
337 if (olen > 0) {
338 memmove(linep, olinep, olen);
341 memmove(linep + olen, pos, len);
342 olen += len;
343 *(linep + olen) = '\0';
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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;
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/
H A Dcbcp.c244 int code, opt, id, len, olen, delay; local
270 GETCHAR(olen, p);
272 if (olen < 2 || olen > len) {
277 len -= olen;
284 if (olen > 2) {
289 if (olen > 3) {
294 memcpy(str, p, olen - 4);
295 str[olen - 4] = 0;
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dlcl_ng.c362 int len, olen, cont; local
393 olen = 0;
408 if (!(linep = malloc(olen + len + 1))){
409 if (olen > 0)
417 if (olen > 0) {
418 memcpy(linep, olinep, olen);
421 memcpy(linep + olen, pos, len);
422 olen += len;
423 *(linep + olen) = '\0';
/netbsd-6-1-5-RELEASE/sys/net/
H A Dppp-deflate.c235 int proto, olen, wspace, r, flush; local
290 olen = 0;
310 olen += wspace;
315 if (maxolen - olen > MLEN)
328 olen += (m->m_len = wspace - state->strm.avail_out);
333 if (m != NULL && olen < orig_len) {
334 state->stats.comp_bytes += olen;
343 olen = orig_len;
348 return olen;
469 int rlen, olen, ospac local
[all...]
/netbsd-6-1-5-RELEASE/dist/pppd/pppdump/
H A Ddeflate.c248 int rlen, olen; local
288 olen = state->mru + 2 - state->strm.avail_out;
289 (*mo)->len = olen;
292 ++olen; /* for suppressed protocol high byte */
293 olen += 2; /* for address, control */
296 if (olen > state->mru + PPP_HDRLEN)
298 state->unit, olen, state->mru + PPP_HDRLEN);
301 state->stats.unc_bytes += olen;
/netbsd-6-1-5-RELEASE/dist/ipf/tools/
H A Dipfs.c105 int fd, olen, nlen, rw; local
115 olen = strlen(ifs);
117 olen >= sizeof(ips.ips_is.is_ifname))
128 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) {
132 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) {
136 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) {
140 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) {
168 int fd, olen, nlen, rw; local
179 olen = strlen(ifs);
182 olen >
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/
H A Dipsend.c208 int mtu = 1500, olen = 0, c, nonl = 0; local
313 olen = buildopts(optarg, options, (IP_HL(ip) - 5) << 2);
370 if (olen)
375 printf("Options: %d\n", olen);
376 hlen = sizeof(*ip) + olen;
378 ip->ip_len += olen;
387 bcopy(options, p + sizeof(*ip), olen);
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-pim.c652 u_int16_t otype, olen; local
657 olen = EXTRACT_16BITS(&bp[2]);
658 TCHECK2(bp[0], 4 + olen);
663 olen);
672 if (olen != 4) {
673 (void)printf("ERROR: Option Lenght != 4 Bytes (%u)", olen);
688 switch (olen) {
696 printf("ERROR: Option Lenght != 4 Bytes (%u)", olen);
723 while (ptr < (bp+olen)) {
738 print_unknown_data(bp,"\n\t ",olen);
[all...]
/netbsd-6-1-5-RELEASE/lib/libterminfo/
H A Dtparm.c193 unsigned int done, dot, minus, width, precision, olen; local
320 olen = 0;
326 olen = MAX(width, precision);
341 if (l < (size_t)olen)
342 l = olen;
368 if (onum(term, fmt, (int)val, olen) == 0)

Completed in 304 milliseconds

12345