Lines Matching refs:ent
49 uint32_t ent = hash & (hash_table_size_ - 1); in GetCdEntryOffset() local
50 while (hash_table_[ent].name_offset != 0) { in GetCdEntryOffset()
51 if (hash_table_[ent].ToStringView(start) == name) { in GetCdEntryOffset()
52 return {kSuccess, hash_table_[ent].name_offset}; in GetCdEntryOffset()
54 ent = (ent + 1) & (hash_table_size_ - 1); in GetCdEntryOffset()
63 uint32_t ent = hash & (hash_table_size_ - 1); in AddToMap() local
69 while (hash_table_[ent].name_offset != 0) { in AddToMap()
70 if (hash_table_[ent].ToStringView(start) == name) { in AddToMap()
75 ent = (ent + 1) & (hash_table_size_ - 1); in AddToMap()
80 hash_table_[ent].name_offset = static_cast<uint32_t>(name.data() - start_char); in AddToMap()
81 hash_table_[ent].name_length = static_cast<uint16_t>(name.size()); in AddToMap()