/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;
|
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);
|
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';
|
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...] |
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))
|
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);
|
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
|
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);
|
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);
|
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);
|
/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_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;
|
/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)
|
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 */
|