Searched refs:lhe (Results 1 – 9 of 9) sorted by relevance
/unit/src/ |
H A D | nxt_lvlhsh.c | 766 lhe->bucket = nxt_lvlhsh_bucket(lhe->proto, slot); in nxt_lvlhsh_each() 767 lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, slot); in nxt_lvlhsh_each() 768 lhe->entry = 0; in nxt_lvlhsh_each() 802 lhe->bucket = nxt_lvlhsh_bucket(lhe->proto, slot); in nxt_lvlhsh_level_each() 803 lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, slot); in nxt_lvlhsh_level_each() 822 lhe->current |= n; in nxt_lvlhsh_level_each() 838 bucket = &lhe->bucket[lhe->entry]; in nxt_lvlhsh_bucket_each() 845 lhe->entries--; in nxt_lvlhsh_bucket_each() 848 next = *nxt_lvlhsh_next_bucket(lhe->proto, lhe->bucket); in nxt_lvlhsh_bucket_each() 853 lhe->entries = nxt_lvlhsh_bucket_entries(lhe->proto, next); in nxt_lvlhsh_bucket_each() [all …]
|
H A D | nxt_lvlhsh.h | 165 #define nxt_lvlhsh_each_init(lhe, _proto) \ argument 167 (lhe)->proto = _proto; \ 168 (lhe)->bucket = NULL; \ 175 NXT_EXPORT void *nxt_lvlhsh_each(nxt_lvlhsh_t *lh, nxt_lvlhsh_each_t *lhe);
|
H A D | nxt_runtime.h | 104 nxt_lvlhsh_each_t *lhe); 108 #define nxt_runtime_process_next(rt, lhe) \ argument 109 nxt_lvlhsh_each(&rt->processes, lhe)
|
H A D | nxt_var.c | 211 nxt_lvlhsh_each_t lhe; in nxt_var_index_init() local 218 nxt_lvlhsh_each_init(&lhe, &nxt_var_hash_proto); in nxt_var_index_init() 221 decl = nxt_lvlhsh_each(&nxt_var_hash, &lhe); in nxt_var_index_init()
|
H A D | nxt_cert.c | 450 nxt_lvlhsh_each_t lhe; in nxt_cert_info_get_all() local 452 nxt_lvlhsh_each_init(&lhe, &nxt_cert_info_hash_proto); in nxt_cert_info_get_all() 457 info = nxt_lvlhsh_each(&nxt_cert_info, &lhe); in nxt_cert_info_get_all() 471 nxt_lvlhsh_each_init(&lhe, &nxt_cert_info_hash_proto); in nxt_cert_info_get_all() 476 info = nxt_lvlhsh_each(&nxt_cert_info, &lhe); in nxt_cert_info_get_all()
|
H A D | nxt_runtime.c | 1630 nxt_runtime_process_first(nxt_runtime_t *rt, nxt_lvlhsh_each_t *lhe) in nxt_runtime_process_first() argument 1632 nxt_lvlhsh_each_init(lhe, &lvlhsh_processes_proto); in nxt_runtime_process_first() 1634 return nxt_runtime_process_next(rt, lhe); in nxt_runtime_process_first()
|
H A D | nxt_conf.c | 1477 nxt_lvlhsh_each_t lhe; in nxt_conf_json_parse_object() local 1626 nxt_lvlhsh_each_init(&lhe, &nxt_conf_object_hash_proto); in nxt_conf_json_parse_object() 1629 element = nxt_lvlhsh_each(&hash, &lhe); in nxt_conf_json_parse_object()
|
H A D | nxt_router.c | 2365 nxt_lvlhsh_each_t lhe; in nxt_router_apps_hash_use() local 2367 nxt_lvlhsh_each_init(&lhe, &nxt_router_apps_hash_proto); in nxt_router_apps_hash_use() 2370 app = nxt_lvlhsh_each(&rtcf->apps_hash, &lhe); in nxt_router_apps_hash_use()
|
/unit/src/test/ |
H A D | nxt_lvlhsh_test.c | 125 nxt_lvlhsh_each_t lhe; in nxt_lvlhsh_test() local 176 nxt_lvlhsh_each_init(&lhe, proto); in nxt_lvlhsh_test() 179 if (nxt_lvlhsh_each(&lh, &lhe) == NULL) { in nxt_lvlhsh_test()
|