Lines Matching defs:ent
34 nghttp2_pq_entry ent;
40 string_entry *ent;
44 ent = nghttp2_mem_malloc(mem, sizeof(string_entry));
45 ent->s = s;
47 return ent;
50 static void string_entry_del(string_entry *ent) { free(ent); }
64 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("foo")->ent));
69 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("bar")->ent));
72 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("baz")->ent));
75 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("C")->ent));
106 CU_ASSERT(0 == nghttp2_pq_push(&pq, &string_entry_new("foo")->ent));
121 nghttp2_pq_entry ent;
156 nghttp2_pq_push(&pq, &nodes[i].ent);
175 nghttp2_pq_push(pq, &dest[i].ent);
203 nghttp2_pq_remove(&pq, &nodes[0].ent);
213 nghttp2_pq_remove(&pq, &nodes[3].ent);
223 nghttp2_pq_remove(&pq, &nodes[5].ent);