Home
last modified time | relevance | path

Searched refs:key_len (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_file_cache.c59 if (nxt_strmem_eq(&hkey->key, node->key_data, node->key_len)) { in nxt_file_cache_lvlhsh_test()
74 hkey.key.len = q->key_len; in nxt_file_cache_query()
76 hkey.key_hash = nxt_murmur_hash2(q->key_data, q->key_len); in nxt_file_cache_query()
112 sentinel->key_len = q->key_len; in nxt_file_cache_query_locked()
408 hkey.key.len = node->key_len;
410 hkey.key_hash = nxt_murmur_hash2(node->key_data, node->key_len);
482 hkey.key.len = node->key_len; in nxt_cache_node_release_locked()
484 hkey.key_hash = nxt_murmur_hash2(node->key_data, node->key_len); in nxt_cache_node_release_locked()
H A Dnxt_cache.h45 uint16_t key_len; /* 16 bits */ member
92 uint16_t key_len; /* 16 bits */ member
H A Dnxt_cache.c103 if (nxt_str_eq(&lhq->key, node->key_data, node->key_len)) { in nxt_cache_lvlhsh_test()
139 lhq.key_hash = nxt_murmur_hash2(q->key_data, q->key_len); in nxt_cache_query()
141 lhq.key.len = q->key_len; in nxt_cache_query()
219 sentinel->key_len = q->key_len; in nxt_cache_node_hold()
423 lhq.key_hash = nxt_murmur_hash2(node->key_data, node->key_len); in nxt_cache_update()
425 lhq.key.len = node->key_len; in nxt_cache_update()
/unit/src/ruby/
H A Dnxt_ruby.c965 uint32_t key_len; in nxt_ruby_hash_add() local
975 key_len = RSTRING_LEN(r_key); in nxt_ruby_hash_add()
987 RSTRING_PTR(r_key), key_len, in nxt_ruby_hash_add()
999 RSTRING_PTR(r_key), key_len, in nxt_ruby_hash_add()