Home
last modified time | relevance | path

Searched refs:dest_ (Results 1 – 25 of 34) sorted by relevance

12

/external/pigweed/pw_hex_dump/
Dhex_dump_test.cc61 HexDump() { dumper_ = FormattedHexDumper(dest_, default_flags_); } in HexDump()
65 std::array<char, 256> dest_ = {0}; member in pw::dump::__anon8ba910680111::HexDump
79 dumper_ = FormattedHexDumper(dest_, default_flags_); in SmallBuffer()
83 std::array<char, 7> dest_ = {0}; member in pw::dump::__anon8ba910680111::SmallBuffer
103 EXPECT_EQ(DumpAddr(dest_, zero), OkStatus()); in TEST_F()
104 EXPECT_STREQ(expected, dest_.data()); in TEST_F()
110 EXPECT_TRUE(DumpAddr(dest_, nonzero).ok()); in TEST_F()
111 EXPECT_STREQ(expected, dest_.data()); in TEST_F()
117 EXPECT_TRUE(DumpAddr(dest_, reinterpret_cast<const void*>(zero)).ok()); in TEST_F()
118 EXPECT_STREQ(expected, dest_.data()); in TEST_F()
[all …]
Dhex_dump.cc64 StringBuilder builder(dest_); in PrintFormatHeader()
129 if (!ValidateBufferSize().ok() || dest_.data() == nullptr) { in DumpLine()
133 if (dest_[0] == 0 && flags.show_header) { in DumpLine()
138 StringBuilder builder(dest_); in DumpLine()
217 dest_ = dest; in SetLineBuffer()
227 if (dest_.data() != nullptr && dest_.size_bytes() > 0) { in BeginDump()
228 dest_[0] = 0; in BeginDump()
252 if (dest_.size_bytes() < required_size) { in ValidateBufferSize()
/external/tensorflow/tensorflow/core/lib/io/
Drecord_writer.cc62 : dest_(dest), options_(options) { in RecordWriter()
77 dest_ = zlib_output_buffer; in RecordWriter()
79 dest_ = in RecordWriter()
91 if (dest_ != nullptr) { in ~RecordWriter()
100 if (dest_ == nullptr) { in WriteRecord()
113 TF_RETURN_IF_ERROR(dest_->Append(StringPiece(header, sizeof(header)))); in WriteRecord()
114 TF_RETURN_IF_ERROR(dest_->Append(data)); in WriteRecord()
115 return dest_->Append(StringPiece(footer, sizeof(footer))); in WriteRecord()
120 if (dest_ == nullptr) { in WriteRecord()
133 TF_RETURN_IF_ERROR(dest_->Append(StringPiece(header, sizeof(header)))); in WriteRecord()
[all …]
Drecordio_test.cc113 StringDest dest_; member in tensorflow::io::__anon19d0634b0111::RecordioTest
122 : dest_(&contents_), in RecordioTest()
126 writer_(new RecordWriter(&dest_)), in RecordioTest()
/external/webrtc/rtc_base/
Dsocket_address_pair.cc17 : src_(src), dest_(dest) {} in SocketAddressPair()
20 return (src_ == p.src_) && (dest_ == p.dest_); in operator ==()
28 if (dest_ < p.dest_) in operator <()
30 if (p.dest_ < dest_) in operator <()
36 return src_.Hash() ^ dest_.Hash(); in Hash()
Dsocket_adapters.cc236 dest_ = addr; in Connect()
247 return dest_; in GetRemoteAddress()
253 dest_.Clear(); in Close()
283 Connect(dest_); in OnCloseEvent()
335 return force_connect_ || (dest_.port() != 80); in ShouldIssueConnect()
340 ss << "CONNECT " << dest_.ToString() << " HTTP/1.0\r\n"; in SendRequest()
342 ss << "Host: " << dest_.HostAsURIString() << "\r\n"; in SendRequest()
480 dest_ = addr; in Connect()
489 return dest_; in GetRemoteAddress()
494 dest_.Clear(); in Close()
[all …]
Dsocket_address_pair.h29 const SocketAddress& destination() const { return dest_; } in destination()
38 SocketAddress dest_; variable
Dsocket_adapters.h110 SocketAddress proxy_, dest_;
162 SocketAddress proxy_, dest_; variable
/external/webrtc/p2p/base/
Dfake_packet_transport.h29 if (dest_ && dest_->dest_ == this) { in ~FakePacketTransport()
30 dest_->dest_ = nullptr; in ~FakePacketTransport()
49 dest_ = dest; in SetDestination()
56 dest_ = nullptr; in SetDestination()
69 if (!dest_) { in SendPacket()
135 if (dest_) { in SendPacketInternal()
136 dest_->SignalReadPacket(dest_, packet.data<char>(), packet.size(), in SendPacketInternal()
144 FakePacketTransport* dest_ = nullptr; variable
Dfake_ice_transport.h38 if (dest_ && dest_->dest_ == this) { in ~FakeIceTransport()
39 dest_->dest_ = nullptr; in ~FakeIceTransport()
57 if (dest == dest_) {
60 RTC_DCHECK(!dest || !dest_)
64 dest_ = dest;
71 dest_ = nullptr;
234 if (!dest_) { in SendPacket()
304 if (dest_) { in SendPacketInternal()
306 dest_->SignalReadPacket(dest_, packet.data<char>(), packet.size(), in SendPacketInternal()
314 FakeIceTransport* dest_ = nullptr; variable
Dfake_dtls_transport.h63 if (dest_ && dest_->dest_ == this) { in ~FakeDtlsTransport()
64 dest_->dest_ = nullptr; in ~FakeDtlsTransport()
95 if (dest == dest_) {
98 RTC_DCHECK(!dest || !dest_)
100 if (dest && !dest_) {
102 dest_ = dest;
103 if (local_cert_ && dest_->local_cert_) {
123 dest_ = nullptr;
291 FakeDtlsTransport* dest_ = nullptr; variable
/external/pigweed/pw_stream/public/pw_stream/
Dmemory_stream.h28 MemoryWriter(ByteSpan dest) : dest_(dest) {} in MemoryWriter()
33 return dest_.size_bytes() - bytes_written_; in ConservativeWriteLimit()
36 ConstByteSpan WrittenData() const { return dest_.first(bytes_written_); } in WrittenData()
38 const std::byte* data() const { return dest_.data(); } in data()
47 ByteSpan dest_; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dmemset_thunk.h37 : Thunk(Kind::kMemzero, thunk_info), dest_(dest) {} in MemzeroThunk()
42 const BufferAllocation::Slice dest_;
53 dest_(dest) {} in Memset32BitValueThunk()
59 const BufferAllocation::Slice dest_; variable
Dmemset_thunk.cc26 params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream()
35 params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream()
Dreplica_id_thunk.h33 : Thunk(kind, thunk_info), dest_(dest) {} in ReplicaOrPartitionIdThunk()
36 const BufferAllocation::Slice dest_;
Dreplica_id_thunk.cc25 auto dest_addr = params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream()
Dcollective_permute_thunk.h40 const BufferAllocation::Slice dest_; variable
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc59 if (data != dest_) { in Append()
61 GOOGLE_DCHECK(!(dest_ <= data && data < (dest_ + n))) in Append()
63 memcpy(dest_, data, n); in Append()
65 dest_ += n; in Append()
145 dest_->append(data, n); in Append()
Dbytestream.h165 explicit UncheckedArrayByteSink(char* dest) : dest_(dest) {} in UncheckedArrayByteSink()
172 char* CurrentDestination() const { return dest_; } in CurrentDestination()
175 char* dest_;
259 explicit StringByteSink(string* dest) : dest_(dest) {} in StringByteSink()
263 string* dest_;
/external/perfetto/src/trace_processor/util/
Dproto_to_args_parser.cc42 : old_size_(dest->size()), dest_(dest) { in ScopedStringAppender()
44 dest_->reserve(append.size()); in ScopedStringAppender()
46 dest_->reserve(old_size_ + 1 + append.size()); in ScopedStringAppender()
47 dest_->append("."); in ScopedStringAppender()
49 dest_->append(append); in ScopedStringAppender()
51 ~ScopedStringAppender() { dest_->erase(old_size_); } in ~ScopedStringAppender()
55 std::string* dest_; member in perfetto::trace_processor::util::__anon8f9869730111::ScopedStringAppender
/external/icu/libicu/cts_headers/unicode/
Dbytestream.h276 StringByteSink(StringClass* dest) : dest_(dest) { } in StringByteSink()
284 StringByteSink(StringClass* dest, int32_t initialAppendCapacity) : dest_(dest) { in StringByteSink()
296 virtual void Append(const char* data, int32_t n) { dest_->append(data, n); } in Append()
298 StringClass* dest_;
/external/icu/icu4c/source/common/unicode/
Dbytestream.h276 StringByteSink(StringClass* dest) : dest_(dest) { } in StringByteSink()
284 StringByteSink(StringClass* dest, int32_t initialAppendCapacity) : dest_(dest) { in StringByteSink()
296 virtual void Append(const char* data, int32_t n) { dest_->append(data, n); } in Append()
298 StringClass* dest_;
/external/webrtc/media/base/
Dfake_network_interface.h35 dest_(NULL), in FakeNetworkInterface()
41 void SetDestination(MediaChannel* dest) { dest_ = dest; } in SetDestination()
174 if (dest_) { in OnMessage()
176 dest_->OnPacketReceived(msg_data->data(), rtc::TimeMicros()); in OnMessage()
211 MediaChannel* dest_; variable
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_util.cc108 TF_RETURN_IF_ERROR(env->NewAppendableFile(filename_, &dest_)); in Initialize()
111 dest_.get(), io::RecordWriterOptions::CreateRecordWriterOptions( in Initialize()
139 return dest_->Flush(); in Sync()
146 TF_RETURN_IF_ERROR(dest_->Close()); in Close()
148 dest_ = nullptr; in Close()
168 TF_RETURN_IF_ERROR(env->NewAppendableFile(filename_, &dest_)); in Initialize()
176 zlib_underlying_dest_.swap(dest_); in Initialize()
184 dest_.reset(zlib_output_buffer); in Initialize()
284 Status CustomWriter::Sync() { return dest_->Sync(); } in Sync()
287 if (dest_ != nullptr) { in Close()
[all …]
/external/icu/icu4c/source/common/
Dbytesinkutil.cpp124 CharStringByteSink::CharStringByteSink(CharString* dest) : dest_(*dest) { in CharStringByteSink()
132 dest_.append(bytes, n, status); in Append()
148 char* result = dest_.getAppendBuffer( in GetAppendBuffer()

12