Searched refs:ToBit (Results 1 – 1 of 1) sorted by relevance
43 constexpr uint32_t ToBit(T val) { return 1u << ToUint(val); } in ToBit() function167 explicit ApiList(DomainApi val) : ApiList(Value::kInvalid, helper::ToBit(val)) {} in ApiList()304 return helper::MatchesBitMask(helper::ToBit(DomainApi::kTestApi), dex_flags_); in IsTestApi()325 if (helper::MatchesBitMask(helper::ToBit(helper::GetEnumAt<DomainApi>(i)), domain_apis)) { in Dump()