/freebsd-current/sys/dev/syscons/daemon/ |
H A D | daemon_saver.c | 212 static int xlen, ylen, tlen; local 231 xlen = ylen = tlen = 0; 238 clear_string(sc, txpos, typos, toff, message, tlen); 333 tlen = messagelen; 334 if (txpos + tlen <= 0) 335 tlen = 0; 339 tlen = 0; 340 else if (txpos + tlen > scp->xsize) 341 tlen = scp->xsize - txpos; 344 draw_string(sc, txpos, typos, toff, message, tlen); [all...] |
/freebsd-current/sys/kern/ |
H A D | uipc_mbuf2.c | 96 int hlen, tlen, olen; local 184 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>, 186 * note that hlen + tlen == len, and tlen > 0. 189 tlen = len - hlen; 207 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen 209 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); 210 n->m_len += tlen; 211 m_adj(n->m_next, tlen); 215 && writable && n->m_next->m_len >= tlen) { [all...] |
/freebsd-current/contrib/file/src/ |
H A D | der.c | 276 uint32_t tlen = getlength(b, &offs, len); local 277 if (tlen == DER_BAD) { 282 offs, tlen)); 293 if (offs + tlen > nbytes) 295 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); 308 uint32_t tag, tlen; local 322 tlen = getlength(b, &offs, len); 323 if (tlen == DER_BAD) { 361 __func__, slen, tlen); 362 if (tlen ! [all...] |
/freebsd-current/lib/libipsec/ |
H A D | policy_parse.y | 73 static int tlen = 0; /* total length of pbuf */ 296 tlen = sizeof(struct sadb_x_policy); 298 pbuf = malloc(tlen); 303 memset(pbuf, 0, tlen); 311 offset = tlen; 326 tlen += reqlen; /* increment to total length */ 328 pbuf = realloc(pbuf, tlen); 356 /* tlen has already incremented */ 390 tlen = 0; 408 ((struct sadb_x_policy *)pbuf)->sadb_x_policy_len = PFKEY_UNIT64(tlen); [all...] |
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_print.c | 205 size_t col, tlen, ts; local 213 for (tlen = ts - col % ts; 214 col < sp->cols && tlen--; ++col) { 222 tlen = KEY_COL(sp, ch); 229 if (col + tlen > sp->cols) { 234 col += tlen; 239 } else while (tlen--) {
|
H A D | tag.h | 101 size_t tlen; /* Tag string length. */ member in struct:_tagq
|
/freebsd-current/contrib/nvi/vi/ |
H A D | v_search.c | 66 size_t len, s_cno, tlen; local 222 for (t = cmd + 1, tlen = len - 1; tlen > 0; ++t, --tlen) 225 if (tlen && 228 --tlen; 232 if (tlen) 248 tlen = snprintf(buf, 250 CHAR2INT(sp, buf, tlen, w, wlen);
|
H A D | vs_split.c | 455 size_t tlen; local 460 for (lp = listp, tlen = sp->rows, 482 if (tlen < tsp->rows) 485 tlen -= tsp->rows; 488 if (tlen == 0) { 495 for (lp = listp, tlen = sp->rows, 517 if (tlen < tsp->rows) 520 tlen -= tsp->rows; 523 if (tlen == 0) { 530 for (first = 0, lp = listp, tlen [all...] |
/freebsd-current/sys/netinet/tcp_stacks/ |
H A D | rack_bbr_common.h | 101 struct tcphdr *th, int32_t thflags, int32_t tlen, 108 struct tcphdr *th, int32_t rstreason, int32_t tlen); 123 struct tcpcb *tp, int32_t tlen, int32_t thflags, int32_t * ret_val); 133 int32_t rstreason, int32_t tlen);
|
/freebsd-current/sys/sys/ |
H A D | bus_dma_internal.h | 47 struct vm_page **ma, bus_size_t tlen, int ma_offs,
|
/freebsd-current/usr.sbin/fwcontrol/ |
H A D | fwmpegts.c | 157 int fd, k, len, m, pkt_size, startwr, tlen; local 188 len = tlen = read(d, buf, RBUFSIZE); 222 /* tlen needs to be decremented before end of the loop */ 261 tlen -= pkt_size; 262 } while (tlen > 0);
|
/freebsd-current/usr.bin/at/ |
H A D | parsetime.c | 365 int tlen; local 368 tlen = strlen(sc_token); 380 else if (tlen == 4) { 481 int tlen; local 537 tlen = strlen(sc_token); 561 else if (tlen == 6 || tlen == 8) { 562 if (tlen == 8) {
|
/freebsd-current/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 60 tcpmod_setmss(struct mbuf **mp, struct tcphdr *tcp, int tlen, uint16_t mss) argument 79 for (tlen -= sizeof(struct tcphdr), cp = (u_char *)(tcp + 1); 80 tlen > 0; tlen -= optlen, cp += optlen) { 87 if (tlen < 2) 90 if (optlen < 2 || optlen > tlen)
|
/freebsd-current/sys/netinet/ |
H A D | tcp_timewait.c | 157 struct mbuf *m, int tlen) 250 tlen++; 252 tlen++; 254 th->th_seq+tlen, (tcp_seq)0, TH_RST|TH_ACK); 284 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); 292 if (thflags != TH_ACK || tlen != 0 || 156 tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, struct mbuf *m, int tlen) argument
|
H A D | tcp_input.c | 506 #define DELAY_ACK(tp, tlen) \ 509 (tlen <= tp->t_maxseg) && \ 619 int tlen = 0, off; local 652 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0; 659 th->th_sum = in6_cksum_pseudo(ip6, tlen, 663 th->th_sum = in6_cksum(m, IPPROTO_TCP, off0, tlen); 708 tlen = ntohs(ip->ip_len) - off0; 719 htonl(m->m_pkthdr.csum_data + tlen + 728 len = off0 + tlen; 731 ipov->ih_len = htons(tlen); 1473 tcp_autorcvbuf(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int tlen) argument 1519 tcp_do_segment(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th, int drop_hdrlen, int tlen, uint8_t iptos) argument 3437 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-bgp.c | 1256 u_int plen, tlen, tlv_type, tlv_len, ttlv_len; local 1260 tlen = plen; 1275 tlen -= 12; 1290 tlen -= 15; 1293 while (tlen != 0) { 1294 if (tlen < 3) { 1316 if (tlen < 1) { 1331 tlen--; 1341 if (tlen < ttlv_len) { 1348 tlen 1652 bgp_mp_af_print(netdissect_options *ndo, const u_char *tptr, u_int tlen, uint16_t *afp, uint8_t *safip) argument 1878 u_int tlen; local [all...] |
H A D | print-lldp.c | 1181 u_int tlen, tlv_type; local 1199 tlen = len - 4; 1201 while (tlen >= sizeof(tlv)) { 1211 tlen -= sizeof(tlv); 1220 if (tlen < tlv_len) { 1332 tlen -= tlv_len; 1389 u_int tlen; local 1392 tlen = len; 1395 if (tlen < 1) { 1400 tlen 1452 u_int oui, tlen, hexdump, tlv_type, tlv_len; local [all...] |
H A D | print-lmp.c | 432 u_int version_res, tlen, lmp_obj_len, lmp_obj_ctype, obj_tlen; local 469 tlen=GET_BE_U_2(lmp_com_header->length); 475 tlen); 476 if (tlen < sizeof(struct lmp_common_header)) { 480 if (tlen > length) { 482 tlen = length; 486 tlen-=sizeof(struct lmp_common_header); 488 while(tlen>0) { 1129 if (tlen < lmp_obj_len) { 1130 ND_PRINT(" [remaining objects length %u < %u]", tlen, lmp_obj_le [all...] |
H A D | print-eigrp.c | 220 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; local 263 tlen=len-sizeof(struct eigrp_common_header); 278 tlen); 282 while(tlen>0) { 292 eigrp_tlv_len > tlen) { 293 print_unknown_data(ndo,tptr+sizeof(struct eigrp_tlv_header),"\n\t ",tlen); 527 tlen-=eigrp_tlv_len;
|
/freebsd-current/sys/dev/iser/ |
H A D | iser_initiator.c | 282 size_t len, tlen; local 285 tlen = data_buf->data_len; 287 for (i = 0; 0 < tlen; i++, tlen -= len) { 290 len = min(PAGE_SIZE - offset, tlen); 305 size_t len, tlen; local 308 tlen = bp->bio_bcount; 311 for (i = 0; 0 < tlen; i++, tlen -= len) { 313 len = min(PAGE_SIZE - offset, tlen); [all...] |
/freebsd-current/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 557 size_t inside_len, len_len, tlen; local 574 tlen = 1 + len_len + 2 + oid->length + hlen; 575 KASSERT(tlen <= MLEN, ("token head too large")); 577 M_ALIGN(m, tlen); 578 m->m_len = tlen; 648 size_t tlen, hlen, len_len, inside_len; local 653 tlen = m_length(m, NULL); 654 if (tlen < 2) 681 if (tlen < len_len + 1) 717 if (tlen ! 863 size_t tlen, mlen, cklen; local 1046 size_t mlen, tlen, elen; local 1254 size_t mlen, tlen, padlen, datalen; local 1606 size_t tlen, elen, datalen, padlen; local 1785 size_t blen, cklen, ctlen, mlen, plen, tlen; local [all...] |
/freebsd-current/contrib/bearssl/T0/ |
H A D | ConstData.cs | 51 int tlen = len + elen; 52 if (tlen > buf.Length) { 53 int nlen = Math.Max(buf.Length << 1, tlen);
|
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | rsa.h | 376 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, 379 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, 383 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, 386 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, 393 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, 397 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, 401 int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 406 int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 411 OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, 413 OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, [all...] |
/freebsd-current/libexec/bootpd/tools/bootpef/ |
H A D | bootpef.c | 225 unsigned int tlen, hashcode; 228 tlen = strlen(argv[0]); 229 hashcode = hash_HashFunction((u_char *)argv[0], tlen); 222 unsigned int tlen, hashcode; local
|
/freebsd-current/contrib/bearssl/tools/ |
H A D | files.c | 185 size_t tlen; local 187 tlen = br_pem_decoder_push(&pc, buf, len); 188 buf += tlen; 189 len -= tlen;
|