Home
last modified time | relevance | path

Searched refs:hds (Results 1 – 5 of 5) sorted by relevance

/curl/tests/unit/
H A Dunit2602.c43 struct dynhds hds; variable
49 Curl_dynhds_init(&hds, 2, 128);
55 if(Curl_dynhds_remove(&hds, "test2", 5) != 1) {
87 Curl_dynhds_free(&hds);
90 Curl_dynhds_init(&hds, 128, 10);
94 Curl_dynhds_reset(&hds);
95 Curl_dynhds_free(&hds);
97 Curl_dynhds_init(&hds, 128, 4*1024);
122 Curl_dynhds_free(&hds);
123 Curl_dynhds_init(&hds, 128, 4*1024);
[all …]
/curl/lib/
H A Ddynhds.c96 dynhds->hds = NULL; in Curl_dynhds_init()
108 DEBUGASSERT(dynhds->hds); in Curl_dynhds_free()
113 Curl_safefree(dynhds->hds); in Curl_dynhds_free()
122 DEBUGASSERT(dynhds->hds); in Curl_dynhds_reset()
125 dynhds->hds[i] = NULL; in Curl_dynhds_reset()
154 return dynhds->hds[i]; in Curl_dynhds_get()
192 if(dynhds->hds) { in Curl_dynhds_add()
197 dynhds->hds = nhds; in Curl_dynhds_add()
336 memmove(&dynhds->hds[i], &dynhds->hds[i + 1], in Curl_dynhds_remove()
363 (int)dynhds->hds[i]->namelen, dynhds->hds[i]->name, in Curl_dynhds_h1_dprint()
[all …]
H A Ddynhds.h45 struct dynhds_entry **hds; member
H A Dhttp.h94 struct dynhds *hds);
H A Dhttp.c1249 struct dynhds *hds) in Curl_dynhds_add_custom() argument
1379 result = Curl_dynhds_add(hds, name, namelen, value, valuelen); in Curl_dynhds_add_custom()

Completed in 23 milliseconds