Lines Matching refs:str

32 static int err_load_strings(const ERR_STRING_DATA *str);
232 static void err_patch(int lib, ERR_STRING_DATA *str) in err_patch() argument
236 for (; str->error != 0; str++) in err_patch()
237 str->error |= plib; in err_patch()
243 static int err_load_strings(const ERR_STRING_DATA *str) in err_load_strings() argument
247 for (; str->error; str++) in err_load_strings()
249 (ERR_STRING_DATA *)str); in err_load_strings()
266 int ERR_load_strings(int lib, ERR_STRING_DATA *str) in ERR_load_strings() argument
271 err_patch(lib, str); in ERR_load_strings()
272 err_load_strings(str); in ERR_load_strings()
276 int ERR_load_strings_const(const ERR_STRING_DATA *str) in ERR_load_strings_const() argument
280 err_load_strings(str); in ERR_load_strings_const()
284 int ERR_unload_strings(int lib, ERR_STRING_DATA *str) in ERR_unload_strings() argument
295 for (; str->error; str++) in ERR_unload_strings()
296 (void)lh_ERR_STRING_DATA_delete(int_error_hash, str); in ERR_unload_strings()
790 char *str, *arg; in ERR_add_error_vdata() local
804 str = es->err_data[i]; in ERR_add_error_vdata()
816 } else if ((str = OPENSSL_malloc(size = 81)) == NULL) { in ERR_add_error_vdata()
819 str[0] = '\0'; in ERR_add_error_vdata()
821 len = strlen(str); in ERR_add_error_vdata()
832 p = OPENSSL_realloc(str, size); in ERR_add_error_vdata()
834 OPENSSL_free(str); in ERR_add_error_vdata()
837 str = p; in ERR_add_error_vdata()
839 OPENSSL_strlcat(str, arg, (size_t)size); in ERR_add_error_vdata()
841 if (!err_set_error_data_int(str, size, flags, 0)) in ERR_add_error_vdata()
842 OPENSSL_free(str); in ERR_add_error_vdata()