Searched refs:EncodeIndex (Results 1 – 2 of 2) sorted by relevance
125 static_assert(DecodeIndex(EncodeIndex(0u)) == 0u, "Index encoding error"); in ConstexprChecks()126 static_assert(DecodeIndex(EncodeIndex(1u)) == 1u, "Index encoding error"); in ConstexprChecks()127 static_assert(DecodeIndex(EncodeIndex(2u)) == 2u, "Index encoding error"); in ConstexprChecks()128 static_assert(DecodeIndex(EncodeIndex(3u)) == 3u, "Index encoding error"); in ConstexprChecks()
342 static constexpr uintptr_t EncodeIndex(uint32_t table_index) { in EncodeIndex() function368 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_); in EncodeIndirectRef()