/external/pigweed/pw_hex_dump/ |
D | hex_dump_test.cc | 61 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 …]
|
D | hex_dump.cc | 64 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/ |
D | record_writer.cc | 62 : 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 …]
|
D | recordio_test.cc | 113 StringDest dest_; member in tensorflow::io::__anon19d0634b0111::RecordioTest 122 : dest_(&contents_), in RecordioTest() 126 writer_(new RecordWriter(&dest_)), in RecordioTest()
|
/external/webrtc/rtc_base/ |
D | socket_address_pair.cc | 17 : 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()
|
D | socket_adapters.cc | 236 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 …]
|
D | socket_address_pair.h | 29 const SocketAddress& destination() const { return dest_; } in destination() 38 SocketAddress dest_; variable
|
D | socket_adapters.h | 110 SocketAddress proxy_, dest_; 162 SocketAddress proxy_, dest_; variable
|
/external/webrtc/p2p/base/ |
D | fake_packet_transport.h | 29 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
|
D | fake_ice_transport.h | 38 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
|
D | fake_dtls_transport.h | 63 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/ |
D | memory_stream.h | 28 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/ |
D | memset_thunk.h | 37 : 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
|
D | memset_thunk.cc | 26 params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream() 35 params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream()
|
D | replica_id_thunk.h | 33 : Thunk(kind, thunk_info), dest_(dest) {} in ReplicaOrPartitionIdThunk() 36 const BufferAllocation::Slice dest_;
|
D | replica_id_thunk.cc | 25 auto dest_addr = params.buffer_allocations->GetDeviceAddress(dest_); in ExecuteOnStream()
|
D | collective_permute_thunk.h | 40 const BufferAllocation::Slice dest_; variable
|
/external/protobuf/src/google/protobuf/stubs/ |
D | bytestream.cc | 59 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()
|
D | bytestream.h | 165 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/ |
D | proto_to_args_parser.cc | 42 : 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/ |
D | bytestream.h | 276 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/ |
D | bytestream.h | 276 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/ |
D | fake_network_interface.h | 35 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/ |
D | snapshot_util.cc | 108 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/ |
D | bytesinkutil.cpp | 124 CharStringByteSink::CharStringByteSink(CharString* dest) : dest_(*dest) { in CharStringByteSink() 132 dest_.append(bytes, n, status); in Append() 148 char* result = dest_.getAppendBuffer( in GetAppendBuffer()
|