Home
last modified time | relevance | path

Searched refs:dtor (Results 1 – 10 of 10) sorted by relevance

/curl/lib/
H A Dbufref.c41 br->dtor = NULL; in Curl_bufref_init()
61 if(br->ptr && br->dtor) in Curl_bufref_free()
62 br->dtor((void *) br->ptr); in Curl_bufref_free()
64 br->dtor = NULL; in Curl_bufref_free()
74 void (*dtor)(void *)) in Curl_bufref_set()
82 br->dtor = dtor; in Curl_bufref_set()
H A Dhash.h56 Curl_hash_dtor dtor; member
69 Curl_hash_elem_dtor dtor; member
90 Curl_hash_dtor dtor);
94 Curl_hash_elem_dtor dtor);
116 Curl_hash_dtor dtor);
H A Dhash.c47 if(e->dtor) in hash_element_dtor()
48 e->dtor(e->key, e->key_len, e->ptr); in hash_element_dtor()
50 h->dtor(e->ptr); in hash_element_dtor()
70 Curl_hash_dtor dtor) in Curl_hash_init() argument
76 DEBUGASSERT(dtor); in Curl_hash_init()
81 h->dtor = dtor; in Curl_hash_init()
91 Curl_hash_elem_dtor dtor) in mk_hash_element() argument
101 he->dtor = dtor; in mk_hash_element()
109 Curl_hash_elem_dtor dtor) in Curl_hash_add2() argument
138 he = mk_hash_element(key, key_len, p, dtor); in Curl_hash_add2()
[all …]
H A Dbufref.h31 void (*dtor)(void *); /* Associated destructor. */ member
42 void (*dtor)(void *));
H A Dftplistparser.h64 wildcard_dtor dtor; member
H A Dllist.c54 Curl_llist_init(struct Curl_llist *l, Curl_llist_dtor dtor) in Curl_llist_init() argument
57 l->_dtor = dtor; in Curl_llist_init()
H A Dftplistparser.c201 if(wc->dtor) { in Curl_wildcard_dtor()
202 wc->dtor(wc->ftpwc); in Curl_wildcard_dtor()
203 wc->dtor = ZERO_NULL; in Curl_wildcard_dtor()
H A Dftp.c3791 wildcard->dtor = wc_data_dtor; in init_wc_data()
3827 wildcard->dtor = ZERO_NULL; in init_wc_data()
3955 if(wildcard->dtor) { in wc_statemach()
3956 wildcard->dtor(wildcard->ftpwc); in wc_statemach()
H A Dtransfer.c656 wc->dtor(wc->ftpwc); in Curl_pretransfer()
/curl/tests/unit/
H A Dunit1661.c65 fail_unless(!bufref.dtor, "Destructor must be NULL");
77 fail_unless(bufref.dtor == test_free, "Destructor badly set");
114 fail_unless(!bufref.dtor, "Destructor must be NULL");

Completed in 42 milliseconds