Lines Matching defs:PickleIterator
19 // PickleIterator reads data from a Pickle. The Pickle object must remain valid
20 // while the PickleIterator object is in use.
21 class BASE_EXPORT PickleIterator {
23 PickleIterator() : read_ptr_(NULL), read_end_ptr_(NULL) {}
24 explicit PickleIterator(const Pickle& pickle);
27 // the Pickle, create a PickleIterator from a Pickle. If successful, these
139 // PickleIterator methods.
141 bool ReadBool(PickleIterator* iter, bool* result) const {
144 bool ReadInt(PickleIterator* iter, int* result) const {
147 bool ReadLong(PickleIterator* iter, long* result) const {
150 bool ReadUInt16(PickleIterator* iter, uint16* result) const {
153 bool ReadUInt32(PickleIterator* iter, uint32* result) const {
156 bool ReadInt64(PickleIterator* iter, int64* result) const {
159 bool ReadUInt64(PickleIterator* iter, uint64* result) const {
162 bool ReadFloat(PickleIterator* iter, float* result) const {
165 bool ReadString(PickleIterator* iter, std::string* result) const {
168 bool ReadWString(PickleIterator* iter, std::wstring* result) const {
171 bool ReadString16(PickleIterator* iter, string16* result) const {
178 bool ReadData(PickleIterator* iter, const char** data, int* length) const {
185 bool ReadBytes(PickleIterator* iter, const char** data, int length) const {
191 bool ReadLength(PickleIterator* iter, int* result) const {
334 friend class PickleIterator;