Home
last modified time | relevance | path

Searched refs:free_cb (Results 1 – 25 of 65) sorted by relevance

123

/third_party/openssl/ssl/statem/
Dextensions_cust.c20 custom_ext_free_cb free_cb; member
52 if (add_cb_wrap->free_cb == NULL) in custom_ext_free_old_cb_wrap()
55 add_cb_wrap->free_cb(s, ext_type, out, add_cb_wrap->add_arg); in custom_ext_free_old_cb_wrap()
241 if (meth->free_cb != NULL) in custom_ext_add()
242 meth->free_cb(s, meth->ext_type, context, out, meth->add_arg); in custom_ext_add()
344 SSL_custom_ext_free_cb_ex free_cb, in add_custom_ext_intern() argument
356 if (add_cb == NULL && free_cb != NULL) in add_custom_ext_intern()
397 meth->free_cb = free_cb; in add_custom_ext_intern()
409 custom_ext_free_cb free_cb, in add_old_custom_ext() argument
427 add_cb_wrap->free_cb = free_cb; in add_old_custom_ext()
[all …]
/third_party/pulseaudio/src/pulsecore/
Ddynarray.c35 pa_free_cb_t free_cb; member
38 pa_dynarray* pa_dynarray_new(pa_free_cb_t free_cb) { in pa_dynarray_new() argument
42 array->free_cb = free_cb; in pa_dynarray_new()
51 if (array->free_cb) in pa_dynarray_free()
53 array->free_cb(array->data[i]); in pa_dynarray_free()
103 if (array->free_cb) in pa_dynarray_remove_by_index()
104 array->free_cb(entry); in pa_dynarray_remove_by_index()
Dasyncmsgq.c45 pa_free_cb_t free_cb; member
92 if (i->free_cb) in asyncmsgq_free()
93 i->free_cb(i->userdata); in asyncmsgq_free()
118 …, int code, const void *userdata, int64_t offset, const pa_memchunk *chunk, pa_free_cb_t free_cb) { in pa_asyncmsgq_post() argument
128 i->free_cb = free_cb; in pa_asyncmsgq_post()
151 i.free_cb = NULL; in pa_asyncmsgq_send()
221 if (a->current->free_cb) in pa_asyncmsgq_done()
222 a->current->free_cb(a->current->userdata); in pa_asyncmsgq_done()
Dthread.h54 pa_tls* pa_tls_new(pa_free_cb_t free_cb);
59 #define PA_STATIC_TLS_DECLARE(name, free_cb) \ argument
68 name##_tls.tls = pa_tls_new(free_cb); \
76 static void (*_free_cb)(void*) = free_cb; \
Dflist.h37 void pa_flist_free(pa_flist *l, pa_free_cb_t free_cb);
46 #define PA_STATIC_FLIST_DECLARE(name, size, free_cb) \ argument
64 pa_flist_free(name##_flist.flist, (free_cb)); \
Dasyncq.c107 void pa_asyncq_free(pa_asyncq *l, pa_free_cb_t free_cb) { in pa_asyncq_free() argument
111 if (free_cb) { in pa_asyncq_free()
115 free_cb(p); in pa_asyncq_free()
119 if (free_cb) in pa_asyncq_free()
120 free_cb(q->data); in pa_asyncq_free()
Dpdispatch.c213 pa_free_cb_t free_cb; member
265 if (pd->replies->free_cb) in pdispatch_free()
266 pd->replies->free_cb(pd->replies->userdata); in pdispatch_free()
377 …patch *pd, uint32_t tag, int timeout, pa_pdispatch_cb_t cb, void *userdata, pa_free_cb_t free_cb) { in pa_pdispatch_register_reply() argument
391 r->free_cb = free_cb; in pa_pdispatch_register_reply()
Dflist.c132 void pa_flist_free(pa_flist *l, pa_free_cb_t free_cb) { in pa_flist_free() argument
136 if (free_cb) { in pa_flist_free()
139 free_cb(pa_atomic_ptr_load(&elem->ptr)); in pa_flist_free()
Dshmasyncq.c102 void pa_shmasyncq_free(pa_shmasyncq *l, pa_free_cb_t free_cb) {
105 if (free_cb) {
109 free_cb(p);
Didxset.h58 void pa_idxset_free(pa_idxset *s, pa_free_cb_t free_cb);
76 void pa_idxset_remove_all(pa_idxset *s, pa_free_cb_t free_cb);
Didxset.c140 void pa_idxset_free(pa_idxset *s, pa_free_cb_t free_cb) { in pa_idxset_free() argument
143 pa_idxset_remove_all(s, free_cb); in pa_idxset_free()
301 void pa_idxset_remove_all(pa_idxset *s, pa_free_cb_t free_cb) { in pa_idxset_remove_all() argument
309 if (free_cb) in pa_idxset_remove_all()
310 free_cb(data); in pa_idxset_remove_all()
Dthread-posix.c222 pa_tls* pa_tls_new(pa_free_cb_t free_cb) { in pa_tls_new() argument
227 if (pthread_key_create(&t->key, free_cb) < 0) { in pa_tls_new()
Dthread-win32.c171 pa_tls* pa_tls_new(pa_free_cb_t free_cb) { in pa_tls_new() argument
176 t->free_func = free_cb; in pa_tls_new()
/third_party/mesa3d/src/egl/main/
Deglarray.c90 _eglDestroyArray(_EGLArray *array, void (*free_cb)(void *)) in _eglDestroyArray()
92 if (free_cb) { in _eglDestroyArray()
95 free_cb(array->Elements[i]); in _eglDestroyArray()
119 _eglEraseArray(_EGLArray *array, EGLint i, void (*free_cb)(void *)) in _eglEraseArray()
121 if (free_cb) in _eglEraseArray()
122 free_cb(array->Elements[i]); in _eglEraseArray()
Deglarray.h56 _eglDestroyArray(_EGLArray *array, void (*free_cb)(void *));
64 _eglEraseArray(_EGLArray *array, EGLint i, void (*free_cb)(void *));
/third_party/jerryscript/tests/unit-core/
Dtest-native-callback-nested.cpp30 .free_cb = (jerry_object_native_free_callback_t) native_cb2
44 .free_cb = (jerry_object_native_free_callback_t) native_cb
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-arraybuffer-object.c78 … ecma_object_native_free_callback_t free_cb) /**< buffer free callback */ in ecma_arraybuffer_new_object_external() argument
91 array_object_p->free_cb = free_cb; in ecma_arraybuffer_new_object_external()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dpmksa_cache.h58 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
91 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_init()
Dpmksa_cache.c27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, member
51 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry()
610 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_init()
618 pmksa->free_cb = free_cb; in pmksa_cache_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dpmksa_cache.h60 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
96 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_init()
Dpmksa_cache.c27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, member
53 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry()
696 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_init()
706 pmksa->free_cb = free_cb; in pmksa_cache_init()
/third_party/openssl/doc/man3/
DSSL_extension_supported.pod40 SSL_custom_ext_free_cb_ex free_cb,
61 custom_ext_free_cb free_cb, void *add_arg,
67 custom_ext_free_cb free_cb, void *add_arg,
77 callbacks B<add_cb>, B<free_cb> and B<parse_cb> (see the
83 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
92 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
143 If an extension is added (that is B<add_cb> returns 1) B<free_cb> is called
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dpmksa_cache_auth.c31 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); member
58 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry()
541 pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_auth_init()
548 pmksa->free_cb = free_cb; in pmksa_cache_auth_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dpmksa_cache_auth.c31 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); member
58 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry()
535 pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, in pmksa_cache_auth_init()
542 pmksa->free_cb = free_cb; in pmksa_cache_auth_init()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-autorelease.c35 .free_cb = native_free_cb,

123