Home
last modified time | relevance | path

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

1234

/external/chromium/base/
Dpickle.h94 return WriteBytes(&value, sizeof(value)); in WriteInt()
97 return WriteBytes(&value, sizeof(value)); in WriteLong()
100 return WriteBytes(&value, sizeof(value)); in WriteSize()
103 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
106 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
109 return WriteBytes(&value, sizeof(value)); in WriteInt64()
112 return WriteBytes(&value, sizeof(value)); in WriteUInt64()
118 bool WriteBytes(const void* data, int data_len);
Dpickle.cc306 return WriteBytes(value.data(), static_cast<int>(value.size())); in WriteString()
313 return WriteBytes(value.data(), in WriteWString()
321 return WriteBytes(value.data(), in WriteString16()
326 return length >= 0 && WriteInt(length) && WriteBytes(data, length); in WriteData()
329 bool Pickle::WriteBytes(const void* data, int data_len) { in WriteBytes() function in Pickle
/external/chromium_org/net/quic/
Dquic_data_writer.cc38 return WriteBytes(&value, sizeof(value)); in WriteUInt8()
42 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
46 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
56 return WriteBytes(&value, sizeof(value)); in WriteUInt64()
95 return WriteBytes(&result, sizeof(result)); in WriteUFloat16()
105 return WriteBytes(val.data(), val.size()); in WriteStringPiece16()
114 WriteBytes(data.iovec()[i].iov_base, data.iovec()[i].iov_len); in WriteIOVector()
136 bool QuicDataWriter::WriteBytes(const void* data, size_t data_len) { in WriteBytes() function in net::QuicDataWriter
/external/chromium/third_party/libjingle/source/talk/base/
Dbytebuffer.cc145 WriteBytes(reinterpret_cast<const char*>(&val), 1); in WriteUInt8()
150 WriteBytes(reinterpret_cast<const char*>(&v), 2); in WriteUInt16()
155 WriteBytes(reinterpret_cast<const char*>(&v) + 1, 3); in WriteUInt24()
160 WriteBytes(reinterpret_cast<const char*>(&v), 4); in WriteUInt32()
165 WriteBytes(reinterpret_cast<const char*>(&v), 8); in WriteUInt64()
169 WriteBytes(val.c_str(), val.size()); in WriteString()
172 void ByteBuffer::WriteBytes(const char* val, size_t len) { in WriteBytes() function in talk_base::ByteBuffer
/external/chromium_org/third_party/libjingle/source/talk/base/
Dbytebuffer.cc163 WriteBytes(reinterpret_cast<const char*>(&val), 1); in WriteUInt8()
168 WriteBytes(reinterpret_cast<const char*>(&v), 2); in WriteUInt16()
177 WriteBytes(start, 3); in WriteUInt24()
182 WriteBytes(reinterpret_cast<const char*>(&v), 4); in WriteUInt32()
187 WriteBytes(reinterpret_cast<const char*>(&v), 8); in WriteUInt64()
191 WriteBytes(val.c_str(), val.size()); in WriteString()
194 void ByteBuffer::WriteBytes(const char* val, size_t len) { in WriteBytes() function in talk_base::ByteBuffer
/external/chromium_org/net/spdy/
Dspdy_frame_builder.h85 return WriteBytes(&value, sizeof(value)); in WriteUInt8()
89 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
93 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
98 bool WriteBytes(const void* data, uint32 data_len);
Dspdy_frame_builder.cc71 success &= WriteBytes(&flags_length, sizeof(flags_length)); in WriteControlFrameHeader()
91 success &= WriteBytes(&flags_length, sizeof(flags_length)); in WriteDataFrameHeader()
123 return WriteBytes(value.data(), static_cast<uint16>(value.size())); in WriteString()
131 return WriteBytes(value.data(), value.size()); in WriteStringPiece32()
134 bool SpdyFrameBuilder::WriteBytes(const void* data, uint32 data_len) { in WriteBytes() function in net::SpdyFrameBuilder
166 success = WriteBytes(reinterpret_cast<char*>(&flags_length) + 1, in OverwriteLength()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.h29 void WriteBytes(const void *data, size_t size) in WriteBytes() function
67 void WriteBytes(const void *data, size_t size);
68 void WriteBytes(const CByteBuffer &data) { WriteBytes(data, data.GetCapacity()); } in WriteBytes() function
D7zOut.cpp13 static HRESULT WriteBytes(ISequentialOutStream *stream, const void *data, size_t size) in WriteBytes() function
33 return ::WriteBytes(SeqStream, data, size); in WriteDirect()
160 void COutArchive::WriteBytes(const void *data, size_t size) in WriteBytes() function in NArchive::N7z::COutArchive
166 _outByte.WriteBytes(data, size); in WriteBytes()
170 _outByte2.WriteBytes(data, size); in WriteBytes()
295 WriteBytes(longID, idSize); in WriteFolder()
304 WriteBytes(coder.Props, propsSize); in WriteFolder()
/external/chromium/net/spdy/
Dspdy_frame_builder.h68 return WriteBytes(&value, sizeof(value)); in WriteUInt16()
72 return WriteBytes(&value, sizeof(value)); in WriteUInt32()
75 bool WriteBytes(const void* data, uint16 data_len);
Dspdy_frame_builder.cc113 return WriteBytes(value.data(), static_cast<uint16>(value.size())); in WriteString()
116 bool SpdyFrameBuilder::WriteBytes(const void* data, uint16 data_len) { in WriteBytes() function in spdy::SpdyFrameBuilder
/external/chromium_org/net/http/
Dhttp_auth_handler_ntlm_portable.cc182 static void* WriteBytes(void* buf, const void* data, uint32 data_len) { in WriteBytes() function
192 return WriteBytes(buf, &dword, sizeof(dword)); in WriteDWORD()
200 buf = WriteBytes(buf, &length, sizeof(length)); in WriteSecBuf()
201 buf = WriteBytes(buf, &length, sizeof(length)); in WriteSecBuf()
202 buf = WriteBytes(buf, &offset, sizeof(offset)); in WriteSecBuf()
343 cursor = WriteBytes(cursor, NTLM_SIGNATURE, sizeof(NTLM_SIGNATURE)); in GenerateType1Msg()
346 cursor = WriteBytes(cursor, NTLM_TYPE1_MARKER, sizeof(NTLM_TYPE1_MARKER)); in GenerateType1Msg()
584 cursor = WriteBytes(cursor, NTLM_SIGNATURE, sizeof(NTLM_SIGNATURE)); in GenerateType3Msg()
587 cursor = WriteBytes(cursor, NTLM_TYPE3_MARKER, sizeof(NTLM_TYPE3_MARKER)); in GenerateType3Msg()
/external/chromium/net/http/
Dhttp_auth_handler_ntlm_portable.cc181 static void* WriteBytes(void* buf, const void* data, uint32 data_len) { in WriteBytes() function
191 return WriteBytes(buf, &dword, sizeof(dword)); in WriteDWORD()
199 buf = WriteBytes(buf, &length, sizeof(length)); in WriteSecBuf()
200 buf = WriteBytes(buf, &length, sizeof(length)); in WriteSecBuf()
201 buf = WriteBytes(buf, &offset, sizeof(offset)); in WriteSecBuf()
356 cursor = WriteBytes(cursor, NTLM_SIGNATURE, sizeof(NTLM_SIGNATURE)); in GenerateType1Msg()
359 cursor = WriteBytes(cursor, NTLM_TYPE1_MARKER, sizeof(NTLM_TYPE1_MARKER)); in GenerateType1Msg()
597 cursor = WriteBytes(cursor, NTLM_SIGNATURE, sizeof(NTLM_SIGNATURE)); in GenerateType3Msg()
600 cursor = WriteBytes(cursor, NTLM_TYPE3_MARKER, sizeof(NTLM_TYPE3_MARKER)); in GenerateType3Msg()
/external/llvm/include/llvm/MC/
DMCObjectWriter.h179 void WriteBytes(const SmallVectorImpl<char> &ByteVec, unsigned ZeroFillSize = 0) {
180 WriteBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
183 void WriteBytes(StringRef Str, unsigned ZeroFillSize = 0) {
/external/lzma/C/
DXzEnc.c30 static SRes WriteBytes(ISeqOutStream *s, const void *buf, UInt32 size) in WriteBytes() function
38 return WriteBytes(s, buf, size); in WriteBytesAndCrc()
50 return WriteBytes(s, header, XZ_STREAM_HEADER_SIZE); in Xz_WriteHeader()
76 return WriteBytes(s, header, pos + 4); in XzBlock_WriteHeader()
108 RINOK(WriteBytes(s, buf, 4)); in Xz_WriteFooter()
120 return WriteBytes(s, buf, 12); in Xz_WriteFooter()
462 RINOK(WriteBytes(&seqSizeOutStream.p, buf, padSize + XzFlags_GetCheckSize(xz->flags))); in Xz_Compress()
/external/chromium_org/base/
Dpickle.cc243 return WriteBytes(value.data(), static_cast<int>(value.size())); in WriteString()
250 return WriteBytes(value.data(), in WriteWString()
258 return WriteBytes(value.data(), in WriteString16()
263 return length >= 0 && WriteInt(length) && WriteBytes(data, length); in WriteData()
266 bool Pickle::WriteBytes(const void* data, int length) { in WriteBytes() function in Pickle
/external/chromium_org/content/public/common/
Dcommon_param_traits.cc197 m->WriteBytes(&values, sizeof(int) * 2); in Write()
220 m->WriteBytes(&values, sizeof(float) * 2); in Write()
241 m->WriteBytes(&values, sizeof(int) * 2); in Write()
262 m->WriteBytes(&values, sizeof(float) * 2); in Write()
283 m->WriteBytes(&values, sizeof(int) * 4); in Write()
306 m->WriteBytes(&values, sizeof(float) * 4); in Write()
/external/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc59 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() function in sfntly::WritableFontData
69 int32_t WritableFontData::WriteBytes(int32_t index, ByteVector* b) { in WriteBytes() function in sfntly::WritableFontData
71 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/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc61 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() function in sfntly::WritableFontData
71 int32_t WritableFontData::WriteBytes(int32_t index, ByteVector* b) { in WriteBytes() function in sfntly::WritableFontData
73 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/chromium_org/cloud_print/gcp20/prototype/
Ddns_response_builder.cc63 writer.WriteBytes(domain_name.data(), domain_name.size()); in AppendSrv()
131 success = writer.WriteBytes(name_in_dns_format.data(), in Build()
137 writer.WriteBytes(iter->rdata.data(), iter->rdata.size()); in Build()
/external/chromium_org/net/base/
Dbig_endian_unittest.cc70 EXPECT_TRUE(writer.WriteBytes(buf, sizeof(buf))); in TEST()
92 EXPECT_FALSE(writer.WriteBytes(buf, 2)); in TEST()
/external/chromium_org/chrome/test/chromedriver/
Dutil.cc108 WriteBytes(&data, sizeof(data)); in WriteUInt16()
112 WriteBytes(&data, sizeof(data)); in WriteUInt32()
116 WriteBytes(data.c_str(), data.length()); in WriteString()
119 void WriteBytes(const void* bytes, int size) { in WriteBytes() function in __anond9b8d9dc0211::DataOutputStream
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_usage_cache.cc217 write_pickle.WriteBytes(kUsageFileHeader, kUsageFileHeaderSize); in Write()
222 if (!WriteBytes(usage_file_path, in Write()
273 bool FileSystemUsageCache::WriteBytes(const base::FilePath& file_path, in WriteBytes() function in fileapi::FileSystemUsageCache

1234