/freebsd-9.3-release/crypto/openssl/crypto/comp/ |
H A D | c_rle.c | 8 unsigned int olen, unsigned char *in, 11 unsigned int olen, unsigned char *in, 31 unsigned int olen, unsigned char *in, 36 if (olen < (ilen + 1)) { 47 unsigned int olen, unsigned char *in, 52 if (ilen == 0 || olen < (ilen - 1)) { 30 rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument 46 rle_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument
|
H A D | comp.h | 19 unsigned char *out, unsigned int olen, 22 unsigned char *out, unsigned int olen, 42 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 44 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
H A D | comp_lib.c | 35 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, argument 43 ret = ctx->meth->compress(ctx, out, olen, in, ilen); 51 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, argument 60 ret = ctx->meth->expand(ctx, out, olen, in, ilen);
|
H A D | c_zlib.c | 30 unsigned int olen, unsigned char *in, 33 unsigned int olen, unsigned char *in, 54 unsigned int olen, unsigned char *in, 57 unsigned int olen, unsigned char *in, 194 unsigned int olen, unsigned char *in, 208 state->ostream.avail_out = olen; 215 ilen, olen - state->ostream.avail_out, 216 (ilen != olen - state->ostream.avail_out) ? "zlib" : "clear"); 218 return olen - state->ostream.avail_out; 222 unsigned int olen, unsigne 193 zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument 221 zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument [all...] |
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | util.c | 146 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-9.3-release/contrib/smbfs/lib/smb/ |
H A D | kiconv.c | 53 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-9.3-release/crypto/openssh/ |
H A D | rsa.c | 78 int len, ilen, olen; local 83 olen = BN_num_bytes(key->n); 84 outbuf = xmalloc(olen); 97 explicit_bzero(outbuf, olen); 107 int len, ilen, olen; local 109 olen = BN_num_bytes(key->n); 110 outbuf = xmalloc(olen); 123 explicit_bzero(outbuf, olen);
|
/freebsd-9.3-release/contrib/nvi/common/ |
H A D | seq.c | 37 seq_set(sp, name, nlen, input, ilen, output, olen, stype, flags) 40 size_t nlen, ilen, olen; 59 if (output == NULL || olen == 0) { 61 olen = 0; 62 } else if ((p = v_strdup(sp, output, olen)) == NULL) { 68 qp->olen = olen; 99 olen = 0; 100 } else if ((qp->output = v_strdup(sp, output, olen)) == NULL) { 110 qp->olen 296 int cnt, len, olen; local 344 size_t olen; local [all...] |
H A D | seq.h | 37 size_t olen; /* Output keys length. */ member in struct:_seq
|
/freebsd-9.3-release/contrib/wpa/src/utils/ |
H A D | base64.c | 40 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...] |
/freebsd-9.3-release/lib/libkiconv/ |
H A D | xlat16_sysctl.c | 55 size_t olen; local 65 olen = sizeof(dout); 66 if (sysctlbyname("kern.iconv.add", &dout, &olen, &din, sizeof(din)) == -1)
|
/freebsd-9.3-release/contrib/bsnmp/lib/ |
H A D | snmpcrypto.c | 94 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-9.3-release/usr.sbin/ppp/ |
H A D | tcpmss.c | 101 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 D | deflate.c | 74 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 D | vjcomp.c | 118 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;
|
H A D | pred.c | 221 int len, olen, len1; local 228 olen = m_length(bp); 236 len1 = decompress(state, cp, pp, olen - 4); 237 ccp->compin += olen; 246 cp += olen - 4; 248 } else if (len + 4 != olen) { 249 log_Printf(LogCCP, "Pred1: Length error (got %d, not %d)\n", len + 4, olen); 281 " olen = 0x%x\n", fcs, pre, len, olen);
|
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | addipopt.c | 20 int olen = len; local 66 return len - olen;
|
/freebsd-9.3-release/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 290 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-9.3-release/crypto/openssl/fips/ |
H A D | fips_utl.h | 333 int olen; local 334 olen = bin2hex(val, len, obuf); 335 printf("%s = %.*s\n", tag, olen, obuf); 343 int olen; local 346 olen = bin2bint(val, len, obuf); 348 olen = bin2hex(val, len, obuf); 350 fprintf(rfp, "%s = %.*s\n", tag, olen, obuf); 352 printf("%s = %.*s\n", tag, olen, obuf);
|
/freebsd-9.3-release/usr.sbin/fifolog/lib/ |
H A D | fifolog_reader.c | 50 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);
|
/freebsd-9.3-release/contrib/ipfilter/tools/ |
H A D | ipfs.c | 105 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...] |
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 207 int mtu = 1500, olen = 0, c, nonl = 0; local 312 olen = buildopts(optarg, options, (IP_HL(ip) - 5) << 2); 369 if (olen) 374 printf("Options: %d\n", olen); 375 hlen = sizeof(*ip) + olen; 377 ip->ip_len += olen; 386 bcopy(options, p + sizeof(*ip), olen);
|
/freebsd-9.3-release/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 190 size_t olen; local 196 olen = sizeof(outbuf); 201 (vcp->vc_tolocal, NULL, NULL, &obuf, &olen, copt); 206 (vcp->vc_tolocal, (const char **)&ibuf, &ilen, &obuf, &olen, copt); 215 olen--; 219 *nmlen = sizeof(outbuf) - olen;
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-pim.c | 651 u_int16_t otype, olen; local 656 olen = EXTRACT_16BITS(&bp[2]); 657 TCHECK2(bp[0], 4 + olen); 662 olen); 671 if (olen != 4) { 672 (void)printf("ERROR: Option Length != 4 Bytes (%u)", olen); 687 switch (olen) { 695 printf("ERROR: Option Length != 4 Bytes (%u)", olen); 722 while (ptr < (bp+olen)) { 737 print_unknown_data(bp,"\n\t ",olen); [all...] |
/freebsd-9.3-release/lib/libc/gen/ |
H A D | getnetgrent.c | 537 int len, olen; local 599 olen = 0; 613 linep = malloc(olen + len + 1); 619 if (olen > 0) { 620 bcopy(olinep, linep, olen); 623 bcopy(pos, linep + olen, len); 624 olen += len; 625 *(linep + olen) = '\0';
|