| /src/crypto/external/apache2/openssl/dist/ssl/record/methods/ |
| tls_multib.c | 69 size_t totlen; local 91 totlen = templates[0].buflen * numtempl; 92 if (!tls_is_multiblock_capable(rl, templates[0].type, totlen, 128 mb_param.len = totlen; 141 mb_param.len = totlen;
|
| /src/sys/arch/mac68k/dev/ |
| if_ae.c | 133 u_short totlen = 0; local 140 totlen += len; 169 len = ETHER_PAD_LEN - totlen; 175 totlen++; 182 totlen = ETHER_PAD_LEN; 184 return (totlen);
|
| if_mc.c | 397 u_int len, totlen = 0; local 405 totlen += len; 411 if (totlen > PAGE_SIZE) 415 if (totlen < ETHERMIN + sizeof(struct ether_header)) { 416 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; 417 memset(sc->sc_txbuf + totlen, 0, pad); 418 totlen = ETHERMIN + sizeof(struct ether_header); 422 (*sc->sc_putpacket)(sc, totlen); 425 return totlen; 604 mace_get(struct mc_softc *sc, void *pkt, int totlen) [all...] |
| /src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/ |
| tpm_nvcommon.c | 113 size_t totlen = strlen(aArg); local 116 while (offset < totlen) {
|
| /src/sys/arch/amiga/dev/ |
| if_ed_zbus.c | 290 u_short totlen = 0; local 297 totlen += len; 327 len = ETHER_PAD_LEN - totlen; 333 totlen++; 340 totlen = ETHER_PAD_LEN; 342 return totlen;
|
| if_qn.c | 465 u_short totlen; local 467 totlen = wantbyte = 0; 473 totlen += len; 503 if(totlen < (ETHER_MIN_LEN - ETHER_CRC_LEN)) { 508 for(len = totlen + 1; len < (ETHER_MIN_LEN - ETHER_CRC_LEN); 511 totlen = (ETHER_MIN_LEN - ETHER_CRC_LEN); 514 return (totlen);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| tls13encryptiontest.c | 182 size_t totlen = 0; local 186 totlen += strlen(str[outer]); 187 if ((totlen & 1) != 0) 191 totlen /= 2; 192 outbuf = OPENSSL_malloc(totlen); 211 *len = totlen;
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| tls13encryptiontest.c | 206 size_t totlen = 0; local 210 totlen += strlen(str[outer]); 211 if ((totlen & 1) != 0) 215 totlen /= 2; 216 outbuf = OPENSSL_malloc(totlen); 235 *len = totlen;
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| tls13encryptiontest.c | 217 size_t totlen = 0; local 221 totlen += strlen(str[outer]); 222 if ((totlen & 1) != 0) 226 totlen /= 2; 227 outbuf = OPENSSL_malloc(totlen); 246 *len = totlen;
|
| /src/lib/libc/db/hash/ |
| hash_bigkey.c | 478 int mylen, totlen; local 486 totlen = len + mylen; 489 if ((hashp->tmp_buf = calloc(1, (size_t)totlen)) == NULL) 510 if (!xbp || ((totlen = 519 return (totlen); 544 int mylen, totlen; local 552 totlen = len + mylen; 556 if ((hashp->tmp_key = calloc(1, (size_t)totlen)) == NULL) 562 if (!xbp || ((totlen = 563 collect_key(hashp, xbp, totlen, val, set)) < 1) [all...] |
| /src/sys/arch/macppc/dev/ |
| am79c950.c | 394 u_int len, totlen = 0; local 402 totlen += len; 408 if (totlen > PAGE_SIZE) 412 if (totlen < ETHERMIN + sizeof(struct ether_header)) { 413 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; 414 memset(sc->sc_txbuf + totlen, 0, pad); 415 totlen = ETHERMIN + sizeof(struct ether_header); 419 (*sc->sc_putpacket)(sc, totlen); 422 return totlen; 598 mace_get(struct mc_softc *sc, uint8_t *pkt, int totlen) [all...] |
| /src/sys/dev/ic/ |
| dp8390.c | 1153 int len, totlen = 0; local 1160 totlen += len; 1164 if (totlen < ETHER_MIN_LEN - ETHER_CRC_LEN) { 1166 ETHER_MIN_LEN - ETHER_CRC_LEN - totlen); 1167 totlen = ETHER_MIN_LEN - ETHER_CRC_LEN; 1169 return totlen;
|
| dp83932.c | 291 int error, olasttx, nexttx, opending, totlen, olseg; local 387 totlen = 0; 400 totlen += dmamap->dm_segs[seg].ds_len; 402 if (totlen < ETHER_PAD_LEN) { 409 htosonic32(sc, ETHER_PAD_LEN - totlen); 410 totlen = ETHER_PAD_LEN; 416 tda32->tda_pktsize = htosonic32(sc, totlen); 439 totlen += dmamap->dm_segs[seg].ds_len; 441 if (totlen < ETHER_PAD_LEN) { 448 htosonic16(sc, ETHER_PAD_LEN - totlen); [all...] |
| mb86950.c | 603 u_short totlen; local 607 totlen = wantbyte = 0; 613 totlen += len; 645 if (totlen < (ETHER_MIN_LEN - ETHER_CRC_LEN)) { 650 for (len = totlen + 1; len < (ETHER_MIN_LEN - ETHER_CRC_LEN); 655 totlen = (ETHER_MIN_LEN - ETHER_CRC_LEN); 658 return totlen;
|
| sgec.c | 324 int len, i, totlen, error; local 365 totlen = 0; 374 totlen += len; 376 if (totlen == m->m_pkthdr.len) { 400 if (totlen != m->m_pkthdr.len)
|
| lan9118.c | 362 unsigned tdfree, totlen, dso; local 372 totlen = 0; 423 totlen = m->m_pkthdr.len; 431 txb = LAN9118_TXC_B_PL(totlen); 466 if (totlen > 0) {
|
| mb86960.c | 1349 int totlen, len; local 1374 for (totlen = 0, mp = m; mp != 0; mp = mp->m_next) 1375 totlen += mp->m_len; 1377 if (totlen != m->m_pkthdr.len) 1379 device_xname(sc->sc_dev), totlen, m->m_pkthdr.len); 1382 totlen = m->m_pkthdr.len; 1391 if (totlen > (ETHER_MAX_LEN - ETHER_CRC_LEN) || 1392 totlen < ETHER_HDR_LEN) { 1395 totlen < ETHER_HDR_LEN ? "partial" : "big", totlen); [all...] |
| /src/sys/net/ |
| if_ieee1394subr.c | 254 int totlen, fraglen, off; local 259 totlen = m0->m_pkthdr.len; 260 if (totlen + sizeof(struct ieee1394_unfraghdr) <= maxsize) { 276 ifh->ifh_ft_size = htons(IEEE1394_FT_MORE | (totlen - 1)); 282 while (off < totlen) { 283 if (off + fraglen > totlen) 284 fraglen = totlen - off; 293 htons(IEEE1394_FT_SUBSEQ | IEEE1394_FT_MORE | (totlen - 1));
|
| /src/sys/ufs/chfs/ |
| chfs_gc.c | 709 size_t totlen = chfs_nref_len(chmp, cheb, nref); local 716 data = kmem_alloc(totlen, KM_SLEEP); 720 ret = chfs_read_leb(chmp, nref->nref_lnr, data, ofs, totlen, &retlen); 725 if (retlen != totlen) { 793 ret = chfs_reserve_space_gc(chmp, totlen); 808 vec.iov_len = totlen; 812 if (ret || retlen != totlen) { 816 ret, totlen, retlen); 818 chfs_change_size_dirty(chmp, chmp->chm_nextblock, totlen); 840 kmem_free(data, totlen); 1083 uint32_t totlen; local [all...] |
| chfs_readinode.c | 145 size_t retlen, len, totlen; local 184 totlen = CHFS_PAD(sizeof(struct chfs_flash_data_node) + len); 187 chfs_change_size_unchecked(chmp, &chmp->chm_blocks[nref->nref_lnr], -totlen); 188 chfs_change_size_used(chmp, &chmp->chm_blocks[nref->nref_lnr], totlen);
|
| /src/external/bsd/pcc/dist/pcc/f77/fcom/ |
| main.c | 358 ftnint totlen; local 364 totlen = 0; 382 totlen += ovlen; 389 totlen = doeven(totlen, align); 428 totlen = doeven(totlen+ovlen, (ALIDOUBLE>SZLONG ? ALIDOUBLE : SZLONG) );
|
| /src/sys/dev/iscsi/ |
| iscsi_send.c | 1372 uint32_t totlen, len, offs, sn; local 1379 totlen = ntohl(rx_pdu->pdu_hdr.pduh_p.r2t.DesiredDataTransferLength); 1382 totlen = min(conn->c_max_firstdata - offs, tx_ccb->ccb_data_len - offs); 1386 while (totlen) { 1387 len = min(totlen, conn->c_max_transfer); 1400 totlen -= len; 1403 if (!totlen) 1414 DEBC(conn, 10, ("Send DataOut: DataSN %d, len %d offs %x totlen %d\n", 1415 sn, len, offs, totlen)); 1418 send_pdu(tx_ccb, tx_pdu, (totlen) ? CCBDISP_NOWAIT : disp, PDUDISP_FREE) 1439 uint32_t totlen, len; local [all...] |
| /src/sys/arch/newsmips/apbus/ |
| if_sn.c | 505 u_int totlen = 0; local 533 totlen += len; 537 if (totlen >= TXBSIZE) { 547 if (totlen < ETHERMIN + ETHER_HDR_LEN) { 548 int pad = ETHERMIN + ETHER_HDR_LEN - totlen; 549 memset((char *)mtdp->mtd_buf + totlen, 0, pad); 550 totlen = ETHERMIN + ETHER_HDR_LEN; 554 totlen); 556 SWO(sc->bitmode, txp, TXP_PKTSIZE, totlen); 576 return totlen; [all...] |
| /src/sys/dev/qbus/ |
| if_qe.c | 452 int idx, len, s, i, totlen, buflen; local 497 totlen = 0; 507 } else if (totlen < ETHER_PAD_LEN) { 509 len = ETHER_PAD_LEN - totlen; 514 totlen += len; 517 if (totlen == buflen) { 540 if (totlen != buflen)
|
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_server_pwd.c | 430 u16 totlen = 0; local 502 totlen = wpabuf_len(data->outbuf) + 506 "total length = %d", totlen); 517 (totlen ? sizeof(u16) : 0), 526 wpabuf_put_be16(req, totlen);
|