Searched refs:packet_size (Results 1 – 4 of 4) sorted by relevance
/device/google/cuttlefish_common/common/vsoc/lib/ |
D | circqueue_test.cpp | 70 intptr_t WritePacket(CircQueueRegionView* region, int packet_size) { in WritePacket() argument 71 char buffer_in[packet_size]; in WritePacket() 73 return layout->packet_queue.Write(region, buffer_in, packet_size); in WritePacket() 108 void ReadManyPackets(CircQueueRegionView* region, int num_packets, int packet_size) { in ReadManyPackets() argument 109 char buffer_out[packet_size]; in ReadManyPackets() 114 int ret = layout->packet_queue.Read(region, buffer_out, packet_size); in ReadManyPackets() 118 EXPECT_EQ(total_read, num_packets * packet_size); in ReadManyPackets() 121 void WriteManyPackets(CircQueueRegionView* region, int num_packets, int packet_size) { in WriteManyPackets() argument 122 char buffer_in[packet_size]; in WriteManyPackets() 127 int ret = layout->packet_queue.Write(region, buffer_in, packet_size); in WriteManyPackets() [all …]
|
D | circqueue_impl.h | 162 uint32_t packet_size = *reinterpret_cast<uint32_t*>( in Read() local 164 if (packet_size > max_size) { in Read() 170 t.end_idx = t.start_idx + packet_size; in Read() 172 this->r_released_ += this->CalculateBufferedSize(packet_size); in Read() 175 return packet_size; in Read()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/ |
D | ccbench.py | 403 def bandwidth_client(addr, packet_size, duration): argument 410 _sendto(sock, ("%r#%s\n" % (local_addr, msg)).rjust(packet_size), addr) 419 s = _recv(sock, packet_size) 420 assert len(s) == packet_size 440 packet_size = BANDWIDTH_PACKET_SIZE 478 packet_size=packet_size, 482 s = _recv(sock, packet_size) 494 s = _recv(sock, packet_size)
|
/device/google/cuttlefish_common/guest/commands/usbforward/ |
D | usb_server.cpp | 261 int packet_size = fd_->Write(&buffer[sent], actual_length - sent); in OnTransferComplete() local 262 sent += packet_size; in OnTransferComplete()
|