HomeSort by: relevance | last modified time | path
    Searched defs:tlen (Results 1 - 25 of 71) sorted by relevancy

1 2 3

  /src/lib/libc/gen/
confstr.c 58 size_t tlen; local in function:__weak_alias
70 if (sysctl(mib, 2, NULL, &tlen, NULL, 0) == -1)
73 if ((p = malloc(tlen)) == NULL)
75 if (sysctl(mib, 2, p, &tlen, NULL, 0) == -1) {
89 return tlen + 1;
  /src/tests/lib/libc/stdlib/
t_mktemp.c 85 size_t tlen; local in function:ATF_TC_BODY
90 tlen = (size_t)name_max + sizeof("/tmp/");
91 template = malloc(tlen);
100 (void)memset(template, '\0', tlen);
103 for (i = 12; i < tlen - 1; i++)
107 ATF_REQUIRE(strlen(template) == tlen - 1);
  /src/lib/libwrap/
expandm.c 71 size_t tlen; local in function:expandm
75 * tlen, then don't bother. The format string is
83 tlen = nlen + blen;
85 nbuf = realloc(buf, tlen + 1);
90 nbuf[tlen] = '\0';
  /src/sys/crypto/adiantum/
adiantum_selftest.c 87 unsigned tlen; member in struct:adiantum_selftest::__anon4687ed7a0108
100 .tlen = 0,
118 .tlen = 0,
164 .tlen = 0,
306 .tlen = 0,
704 .tlen = 0,
1742 .tlen = 17,
1765 .tlen = 17,
1817 adiantum_enc(buf, C[i].p, C[i].len, C[i].t, C[i].tlen, &A);
1825 adiantum_dec(buf, C[i].c, C[i].len, C[i].t, C[i].tlen, &A)
    [all...]
  /src/usr.bin/mail/
head.c 119 size_t tlen; member in struct:cmatch_data
155 cmatch_minlen = MIN(cmatch_minlen, cmdp->tlen);
161 if (dl == cmdp->tlen && cmatch(date, cmdp->tdata))
  /src/usr.bin/tail/
read.c 68 int ch, len, tlen; local in function:displaybytes
95 tlen = len;
102 if (tlen) {
103 WR(sp, tlen);
104 tlen = 0;
109 if (tlen)
110 WR(sp, tlen);
  /src/usr.sbin/bootp/bootpef/
bootpef.c 233 unsigned int tlen, hashcode;
236 tlen = strlen(argv[0]);
237 hashcode = hash_HashFunction((u_char *)argv[0], tlen);
230 unsigned int tlen, hashcode; local in function:main
  /src/sbin/cgdconfig/
hkdf_hmac_sha256.c 109 size_t n, tlen; local in function:hkdf_hmac_sha256
118 for (tlen = 0, i = 1; L > 0; i++, tlen = SHA256_DIGEST_LENGTH) {
120 hmacsha256_update(&hmacsha256, T, tlen);
  /src/usr.sbin/fwctl/
fwmpegts.c 149 int fd, k, len, m, pkt_size, startwr, tlen; local in function:mpegtsrecv
180 len = tlen = read(d, buf, RBUFSIZE);
217 /* tlen needs to be decremented before end of the loop */
256 tlen -= pkt_size;
257 } while (tlen > 0);
fwdv.c 101 int len, tlen, npad, fd, k, m, vec, lsystem = -1, nb; local in function:dvrecv
141 tlen = 0;
142 while ((len = read(d, buf + tlen, PSIZE
143 /* RBUFSIZE - tlen */)) > 0) {
154 tlen += len;
155 if ((RBUFSIZE - tlen) < PSIZE)
159 tlen = len = read(d, buf, RBUFSIZE);
249 if ((char *)ptr < buf + tlen)
267 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local in function:dvsend
339 tlen = 0
    [all...]
  /src/usr.sbin/npf/npftest/libnpftest/
npf_nbuf_test.c 78 unsigned tlen = 0; local in function:mbuf_getstring
84 s[tlen++] = *d++;
140 unsigned tlen = 0, n = 0; local in function:mbuf_random_len
142 while (tlen < chain_len) {
151 if (tlen + len > chain_len) {
152 len = chain_len - tlen;
154 tlen += len;
168 KASSERT(tlen == chain_len);
171 m0->m_pkthdr.len = tlen;
npf_state_test.c 17 int tlen; /* TCP data length. */ member in struct:__anon3c128e340108
125 ip->ip_len = htons(sizeof(struct ip) + sizeof(struct tcphdr) + p->tlen);
  /src/usr.bin/audio/common/
audio.c 186 int veclen, left, tlen; local in function:write_header
207 tlen = 0;
212 tlen += iv[veclen++].iov_len;
217 tlen += iv[veclen++].iov_len;
222 tlen += iv[veclen++].iov_len;
225 if (tlen == 0)
228 if (writev(ti->outfd, iv, veclen) != tlen)
  /src/usr.bin/last/
want.c 101 ssize_t tlen; local in function:wtmp
115 tlen = read(wfd, buf, len);
116 if (tlen < 0) {
119 if (tlen == 0) {
122 if (write(tempfd, buf, tlen) != tlen) {
  /src/sys/dev/ppbus/
ppbus_base.c 482 int tlen, i, j; local in function:search_token
492 for (tlen = 0, p = token; *p != '\0'; p++)
493 tlen++;
495 if (tlen == 0)
498 for (i = 0; i <= slen-tlen; i++) {
499 for (j = 0; j < tlen; j++)
502 if (j == tlen)
  /src/bin/sh/
memalloc.c 357 size_t len, tlen = 0, alen[8]; local in function:ststrcat
368 tlen += len;
374 *lp = tlen;
376 if (tlen >= INT_MAX)
378 str = (char *)stalloc((int)tlen + 1); /* 1 for \0 */
379 str[tlen] = '\0'; /* in case of no args */
  /src/sys/dev/ic/
mtd803.c 431 int len, tlen; local in function:mtd_put
436 for (tlen = 0; m != NULL; m = n) {
441 } else if (tlen > MTD_TXBUF_SIZE) {
444 "packet too large! Size = %i\n", tlen);
450 tlen += len;
455 | ((tlen << MTD_TXD_PKTS_SHIFT) & MTD_TXD_CONF_PKTS)
456 | (tlen & MTD_TXD_CONF_BUFS);
458 return tlen;
smc90cx6.c 355 int len, tlen, offset, s, buffer; local in function:bah_start
418 tlen = m->m_pkthdr.len;
419 if (tlen < ARC_MIN_FORBID_LEN) {
420 offset = 256 - tlen;
424 if (tlen <= ARC_MAX_FORBID_LEN)
427 if (tlen > ARC_MAX_LEN)
428 tlen = ARC_MAX_LEN;
429 offset = 512 - tlen;
lance.c 338 int len, tlen = 0; local in function:lance_put
348 tlen += len;
351 if (tlen < LEMINSIZE) {
352 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
353 tlen = LEMINSIZE;
355 return (tlen);
  /src/sys/netipsec/
key_debug.c 102 int tlen, extlen; local in function:kdebug_sadb
115 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg);
118 while (tlen > 0) {
119 if (ext->sadb_ext_len == 0 || ext->sadb_ext_len > tlen) {
120 panic("%s: invalid ext_len=%d tlen=%d was passed",
121 __func__, ext->sadb_ext_len, tlen);
174 tlen -= extlen;
385 int tlen; local in function:kdebug_sadb_x_policy
388 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl);
391 while (tlen > 0)
    [all...]
xform_esp.c 684 int hlen, rlen, tlen, padlen, blks, alen, i, roff; local in function:esp_output
720 tlen = padlen + sizeof(struct esptail) + alen;
746 if (skip + hlen + rlen + tlen > maxpacketsize) {
751 skip + hlen + rlen + tlen, maxpacketsize);
802 tail = m_pad(m, tlen);
  /src/sys/net/npf/
npf_mbuf.c 245 const int tlen = off + len; local in function:nbuf_ensure_writable
250 if (!M_UNWRITABLE(m, tlen)) {
254 if (m_makewritable(&m, 0, tlen, M_NOWAIT)) {
  /src/bin/pax/
ar_subs.c 761 off_t tlen; local in function:append
860 tlen = (*frmt->end_rd)();
867 if (appnd_start(tlen) < 0)
  /src/usr.bin/sed/
process.c 768 size_t tlen; local in function:cspace
771 tlen = sp->len + len + 1;
772 if (tlen > sp->blen) {
773 sp->blen = tlen + 1024;
  /src/sys/net/
if_tun.c 859 int error = 0, tlen, mlen; local in function:tunwrite
932 tlen = uio->uio_resid;
964 top->m_pkthdr.len = tlen;
990 if_statadd2(ifp, if_ipackets, 1, if_ibytes, tlen);

Completed in 27 milliseconds

1 2 3