Lines Matching defs:hash
204 struct action *collide; /* Next action with the same hash */
3017 char **types; /* A hash table of datatypes */
3022 int hash; /* For hashing the name of a type */
3046 /* Build a hash table of datatypes. The ".dtnum" field of each symbol
3047 ** is filled in with the hash index plus 1. A ".dtnum" value of 0 is
3070 hash = 0;
3072 hash = hash*53 + stddt[j];
3074 hash = (hash & 0x7fffffff)%arraysize;
3075 while( types[hash] ){
3076 if( strcmp(types[hash],stddt)==0 ){
3077 sp->dtnum = hash + 1;
3080 hash++;
3081 if( hash>=arraysize ) hash = 0;
3083 if( types[hash]==0 ){
3084 sp->dtnum = hash + 1;
3085 types[hash] = (char*)malloc( strlen(stddt)+1 );
3086 if( types[hash]==0 ){
3090 strcpy(types[hash],stddt);
3266 ** yy_action. Used to detect hash collisions.
3760 struct s_x1node *next; /* Next entry with the same hash */
3808 /* Need to make the hash table bigger */
3922 struct s_x2node *next; /* Next entry with the same hash */
3971 /* Need to make the hash table bigger */
4128 struct s_x3node *next; /* Next entry with the same hash */
4177 /* Need to make the hash table bigger */
4274 struct s_x4node *next; /* Next entry with the same hash */
4322 /* Need to make the hash table bigger */