Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 13 of 13) sorted by relevance

/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtransform_procs.c37 transform_6_to_10(uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) in transform_6_to_10() argument
41 *rlen = 10; in transform_6_to_10()
98 uint8 **rcmd, uint8 *rlen) in transform_cmd_6_to_10() argument
107 transform_6_to_10(cmd, len, rcmd, rlen); in transform_cmd_6_to_10()
117 transform_6_to_10(cmd, len, rcmd, rlen); in transform_cmd_6_to_10()
140 uint8 **rcmd, uint8 *rlen) in transform_cmd_test_unit_ready() argument
147 memset(*rcmd, 0, *rlen); in transform_cmd_test_unit_ready()
150 *rlen = 6; in transform_cmd_test_unit_ready()
174 uint8 *rlen) in scsi_transform() argument
185 transformed = transform_cmd_6_to_10(udi, cmd, len, rcmd, rlen); in scsi_transform()
[all …]
H A Dproto_module.h66 uint8 **rcmd, uint8 *rlen);
/haiku/src/apps/codycam/
H A DFtpClient.cpp200 int code, codeType, rlen, slen, i; in PutFile() local
226 rlen = 1; in PutFile()
227 while (rlen > 0) { in PutFile()
230 rlen = infile.Read((void*)buf, sizeof(buf)); in PutFile()
231 slen = rlen; in PutFile()
236 for (i = 0; i < rlen; i++) { in PutFile()
283 int code, codeType, rlen, slen, i; in GetFile() local
309 rlen = 1; in GetFile()
311 while (rlen > 0) { in GetFile()
314 rlen = fData->Receive(buf, sizeof(buf)); in GetFile()
[all …]
/haiku/src/libs/mapm/
H A Dmapmutl2.c170 int llen, rlen, lsign, rsign, i, j, lexp, rexp; in m_apm_compare() local
173 rlen = rtmp->m_apm_datalength; in m_apm_compare()
200 if (llen < rlen) in m_apm_compare()
203 j = (rlen + 1) >> 1; in m_apm_compare()
214 if (llen == rlen) in m_apm_compare()
218 if (llen > rlen) in m_apm_compare()
/haiku/headers/cpp/std/
H A Dbastring.cc401 size_t rlen = length () - pos; in compare() local
402 if (rlen > n) in compare()
403 rlen = n; in compare()
404 if (rlen > _str.length ()) in compare()
405 rlen = _str.length (); in compare()
406 int r = traits::compare (data () + pos, _str.data (), rlen); in compare()
409 if (rlen == n) in compare()
420 size_t rlen = length () - pos; in compare() local
421 if (rlen > n) in compare()
422 rlen = n; in compare()
[all …]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c56 struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap) in ieee80211_radiotap_attach() argument
59 rh, rlen, 0, rx_radiotap); in ieee80211_radiotap_attach()
67 int rlen, int n_rx_v, uint32_t rx_radiotap) in ieee80211_radiotap_attachv() argument
88 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv()
H A Dieee80211_var.h837 struct ieee80211_radiotap_header *rh, int rlen,
843 int rlen, int n_rx_v, uint32_t rx_radiotap);
/haiku/src/tests/system/network/multicast/
H A Dmulticat.c179 socklen_t rlen = sizeof(struct sockaddr_storage); in dump() local
182 while ((n = recvfrom(sock, buf, sizeof(buf), 0, raddr, &rlen)) > 0) { in dump()
186 if (getnameinfo(raddr, rlen, address, sizeof(address), port, in dump()
/haiku/headers/private/firewire/
H A Dfirewire_module.h37 int slen, int rlen, int n,
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwmem.cpp57 int rlen, in fwmem_xfer_req() argument
75 xfer->recv.pay_len = rlen; in fwmem_xfer_req()
H A Dfwohci.cpp2789 int rlen; local
2795 rlen = dbch->xferq.psize - offset;
2798 rlen, dbch->buf_offset);
2804 bcopy(buf, p, rlen);
2805 p += rlen;
2807 rlen = sizeof(pktbuf) - rlen;
2808 if (rlen < 0)
2810 bcopy(db_tr->buf, p, rlen);
2811 ld += rlen;
2812 len -= rlen;
[all …]
H A Dfirewire.cpp1011 fw_xferlist_add(struct fw_xferlist *q, int slen, int rlen, int n, in fw_xferlist_add() argument
1018 xfer = fw_xfer_alloc_buf(slen, rlen); in fw_xferlist_add()
/haiku/src/add-ons/kernel/drivers/network/ether/etherpci/
H A Detherpci.c1068 int rlen; in copy_packet() local
1116 rlen = len - 4; in copy_packet()
1117 if (rlen < ETHER_MIN_SIZE || rlen > ETHER_MAX_SIZE) { in copy_packet()
1127 if (rlen > buflen) in copy_packet()
1128 rlen = buflen; in copy_packet()
1130 ringcopy(data, ether_buf, offset + 4, rlen); in copy_packet()
1136 ether_len = rlen; in copy_packet()