Lines Matching refs:pKey

30   uint32_t operator()(const llvm::StringRef pKey) const {
42 uint32_t operator()(const llvm::StringRef pKey) const {
47 for (unsigned int i = 0; i < pKey.size(); ++i) {
48 hash_val = hash_val * a + pKey[i];
61 uint32_t operator()(const llvm::StringRef pKey) const {
64 for (unsigned int i = 0; i < pKey.size(); ++i) {
65 hash_val ^= ((hash_val << 5) + pKey[i] + (hash_val >> 2));
77 uint32_t operator()(const llvm::StringRef pKey) const {
88 for (unsigned int i = 0; i < pKey.size(); ++i) {
89 hash_val = (hash_val << OneEighth) + pKey[i];
105 uint32_t operator()(const llvm::StringRef pKey) const {
109 for (unsigned int i = 0; i < pKey.size(); ++i) {
110 hash_val = (hash_val << 4) + pKey[i];
125 uint32_t operator()(const llvm::StringRef pKey) const {
129 for (uint32_t i = 0; i < pKey.size(); ++i)
130 hash_val = (hash_val * seed) + pKey[i];
142 uint32_t operator()(const llvm::StringRef pKey) const {
145 for (uint32_t i = 0; i < pKey.size(); ++i)
146 hash_val = pKey[i] + (hash_val << 6) + (hash_val << 16) - hash_val;
158 uint32_t operator()(const llvm::StringRef pKey) const {
161 for (uint32_t i = 0; i < pKey.size(); ++i)
162 hash_val = ((hash_val << 5) + hash_val) + pKey[i];
175 uint32_t operator()(const llvm::StringRef pKey) const {
176 uint32_t hash_val = pKey.size();
178 for (uint32_t i = 0; i < pKey.size(); ++i)
179 hash_val = ((hash_val << 5) ^ (hash_val >> 27)) ^ pKey[i];
192 uint32_t operator()(const llvm::StringRef pKey) const {
194 for (uint32_t i = 0; i < pKey.size(); ++i)
195 hash_val = hash_val << 7 ^ pKey[i];
208 uint32_t operator()(const llvm::StringRef pKey) const {
211 for (uint32_t i = 0; i < pKey.size(); ++i) {
213 hash_val ^= pKey[i];
227 uint32_t operator()(const llvm::StringRef pKey) const {
230 for (uint32_t i = 0; i < pKey.size(); ++i) {
232 ? ((hash_val << 7) ^ pKey[i] * (hash_val >> 3))
233 : (~((hash_val << 11) + (pKey[i] ^ (hash_val >> 5))));