Searched refs:rxbuf (Results 1 – 7 of 7) sorted by relevance
/external/libiio/src/examples/ |
D | dummy-iiostream.c | 108 static struct iio_buffer *rxbuf; variable 121 if (rxbuf) { iio_buffer_destroy(rxbuf); } in shutdown() 274 rxbuf = iio_device_create_buffer(dev, buffer_length, false); in main() 275 if (!rxbuf) { in main() 291 nbytes_rx = iio_buffer_refill(rxbuf); in main() 297 p_inc = iio_buffer_step(rxbuf); in main() 298 p_end = iio_buffer_end(rxbuf); in main() 302 for (p_dat = iio_buffer_first(rxbuf, channels[channel_count-1]); p_dat < p_end; p_dat += p_inc) { in main() 317 for (p_dat = iio_buffer_first(rxbuf, channels[i]); p_dat < p_end; p_dat += p_inc) { in main() 330 iio_buffer_foreach_sample(rxbuf, sample_cb, NULL); in main() [all …]
|
D | ad9361-iiostream.c | 62 static struct iio_buffer *rxbuf = NULL; variable 71 if (rxbuf) { iio_buffer_destroy(rxbuf); } in shutdown() 237 rxbuf = iio_device_create_buffer(rx, 1024*1024, false); in main() 238 if (!rxbuf) { in main() 260 nbytes_rx = iio_buffer_refill(rxbuf); in main() 264 p_inc = iio_buffer_step(rxbuf); in main() 265 p_end = iio_buffer_end(rxbuf); in main() 266 for (p_dat = (char *)iio_buffer_first(rxbuf, rx0_i); p_dat < p_end; p_dat += p_inc) { in main()
|
D | ad9371-iiostream.c | 60 static struct iio_buffer *rxbuf = NULL; variable 69 if (rxbuf) { iio_buffer_destroy(rxbuf); } in shutdown() 249 rxbuf = iio_device_create_buffer(rx, 1024*1024, false); in main() 250 if (!rxbuf) { in main() 272 nbytes_rx = iio_buffer_refill(rxbuf); in main() 276 p_inc = iio_buffer_step(rxbuf); in main() 277 p_end = iio_buffer_end(rxbuf); in main() 278 for (p_dat = iio_buffer_first(rxbuf, rx0_i); p_dat < p_end; p_dat += p_inc) { in main()
|
/external/perfetto/src/trace_processor/rpc/ |
D | httpd.cc | 52 rxbuf(base::PagedMemory::Allocate(kMaxRequestSize)) {} in Client() 53 size_t rxbuf_avail() { return rxbuf.size() - rxbuf_used; } in rxbuf_avail() 56 base::PagedMemory rxbuf; member 185 char* rxbuf = reinterpret_cast<char*>(client->rxbuf.Get()); in OnDataAvailable() local 191 size_t rsize = sock->Receive(&rxbuf[client->rxbuf_used], avail); in OnDataAvailable() 203 memmove(rxbuf, &rxbuf[bytes_consumed], client->rxbuf_used - bytes_consumed); in OnDataAvailable() 212 auto* rxbuf = reinterpret_cast<char*>(client->rxbuf.Get()); in ParseOneHttpRequest() local 213 base::StringView buf_view(rxbuf, client->rxbuf_used); in ParseOneHttpRequest() 263 http_req.body = base::StringView(&rxbuf[body_offset], body_size); in ParseOneHttpRequest()
|
/external/libnl/lib/ |
D | socket.c | 813 int nl_socket_set_buffer_size(struct nl_sock *sk, int rxbuf, int txbuf) in nl_socket_set_buffer_size() argument 817 if (rxbuf <= 0) in nl_socket_set_buffer_size() 818 rxbuf = 32768; in nl_socket_set_buffer_size() 835 &rxbuf, sizeof(rxbuf)); in nl_socket_set_buffer_size()
|
/external/iw/ |
D | iw.c | 39 int rxbuf, int txbuf) in nl_socket_set_buffer_size() argument 41 return nl_set_buffer_size(sk, rxbuf, txbuf); in nl_socket_set_buffer_size()
|
/external/libpcap/ |
D | pcap-dos.c | 869 static char rxbuf [ETH_MAX+100]; /* rx-buffer with some margin */ variable 879 memcpy (rxbuf, buf, pcap->caplen); in watt32_recv_hook() 897 return (void*) &rxbuf; in pcap_recv_hook()
|