Lines Matching defs:pickle
5 #include "base/pickle.h"
147 Pickle pickle;
148 cache1.Serialize(&pickle);
149 ASSERT_TRUE(cache2.Deserialize(&pickle));
160 Pickle pickle;
161 cache1.Serialize(&pickle);
162 Pickle truncated(static_cast<const char*>(pickle.data()), pickle.size()-20);
173 Pickle pickle;
174 cache1.Serialize(&pickle);
175 ASSERT_FALSE(cache2.Deserialize(&pickle));
181 Pickle pickle("", 0);
182 ASSERT_FALSE(cache1.Deserialize(&pickle));
188 Pickle pickle(key1, strlen(key1));
189 ASSERT_FALSE(cache1.Deserialize(&pickle));