Lines Matching refs:hash_value
169 unsigned int hash_value; member
326 static char* fcgi_hash_set(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, … in fcgi_hash_set() argument
328 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; in fcgi_hash_set()
332 if (UNEXPECTED(p->hash_value == hash_value) && in fcgi_hash_set()
355 p->hash_value = hash_value; in fcgi_hash_set()
363 static void fcgi_hash_del(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len) in fcgi_hash_del() argument
365 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; in fcgi_hash_del()
369 if ((*p)->hash_value == hash_value && in fcgi_hash_del()
382 static char *fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, … in fcgi_hash_get() argument
384 unsigned int idx = hash_value & FCGI_HASH_TABLE_MASK; in fcgi_hash_get()
388 if (p->hash_value == hash_value && in fcgi_hash_get()
1682 char* fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value) argument
1686 return fcgi_hash_get(&req->env, hash_value, (char*)var, var_len, &val_len);
1700 char* fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* v… argument
1703 fcgi_hash_del(&req->env, hash_value, var, var_len);
1706 return fcgi_hash_set(&req->env, hash_value, var, var_len, val, (unsigned int)strlen(val));