Home
last modified time | relevance | path

Searched refs:WriteBytes (Results 1 – 25 of 185) sorted by relevance

12345678

/external/libchrome/base/trace_event/
Dtrace_event_argument.cc49 pickle.WriteBytes(&kTypeCStr, 1); in WriteKeyNameAsRawPtr()
54 pickle.WriteBytes(&kTypeString, 1); in WriteKeyNameWithCopy()
91 pickle_.WriteBytes(&kTypeInt, 1); in SetInteger()
98 pickle_.WriteBytes(&kTypeInt, 1); in SetIntegerWithCopiedName()
105 pickle_.WriteBytes(&kTypeDouble, 1); in SetDouble()
113 pickle_.WriteBytes(&kTypeDouble, 1); in SetDoubleWithCopiedName()
120 pickle_.WriteBytes(&kTypeBool, 1); in SetBoolean()
128 pickle_.WriteBytes(&kTypeBool, 1); in SetBooleanWithCopiedName()
135 pickle_.WriteBytes(&kTypeString, 1); in SetString()
143 pickle_.WriteBytes(&kTypeString, 1); in SetStringWithCopiedName()
[all …]
/external/webrtc/rtc_base/
Dbyte_buffer.h42 WriteBytes(reinterpret_cast<const char*>(&val), 1); in WriteUInt8()
46 WriteBytes(reinterpret_cast<const char*>(&v), 2); in WriteUInt16()
52 WriteBytes(start, 3); in WriteUInt24()
56 WriteBytes(reinterpret_cast<const char*>(&v), 4); in WriteUInt32()
60 WriteBytes(reinterpret_cast<const char*>(&v), 8); in WriteUInt64()
70 WriteBytes(&byte, 1); in WriteUVarint()
74 WriteBytes(&last_byte, 1); in WriteUVarint()
77 WriteBytes(val.data(), val.size()); in WriteString()
79 void WriteBytes(const char* val, size_t len) { buffer_.AppendData(val, len); } in WriteBytes() function
/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_data_writer.cc29 return WriteBytes(&value, sizeof(value)); in WriteUInt8()
36 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
43 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
50 return WriteBytes(&value, sizeof(value)); in WriteUInt64()
58 return WriteBytes(&value, num_bytes); in WriteBytesToUInt64()
62 return WriteBytes(reinterpret_cast<char*>(&value) + sizeof(value) - num_bytes, in WriteBytesToUInt64()
73 return WriteBytes(val.data(), val.size()); in WriteStringPiece16()
77 return WriteBytes(val.data(), val.size()); in WriteStringPiece()
96 bool QuicheDataWriter::WriteBytes(const void* data, size_t data_len) { in WriteBytes() function in quiche::QuicheDataWriter
134 return WriteBytes(&tag, sizeof(tag)); in WriteTag()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_frame_builder.h81 bool WriteUInt8(uint8_t value) { return WriteBytes(&value, sizeof(value)); } in WriteUInt8()
84 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
88 return WriteBytes(reinterpret_cast<char*>(&value) + 1, sizeof(value) - 1); in WriteUInt24()
92 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
99 return (WriteBytes(&upper, sizeof(upper)) && in WriteUInt64()
100 WriteBytes(&lower, sizeof(lower))); in WriteUInt64()
103 bool WriteBytes(const void* data, uint32_t data_len);
Dspdy_framer.cc120 ret &= builder.WriteBytes(encoding.data(), encoding.size()); in SerializeHeadersGivenEncoding()
125 ret &= builder.WriteBytes(padding.data(), padding.length()); in SerializeHeadersGivenEncoding()
154 builder.WriteBytes(encoding.data(), encoding.size()); in SerializePushPromiseGivenEncoding()
157 ok = builder.WriteBytes(padding.data(), padding.length()); in SerializePushPromiseGivenEncoding()
188 bool ret = builder->WriteBytes(&hpack_encoding[0], in WritePayloadWithContinuation()
192 ret &= builder->WriteBytes(padding.data(), padding.length()); in WritePayloadWithContinuation()
207 ret &= builder->WriteBytes( in WritePayloadWithContinuation()
433 builder.WriteBytes(data_ir.data(), data_ir.data_len()); in SerializeData()
436 builder.WriteBytes(padding.data(), padding.length()); in SerializeData()
530 builder.WriteBytes(goaway.description().data(), in SerializeGoAway()
[all …]
/external/pigweed/pw_protobuf/
Dvarint_size_test.cc34 EXPECT_EQ(nested.WriteBytes(2, bytes::Initialized<125>(0xaa)), OkStatus()); in TEST()
49 EXPECT_EQ(nested.WriteBytes(2, bytes::Initialized<126>(0xaa)), in TEST()
66 EXPECT_EQ(nested.WriteBytes(2, bytes::Initialized<60>(0xaa)), OkStatus()); in TEST()
67 EXPECT_EQ(nested.WriteBytes(3, bytes::Initialized<60>(0xaa)), OkStatus()); in TEST()
68 EXPECT_EQ(nested.WriteBytes(4, bytes::Initialized<60>(0xaa)), in TEST()
/external/cronet/base/trace_event/
Dtraced_value.cc66 pickle.WriteBytes(&kTypeCStr, 1); in WriteKeyNameAsRawPtr()
71 pickle.WriteBytes(&kTypeString, 1); in WriteKeyNameWithCopy()
102 pickle_.WriteBytes(&kTypeInt, 1); in SetInteger()
108 pickle_.WriteBytes(&kTypeInt, 1); in SetIntegerWithCopiedName()
114 pickle_.WriteBytes(&kTypeDouble, 1); in SetDouble()
120 pickle_.WriteBytes(&kTypeDouble, 1); in SetDoubleWithCopiedName()
126 pickle_.WriteBytes(&kTypeBool, 1); in SetBoolean()
132 pickle_.WriteBytes(&kTypeBool, 1); in SetBooleanWithCopiedName()
138 pickle_.WriteBytes(&kTypeString, 1); in SetString()
145 pickle_.WriteBytes(&kTypeString, 1); in SetStringWithCopiedName()
[all …]
/external/perfetto/src/protozero/
Dscattered_stream_writer_unittest.cc52 ssw.WriteBytes(kOneByteBuf, sizeof(kOneByteBuf)); in TEST()
63 ssw.WriteBytes(kThreeByteBuf, sizeof(kThreeByteBuf)); in TEST()
68 ssw.WriteBytes(kTwentyByteBuf, sizeof(kTwentyByteBuf)); in TEST()
105 ssw.WriteBytes(kThreeByteBuf, sizeof(kThreeByteBuf)); in TEST()
/external/cronet/net/ntlm/
Dntlm_client_unittest.cc136 ASSERT_TRUE(writer.WriteBytes(base::make_span(test::kMinChallengeMessage) in TEST()
157 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
167 ASSERT_TRUE(writer.WriteBytes(base::make_span(test::kMinChallengeMessage) in TEST()
183 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
199 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
219 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
243 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
262 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
290 ASSERT_TRUE(writer.WriteBytes(raw)); in TEST()
Dntlm_buffer_writer.cc50 bool NtlmBufferWriter::WriteBytes(base::span<const uint8_t> bytes) { in WriteBytes() function in net::ntlm::NtlmBufferWriter
102 return WriteBytes(pair.buffer); in WriteAvPair()
107 return WriteBytes(base::as_bytes(base::make_span(str))); in WriteUtf8String()
149 return WriteBytes(kSignature); in WriteSignature()
Dntlm_buffer_writer_unittest.cc50 ASSERT_TRUE(writer.WriteBytes(b)); in TEST()
66 ASSERT_TRUE(writer2.WriteBytes(b)); in TEST()
136 TEST(NtlmBufferWriterTest, WriteBytes) { in TEST() argument
141 ASSERT_TRUE(writer.WriteBytes(expected)); in TEST()
144 ASSERT_FALSE(writer.WriteBytes(base::make_span(expected, 1u))); in TEST()
154 ASSERT_FALSE(writer.WriteBytes(buffer)); in TEST()
Dntlm_client.cc80 return authenticate_writer->WriteBytes(lm_response) && in WriteResponsePayloads()
81 authenticate_writer->WriteBytes(ntlm_response); in WriteResponsePayloads()
92 return authenticate_writer->WriteBytes(lm_response) && in WriteResponsePayloadsV2()
93 authenticate_writer->WriteBytes(v2_proof) && in WriteResponsePayloadsV2()
94 authenticate_writer->WriteBytes(v2_proof_input) && in WriteResponsePayloadsV2()
95 authenticate_writer->WriteBytes(updated_target_info) && in WriteResponsePayloadsV2()
/external/cronet/net/third_party/quiche/src/quiche/quic/masque/
Dmasque_encapsulated_client.cc113 writer.WriteBytes(&source_address, sizeof(source_address))); in WritePacket()
115 QUICHE_CHECK(writer.WriteBytes(&destination_address, in WritePacket()
135 writer.WriteBytes(&source_address, sizeof(source_address))); in WritePacket()
137 QUICHE_CHECK(writer.WriteBytes(&destination_address, in WritePacket()
151 QUICHE_CHECK(writer.WriteBytes(buffer, buf_len)); in WritePacket()
/external/cronet/net/third_party/quiche/src/quiche/quic/load_balancer/
Dload_balancer_encoder.cc36 out.WriteBytes(&num64, size); in WriteUint128()
38 out.WriteBytes(&num64, sizeof(num64)); in WriteUint128()
40 out.WriteBytes(&num64, size - sizeof(num64)); in WriteUint128()
129 writer.WriteBytes(server_id_->data().data(), server_id_->length()); in GenerateConnectionId()
/external/pigweed/pw_rpc/size_report/
Dserver_only.cc28 return pw::sys_io::WriteBytes(buffer).status(); in Send()
50 pw::sys_io::WriteBytes(packet_buffer) in main()
Dserver_with_echo_service.cc31 return pw::sys_io::WriteBytes(buffer).status(); in Send()
79 pw::sys_io::WriteBytes(packet_buffer); in main()
/external/pigweed/pw_sys_io_arduino/
Dsys_io_arduino.cc68 StatusWithSize result = WriteBytes(as_bytes(span(s))); in WriteLine()
75 result = WriteBytes(as_bytes(span("\r\n", 2))); in WriteLine()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.h30 void WriteBytes(const void *data, size_t size) in WriteBytes() function
248 void WriteBytes(const void *data, size_t size);
249 void WriteBytes(const CByteBuffer &data) { WriteBytes(data, data.Size()); } in WriteBytes() function
/external/pigweed/pw_sys_io_pico/
Dsys_io.cc76 StatusWithSize result = WriteBytes(as_bytes(span(s))); in WriteLine()
83 result = WriteBytes(as_bytes(span("\r\n", 2))); in WriteLine()
/external/pigweed/pw_sys_io_mcuxpresso/
Dsys_io.cc67 StatusWithSize result = WriteBytes(as_bytes(span(s))); in WriteLine()
74 result = WriteBytes(as_bytes(span("\r\n", 2))); in WriteLine()
/external/perfetto/src/tracing/core/
Dnull_trace_writer_unittest.cc50 ss->WriteBytes(payload, sizeof payload); in TEST()
63 ss->WriteBytes(payload, sizeof payload); in TEST()
/external/puffin/src/
Dbit_writer.h39 virtual bool WriteBytes(
79 bool WriteBytes(size_t nbytes,
/external/openthread/src/core/common/
Dframe_builder.hpp209 void WriteBytes(uint16_t aOffset, const void *aBuffer, uint16_t aLength);
227 WriteBytes(aOffset, &aObject, sizeof(ObjectType)); in Write()
/external/pigweed/pw_sys_io_emcraft_sf2/
Dsys_io_emcraft_sf2.cc91 StatusWithSize result = WriteBytes(as_bytes(span(s))); in WriteLine()
98 result = WriteBytes(as_bytes(span("\r\n", 2))); in WriteLine()
/external/openthread/tests/unit/
Dtest_message.cpp70 message->WriteBytes(0, writeBuffer, kMaxSize); in TestMessage()
86 message->WriteBytes(offset, &writeBuffer[offset], length); in TestMessage()
150 message2->WriteBytes(0, zeroBuffer, kMaxSize); in TestMessage()
183 message->WriteBytes(0, writeBuffer, kMaxSize); in TestMessage()
198 message->WriteBytes(0, writeBuffer, kMaxSize); in TestMessage()

12345678