Searched refs:tableSize (Results 1 – 2 of 2) sorted by relevance
87 unsigned int tableSize; member174 for (int i = 0; i < 1 << cache->tableSize; i++) { in driComputeOptionsSha1()
263 uint32_t size = 1 << cache->tableSize, mask = size - 1; in findOption()271 hash = (hash >> (16-cache->tableSize/2)) & mask; in findOption()324 info->tableSize = 7; in driParseOptionInfo()325 info->info = calloc((size_t)1 << info->tableSize, sizeof(driOptionInfo)); in driParseOptionInfo()326 info->values = calloc((size_t)1 << info->tableSize, sizeof(driOptionValue)); in driParseOptionInfo()1152 unsigned i, size = 1 << info->tableSize; in initOptionCache()1154 cache->tableSize = info->tableSize; in initOptionCache()1155 cache->values = malloc(((size_t)1 << info->tableSize) * sizeof(driOptionValue)); in initOptionCache()1161 ((size_t)1 << info->tableSize) * sizeof(driOptionValue)); in initOptionCache()1240 uint32_t i, size = 1 << info->tableSize; in driDestroyOptionInfo()[all …]