Lines Matching defs:hash
1089 proxy_hashes hash;
1100 hash.def = ap_proxy_hashfunc(uri, PROXY_HASHFUNC_DEFAULT);
1101 hash.fnv = ap_proxy_hashfunc(uri, PROXY_HASHFUNC_FNV);
1104 if (balancer->hash.def == hash.def && balancer->hash.fnv == hash.fnv) {
1197 bshared->hash.def = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_DEFAULT);
1198 bshared->hash.fnv = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_FNV);
1199 (*balancer)->hash = bshared->hash;
1224 if ((balancer->s->hash.def != shm->hash.def) ||
1225 (balancer->s->hash.fnv != shm->hash.fnv)) {
1757 wshared->hash.def = ap_proxy_hashfunc(wshared->name, PROXY_HASHFUNC_DEFAULT);
1758 wshared->hash.fnv = ap_proxy_hashfunc(wshared->name, PROXY_HASHFUNC_FNV);
1774 (*worker)->hash = wshared->hash;
1811 if ((worker->s->hash.def != shm->hash.def) ||
1812 (worker->s->hash.fnv != shm->hash.fnv)) {
3094 unsigned int hash;
3096 for (hash = 0; *str; str++) {
3097 hash *= fnv_prime;
3098 hash ^= (*str);
3100 return hash;
3104 unsigned int hash;
3105 for (hash = 0; *str; str++) {
3106 hash = (*str) + (hash << 6) + (hash << 16) - hash;
3108 return hash;
3186 if (!shm->hash.def || !shm->hash.fnv)
3192 if (worker->hash.def == shm->hash.def && worker->hash.fnv == shm->hash.fnv) {
3206 (*runtime)->hash = shm->hash;
3243 if ((worker->s->hash.def == shm->hash.def) &&
3244 (worker->s->hash.fnv == shm->hash.fnv)) {
3264 if ((balancer->s->hash.def == shm->hash.def) &&
3265 (balancer->s->hash.fnv == shm->hash.fnv)) {