Searched refs:EncodeIndex (Results 1 – 2 of 2) sorted by relevance
121 static_assert(DecodeIndex(EncodeIndex(0u)) == 0u, "Index encoding error"); in ConstexprChecks()122 static_assert(DecodeIndex(EncodeIndex(1u)) == 1u, "Index encoding error"); in ConstexprChecks()123 static_assert(DecodeIndex(EncodeIndex(2u)) == 2u, "Index encoding error"); in ConstexprChecks()124 static_assert(DecodeIndex(EncodeIndex(3u)) == 3u, "Index encoding error"); in ConstexprChecks()
343 static constexpr uintptr_t EncodeIndex(uint32_t table_index) { in EncodeIndex() function369 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_); in EncodeIndirectRef()