Searched refs:mlen (Results 26 - 50 of 88) sorted by relevance

1234

/macosx-10.10/OpenSSH-189/openssh/
H A Dssh-pkcs11-client.c52 int mlen = buffer_len(m); local
54 put_u32(buf, mlen);
59 buffer_consume(m, mlen);
H A Dauth-pam.c722 size_t len, mlen; local
735 mlen = strlen(msg);
740 len = plen + mlen + 1;
743 plen += mlen;
750 len = plen + mlen + 2;
753 plen += mlen;
/macosx-10.10/ppp-786.1.1/Helpers/pppdump/
H A Ddeflate.c317 z_incomp(arg, mi, mlen)
320 int mlen;
340 rlen = mi + mlen - rptr;
H A Dbsd-comp.c447 bsd_incomp(state, dmsg, mlen)
450 int mlen;
469 --mlen;
478 slen = dmsg + mlen - rptr;
/macosx-10.10/Heimdal-398.1.2/appl/kx/
H A Dkxd.c405 size_t mlen; local
407 mlen = strlen(message);
408 if(mlen > 255)
409 mlen = 255;
420 *p++ = mlen; /* length of message */
423 memcpy(p, message, mlen); /* copy message */
424 p += mlen;
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkpi_mbuf.c1070 stats->mlen = mbstat.m_mlen;
1177 size_t mlen; local
1187 while (off > (mlen = m->m_len)) {
1188 off -= mlen;
1189 totlen += mlen;
1203 mlen = MIN(m->m_len - off, len);
1204 if (mlen < len && m->m_next == NULL && mbuf_trailingspace(m) > 0) {
1205 size_t grow = MIN(mbuf_trailingspace(m), len - mlen);
1206 mlen += grow;
1209 bcopy(cp, off + (char*)mbuf_data(m), (unsigned)mlen);
[all...]
H A Dkern_malloc.c579 size_t mlen; member in struct:_mhead
633 hdr->mlen = memsize;
655 kfree(hdr, hdr->mlen);
679 alloc = hdr->mlen - sizeof (*hdr);
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dchap-new.c392 int response_len, ok = 0, mlen; local
441 mlen = strlen((char*)ss->message);
442 len = CHAP_HDRLEN + mlen;
447 if (mlen > 0)
448 memcpy(p + CHAP_HDRLEN, ss->message, mlen);
490 int ok = 0, mlen; local
519 mlen = strlen((char*)ss->message);
520 len = CHAP_HDRLEN + mlen;
525 if (mlen > 0)
526 memcpy(p + CHAP_HDRLEN, ss->message, mlen);
[all...]
/macosx-10.10/cups-408/cups/vcnet/regex/
H A Dregex2.h124 int mlen; /* length of must */ member in struct:re_guts
H A Ddebug.c41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
H A Dregcomp.c145 g->mlen = 0;
1483 - findmust - fill in must and mlen with longest mandatory literal string
1490 * Note that must and mlen got initialized during setup.
1539 if (newlen > g->mlen) { /* ends one */
1541 g->mlen = newlen;
1548 if (g->mlen == 0) /* there isn't one */
1552 g->must = malloc((size_t)g->mlen + 1);
1554 g->mlen = 0;
1559 for (i = g->mlen; i > 0; i--) {
1562 assert(cp < g->must + g->mlen);
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A Dregex2.h147 int mlen; /* length of must */ member in struct:re_guts
H A Dregcomp.c213 g->mlen = 0;
1411 - findmust - fill in must and mlen with longest mandatory literal string
1417 * Note that must and mlen got initialized during setup.
1464 if (newlen > g->mlen) { /* ends one */
1466 g->mlen = newlen;
1473 if (g->mlen == 0) /* there isn't one */
1477 g->must = malloc((size_t)g->mlen + 1);
1479 g->mlen = 0;
1484 for (i = g->mlen; i > 0; i--) {
1487 assert(cp < g->must + g->mlen);
[all...]
/macosx-10.10/BerkeleyDB-21/db/test/
H A Dsdbutils.tcl9 set mlen [llength $methods]
12 set m [lindex $methods [expr $i % $mlen]]
/macosx-10.10/bash-94.1.2/bash-3.2/lib/readline/
H A Dvi_mode.c741 int mlen, p; local
765 mlen = wcrtomb (mb, wc, &ps);
766 if (mlen >= 0)
767 mb[mlen] = '\0';
1487 _rl_vi_callback_getchar (mb, mlen)
1489 int mlen;
1502 c = _rl_read_mbstring (c, mb, mlen);
H A Dtext.c1247 int mlen; local
1304 mlen = wcrtomb (mb, nwc, &mps);
1305 if (mlen > 0)
1306 mb[mlen] = '\0';
1308 strncpy (rl_line_buffer + start, mb, mlen);
/macosx-10.10/tcpdump-61/tcpdump/
H A Dprint-forces.c896 register u_int mlen, const struct tom_h *tops)
905 * forces_print() has already checked that mlen >= ForCES_HDRL
908 rlen = mlen - ForCES_HDRL;
986 u_int mlen; local
998 mlen = ForCES_BLN(fhdr);
1007 if (!ForCES_HLN_VALID(mlen, len)) {
1018 ForCES_V(fhdr), mlen, flg_raw);
1037 rc = forces_type_print(pptr, fhdr, mlen, tops);
895 forces_type_print(register const u_char * pptr, const struct forcesh *fhdr _U_, register u_int mlen, const struct tom_h *tops) argument
/macosx-10.10/Libnotify-133.1.1/notifyd/
H A Dtimer.c33 static const uint8_t mlen[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; variable
185 d = mlen[m] + t->day;
213 d = mlen[m];
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/page/
H A Dgen_peg_canon.tcl56 set mlen [AttrFieldLength $modeset]
57 set heading [expr {$max + $mlen + 4}]
65 $t set root ATT_FIELDLEN $mlen
/macosx-10.10/vim-55/src/
H A Dgetchar.c1900 int mlen; local
2111 for (mlen = 1; mlen < typebuf.tb_len; ++mlen)
2114 c2 = typebuf.tb_buf[typebuf.tb_off + mlen];
2121 if (mp->m_keys[mlen] != c2)
2123 if (mp->m_keys[mlen] !=
2124 typebuf.tb_buf[typebuf.tb_off + mlen])
2135 mlen = 0;
2139 * - Full match: mlen
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/nfs/
H A Dnfs_subs.c298 size_t len, mlen; local
314 mlen = mbuf_maxlen(m);
315 if ((len + mlen) > size)
316 mlen = size - len;
317 mbuf_setlen(m, mlen);
318 len += mlen;
533 uint32_t mlen, new_offset; local
536 mlen = nmc->nmc_ptr - (caddr_t) mbuf_data(nmc->nmc_mcur);
537 if (len <= mlen) {
2232 int count, i, mlen; local
2293 nfsm_chain_trim_data(struct nfsm_chain *nmc, int len, int *mlen) argument
[all...]
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Dt1_lib.c1061 int slen, mlen, renew_ticket = 0; local
1097 mlen = HMAC_size(&hctx);
1098 eticklen -= mlen;
1103 if (CRYPTO_memcmp(tick_hmac, etick + eticklen, mlen))
1116 if (EVP_DecryptFinal(&ctx, sdec + slen, &mlen) <= 0)
1118 slen += mlen;
/macosx-10.10/swig-12/Source/DOH/
H A Dstring.c151 register int mlen = len >> 2;
152 register int i = mlen;
163 for (i = len - (mlen << 2); i; --i) {
186 register int mlen = len >> 2; local
187 register int i = mlen;
194 for (i = len - (mlen << 2); i; --i) {
/macosx-10.10/gssd-64/
H A Dgssd_util.c907 size_t mlen; local
918 mlen = (size_t)(match[PRF_WHOLE_MATCH].rm_eo - match[PRF_WHOLE_MATCH].rm_so);
920 if (mlen >= MAX_FMT)
949 strlncpy(kfmt, mstr, MAX_FMT, mlen);
964 strlncpy(kfmt, mstr, MAX_FMT, mlen);
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Dip_output.c2066 uint32_t offset, _hlen, mlen, hlen, len, sw_csum; local
2077 mlen = m->m_pkthdr.len; /* total mbuf len */
2080 if (mlen < (hoff + sizeof (*ip))) {
2082 "(%u+%u)\n", __func__, m, mlen, hoff,
2106 if (mlen < (hoff + hlen)) {
2108 "hoff %u", __func__, m, mlen, hlen, hoff);
2122 if (ip_len != (mlen - hoff)) {
2124 if (ip_len != (mlen - hoff)) {
2130 (mlen - hoff));
2131 ip_len = mlen
[all...]

Completed in 361 milliseconds

1234