• Home
  • Raw
  • Download

Lines Matching refs:ip

52     EX_CALLBACKS *ip;  in get_and_lock()  local
77 ip = &ex_data[class_index]; in get_and_lock()
79 return ip; in get_and_lock()
98 EX_CALLBACKS *ip = &ex_data[i]; in crypto_cleanup_all_ex_data_int() local
100 sk_EX_CALLBACK_pop_free(ip->meth, cleanup_cb); in crypto_cleanup_all_ex_data_int()
101 ip->meth = NULL; in crypto_cleanup_all_ex_data_int()
132 EX_CALLBACKS *ip = get_and_lock(class_index); in CRYPTO_free_ex_index() local
136 if (ip == NULL) in CRYPTO_free_ex_index()
138 if (idx < 0 || idx >= sk_EX_CALLBACK_num(ip->meth)) in CRYPTO_free_ex_index()
140 a = sk_EX_CALLBACK_value(ip->meth, idx); in CRYPTO_free_ex_index()
161 EX_CALLBACKS *ip = get_and_lock(class_index); in CRYPTO_get_ex_new_index() local
163 if (ip == NULL) in CRYPTO_get_ex_new_index()
166 if (ip->meth == NULL) { in CRYPTO_get_ex_new_index()
167 ip->meth = sk_EX_CALLBACK_new_null(); in CRYPTO_get_ex_new_index()
170 if (ip->meth == NULL in CRYPTO_get_ex_new_index()
171 || !sk_EX_CALLBACK_push(ip->meth, NULL)) { in CRYPTO_get_ex_new_index()
188 if (!sk_EX_CALLBACK_push(ip->meth, NULL)) { in CRYPTO_get_ex_new_index()
193 toret = sk_EX_CALLBACK_num(ip->meth) - 1; in CRYPTO_get_ex_new_index()
194 (void)sk_EX_CALLBACK_set(ip->meth, toret, a); in CRYPTO_get_ex_new_index()
214 EX_CALLBACKS *ip = get_and_lock(class_index); in CRYPTO_new_ex_data() local
216 if (ip == NULL) in CRYPTO_new_ex_data()
221 mx = sk_EX_CALLBACK_num(ip->meth); in CRYPTO_new_ex_data()
229 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in CRYPTO_new_ex_data()
260 EX_CALLBACKS *ip; in CRYPTO_dup_ex_data() local
266 if ((ip = get_and_lock(class_index)) == NULL) in CRYPTO_dup_ex_data()
269 mx = sk_EX_CALLBACK_num(ip->meth); in CRYPTO_dup_ex_data()
280 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in CRYPTO_dup_ex_data()
323 EX_CALLBACKS *ip; in CRYPTO_free_ex_data() local
329 if ((ip = get_and_lock(class_index)) == NULL) in CRYPTO_free_ex_data()
332 mx = sk_EX_CALLBACK_num(ip->meth); in CRYPTO_free_ex_data()
340 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in CRYPTO_free_ex_data()
349 f = sk_EX_CALLBACK_value(ip->meth, i); in CRYPTO_free_ex_data()