Searched refs:tlen (Results 1 - 9 of 9) sorted by relevance

/haiku/src/bin/fwcontrol/
H A Dfwdv.c114 int len, tlen, npad, fd, k, m, vec, system = -1, nb; local
148 tlen = 0;
149 while ((len = read(d, buf + tlen, PSIZE
150 /* RBUFSIZE - tlen */)) > 0) {
160 tlen += len;
161 if ((RBUFSIZE - tlen) < PSIZE)
165 tlen = len = read(d, buf, RBUFSIZE);
254 if ((char *)ptr < buf + tlen)
272 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local
334 tlen
[all...]
H A Dfwmpegts.c169 int fd, k, len, m, pkt_size, startwr, tlen; local
200 len = tlen = read(d, buf, RBUFSIZE);
234 /* tlen needs to be decremented before end of the loop */
273 tlen -= pkt_size;
274 } while (tlen > 0);
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf2.c102 int hlen, tlen, olen; local
190 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
192 * note that hlen + tlen == len, and tlen > 0.
195 tlen = len - hlen;
213 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen
215 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len);
216 n->m_len += tlen;
217 m_adj(n->m_next, tlen);
247 /* get tlen fro
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_opt.c160 int tlen = sep - t; local
162 tlen ++;
163 if (arglen >= tlen && strncmp(arg, t, tlen) == 0) {
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c57 struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap,
60 ieee80211_radiotap_attachv(ic, th, tlen, 0, tx_radiotap,
67 int tlen, int n_tx_v, uint32_t tx_radiotap,
74 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t)));
56 ieee80211_radiotap_attach(struct ieee80211com *ic, struct ieee80211_radiotap_header *th, int tlen, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap) argument
65 ieee80211_radiotap_attachv(struct ieee80211com *ic, struct ieee80211_radiotap_header *th, int tlen, int n_tx_v, uint32_t tx_radiotap, struct ieee80211_radiotap_header *rh, int rlen, int n_rx_v, uint32_t rx_radiotap) argument
H A Dieee80211_var.h751 struct ieee80211_radiotap_header *th, int tlen,
757 int tlen, int n_tx_v, uint32_t tx_radiotap,
/haiku/src/add-ons/kernel/drivers/network/pcnet/dev/le/
H A Dlance.c349 int len, tlen = 0; local
362 tlen += len;
366 if (tlen < LEMINSIZE) {
367 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
368 tlen = LEMINSIZE;
370 return (tlen);
/haiku/src/bin/unzip/
H A Dfileio.c268 int blen, flen, tlen; local
272 tlen = flen + blen + 6; /* includes space for 5 digits */
273 if (tlen >= FILNAMSIZ) { /* in case name is too long, truncate */
277 tlen = FILNAMSIZ - 1 - blen;
279 tname[tlen] = '\0';
280 if (flen > tlen) flen = tlen;
281 tlen = FILNAMSIZ;
283 tname = (char *)malloc(tlen);
305 switch (tlen
[all...]
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dvfprintf.c1987 int tlen = strlen (thousands_sep);
2015 int cnt = tlen;
1985 int tlen = strlen (thousands_sep); local

Completed in 159 milliseconds