Lines Matching refs:size

37     EXPECT_EQ(8U, set.size());  in TEST()
59 EXPECT_EQ(0U, set1.size()); in TEST()
63 EXPECT_EQ(0U, set2.size()); in TEST()
78 EXPECT_EQ(8U, set.size()); in TEST()
109 EXPECT_EQ(9U, set.size()); in TEST()
137 EXPECT_EQ(8U, set.size()); in TEST()
162 size_t size = set.SerializedSize(); in TEST() local
163 EXPECT_TRUE(size > 0); in TEST()
165 UniquePtr<uint8_t[]> buf(new uint8_t[size]); in TEST()
166 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
167 AuthorizationSet deserialized(buf.get(), size); in TEST()
190 size_t size = set.SerializedSize(); in TEST() local
191 EXPECT_TRUE(size > 0); in TEST()
193 UniquePtr<uint8_t[]> buf(new uint8_t[size]); in TEST()
194 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
197 EXPECT_TRUE(deserialized.Deserialize(&p, p + size)); in TEST()
198 EXPECT_EQ(p, buf.get() + size); in TEST()
202 EXPECT_EQ(set.size(), deserialized.size()); in TEST()
203 for (size_t i = 0; i < set.size(); ++i) { in TEST()
235 size_t size = set.SerializedSize(); in TEST() local
236 EXPECT_TRUE(size > 0); in TEST()
238 UniquePtr<uint8_t[]> buf(new uint8_t[size]); in TEST()
239 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
242 AuthorizationSet deserialized(buf.get(), size); in TEST()
246 EXPECT_FALSE(deserialized.Deserialize(&p, p + size)); in TEST()
267 size_t size = set.SerializedSize(); in TEST() local
269 UniquePtr<uint8_t[]> buf(new uint8_t[size]); in TEST()
270 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
304 AuthorizationSet deserialized1(buf.get(), size); in TEST()
308 EXPECT_TRUE(deserialized1.Deserialize(&p, p + size)); in TEST()
317 AuthorizationSet deserialized2(buf.get(), size); in TEST()
323 AuthorizationSet deserialized3(buf.get(), size); in TEST()
332 AuthorizationSet deserialized4(buf.get(), size); in TEST()
339 EXPECT_EQ(1U, growable.size()); in TEST()
342 EXPECT_EQ(2U, growable.size()); in TEST()
345 EXPECT_EQ(3U, growable.size()); in TEST()
348 EXPECT_EQ(4U, growable.size()); in TEST()
351 EXPECT_EQ(5U, growable.size()); in TEST()
368 EXPECT_EQ(1U, growable.size()); in TEST()
373 EXPECT_EQ(2U, growable.size()); in TEST()
381 EXPECT_EQ(1U, growable.size()); in TEST()
385 EXPECT_EQ(2U, growable.size()); in TEST()
389 EXPECT_EQ(3U, growable.size()); in TEST()
394 EXPECT_EQ(4U, growable.size()); in TEST()
415 EXPECT_EQ(set1.size() + set2.size(), combined.size()); in TEST()
568 EXPECT_EQ(copy.size(), set.size()); in TEST()
588 EXPECT_EQ(copy.size() - 1, set.size()); in TEST()
604 EXPECT_EQ(copy.size() - 2, set.size()); in TEST()
623 EXPECT_EQ(copy.size() - 3, set.size()); in TEST()