Home
last modified time | relevance | path

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

12

/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Dstandard_codec.cc161 stream->WriteBytes(reinterpret_cast<const uint8_t*>(&int_value), 4); in WriteValue()
166 stream->WriteBytes(reinterpret_cast<const uint8_t*>(&long_value), 8); in WriteValue()
172 stream->WriteBytes(reinterpret_cast<const uint8_t*>(&double_value), 8); in WriteValue()
179 stream->WriteBytes(reinterpret_cast<const uint8_t*>(string_value.data()), in WriteValue()
233 stream->WriteBytes(reinterpret_cast<uint8_t*>(&value), 2); in WriteSize()
237 stream->WriteBytes(reinterpret_cast<uint8_t*>(&value), 4); in WriteSize()
266 stream->WriteBytes(reinterpret_cast<const uint8_t*>(vector.data()), in WriteVector()
Dbyte_stream_wrappers.h81 void WriteBytes(const uint8_t* bytes, size_t length) { in WriteBytes() function
/third_party/node/deps/zlib/google/
Dzip_reader.h41 virtual bool WriteBytes(const char* data, int num_bytes) = 0;
253 bool WriteBytes(const char* data, int num_bytes) override;
287 bool WriteBytes(const char* data, int num_bytes) override;
Dzip_reader.cc49 bool WriteBytes(const char* data, int num_bytes) override;
73 bool StringWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::__anon37a79e570111::StringWriterDelegate
266 if (!delegate->WriteBytes(buf.get(), num_bytes_to_write)) in ExtractCurrentEntry()
463 bool FileWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FileWriterDelegate
493 bool FilePathWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FilePathWriterDelegate
Dzip_reader_unittest.cc111 MOCK_METHOD2(WriteBytes, bool(const char*, int));
599 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
617 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
664 ASSERT_TRUE(writer.WriteBytes(kSomeData, kSomeDataLen)); in TEST_F()
/third_party/skia/third_party/externals/zlib/google/
Dzip_reader.h41 virtual bool WriteBytes(const char* data, int num_bytes) = 0;
253 bool WriteBytes(const char* data, int num_bytes) override;
287 bool WriteBytes(const char* data, int num_bytes) override;
Dzip_reader.cc48 bool WriteBytes(const char* data, int num_bytes) override;
72 bool StringWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::__anonda9f72bc0111::StringWriterDelegate
265 if (!delegate->WriteBytes(buf.get(), num_bytes_to_write)) in ExtractCurrentEntry()
462 bool FileWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FileWriterDelegate
492 bool FilePathWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FilePathWriterDelegate
Dzip_reader_unittest.cc111 MOCK_METHOD2(WriteBytes, bool(const char*, int));
599 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
617 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
664 ASSERT_TRUE(writer.WriteBytes(kSomeData, kSomeDataLen)); in TEST_F()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_reader.h41 virtual bool WriteBytes(const char* data, int num_bytes) = 0;
253 bool WriteBytes(const char* data, int num_bytes) override;
284 bool WriteBytes(const char* data, int num_bytes) override;
Dzip_reader.cc49 bool WriteBytes(const char* data, int num_bytes) override;
73 bool StringWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::__anonfc1becd10111::StringWriterDelegate
267 if (!delegate->WriteBytes(buf.get(), num_bytes_to_write)) in ExtractCurrentEntry()
457 bool FileWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FileWriterDelegate
487 bool FilePathWriterDelegate::WriteBytes(const char* data, int num_bytes) { in WriteBytes() function in zip::FilePathWriterDelegate
Dzip_reader_unittest.cc111 MOCK_METHOD2(WriteBytes, bool(const char*, int));
603 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
621 EXPECT_CALL(mock_writer, WriteBytes(_, _)) in TEST_F()
668 ASSERT_TRUE(writer.WriteBytes(kSomeData, kSomeDataLen)); in TEST_F()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc62 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() function in sfntly::WritableFontData
72 int32_t WritableFontData::WriteBytes(int32_t index, std::vector<uint8_t>* b) { in WriteBytes() function in sfntly::WritableFontData
74 return WriteBytes(index, &((*b)[0]), 0, b->size()); in WriteBytes()
Dwritable_font_data.h60 virtual int32_t WriteBytes(int32_t index,
70 virtual int32_t WriteBytes(int32_t index, std::vector<uint8_t>* b);
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc62 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() function in sfntly::WritableFontData
72 int32_t WritableFontData::WriteBytes(int32_t index, std::vector<uint8_t>* b) { in WriteBytes() function in sfntly::WritableFontData
74 return WriteBytes(index, &((*b)[0]), 0, b->size()); in WriteBytes()
Dwritable_font_data.h60 virtual int32_t WriteBytes(int32_t index,
70 virtual int32_t WriteBytes(int32_t index, std::vector<uint8_t>* b);
/third_party/protobuf/csharp/src/Google.Protobuf/
DWriteContext.cs206 public void WriteBytes(ByteString value) in WriteBytes() method
208 WritingPrimitives.WriteBytes(ref buffer, ref state, value); in WriteBytes()
DCodedOutputStream.cs325 public void WriteBytes(ByteString value) in WriteBytes() method in Google.Protobuf.CodedOutputStream
328 WritingPrimitives.WriteBytes(ref span, ref state, value); in WriteBytes()
DUnknownField.cs136 output.WriteBytes(value); in WriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAny.cs260 output.WriteBytes(Value); in WriteTo()
277 output.WriteBytes(Value); in IBufferMessage.InternalWriteTo()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_data_test.cc193 wfd->WriteBytes(index, &(buffer[0]), 0, buffer.size()); in WriteFontDataWithBuffer()
206 wfd->WriteBytes(index, &(b[0]), index, sliding_size); in WriteFontDataWithSlidingWindow()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_data_test.cc193 wfd->WriteBytes(index, &(buffer[0]), 0, buffer.size()); in WriteFontDataWithBuffer()
206 wfd->WriteBytes(index, &(b[0]), index, sliding_size); in WriteFontDataWithSlidingWindow()
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs422 cos.WriteBytes(value); in WriteBytes_CodedOutputStream()
437 ctx.WriteBytes(value); in WriteBytes_WriteContext()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs305 cout.WriteBytes(ByteString.CopyFrom(content)); in TestCodedInputOutputPosition()
326 cout.WriteBytes(ByteString.CopyFrom(child)); in TestCodedInputOutputPosition()
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc253 inline Status WriteBytes(int field_number, const DataPiece& data, in WriteBytes() function
257 WireFormatLite::WriteBytes(field_number, c.ValueOrDie(), stream); in WriteBytes()
694 status = WriteBytes(field.number(), data, stream_.get()); in RenderPrimitiveField()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs535 output.WriteBytes(ProtobufPayload); in WriteTo()
580 output.WriteBytes(ProtobufPayload); in IBufferMessage.InternalWriteTo()
1088 output.WriteBytes(ProtobufPayload); in WriteTo()
1129 output.WriteBytes(ProtobufPayload); in IBufferMessage.InternalWriteTo()

12