Lines Matching refs:p
62 gsserrmap *p = k5_getspecific(K5_KEY_GSS_SPNEGO_ERROR_MESSAGE); in get_error_message() local
67 (void *) p); in get_error_message()
69 if (p) { in get_error_message()
70 char **v = gsserrmap_find(p, minor_code); in get_error_message()
89 gsserrmap *p; in save_error_string_nocopy() local
95 p = k5_getspecific(K5_KEY_GSS_SPNEGO_ERROR_MESSAGE); in save_error_string_nocopy()
96 if (!p) { in save_error_string_nocopy()
97 p = malloc(sizeof(*p)); in save_error_string_nocopy()
98 if (p == NULL) { in save_error_string_nocopy()
102 if (gsserrmap_init(p) != 0) { in save_error_string_nocopy()
103 free(p); in save_error_string_nocopy()
104 p = NULL; in save_error_string_nocopy()
108 if (k5_setspecific(K5_KEY_GSS_SPNEGO_ERROR_MESSAGE, p) != 0) { in save_error_string_nocopy()
109 gsserrmap_destroy(p); in save_error_string_nocopy()
110 free(p); in save_error_string_nocopy()
111 p = NULL; in save_error_string_nocopy()
116 ret = gsserrmap_replace_or_insert(p, minor_code, msg); in save_error_string_nocopy()
119 gsserrmap_destroy(p); in save_error_string_nocopy()
120 free(p); in save_error_string_nocopy()
121 p = NULL; in save_error_string_nocopy()
126 fprintf(stderr, " p=%p %s\n", (void *)p, ret ? "FAIL" : "SUCCESS"); in save_error_string_nocopy()
171 void spnego_gss_delete_error_info(void *p) in spnego_gss_delete_error_info() argument
173 gsserrmap_destroy(p); in spnego_gss_delete_error_info()