Lines Matching defs:string
89 static unsigned hash(StringImpl& string)
91 if (string.is8Bit())
92 return hash(string.characters8(), string.length());
93 return hash(string.characters16(), string.length());
95 static unsigned hash(StringImpl* string)
97 ASSERT(string);
98 return hash(*string);
148 // This hash can be used in cases where the key is a hash of a string, but we don't
149 // want to store the string. It's not really specific to string hashing, but all our
156 // the string hash function to never generate negative one, but this works