Home | History | Annotate | Download | only in webrtc

Lines Matching refs:allocator_

513   SctpSidAllocator allocator_;
520 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id));
522 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id));
524 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id));
526 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &id));
533 EXPECT_TRUE(allocator_.ReserveSid(old_id));
536 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &new_id));
540 EXPECT_TRUE(allocator_.ReserveSid(old_id));
541 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &new_id));
549 EXPECT_TRUE(allocator_.ReserveSid(odd_id));
550 EXPECT_TRUE(allocator_.ReserveSid(even_id));
553 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id));
556 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id));
559 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id));
562 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id));
565 allocator_.ReleaseSid(odd_id);
566 allocator_.ReleaseSid(even_id);
569 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id));
572 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id));
576 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id));
579 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_CLIENT, &allocated_id));