Home
last modified time | relevance | path

Searched refs:free_func (Results 1 – 25 of 167) sorted by relevance

1234567

/external/openssl/crypto/stack/
Dsafestack.h170 #define SKM_sk_pop_free(type, st, free_func) \ argument
171 sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
181 #define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \ argument
186 CHECKED_SK_FREE_FUNC(type, free_func), \
198 #define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \ argument
199 … *)ASN1_seq_unpack(buf, len, CHECKED_D2I_OF(type, d2i_func), CHECKED_SK_FREE_FUNC(type, free_func))
201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument
204 CHECKED_SK_FREE_FUNC(type, free_func), \
224 #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (fr… argument
246 #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func)) argument
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/stack/
Dsafestack.h170 #define SKM_sk_pop_free(type, st, free_func) \ argument
171 sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
181 #define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \ argument
186 CHECKED_SK_FREE_FUNC(type, free_func), \
198 #define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \ argument
199 … *)ASN1_seq_unpack(buf, len, CHECKED_D2I_OF(type, d2i_func), CHECKED_SK_FREE_FUNC(type, free_func))
201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument
204 CHECKED_SK_FREE_FUNC(type, free_func), \
224 #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (fr… argument
246 #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func)) argument
[all …]
/external/openssl/include/openssl/
Dsafestack.h170 #define SKM_sk_pop_free(type, st, free_func) \ argument
171 sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
181 #define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \ argument
186 CHECKED_SK_FREE_FUNC(type, free_func), \
198 #define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \ argument
199 … *)ASN1_seq_unpack(buf, len, CHECKED_D2I_OF(type, d2i_func), CHECKED_SK_FREE_FUNC(type, free_func))
201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument
204 CHECKED_SK_FREE_FUNC(type, free_func), \
224 #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (fr… argument
246 #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func)) argument
[all …]
Dasn1_mac.h179 #define M_ASN1_D2I_get_set(r,func,free_func) \ argument
180 M_ASN1_D2I_get_imp_set(r,func,free_func, \
183 #define M_ASN1_D2I_get_set_type(type,r,func,free_func) \ argument
184 M_ASN1_D2I_get_imp_set_type(type,r,func,free_func, \
187 #define M_ASN1_D2I_get_set_opt(r,func,free_func) \ argument
190 { M_ASN1_D2I_get_set(r,func,free_func); }
192 #define M_ASN1_D2I_get_set_opt_type(type,r,func,free_func) \ argument
195 { M_ASN1_D2I_get_set_type(type,r,func,free_func); }
213 #define M_ASN1_D2I_get_IMP_set_opt(b,func,free_func,tag) \ argument
218 M_ASN1_D2I_get_imp_set(b,func,free_func,\
[all …]
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dsafestack.h170 #define SKM_sk_pop_free(type, st, free_func) \ argument
171 sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
181 #define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \ argument
186 CHECKED_SK_FREE_FUNC(type, free_func), \
198 #define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \ argument
199 … *)ASN1_seq_unpack(buf, len, CHECKED_D2I_OF(type, d2i_func), CHECKED_SK_FREE_FUNC(type, free_func))
201 #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ argument
204 CHECKED_SK_FREE_FUNC(type, free_func), \
224 #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (fr… argument
246 #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func)) argument
[all …]
Dasn1_mac.h179 #define M_ASN1_D2I_get_set(r,func,free_func) \ argument
180 M_ASN1_D2I_get_imp_set(r,func,free_func, \
183 #define M_ASN1_D2I_get_set_type(type,r,func,free_func) \ argument
184 M_ASN1_D2I_get_imp_set_type(type,r,func,free_func, \
187 #define M_ASN1_D2I_get_set_opt(r,func,free_func) \ argument
190 { M_ASN1_D2I_get_set(r,func,free_func); }
192 #define M_ASN1_D2I_get_set_opt_type(type,r,func,free_func) \ argument
195 { M_ASN1_D2I_get_set_type(type,r,func,free_func); }
213 #define M_ASN1_D2I_get_IMP_set_opt(b,func,free_func,tag) \ argument
218 M_ASN1_D2I_get_imp_set(b,func,free_func,\
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Dasn1_mac.h179 #define M_ASN1_D2I_get_set(r,func,free_func) \ argument
180 M_ASN1_D2I_get_imp_set(r,func,free_func, \
183 #define M_ASN1_D2I_get_set_type(type,r,func,free_func) \ argument
184 M_ASN1_D2I_get_imp_set_type(type,r,func,free_func, \
187 #define M_ASN1_D2I_get_set_opt(r,func,free_func) \ argument
190 { M_ASN1_D2I_get_set(r,func,free_func); }
192 #define M_ASN1_D2I_get_set_opt_type(type,r,func,free_func) \ argument
195 { M_ASN1_D2I_get_set_type(type,r,func,free_func); }
213 #define M_ASN1_D2I_get_IMP_set_opt(b,func,free_func,tag) \ argument
218 M_ASN1_D2I_get_imp_set(b,func,free_func,\
[all …]
Da_set.c169 void (*free_func)(OPENSSL_BLOCK), int ex_tag, in STACK_OF()
233 if (free_func != NULL) in STACK_OF()
234 sk_OPENSSL_BLOCK_pop_free(ret,free_func); in STACK_OF()
/external/openssl/crypto/asn1/
Dasn1_mac.h179 #define M_ASN1_D2I_get_set(r,func,free_func) \ argument
180 M_ASN1_D2I_get_imp_set(r,func,free_func, \
183 #define M_ASN1_D2I_get_set_type(type,r,func,free_func) \ argument
184 M_ASN1_D2I_get_imp_set_type(type,r,func,free_func, \
187 #define M_ASN1_D2I_get_set_opt(r,func,free_func) \ argument
190 { M_ASN1_D2I_get_set(r,func,free_func); }
192 #define M_ASN1_D2I_get_set_opt_type(type,r,func,free_func) \ argument
195 { M_ASN1_D2I_get_set_type(type,r,func,free_func); }
213 #define M_ASN1_D2I_get_IMP_set_opt(b,func,free_func,tag) \ argument
218 M_ASN1_D2I_get_imp_set(b,func,free_func,\
[all …]
Da_set.c169 void (*free_func)(OPENSSL_BLOCK), int ex_tag, in STACK_OF()
233 if (free_func != NULL) in STACK_OF()
234 sk_OPENSSL_BLOCK_pop_free(ret,free_func); in STACK_OF()
/external/libexif/libexif/
Dexif-mem.c9 ExifMemFreeFunc free_func; member
35 ExifMemFreeFunc free_func) in exif_mem_new() argument
48 mem->free_func = free_func; in exif_mem_new()
72 if (mem->free_func) { in exif_mem_free()
73 mem->free_func (d); in exif_mem_free()
/external/opencv/cxcore/src/
Dcxalloc.cpp80 CV_IMPL void cvSetMemoryManager( CvAllocFunc alloc_func, CvFreeFunc free_func, void* userdata ) in cvSetMemoryManager() argument
86 if( (alloc_func == 0) ^ (free_func == 0) ) in cvSetMemoryManager()
90 p_cvFree = free_func ? free_func : icvDefaultFree; in cvSetMemoryManager()
/external/chromium_org/third_party/openssl/openssl/crypto/
Dex_data.c158 CRYPTO_EX_free *free_func);
182 CRYPTO_EX_free *free_func);
335 CRYPTO_EX_free *free_func) in def_add_index() argument
349 a->free_func=free_func; in def_add_index()
390 CRYPTO_EX_free *free_func) in int_get_new_index() argument
395 return def_add_index(item, argl, argp, new_func, dup_func, free_func); in int_get_new_index()
519 if(storage[i] && storage[i]->free_func) in int_free_ex_data()
522 storage[i]->free_func(obj,ptr,ad,i, in int_free_ex_data()
560 CRYPTO_EX_free *free_func) in CRYPTO_get_ex_new_index() argument
566 argl, argp, new_func, dup_func, free_func); in CRYPTO_get_ex_new_index()
Dmem.c90 static void (*free_func)(void *) = free; variable
135 free_func=f; in CRYPTO_set_mem_functions()
152 free_func=f; in CRYPTO_set_mem_ex_functions()
178 free_func=f; in CRYPTO_set_locked_mem_ex_functions()
207 if (f != NULL) *f=free_func; in CRYPTO_get_mem_functions()
219 if (f != NULL) *f=free_func; in CRYPTO_get_mem_ex_functions()
377 free_func(str); in CRYPTO_realloc_clean()
397 free_func(str); in CRYPTO_free()
/external/openssl/crypto/
Dex_data.c158 CRYPTO_EX_free *free_func);
182 CRYPTO_EX_free *free_func);
335 CRYPTO_EX_free *free_func) in def_add_index() argument
349 a->free_func=free_func; in def_add_index()
390 CRYPTO_EX_free *free_func) in int_get_new_index() argument
395 return def_add_index(item, argl, argp, new_func, dup_func, free_func); in int_get_new_index()
519 if(storage[i] && storage[i]->free_func) in int_free_ex_data()
522 storage[i]->free_func(obj,ptr,ad,i, in int_free_ex_data()
560 CRYPTO_EX_free *free_func) in CRYPTO_get_ex_new_index() argument
566 argl, argp, new_func, dup_func, free_func); in CRYPTO_get_ex_new_index()
Dmem.c90 static void (*free_func)(void *) = free; variable
135 free_func=f; in CRYPTO_set_mem_functions()
152 free_func=f; in CRYPTO_set_mem_ex_functions()
178 free_func=f; in CRYPTO_set_locked_mem_ex_functions()
207 if (f != NULL) *f=free_func; in CRYPTO_get_mem_functions()
219 if (f != NULL) *f=free_func; in CRYPTO_get_mem_ex_functions()
377 free_func(str); in CRYPTO_realloc_clean()
397 free_func(str); in CRYPTO_free()
/external/chromium_org/third_party/openssl/openssl/crypto/objects/
Do_names.c33 void (*free_func)(const char *, int, const char *); member
64 void (*free_func)(const char *, int, const char *)) in OBJ_NAME_new_index()
95 name_funcs->free_func = 0; /* NULL is often declared to in OBJ_NAME_new_index()
109 if (free_func != NULL) in OBJ_NAME_new_index()
110 name_funcs->free_func = free_func; in OBJ_NAME_new_index()
218 ret->type)->free_func(ret->name,ret->type,ret->data); in OBJ_NAME_add()
253 ret->type)->free_func(ret->name,ret->type,ret->data); in OBJ_NAME_remove()
/external/openssl/crypto/objects/
Do_names.c33 void (*free_func)(const char *, int, const char *); member
64 void (*free_func)(const char *, int, const char *)) in OBJ_NAME_new_index()
95 name_funcs->free_func = 0; /* NULL is often declared to in OBJ_NAME_new_index()
109 if (free_func != NULL) in OBJ_NAME_new_index()
110 name_funcs->free_func = free_func; in OBJ_NAME_new_index()
218 ret->type)->free_func(ret->name,ret->type,ret->data); in OBJ_NAME_add()
253 ret->type)->free_func(ret->name,ret->type,ret->data); in OBJ_NAME_remove()
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
Dec_lib.c196 if (!EC_EX_DATA_set_data(&dest->extra_data, t, d->dup_func, d->free_func, d->clear_free_func)) in EC_GROUP_copy()
550 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_set_data()
559 if (d->dup_func == dup_func && d->free_func == free_func && d->clear_free_func == clear_free_func) in EC_EX_DATA_set_data()
576 d->free_func = free_func; in EC_EX_DATA_set_data()
587 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_get_data()
593 if (d->dup_func == dup_func && d->free_func == free_func && d->clear_free_func == clear_free_func) in EC_EX_DATA_get_data()
602 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_free_data()
611 …if ((*p)->dup_func == dup_func && (*p)->free_func == free_func && (*p)->clear_free_func == clear_f… in EC_EX_DATA_free_data()
615 (*p)->free_func((*p)->data); in EC_EX_DATA_free_data()
626 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_clear_free_data()
[all …]
Dec_key.c195 if (!EC_EX_DATA_set_data(&dest->method_data, t, d->dup_func, d->free_func, d->clear_free_func)) in EC_KEY_copy()
521 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_KEY_get_key_method_data()
526 ret = EC_EX_DATA_get_data(key->method_data, dup_func, free_func, clear_free_func); in EC_KEY_get_key_method_data()
533 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_KEY_insert_key_method_data()
538 ex_data = EC_EX_DATA_get_data(key->method_data, dup_func, free_func, clear_free_func); in EC_KEY_insert_key_method_data()
540 EC_EX_DATA_set_data(&key->method_data, data, dup_func, free_func, clear_free_func); in EC_KEY_insert_key_method_data()
/external/openssl/crypto/ec/
Dec_lib.c196 if (!EC_EX_DATA_set_data(&dest->extra_data, t, d->dup_func, d->free_func, d->clear_free_func)) in EC_GROUP_copy()
550 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_set_data()
559 if (d->dup_func == dup_func && d->free_func == free_func && d->clear_free_func == clear_free_func) in EC_EX_DATA_set_data()
576 d->free_func = free_func; in EC_EX_DATA_set_data()
587 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_get_data()
593 if (d->dup_func == dup_func && d->free_func == free_func && d->clear_free_func == clear_free_func) in EC_EX_DATA_get_data()
602 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_free_data()
611 …if ((*p)->dup_func == dup_func && (*p)->free_func == free_func && (*p)->clear_free_func == clear_f… in EC_EX_DATA_free_data()
615 (*p)->free_func((*p)->data); in EC_EX_DATA_free_data()
626 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_EX_DATA_clear_free_data()
[all …]
Dec_key.c195 if (!EC_EX_DATA_set_data(&dest->method_data, t, d->dup_func, d->free_func, d->clear_free_func)) in EC_KEY_copy()
521 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_KEY_get_key_method_data()
526 ret = EC_EX_DATA_get_data(key->method_data, dup_func, free_func, clear_free_func); in EC_KEY_get_key_method_data()
533 void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) in EC_KEY_insert_key_method_data()
538 ex_data = EC_EX_DATA_get_data(key->method_data, dup_func, free_func, clear_free_func); in EC_KEY_insert_key_method_data()
540 EC_EX_DATA_set_data(&key->method_data, data, dup_func, free_func, clear_free_func); in EC_KEY_insert_key_method_data()
/external/harfbuzz_ng/test/api/
Dtest-blob.c146 hb_destroy_func_t free_func; in fixture_init() local
153 free_func = (hb_destroy_func_t) free_up; in fixture_init()
159 free_func = (hb_destroy_func_t) free_up; in fixture_init()
166 free_func = (hb_destroy_func_t) free_up_free; in fixture_init()
179 free_func = (hb_destroy_func_t) free_up_munmap; in fixture_init()
191 fixture->blob = hb_blob_create (data, len, mm, fixture, free_func); in fixture_init()
/external/harfbuzz_ng/src/
Dhb-gobject-structs.cc40 #define _HB_DEFINE_BOXED_TYPE(Name,underscore_name,copy_func,free_func) \ argument
48 (GBoxedFreeFunc) free_func); \
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-gobject-structs.cc40 #define HB_DEFINE_BOXED_TYPE(name,copy_func,free_func) \ argument
48 (GBoxedFreeFunc) free_func); \

1234567