Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 9 of 9) sorted by relevance

/device/generic/goldfish/audio/
Dring_buffer.cpp69 ContiniousChunk chunk; in getProduceChunk() local
71 chunk.data = &mBuffer[mProducePos]; in getProduceChunk()
72 chunk.size = (mProducePos >= mConsumePos) in getProduceChunk()
76 return chunk; in getProduceChunk()
129 ContiniousLockedChunk chunk; in getConsumeChunk() local
131 chunk.data = &mBuffer[mConsumePos]; in getConsumeChunk()
132 chunk.size = (mConsumePos >= mProducePos) in getConsumeChunk()
135 chunk.lock = std::move(lock); in getConsumeChunk()
137 return chunk; in getConsumeChunk()
Ddevice_port_source.cpp128 auto chunk = mRingBuffer.getConsumeChunk(); in read() local
129 const size_t writeBufSzBytes = std::min(chunk.size, bytesToRead); in read()
132 static_cast<int16_t *>(chunk.data), in read()
135 writer(chunk.data, writeBufSzBytes); in read()
136 LOG_ALWAYS_FATAL_IF(mRingBuffer.consume(chunk, writeBufSzBytes) < writeBufSzBytes); in read()
Ddevice_port_sink.cpp203 auto chunk = mRingBuffer.getConsumeChunk(); in consumeThread() local
204 szBytes = std::min(writeBuffer.size(), chunk.size); in consumeThread()
208 memcpy(writeBuffer.data(), chunk.data, szBytes); in consumeThread()
209 LOG_ALWAYS_FATAL_IF(mRingBuffer.consume(chunk, szBytes) < szBytes); in consumeThread()
/device/google/trout/tools/
Dbpttool573 chunk = self._chunks[chunk_idx]
574 chunk_pos_offset = self._file_pos - chunk.output_offset
575 chunk_pos_to_go = min(chunk.output_size - chunk_pos_offset, to_go)
577 if chunk.chunk_type == ImageChunk.TYPE_RAW:
578 self._image.seek(chunk.input_offset + chunk_pos_offset)
580 elif chunk.chunk_type == ImageChunk.TYPE_FILL:
581 all_data = chunk.fill_data*(chunk_pos_to_go // len(chunk.fill_data) + 2)
582 offset_mod = chunk_pos_offset % len(chunk.fill_data)
585 assert chunk.chunk_type == ImageChunk.TYPE_DONT_CARE
628 chunk = self._chunks[chunk_idx]
[all …]
/device/generic/goldfish/qemu-props/
Dqemu-props.cpp203 const size_t chunk = std::min<size_t>(cmd_len, sizeof(buf)); in sendMessage() local
204 r = qemu_pipe_read_fully(s_QemuMiscPipe, buf, chunk); in sendMessage()
209 cmd_len -= chunk; in sendMessage()
/device/google/cuttlefish/tests/wmediumd_control/src/com/android/cuttlefish/tests/
DWmediumdControlE2eTest.java62 for (String chunk : parsedResult) { in getRSSI()
63 if (chunk.contains("RSSI:")) { in getRSSI()
64 String[] parsedChunk = chunk.trim().split(" "); in getRSSI()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all476 nbd_structured_read_compliance(const char *type) "server sent non-compliant unaligned read %s chunk"
477 nbd_extended_headers_compliance(const char *type) "server sent non-compliant %s chunk not matching …
630 …16_t type, const char *name, uint64_t cookie, uint32_t length) "Got reply chunk header: { flags = …
665 …ookie = %" PRIu64 ", extents = %u, context = %d (extents cover %" PRIu64 " bytes, last chunk = %d)"
2851 net_rx_pkt_rss_add_chunk(void* ptr, size_t size, size_t input_offset) "Add RSS chunk %p, %zu bytes,…
5715 …eft, uint64_t block, uint64_t chunk, void *local, void *remote) "completions %" PRIu64 " left %d, …
5722 qemu_rdma_signal_unregister_append(uint64_t chunk, int pos) "Appending unregister chunk %" PRIu64 "…
5723 qemu_rdma_signal_unregister_already(uint64_t chunk) "Unregister chunk %" PRIu64 " already in queue"
5724 qemu_rdma_unregister_waiting_inflight(uint64_t chunk) "Cannot unregister inflight chunk: %" PRIu64
5725 qemu_rdma_unregister_waiting_proc(uint64_t chunk, int pos) "Processing unregister for chunk: %" PRI…
[all …]
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all476 nbd_structured_read_compliance(const char *type) "server sent non-compliant unaligned read %s chunk"
477 nbd_extended_headers_compliance(const char *type) "server sent non-compliant %s chunk not matching …
630 …16_t type, const char *name, uint64_t cookie, uint32_t length) "Got reply chunk header: { flags = …
665 …ookie = %" PRIu64 ", extents = %u, context = %d (extents cover %" PRIu64 " bytes, last chunk = %d)"
2851 net_rx_pkt_rss_add_chunk(void* ptr, size_t size, size_t input_offset) "Add RSS chunk %p, %zu bytes,…
5715 …eft, uint64_t block, uint64_t chunk, void *local, void *remote) "completions %" PRIu64 " left %d, …
5722 qemu_rdma_signal_unregister_append(uint64_t chunk, int pos) "Appending unregister chunk %" PRIu64 "…
5723 qemu_rdma_signal_unregister_already(uint64_t chunk) "Unregister chunk %" PRIu64 " already in queue"
5724 qemu_rdma_unregister_waiting_inflight(uint64_t chunk) "Cannot unregister inflight chunk: %" PRIu64
5725 qemu_rdma_unregister_waiting_proc(uint64_t chunk, int pos) "Processing unregister for chunk: %" PRI…
[all …]
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto1366 // the Producer to copy this number into the chunk headers it emits, so that
1499 // an unread chunk, it stops accepting new data in the buffer.
1898 // Num. bytes written into the circular buffer, including chunk headers.
1907 // size of the chunks read from the buffer, including chunk headers, which
1936 // the same chunk with additional packets appended to the end.
1960 // Num. OOB patches that failed (e.g., the chunk to patch was gone).
1963 // Num. readaheads (for large multi-chunk packet reads) that ended up in a
7262 // TracePackets are lost, e.g. because a chunk was overridden in the central