Home
last modified time | relevance | path

Searched refs:hds (Results 1 - 6 of 6) sorted by relevance

/third_party/curl/tests/unit/
H A Dunit2602.c43 struct dynhds hds; variable
49 Curl_dynhds_init(&hds, 2, 128);
50 fail_if(Curl_dynhds_count(&hds), "should be empty");
51 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed");
52 fail_if(Curl_dynhds_add(&hds, "test2", 5, "456", 3), "add failed");
55 if(Curl_dynhds_remove(&hds, "test2", 5) != 1) {
59 if(Curl_dynhds_add(&hds, "test2", 5, "456", 3)) {
64 fail_unless(Curl_dynhds_count(&hds) == 2, "should hold 2");
67 if(Curl_dynhds_set(&hds, "test2", 5, "456", 3)) {
72 fail_unless(Curl_dynhds_count(&hds)
87 Curl_dynhds_free(&hds); global() variable
94 Curl_dynhds_reset(&hds); global() variable
95 Curl_dynhds_free(&hds); global() variable
122 Curl_dynhds_free(&hds); global() variable
146 Curl_dynhds_free(&hds); global() variable
[all...]
/third_party/curl/lib/
H A Ddynhds.c96 dynhds->hds = NULL; in Curl_dynhds_init()
106 if(dynhds->hds && dynhds->hds_len) { in Curl_dynhds_free()
108 DEBUGASSERT(dynhds->hds); in Curl_dynhds_free()
110 entry_free(dynhds->hds[i]); in Curl_dynhds_free()
113 Curl_safefree(dynhds->hds); in Curl_dynhds_free()
122 DEBUGASSERT(dynhds->hds); in Curl_dynhds_reset()
124 entry_free(dynhds->hds[i]); in Curl_dynhds_reset()
125 dynhds->hds[i] = NULL; in Curl_dynhds_reset()
144 return (n < dynhds->hds_len)? dynhds->hds[n] : NULL; in Curl_dynhds_getn()
152 if(dynhds->hds[ in Curl_dynhds_get()
[all...]
H A Ddynhds.h45 struct dynhds_entry **hds; member
46 size_t hds_len; /* number of entries in hds */
47 size_t hds_allc; /* size of hds allocation */
H A Dhttp.h101 struct dynhds *hds);
H A Dhttp.c1704 struct dynhds *hds) in Curl_dynhds_add_custom()
1834 result = Curl_dynhds_add(hds, name, namelen, value, valuelen); in Curl_dynhds_add_custom()
1702 Curl_dynhds_add_custom(struct Curl_easy *data, bool is_connect, struct dynhds *hds) Curl_dynhds_add_custom() argument
/third_party/ffmpeg/libavformat/
H A Davs2dec.c36 uint32_t code = -1, hds = 0, pic = 0, seq = 0; in avs2_probe() local
48 if (sqb && !hds) { in avs2_probe()
49 hds = ptr - sqb; in avs2_probe()
64 if (seq && hds >= 21 && pic){ in avs2_probe()

Completed in 8 milliseconds