Lines Matching refs:pickle
91 base::Pickle pickle; in TEST() local
92 IPC::WriteParam(&pickle, message); in TEST()
94 base::PickleIterator iter(pickle); in TEST()
96 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST()
111 base::Pickle pickle; in TEST() local
112 IPC::WriteParam(&pickle, message); in TEST()
114 base::PickleIterator iter(pickle); in TEST()
116 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST()
126 base::Pickle pickle; in TEST() local
127 IPC::WriteParam(&pickle, message); in TEST()
129 base::PickleIterator iter(pickle); in TEST()
131 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST()
140 base::Pickle pickle; in TEST() local
141 IPC::WriteParam(&pickle, INT_MAX); in TEST()
142 IPC::WriteParam(&pickle, 0); in TEST()
143 IPC::WriteParam(&pickle, INT_MAX); in TEST()
144 IPC::WriteParam(&pickle, std::string()); in TEST()
145 IPC::WriteParam(&pickle, 0); in TEST()
147 base::PickleIterator iter(pickle); in TEST()
149 ASSERT_FALSE(IPC::ReadParam(&pickle, &iter, &output)); in TEST()
156 base::Pickle pickle; in TEST() local
157 IPC::WriteParam(&pickle, 256 * 1024 * 1024); in TEST()
158 IPC::WriteParam(&pickle, 0); in TEST()
159 IPC::WriteParam(&pickle, INT_MAX); in TEST()
160 IPC::WriteParam(&pickle, std::string()); in TEST()
161 IPC::WriteParam(&pickle, 0); in TEST()
163 base::PickleIterator iter(pickle); in TEST()
165 ASSERT_FALSE(IPC::ReadParam(&pickle, &iter, &output)); in TEST()