Lines Matching refs:Pickle
5 #include "base/pickle.h"
14 const int Pickle::kPayloadUnit = 64;
18 PickleIterator::PickleIterator(const Pickle& pickle)
19 : read_ptr_(pickle.payload()),
20 read_end_ptr_(pickle.end_of_payload()) {
153 Pickle::Pickle()
162 Pickle::Pickle(int header_size)
173 Pickle::Pickle(const char* data, int data_len)
192 Pickle::Pickle(const Pickle& other)
203 Pickle::~Pickle() {
208 Pickle& Pickle::operator=(const Pickle& other) {
230 bool Pickle::WriteString(const std::string& value) {
237 bool Pickle::WriteWString(const std::wstring& value) {
245 bool Pickle::WriteString16(const string16& value) {
253 bool Pickle::WriteData(const char* data, int length) {
257 bool Pickle::WriteBytes(const void* data, int data_len) {
258 DCHECK_NE(kCapacityReadOnly, capacity_) << "oops: pickle is readonly";
270 char* Pickle::BeginWriteData(int length) {
272 "There can only be one variable buffer in a Pickle";
290 void Pickle::TrimWriteData(int new_length) {
307 char* Pickle::BeginWrite(size_t length) {
324 void Pickle::EndWrite(char* dest, int length) {
331 bool Pickle::Resize(size_t new_capacity) {
345 const char* Pickle::FindNext(size_t header_size,