Home | History | Annotate | Download | only in src

Lines Matching refs:idx

41   unsigned int idx;
162 unsigned int idx)
164 PHashTableEntry *entry = table->entries[idx];
193 entry->table->entries[entry->idx] = entry->next;
212 unsigned int idx;
218 idx = hashCode % table->args.capacity;
219 if ((entry = getEntry(table, key, hashCode, idx)) != NULL)
258 unsigned int idx;
265 idx = hashCode % table->args.capacity;
267 result = getEntry(table, key, hashCode, idx);
276 unsigned int i, idx;
302 idx = entry->hashCode % newCapacity;
303 if (idx != i)
306 entry->idx = idx;
318 tmp = table->entries[idx];
323 table->entries[idx] = entry;
344 unsigned int hashCode, idx;
349 idx = hashCode % table->args.capacity;
351 entry = getEntry(table, key, hashCode, idx);
365 idx = hashCode % table->args.capacity;
406 entry->idx = idx;
410 entry->next = table->entries[idx];
414 table->entries[idx] = entry;
426 unsigned int hashCode, idx;
438 idx = hashCode % table->args.capacity;
440 entry = getEntry(table, key, hashCode, idx);
504 unsigned int idx;
508 idx = entry->idx;
512 while (++idx < table->args.capacity)
514 if (table->entries[idx] != NULL)
516 entry = table->entries[idx];
524 for (idx = 0; idx < table->args.capacity; ++idx)
526 if (table->entries[idx] != NULL)
528 entry = table->entries[idx];