Searched refs:tlen (Results 76 - 100 of 157) sorted by relevance

1234567

/freebsd-12-stable/sys/riscv/include/
H A Dbus_dma_impl.h67 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags,
/freebsd-12-stable/sys/x86/include/
H A Dbusdma_impl.h71 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags,
/freebsd-12-stable/sys/arm64/include/
H A Dbus_dma_impl.h68 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags,
/freebsd-12-stable/contrib/nvi/ex/
H A Dex_argv.c365 size_t blen, len, off, tlen; local
382 len += tlen = STRLEN(exp->lastbcomm);
386 MEMCPY(p, exp->lastbcomm, tlen);
387 p += tlen;
396 tlen = strlen(t);
397 len += tlen;
401 CHAR2INT(sp, t, tlen, wp, wlen);
412 len += tlen = strlen(t);
416 CHAR2INT(sp, t, tlen, wp, wlen);
H A Dex_cscope.c609 size_t tlen; local
650 TAILQ_FIRST(cbp->textq)->len, p, tlen);
652 tlen = strlen(p);
655 CALLOC(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + tlen + 3);
662 tqp->tlen = tlen + 2;
663 memcpy(tqp->tag + 2, p, tlen);
664 tqp->tag[tlen + 2] = '\0';
/freebsd-12-stable/sys/dev/glxsb/
H A Dglxsb.c662 int len, tlen, xlen; local
705 tlen = crd->crd_len;
709 while (tlen > 0) {
710 len = (tlen > GLXSB_MAX_AES_LEN) ? GLXSB_MAX_AES_LEN : tlen;
727 tlen -= len;
729 if (tlen <= 0) { /* Ideally, just == 0 */
745 if (tlen > 0) {
/freebsd-12-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_reg.h153 #define VMBUS_CHANPKT_TOTLEN(tlen) \
154 roundup2((tlen), VMBUS_CHANPKT_SIZE_ALIGN)
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-fr.c440 u_int tlen,idx,hdr_len = 0; local
471 tlen = length -3;
477 while (tlen>sizeof(struct ie_tlv_header_t)) {
495 tlen-=sizeof(struct ie_tlv_header_t);
543 tlen-=ie_len;
H A Dprint-tcp.c848 uint16_t savecsum, tlen; local
874 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4;
875 tlen = htons(tlen);
876 MD5_Update(&ctx, (const char *)&tlen, sizeof(tlen));
/freebsd-12-stable/contrib/elftoolchain/elfcopy/
H A Dmain.c521 size_t tlen, slen, plen; local
531 tlen = strlen(tmpdir);
532 slen = tmpdir[tlen - 1] == '/' ? 0 : 1;
537 tlen = 0;
540 tlen = ++tmpdir - src;
546 tmpf = malloc(tlen + slen + plen);
549 if (tlen > 0)
550 memcpy(tmpf, tmpdir, tlen);
552 tmpf[tlen] = '/';
554 memcpy(tmpf + tlen
[all...]
/freebsd-12-stable/lib/libipsec/
H A Dpfkey.c112 int tlen; local
126 tlen = ipsec_supported[algno]->sadb_supported_len
129 while (tlen > 0) {
130 if (tlen < sizeof(struct sadb_alg)) {
137 tlen -= sizeof(struct sadb_alg);
739 * tlen: msg length, it's to makeing sure.
745 pfkey_set_supported(msg, tlen)
747 int tlen;
754 if (msg->sadb_msg_len != tlen) {
760 ep = p + tlen;
[all...]
/freebsd-12-stable/sys/kern/
H A Dsubr_bus_dma.c160 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags,
168 for (i = 0; tlen > 0; i++, tlen -= len) {
169 len = min(PAGE_SIZE - ma_offs, tlen);
159 bus_dmamap_load_ma_triv(bus_dma_tag_t dmat, bus_dmamap_t map, struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags, bus_dma_segment_t *segs, int *segp) argument
H A Dsysv_msg.c1015 size_t tlen; local
1017 tlen = msginfo.msgssz;
1019 tlen = msgsz;
1026 tlen)) != 0) {
1036 msgsz -= tlen;
1037 msgp = (const char *)msgp + tlen;
1365 size_t tlen; local
1368 tlen = msginfo.msgssz;
1370 tlen = msgsz - len;
1376 error = copyout(&msgpool[next * msginfo.msgssz], msgp, tlen);
[all...]
/freebsd-12-stable/sys/sys/
H A Dbus_dma.h261 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags,
/freebsd-12-stable/crypto/openssh/
H A Dssh-pkcs11.c230 CK_ULONG tlen = 0; local
296 tlen = RSA_size(rsa);
297 rv = f->C_Sign(si->session, (CK_BYTE *)from, flen, to, &tlen);
299 rval = tlen;
/freebsd-12-stable/usr.bin/sed/
H A Dprocess.c749 size_t tlen; local
752 tlen = sp->len + len + 1;
753 if (tlen > sp->blen) {
754 sp->blen = tlen + 1024;
/freebsd-12-stable/contrib/wpa/src/common/
H A Dsae.c856 size_t scalar_elem_len, tlen; local
876 tlen = end - (*pos + scalar_elem_len);
878 if (tlen < SHA256_MAC_LEN) {
881 (unsigned int) tlen);
897 tlen -= 2 + elem[1];
900 wpa_hexdump(MSG_DEBUG, "SAE: Anti-Clogging Token", *pos, tlen);
904 *token_len = tlen;
905 *pos += tlen;
/freebsd-12-stable/crypto/heimdal/kadmin/
H A Drpc.c204 size_t tlen = len; local
207 if (tlen > sizeof(buf))
208 tlen = sizeof(buf);
210 slen = krb5_storage_read(sp, buf, tlen);
211 INSIST((size_t)slen == tlen);
213 slen = krb5_storage_write(msg, buf, tlen);
214 INSIST((size_t)slen == tlen);
216 len -= tlen;
/freebsd-12-stable/contrib/ntp/ntpd/
H A Dntp_leapsec.c1114 unsigned int tlen = 0; local
1119 text[tlen++] = ch;
1120 tlen &= (sizeof(text)-1);
1121 if (0 == tlen)
1126 if (0 < tlen)
1127 isc_sha1_update(mdctx, text, tlen);
/freebsd-12-stable/contrib/subversion/subversion/libsvn_delta/
H A Dtext_delta.c665 apr_size_t *tlen)
672 if (*tlen == 0)
677 const apr_size_t buf_len = (op->length < *tlen - tpos
678 ? op->length : *tlen - tpos);
716 if (tpos >= *tlen)
722 *tlen = tpos;
655 svn_txdelta_apply_instructions(svn_txdelta_window_t *window, const char *sbuf, char *tbuf, apr_size_t *tlen) argument
/freebsd-12-stable/contrib/tcsh/
H A Dsh.lex.c1590 int tlen; local
1592 tlen = normal_mbtowc(buf + res, cbuf + i, partial - i);
1593 if (tlen == -1) {
1601 if (tlen <= 0)
1602 tlen = 1;
1605 fclens[res] = tlen;
1607 i += tlen;
/freebsd-12-stable/sys/netinet/
H A Dtcp_subr.c1314 int optlen, tlen, win; local
1433 tlen = 0;
1436 tlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr);
1442 tlen = sizeof (struct tcpiphdr);
1446 KASSERT(M_TRAILINGSPACE(m) >= tlen,
1448 m, tlen, (long)M_TRAILINGSPACE(m))); local
1450 m->m_len = tlen;
1479 tlen += optlen = tcp_addoptions(&to, optp);
1490 ip6->ip6_plen = htons(tlen - sizeof(*ip6));
1498 ip->ip_len = htons(tlen);
[all...]
H A Dtcp_syncache.c1710 u_int16_t hlen, tlen, mssopt; local
1720 tlen = hlen + sizeof(struct tcphdr);
1726 KASSERT(max_linkhdr + tlen + TCP_MAXOLEN <= MHLEN,
1737 m->m_len = tlen;
1738 m->m_pkthdr.len = tlen;
1748 ip6->ip6_plen = htons(tlen - hlen);
1766 ip->ip_len = htons(tlen);
1880 th->th_sum = in6_cksum_pseudo(ip6, tlen + optlen - hlen,
1903 htons(tlen + optlen - hlen + IPPROTO_TCP));
/freebsd-12-stable/contrib/gdb/gdb/
H A Dalpha-tdep.c410 int tlen = sizeof(arg_reg_buffer) - offset;
411 memcpy (arg_reg_buffer + offset, contents, tlen);
412 offset += tlen;
413 contents += tlen;
414 len -= tlen;
408 int tlen = sizeof(arg_reg_buffer) - offset; local
/freebsd-12-stable/usr.sbin/ppp/
H A Droute.c663 int tlen = strlen(tag); local
665 if (tlen + 2 > indent)
668 prompt_Printf(p, "%s:%*s", tag, indent - tlen - 1, "");
671 prompt_Printf(p, "%*sadd ", tlen ? 0 : indent, "");
672 tlen = 0;

Completed in 654 milliseconds

1234567