Lines Matching refs:str
205 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line)
209 return realloc_impl(str, num, file, line);
212 if (str == NULL)
216 CRYPTO_free(str, file, line);
220 return realloc(str, num);
223 void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num,
228 if (str == NULL)
232 CRYPTO_clear_free(str, old_len, file, line);
238 OPENSSL_cleanse((char*)str + num, old_len - num);
239 return str;
244 memcpy(ret, str, old_len);
245 CRYPTO_clear_free(str, old_len, file, line);
250 void CRYPTO_free(void *str, const char *file, int line)
254 free_impl(str, file, line);
258 free(str);
261 void CRYPTO_clear_free(void *str, size_t num, const char *file, int line)
263 if (str == NULL)
266 OPENSSL_cleanse(str, num);
267 CRYPTO_free(str, file, line);
328 int CRYPTO_mem_leaks_cb(int (*cb)(const char *str, size_t len, void *u),