Searched refs:totlen (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10/procmail-14/procmail/src/
H A Dfields.h6 const size_t totlen)),
H A Dfields.c50 struct field**addfield(pointer,text,totlen)struct field**pointer;
51 const char*const text;const size_t totlen; /* add field to a linked list */
54 (*pp=p=malloc(FLD_HEADSIZ+totlen))->fld_next=0;idlen=breakfield(text,totlen);
56 tmemmove(p->fld_text,text,p->Tot_len=totlen);
/macosx-10.10/apr-32/apr/apr/misc/win32/
H A Dstart.c45 apr_size_t totlen; local
66 newlen = totlen = wsize * 3 + 1;
/macosx-10.10/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash_bigkey.c451 int mylen, totlen; local
459 totlen = len + mylen;
462 if ((hashp->tmp_buf = (char *)malloc(totlen)) == NULL)
482 if (!xbp || ((totlen =
491 return (totlen);
516 int mylen, totlen; local
524 totlen = len + mylen;
528 if ((hashp->tmp_key = (char *)malloc(totlen)) == NULL)
534 if (!xbp || ((totlen =
535 collect_key(hashp, xbp, totlen, va
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsm_token.c1134 u_int32_t totlen; local
1138 totlen = 0;
1142 totlen += strlen(p) + 1;
1143 p = strs + totlen;
1145 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
1148 ADD_STRING(dptr, strs, totlen);
1189 size_t totlen = 0; local
1197 totlen += nextlen + 1;
1202 totlen += count * sizeof(char); /* nul terminations. */
1203 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
1248 size_t totlen = 0; local
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/
H A Dah_core.c1410 int totlen; local
1417 totlen = (ah.ah_len + 2) << 2;
1423 if (totlen > m->m_pkthdr.len - off ||
1424 totlen > MCLBYTES) {
1429 if (n && totlen > MLEN) {
1440 m_copydata(m, off, totlen, mtod(n, caddr_t));
1441 n->m_len = totlen;
1447 ah_update_mbuf(m, off, totlen, algo, &algos);
1451 advancewidth = totlen;
H A Dipsec.c2991 int totlen; local
2995 totlen = 0;
3001 totlen++;
3002 if (totlen % 16 == 0)
3007 if (totlen % 16 != 0)
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dbpf.c2320 int totlen, curlen; local
2336 totlen = hdrlen + min(snaplen, pktlen);
2337 if (totlen > d->bd_bufsize)
2338 totlen = d->bd_bufsize;
2344 if (curlen + totlen > d->bd_bufsize) {
2381 ehp->bh_caplen = totlen - hdrlen;
2415 hp->bh_caplen = totlen - hdrlen;
2423 d->bd_slen = curlen + totlen;
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-isakmp.c473 int totlen; local
478 totlen = 4;
480 totlen = 4 + EXTRACT_16BITS(&q[1]);
481 if (ep < p + totlen) {
504 return p + totlen;
511 int totlen; local
516 totlen = 4;
518 totlen = 4 + EXTRACT_16BITS(&q[1]);
519 if (ep < p + totlen) {
536 return p + totlen;
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkpi_mbuf.c1180 int totlen = 0; local
1189 totlen += mlen;
1214 totlen += mlen;
1234 if ((m_start->m_flags & M_PKTHDR) && (m_start->m_pkthdr.len < totlen))
1235 m_start->m_pkthdr.len = totlen;
H A Duipc_mbuf.c5108 m_devget(char *buf, int totlen, int off0, struct ifnet *ifp, argument
5118 epkt = cp + totlen;
5125 totlen -= 2 * sizeof (u_int16_t);
5131 m->m_pkthdr.len = totlen;
5134 while (totlen > 0) {
5143 len = MIN(totlen, epkt - cp);
5175 totlen -= len;
5413 int totlen = 0; local
5422 * we don't bother to update "totlen" in the case of M_COPYBACK0_COW,
5432 totlen
[all...]
/macosx-10.10/ppp-786.1.1/Helpers/pppdump/
H A Dbsd-comp.c100 int totlen; /* length of this structure */ member in struct:bsd_db
363 db->totlen = newlen;
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dacsp.c1905 u_int32_t mask, addr, masklen, addrlen, totlen = 0; local
1936 totlen += addrlen + 1 + 4;
1941 outp -= totlen + 1;
1942 PUTCHAR(totlen, outp); // move back to update option len
1943 outp += totlen;
1944 outlen += totlen + 2;
H A Dsys-MacOSX.c1026 int servlen, totlen; local
1033 totlen = sizeof(struct ppp_msg_hdr) + servlen + 8;
1035 msg = malloc(totlen);
1042 bzero(p, totlen);
1056 if (write(statusfd, msg, totlen) != totlen) {
/macosx-10.10/tcl-105/tcl_ext/snack/snack/generic/
H A DjkSoundEdit.c469 int startpos, endpos, totlen; local
488 totlen = endpos - startpos + 1;
490 SnackCopySamples(s, 0, s, startpos, totlen);
491 s->length = totlen;
/macosx-10.10/vim-55/src/
H A Dops.c3227 int totlen = 0; /* init for gcc */ local
3575 totlen = count * (yanklen + spaces) + bd.startspaces + bd.endspaces;
3576 newp = alloc_check((unsigned)totlen + oldlen + 1);
3620 curbuf->b_op_end.col = bd.textcol + totlen - 1;
3689 totlen = count * yanklen;
3690 if (totlen)
3693 newp = alloc_check((unsigned)(STRLEN(oldp) + totlen + 1));
3706 curwin->w_cursor.col += (colnr_T)(totlen - 1);
3710 if (totlen && (restart_edit != 0 || (flags & PUT_CURSEND)))
3732 totlen
[all...]
H A Dregexp.c7143 int totlen = mb_ptr2len(src - 1); local
7152 /* If the character length is shorter than "totlen", there
7154 if (clen < totlen)
7158 (size_t)(totlen - clen));
7159 dst += totlen - clen;
7162 src += totlen - 1;
/macosx-10.10/ntp-92/ntpd/
H A Dntp_control.c952 int totlen = sendlen; local
960 while (totlen & 7) {
962 totlen++;
966 (u_int32 *)&rpkt, totlen);
968 (struct pkt *)&rpkt, totlen + maclen);
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_vfsops.c2204 uint totlen; local
2478 totlen = sizeof(struct netfs_status) + (numThreads * sizeof(uint64_t));
2482 return SYSCTL_OUT(req, NULL, totlen);
2485 MALLOC(nsp, struct netfs_status *, totlen, M_TEMP, M_WAITOK|M_ZERO);
2544 error = SYSCTL_OUT(req, nsp, totlen);
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/utils/
H A Dtestsuite.c2300 unsigned outlen = 0, outlen2 = 0, totlen = 0; local
2430 totlen = outlen;
2439 totlen += outlen;
2441 result = sasl_decode(sconn, buf, totlen, &out, &outlen);
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_factory.h349 uint64_t totlen; /* 64-bit counter used for IV and AAD */ member in struct:_ccmode_gcm_key
/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_vfsops.c5209 uint pos, totlen, count, numThreads; local
5335 totlen = sizeof(struct nfs_export_stat_desc) + (numExports * sizeof(struct nfs_export_stat_rec));
5341 *oldlenp = totlen;
5349 *oldlenp = totlen;
5354 *oldlenp = totlen;
5645 totlen = sizeof(struct netfs_status) + (numThreads * sizeof(uint64_t));
5650 return SYSCTL_OUT(req, NULL, totlen);
5652 if (req->oldlen < totlen) { // Check if caller's buffer is big enough
5658 MALLOC(nsp, struct netfs_status *, totlen, M_TEMP, M_WAITOK|M_ZERO);
5701 error = SYSCTL_OUT(req, nsp, totlen);
[all...]
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/plugins/
H A Dsrp.c533 long totlen; local
681 totlen = htonl(*outlen - 4);
682 memcpy(*buf, &totlen, 4);
/macosx-10.10/ppp-786.1.1/Controller/
H A Dipsec_manager.c3028 int i, totlen = sizeof(struct vpnctl_cmd_xauth_info); local
3031 totlen += sizeof(u_int32_t) + (isakmp_array[i].str ? CFStringGetLength(isakmp_array[i].str) : 0);
3034 data = malloc(totlen);
3042 cmd_xauth_info->hdr.len = htons(totlen - sizeof(struct vpnctl_hdr));
3065 write(fd, data, totlen);
/macosx-10.10/xnu-2782.1.97/bsd/netkey/
H A Dkey.c7678 int totlen; local
7712 totlen = 0;
7714 totlen += n->m_len;
7716 if (totlen % l)
7720 for (off = 0; off < totlen; off += l) {
7865 int totlen; local
7889 totlen = 0;
7891 totlen += n->m_len;
7895 prop->sadb_prop_len = PFKEY_UNIT64(totlen);

Completed in 624 milliseconds

12