Lines Matching refs:Pickle
5 #include "base/pickle.h"
17 const int Pickle::kPayloadUnit = 64;
21 PickleIterator::PickleIterator(const Pickle& pickle)
22 : read_ptr_(pickle.payload()),
23 read_end_ptr_(pickle.end_of_payload()) {
164 Pickle::Pickle()
173 Pickle::Pickle(int header_size)
184 Pickle::Pickle(const char* data, int data_len)
203 Pickle::Pickle(const Pickle& other)
213 Pickle::~Pickle() {
218 Pickle& Pickle::operator=(const Pickle& other) {
239 bool Pickle::WriteString(const std::string& value) {
246 bool Pickle::WriteWString(const std::wstring& value) {
254 bool Pickle::WriteString16(const string16& value) {
262 bool Pickle::WriteData(const char* data, int length) {
266 bool Pickle::WriteBytes(const void* data, int length) {
271 void Pickle::Reserve(size_t length) {
283 void Pickle::Resize(size_t new_capacity) {
294 const char* Pickle::FindNext(size_t header_size,
310 template <size_t length> void Pickle::WriteBytesStatic(const void* data) {
314 template void Pickle::WriteBytesStatic<2>(const void* data);
315 template void Pickle::WriteBytesStatic<4>(const void* data);
316 template void Pickle::WriteBytesStatic<8>(const void* data);
318 inline void Pickle::WriteBytesCommon(const void* data, size_t length) {
320 << "oops: pickle is readonly";