/external/pigweed/pw_rpc/raw/public/pw_rpc/internal/ |
D | raw_method.h | 38 Status Write(ConstByteSpan response); 59 [](ServerCall& call, ConstByteSpan req, ByteSpan res) { in Unary() 68 [](ServerCall& call, ConstByteSpan request, BaseServerWriter& writer) { in ServerStreaming() 81 ConstByteSpan, 85 ConstByteSpan, 118 ServerContext&, ConstByteSpan, ByteSpan)> { 126 ServerContext&, ConstByteSpan, ByteSpan)> { 134 struct MethodTraits<void (*)(ServerContext&, ConstByteSpan, RawServerWriter&)> { 142 ServerContext&, ConstByteSpan, RawServerWriter&)> {
|
/external/pigweed/pw_rpc/raw/ |
D | raw_method_test.cc | 36 StatusWithSize Unary(ServerContext&, ConstByteSpan, ByteSpan) { in Unary() argument 40 static StatusWithSize StaticUnary(ServerContext&, ConstByteSpan, ByteSpan) { in StaticUnary() argument 44 void ServerStreaming(ServerContext&, ConstByteSpan, RawServerWriter&) {} in ServerStreaming() argument 47 ConstByteSpan, in StaticServerStreaming() argument 50 StatusWithSize UnaryWrongArg(ServerContext&, ConstByteSpan, ConstByteSpan) { in UnaryWrongArg() argument 54 static void StaticUnaryVoidReturn(ServerContext&, ConstByteSpan, ByteSpan) {} in StaticUnaryVoidReturn() argument 57 ConstByteSpan, in ServerStreamingBadReturn() argument 62 static void StaticServerStreamingMissingArg(ConstByteSpan, RawServerWriter&) { in StaticServerStreamingMissingArg() argument 94 void DecodeRawTestRequest(ConstByteSpan request) { in DecodeRawTestRequest() 113 ConstByteSpan request, in AddFive() [all …]
|
D | raw_method_union_test.cc | 55 StatusWithSize DoNothing(ServerContext&, ConstByteSpan, ByteSpan) { in DoNothing() argument 60 ConstByteSpan request, in AddFive() 67 ConstByteSpan payload; in AddFive() 74 ConstByteSpan request, in StartStream() 81 void DecodeRawTestRequest(ConstByteSpan request) { in DecodeRawTestRequest()
|
D | codegen_test.cc | 28 ConstByteSpan request, in TestRpc() 45 ConstByteSpan request, in TestStreamRpc() 63 static bool DecodeRequest(ConstByteSpan request, in DecodeRequest()
|
/external/pigweed/pw_rpc/public/pw_rpc/internal/ |
D | packet.h | 32 static Result<Packet> FromBuffer(ConstByteSpan data); 76 ConstByteSpan payload = {}, 86 Result<ConstByteSpan> Encode(ByteSpan buffer) const; 103 constexpr const ConstByteSpan& payload() const { return payload_; } in payload() 114 constexpr void set_payload(ConstByteSpan payload) { payload_ = payload; } in set_payload() 122 ConstByteSpan payload_;
|
/external/pigweed/pw_i2c/public/pw_i2c/ |
D | initiator.h | 73 ConstByteSpan tx_buffer, in WriteReadFor() 111 ConstByteSpan tx_buffer, in WriteFor() 148 device_address, ConstByteSpan(), rx_buffer, for_at_least); in ReadFor() 182 device_address, ConstByteSpan(), ignored_buffer, for_at_least); in ProbeDeviceFor() 187 ConstByteSpan tx_buffer,
|
/external/pigweed/pw_stream/public/pw_stream/ |
D | memory_stream.h | 36 ConstByteSpan WrittenData() const { return dest_.first(bytes_written_); } in WrittenData() 45 Status DoWrite(ConstByteSpan data) override; 62 MemoryReader(ConstByteSpan source) : source_(source), bytes_read_(0) {} in MemoryReader() 79 ConstByteSpan source_;
|
D | stream.h | 63 Status Write(ConstByteSpan data) { in Write() 86 virtual Status DoWrite(ConstByteSpan data) = 0;
|
/external/pigweed/pw_hdlc/public/pw_hdlc/ |
D | decoder.h | 47 static Result<Frame> Parse(ConstByteSpan frame); 53 constexpr ConstByteSpan data() const { return data_; } in data() 58 constexpr Frame(uint64_t address, std::byte control, ConstByteSpan data) in Frame() 61 ConstByteSpan data_; 101 void Process(ConstByteSpan data, F&& callback, Args&&... args) { in Process()
|
/external/pigweed/pw_router/public/pw_router/ |
D | egress_function.h | 25 constexpr EgressFunction(Status (*func)(ConstByteSpan)) : func_(*func) {} in EgressFunction() argument 27 Status SendPacket(ConstByteSpan packet) final { return func_(packet); } in SendPacket() 30 Status (&func_)(ConstByteSpan);
|
/external/pigweed/pw_blob_store/public/pw_blob_store/ |
D | blob_store.h | 135 Status DoWrite(ConstByteSpan data) override { in DoWrite() 175 Status DoWrite(ConstByteSpan data) override { in DoWrite() 245 Result<ConstByteSpan> GetMemoryMappedBlob() { in GetMemoryMappedBlob() 350 Status Write(ConstByteSpan data); 363 Status AddToWriteBuffer(ConstByteSpan data); 390 Status CommitToFlash(ConstByteSpan source, size_t data_bytes = 0); 429 Result<ConstByteSpan> GetMemoryMappedBlob() const;
|
/external/pigweed/pw_log_multisink/ |
D | log_queue.cc | 33 Status LogQueue::PushTokenizedMessage(ConstByteSpan message, in PushTokenizedMessage() 57 ConstByteSpan log_entry; in PushTokenizedMessage() 97 .entries = ConstByteSpan(entry_buffer.first(ring_buffer_entry_size)), in Pop() 119 return LogEntries{.entries = ConstByteSpan(entries_buffer.first(offset)), in PopMultiple()
|
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/ |
D | nanopb_common.h | 41 bool DecodeRequest(void* proto_struct, ConstByteSpan buffer) const { in DecodeRequest() 44 bool DecodeResponse(void* proto_struct, ConstByteSpan buffer) const { in DecodeResponse() 57 ConstByteSpan buffer) const;
|
/external/pigweed/pw_router/ |
D | static_router_test.cc | 29 ConstByteSpan data() const { return std::as_bytes(std::span(this, 1)); } in data() 40 bool Parse(pw::ConstByteSpan packet) final { in Parse() 54 EgressFunction GoodEgress(+[](ConstByteSpan) { return OkStatus(); }); in __anon8714275d0202() argument 55 EgressFunction BadEgress(+[](ConstByteSpan) { in __anon8714275d0302() argument
|
/external/pigweed/pw_blob_store/ |
D | blob_store.cc | 158 ConstByteSpan checksum = checksum_algo_->Finish(); in CloseWrite() 193 Status BlobStore::Write(ConstByteSpan data) { in Write() 282 Status BlobStore::AddToWriteBuffer(ConstByteSpan data) { in AddToWriteBuffer() 358 ConstByteSpan remaining_bytes = write_buffer_.first(flash_write_size_bytes_); in FlushFinalPartialChunk() 362 Status BlobStore::CommitToFlash(ConstByteSpan source, size_t data_bytes) { in CommitToFlash() 415 Result<ConstByteSpan> BlobStore::GetMemoryMappedBlob() const { in GetMemoryMappedBlob() 424 return ConstByteSpan(mcu_address, ReadableDataBytes()); in GetMemoryMappedBlob()
|
/external/pigweed/pw_protobuf/ |
D | encoder.cc | 137 Result<ConstByteSpan> Encoder::Encode() { return EncodeFrom(0); } in Encode() 139 Result<ConstByteSpan> Encoder::EncodeFrom(size_t blob) { in EncodeFrom() 146 return Result<ConstByteSpan>(buffer_.first(EncodedSize())); in EncodeFrom() 189 return Result<ConstByteSpan>(buffer_.first(EncodedSize())); in EncodeFrom()
|
/external/pigweed/pw_multisink/ |
D | drain.cc | 21 Result<ConstByteSpan> Drain::GetEntry(ByteSpan entry, in GetEntry() 25 const Result<ConstByteSpan> result = in GetEntry()
|
/external/pigweed/pw_hdlc/ |
D | encoder.cc | 42 Status Encoder::WriteData(ConstByteSpan data) { in WriteData() 70 size_t Encoder::MaxEncodedSize(uint64_t address, ConstByteSpan payload) { in MaxEncodedSize() 101 ConstByteSpan payload, in WriteUIFrame()
|
/external/pigweed/pw_hdlc/public/pw_hdlc/internal/ |
D | encoder.h | 41 Status WriteData(ConstByteSpan data); 48 static size_t MaxEncodedSize(uint64_t address, ConstByteSpan payload);
|
/external/pigweed/pw_multisink/public/pw_multisink/ |
D | multisink.h | 50 Status HandleEntry(ConstByteSpan entry) { in HandleEntry() 97 static Result<ConstByteSpan> GetEntry(Drain& drain,
|
/external/pigweed/pw_unit_test/public/pw_unit_test/ |
D | unit_test_service.h | 27 void Run(ServerContext& ctx, ConstByteSpan request, RawServerWriter& writer); 40 if (Result<ConstByteSpan> result = encoder.Encode(); result.ok()) { in WriteEvent()
|
/external/pigweed/pw_log_sink/ |
D | log_sink_test.cc | 32 std::string LogMessageToString(ConstByteSpan message) { in LogMessageToString() 60 void HandleEntry(ConstByteSpan message) final { in HandleEntry() 151 Result<ConstByteSpan> entry = drain.GetEntry(entry_buffer, drop_count); in TEST()
|
/external/pigweed/pw_log_rpc/ |
D | logs_rpc.cc | 24 Result<ConstByteSpan> GenerateDroppedEntryMessage(ByteSpan encode_buffer, in GenerateDroppedEntryMessage() 34 void Logs::Get(ServerContext&, ConstByteSpan, rpc::RawServerWriter& writer) { in Get() argument
|
/external/pigweed/pw_hex_dump/public/pw_hex_dump/ |
D | hex_dump.h | 125 Status BeginDump(ConstByteSpan data); 151 ConstByteSpan source_data_;
|
/external/pigweed/pw_rpc/nanopb/ |
D | method_lookup_test.cc | 25 StatusWithSize TestRpc(ServerContext&, ConstByteSpan, ByteSpan) { in TestRpc() argument 46 void TestStreamRpc(ServerContext&, ConstByteSpan, RawServerWriter&) { in TestStreamRpc() argument
|