Home
last modified time | relevance | path

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

123

/external/libchrome/base/trace_event/
Dtrace_event_argument.cc46 pickle.WriteBytes(&kTypeCStr, 1); in WriteKeyNameAsRawPtr()
51 pickle.WriteBytes(&kTypeString, 1); in WriteKeyNameWithCopy()
88 pickle_.WriteBytes(&kTypeInt, 1); in SetInteger()
95 pickle_.WriteBytes(&kTypeInt, 1); in SetIntegerWithCopiedName()
102 pickle_.WriteBytes(&kTypeDouble, 1); in SetDouble()
110 pickle_.WriteBytes(&kTypeDouble, 1); in SetDoubleWithCopiedName()
117 pickle_.WriteBytes(&kTypeBool, 1); in SetBoolean()
125 pickle_.WriteBytes(&kTypeBool, 1); in SetBooleanWithCopiedName()
132 pickle_.WriteBytes(&kTypeString, 1); in SetString()
140 pickle_.WriteBytes(&kTypeString, 1); in SetStringWithCopiedName()
[all …]
/external/webrtc/webrtc/base/
Dbytebuffer.cc151 WriteBytes(reinterpret_cast<const char*>(&val), 1); in WriteUInt8()
156 WriteBytes(reinterpret_cast<const char*>(&v), 2); in WriteUInt16()
165 WriteBytes(start, 3); in WriteUInt24()
170 WriteBytes(reinterpret_cast<const char*>(&v), 4); in WriteUInt32()
175 WriteBytes(reinterpret_cast<const char*>(&v), 8); in WriteUInt64()
179 WriteBytes(val.c_str(), val.size()); in WriteString()
182 void ByteBuffer::WriteBytes(const char* val, size_t len) { in WriteBytes() function in rtc::ByteBuffer
Dbytebuffer.h69 void WriteBytes(const char* val, size_t len);
/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/tpm2/
DTcpServer.c18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes);
350 WriteBytes( in WriteBytes() function
390 return WriteBytes(s, (char*) &netVal, 4); in WriteUINT32()
439 res = WriteBytes(s, (char*) &netLength, 4); in WriteVarBytes()
441 res = WriteBytes(s, buffer, BytesToSend); in WriteVarBytes()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.h30 void WriteBytes(const void *data, size_t size) in WriteBytes() function
234 void WriteBytes(const void *data, size_t size);
235 void WriteBytes(const CByteBuffer &data) { WriteBytes(data, data.Size()); } in WriteBytes() function
D7zOut.cpp142 void COutArchive::WriteBytes(const void *data, size_t size) in WriteBytes() function in NArchive::N7z::COutArchive
148 _outByte.WriteBytes(data, size); in WriteBytes()
152 _outByte2.WriteBytes(data, size); in WriteBytes()
279 WriteBytes(temp, idSize + 1); in WriteFolder()
288 WriteBytes(coder.Props, propsSize); in WriteFolder()
/external/puffin/src/
Dbit_writer.h39 virtual bool WriteBytes(
79 bool WriteBytes(size_t nbytes,
Dbit_writer.cc33 bool BufferBitWriter::WriteBytes( in WriteBytes() function in puffin::BufferBitWriter
Dbit_io_unittest.cc28 ASSERT_TRUE(bw.WriteBytes(2, [&tmp, &index](uint8_t* buffer, size_t count) { in TEST()
/external/lzma/C/
DXzEnc.c27 static SRes WriteBytes(ISeqOutStream *s, const void *buf, UInt32 size) in WriteBytes() function
35 return WriteBytes(s, buf, size); in WriteBytesAndCrc()
47 return WriteBytes(s, header, XZ_STREAM_HEADER_SIZE); in Xz_WriteHeader()
77 return WriteBytes(s, header, pos + 4); in XzBlock_WriteHeader()
113 RINOK(WriteBytes(s, buf, 4)); in Xz_WriteFooter()
125 return WriteBytes(s, buf, 12); in Xz_WriteFooter()
503 RINOK(WriteBytes(&seqSizeOutStream.p, buf, padSize + XzFlags_GetCheckSize(xz->flags))); in Xz_Compress()
/external/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, ByteVector* 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, ByteVector* b);
/external/v8/src/
Deh-frame.h133 void WriteBytes(const byte* start, int size) { in WriteBytes() function
137 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt16()
140 WriteBytes(reinterpret_cast<const byte*>(&value), sizeof(value)); in WriteInt32()
Deh-frame.cc104 WriteBytes(&kAugmentationString[0], sizeof(kAugmentationString)); in WriteCie()
247 WriteBytes(&kPadding[0], padding_size); in WritePaddingToAlignedSize()
355 WriteBytes(&kTerminator[0], EhFrameConstants::kEhFrameTerminatorSize); in Finish()
/external/libchrome/base/
Dpickle.cc334 return WriteBytes(value.data(), static_cast<int>(value.size())); in WriteString()
341 return WriteBytes(value.data(), in WriteString16()
346 return length >= 0 && WriteInt(length) && WriteBytes(data, length); in WriteData()
349 bool Pickle::WriteBytes(const void* data, int length) { in WriteBytes() function in base::Pickle
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_sps_parser.cc46 rbsp_buffer.WriteBytes(sps_bytes + i, 2); in Parse()
50 rbsp_buffer.WriteBytes(sps_bytes + i, 1); in Parse()
/external/webrtc/webrtc/p2p/base/
Dstun.cc431 buf->WriteBytes(zeroes, 4 - remainder); in WritePadding()
548 buf->WriteBytes(reinterpret_cast<char*>(&v4addr), sizeof(v4addr)); in Write()
553 buf->WriteBytes(reinterpret_cast<char*>(&v6addr), sizeof(v6addr)); in Write()
632 buf->WriteBytes(reinterpret_cast<const char*>(&v4addr), sizeof(v4addr)); in Write()
637 buf->WriteBytes(reinterpret_cast<const char*>(&v6addr), sizeof(v6addr)); in Write()
751 buf->WriteBytes(bytes_, length()); in Write()
/external/lzma/CPP/7zip/Common/
DOutBuffer.h54 void WriteBytes(const void *data, size_t size) in WriteBytes() function
/external/swiftshader/third_party/LLVM/lib/MC/
DMCAssembler.cpp438 OW->WriteBytes(DF.getContents().str()); in WriteFragmentData()
462 OW->WriteBytes(StringRef(IF.getCode().begin(), IF.getCode().size())); in WriteFragmentData()
468 OW->WriteBytes(LF.getContents().str()); in WriteFragmentData()
483 OW->WriteBytes(OF.getContents().str()); in WriteFragmentData()
488 OW->WriteBytes(CF.getContents().str()); in WriteFragmentData()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_writer.h73 inline void WriteBytes(const uint8_t* src, size_t size) { in WriteBytes() function
/external/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()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs305 cout.WriteBytes(ByteString.CopyFrom(content)); in TestCodedInputOutputPosition()
326 cout.WriteBytes(ByteString.CopyFrom(child)); in TestCodedInputOutputPosition()
/external/webrtc/talk/media/base/
Dtestutils.cc59 buf->WriteBytes(payload, sizeof(payload)); in WriteToByteBuffer()
96 buf->WriteBytes(payload, sizeof(payload)); in WriteToByteBuffer()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCObjectWriter.h178 void WriteBytes(StringRef Str, unsigned ZeroFillSize = 0) {

123