Lines Matching refs:proto
39 nxt_lvlhsh_test_add(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_add() argument
49 lhq.proto = proto; in nxt_lvlhsh_test_add()
68 nxt_lvlhsh_test_get(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_get() argument
76 lhq.proto = proto; in nxt_lvlhsh_test_get()
93 nxt_lvlhsh_test_delete(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_delete() argument
102 lhq.proto = proto; in nxt_lvlhsh_test_delete()
126 const nxt_lvlhsh_proto_t *proto; in nxt_lvlhsh_test() local
145 proto = &pool_proto; in nxt_lvlhsh_test()
150 proto = &malloc_proto; in nxt_lvlhsh_test()
160 if (nxt_lvlhsh_test_add(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
171 if (nxt_lvlhsh_test_get(&lh, proto, key) != NXT_OK) { in nxt_lvlhsh_test()
176 nxt_lvlhsh_each_init(&lhe, proto); in nxt_lvlhsh_test()
191 value = nxt_lvlhsh_peek(&lh, proto); in nxt_lvlhsh_test()
199 if (nxt_lvlhsh_test_delete(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
220 if (nxt_lvlhsh_test_add(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
228 value = nxt_lvlhsh_retrieve(&lh, proto, mp); in nxt_lvlhsh_test()