Searched refs:known_ids_ (Results 1 – 2 of 2) sorted by relevance
22 UniqueRandomIdGenerator::UniqueRandomIdGenerator() : known_ids_() {} in UniqueRandomIdGenerator()24 : known_ids_(known_ids.begin(), known_ids.end()) {} in UniqueRandomIdGenerator()29 RTC_CHECK_LT(known_ids_.size(), std::numeric_limits<uint32_t>::max() - 1); in GenerateId()31 auto pair = known_ids_.insert(CreateRandomNonZeroId()); in GenerateId()39 return known_ids_.insert(value).second; in AddKnownId()
52 std::set<TIntegral> known_ids_; variable79 std::set<uint32_t> known_ids_;112 : counter_(0), known_ids_(known_ids.begin(), known_ids.end()) {} in UniqueNumberGenerator()121 auto pair = known_ids_.insert(counter_++); in GenerateNumber()130 return known_ids_.insert(value).second; in AddKnownId()