Lines Matching refs:allocated_id
688 int allocated_id = -1; in TEST_F() local
689 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
690 EXPECT_EQ(odd_id + 2, allocated_id); in TEST_F()
692 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id)); in TEST_F()
693 EXPECT_EQ(even_id + 2, allocated_id); in TEST_F()
695 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
696 EXPECT_EQ(odd_id + 4, allocated_id); in TEST_F()
698 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id)); in TEST_F()
699 EXPECT_EQ(even_id + 4, allocated_id); in TEST_F()
705 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
706 EXPECT_EQ(odd_id, allocated_id); in TEST_F()
708 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id)); in TEST_F()
709 EXPECT_EQ(even_id, allocated_id); in TEST_F()
712 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
713 EXPECT_EQ(odd_id + 6, allocated_id); in TEST_F()
715 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id)); in TEST_F()
716 EXPECT_EQ(even_id + 6, allocated_id); in TEST_F()