Home
last modified time | relevance | path

Searched refs:ByteSpan (Results 1 – 25 of 51) sorted by relevance

123

/external/pigweed/pw_log_multisink/public/pw_log_multisink/
Dlog_queue.h43 using LogEntriesBuffer = ByteSpan;
58 LogQueue(ByteSpan log_buffer,
59 ByteSpan encode_buffer,
118 ByteSpan encode_buffer_;
127 LogQueueWithEncodeBuffer(ByteSpan log_buffer) in LogQueueWithEncodeBuffer()
/external/pigweed/pw_stream/public/pw_stream/
Dstream.h115 Result<ByteSpan> Read(ByteSpan dest) { in Read()
125 Result<ByteSpan> Read(void* dest, size_t size_bytes) { in Read()
144 virtual StatusWithSize DoRead(ByteSpan dest) = 0;
Dmemory_stream.h28 MemoryWriter(ByteSpan dest) : dest_(dest) {} in MemoryWriter()
47 ByteSpan dest_;
77 StatusWithSize DoRead(ByteSpan dest) override;
Dnull_stream.h36 StatusWithSize DoRead(ByteSpan) final { return StatusWithSize::OutOfRange(); } in DoRead() argument
Dsys_io_stream.h35 StatusWithSize DoRead(ByteSpan dest) override { in DoRead()
Dsocket_stream.h52 StatusWithSize DoRead(ByteSpan dest) override;
/external/pigweed/pw_rpc/raw/public/pw_rpc/internal/
Draw_method.h33 ByteSpan PayloadBuffer() { return AcquirePayloadBuffer(); } in PayloadBuffer()
59 [](ServerCall& call, ConstByteSpan req, ByteSpan res) { in Unary()
82 ByteSpan);
118 ServerContext&, ConstByteSpan, ByteSpan)> {
126 ServerContext&, ConstByteSpan, ByteSpan)> {
/external/pigweed/pw_i2c/public/pw_i2c/
Dinitiator.h74 ByteSpan rx_buffer, in WriteReadFor()
113 return WriteReadFor(device_address, tx_buffer, ByteSpan(), for_at_least); in WriteFor()
145 ByteSpan rx_buffer, in ReadFor()
188 ByteSpan rx_buffer,
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/
Dnanopb_common.h32 StatusWithSize EncodeRequest(ByteSpan buffer, in EncodeRequest()
36 StatusWithSize EncodeResponse(ByteSpan buffer, in EncodeResponse()
51 ByteSpan buffer,
/external/pigweed/pw_log_rpc/
Dlogs_rpc.cc24 Result<ConstByteSpan> GenerateDroppedEntryMessage(ByteSpan encode_buffer, in GenerateDroppedEntryMessage()
48 ByteSpan payload = response_writer_.PayloadBuffer(); in Flush()
58 ByteSpan payload = response_writer_.PayloadBuffer(); in Flush()
/external/pigweed/pw_rpc/raw/public/pw_rpc/
Draw_test_method_context.h97 MessageOutput(Vector<ByteSpan>& responses, in MessageOutput()
99 ByteSpan packet_buffer) in MessageOutput()
123 ByteSpan AcquireBuffer() override { return packet_buffer_; } in AcquireBuffer()
127 Vector<ByteSpan>& responses_;
129 ByteSpan packet_buffer_;
158 Vector<ByteSpan, kMaxResponse> responses;
235 const Vector<ByteSpan>& responses() const { return ctx_.responses; } in responses()
/external/pigweed/pw_persistent_ram/public/pw_persistent_ram/
Dpersistent_buffer.h47 PersistentBufferWriter(ByteSpan buffer, in PersistentBufferWriter()
55 ByteSpan buffer_;
107 ByteSpan(const_cast<std::byte*>(buffer_), kMaxSizeBytes), in GetWriter()
/external/pigweed/pw_stream/
Dmemory_stream_test.cc145 ByteSpan dest(nullptr, 5); in TEST()
173 Result<ByteSpan> result = memory_reader.Read(dest); in TEST()
193 ByteSpan dest(nullptr, 0); in TEST()
199 Result<ByteSpan> result = memory_reader.Read(dest); in TEST()
222 Result<ByteSpan> result = memory_reader.Read(dest.data(), dest.size()); in TEST()
257 Result<ByteSpan> result = memory_reader.Read(dest); in TEST()
/external/pigweed/pw_multisink/public/pw_multisink/
Dmultisink.h35 MultiSink(ByteSpan buffer) : ring_buffer_(true), sequence_id_(0) { in MultiSink()
98 ByteSpan buffer,
Ddrain.h55 Result<ConstByteSpan> GetEntry(ByteSpan entry, uint32_t& drop_count_out);
/external/pigweed/pw_blob_store/public/pw_blob_store/
Dblob_store.h251 StatusWithSize DoRead(ByteSpan dest) override { in DoRead()
282 ByteSpan write_buffer, in BlobStore()
422 StatusWithSize Read(size_t offset, ByteSpan dest) const;
476 ByteSpan write_buffer_;
/external/pigweed/pw_rpc/raw/
Draw_method_test.cc36 StatusWithSize Unary(ServerContext&, ConstByteSpan, ByteSpan) { in Unary() argument
40 static StatusWithSize StaticUnary(ServerContext&, ConstByteSpan, ByteSpan) { in StaticUnary() argument
54 static void StaticUnaryVoidReturn(ServerContext&, ConstByteSpan, ByteSpan) {} in StaticUnaryVoidReturn() argument
114 ByteSpan response) { in AddFive()
Draw_method_union_test.cc55 StatusWithSize DoNothing(ServerContext&, ConstByteSpan, ByteSpan) { in DoNothing() argument
61 ByteSpan response) { in AddFive()
Dcodegen_test.cc29 ByteSpan response) { in TestRpc()
52 ByteSpan buffer = writer.PayloadBuffer(); in TestStreamRpc()
/external/pigweed/pw_hdlc/public/pw_hdlc/
Ddecoder.h75 constexpr Decoder(ByteSpan buffer) in Decoder()
140 const ByteSpan buffer_;
/external/pigweed/pw_bytes/public/pw_bytes/
Dspan.h22 using ByteSpan = std::span<std::byte>; variable
/external/pigweed/pw_multisink/
Ddrain.cc21 Result<ConstByteSpan> Drain::GetEntry(ByteSpan entry, in GetEntry()
/external/pigweed/pw_persistent_ram/
Dpersistent_buffer.cc37 ByteSpan(buffer_.data() + size_, data.size_bytes()), checksum_); in DoWrite()
/external/pigweed/pw_random/public/pw_random/
Drandom.h46 virtual StatusWithSize Get(ByteSpan dest) = 0;
/external/pigweed/pw_protobuf/public/pw_protobuf/
Dencoder.h34 constexpr Encoder(ByteSpan buffer, in Encoder()
348 ByteSpan buffer_;
367 NestedEncoder(ByteSpan buffer) : Encoder(buffer, blobs_, stack_) {} in NestedEncoder()

123