Lines Matching refs:bucket
133 ANTLR3_UINT32 bucket; // Used to traverse the buckets in antlr3HashTableNew() local
161 for (bucket = 0; bucket < sizeHint; bucket++) in antlr3HashTableNew()
163 table->buckets[bucket].entries = NULL; in antlr3HashTableNew()
197 ANTLR3_UINT32 bucket; /* Used to traverse the buckets */ in antlr3HashFree() local
208 for (bucket = 0; bucket < table->modulo; bucket++) in antlr3HashFree()
210 thisBucket = &(table->buckets[bucket]); in antlr3HashFree()
277 pANTLR3_HASH_BUCKET bucket; in antlr3HashRemoveI() local
287 bucket = table->buckets + hash; in antlr3HashRemoveI()
295 entry = bucket->entries; /* Entry to examine */ in antlr3HashRemoveI()
296 … nextPointer = & bucket->entries; /* Where to put the next pointer of the deleted entry */ in antlr3HashRemoveI()
334 pANTLR3_HASH_BUCKET bucket; in antlr3HashRemove() local
344 bucket = table->buckets + (hash % table->modulo); in antlr3HashRemove()
352 entry = bucket->entries; /* Entry to examine */ in antlr3HashRemove()
353 … nextPointer = & bucket->entries; /* Where to put the next pointer of the deleted entry */ in antlr3HashRemove()
447 pANTLR3_HASH_BUCKET bucket; in antlr3HashGetI() local
456 bucket = table->buckets + hash; in antlr3HashGetI()
461 entry = bucket->entries; in antlr3HashGetI()
486 pANTLR3_HASH_BUCKET bucket; in antlr3HashGet() local
496 bucket = table->buckets + (hash % table->modulo); in antlr3HashGet()
501 entry = bucket->entries; in antlr3HashGet()
526 pANTLR3_HASH_BUCKET bucket; in antlr3HashPutI() local
536 bucket = table->buckets + hash; in antlr3HashPutI()
542 newPointer = &bucket->entries; in antlr3HashPutI()
597 pANTLR3_HASH_BUCKET bucket; in antlr3HashPut() local
607 bucket = table->buckets + (hash % table->modulo); in antlr3HashPut()
613 newPointer = &bucket->entries; in antlr3HashPut()
691 en->bucket = 0; /* First bucket */ in antlr3EnumNew()
733 if (en->bucket >= en->table->modulo) in antlr3EnumNext()
767 pANTLR3_HASH_BUCKET bucket; in antlr3EnumNextEntry() local
789 en->bucket++; in antlr3EnumNextEntry()
791 while (en->bucket < en->table->modulo) in antlr3EnumNextEntry()
795 bucket = en->table->buckets + en->bucket; in antlr3EnumNextEntry()
797 if (bucket->entries != NULL) in antlr3EnumNextEntry()
802 en->entry = bucket->entries; in antlr3EnumNextEntry()
809 en->bucket++; in antlr3EnumNextEntry()