Lines Matching refs:malloc

188 		kp = (struct keylenlist *)malloc(sizeof (*kp));
190 debug(KEYSERV_INFO, ("appendkeylist : malloc failed"));
226 ap = (struct algtypelist *)malloc(sizeof (*ap));
228 debug(KEYSERV_INFO, ("appendalgtype : malloc failed"));
274 debug(KEYSERV_DEBUG, ("getkeybuf3 malloc %d", k));
275 buf = (keybuf3 *) malloc(sizeof (*buf));
277 debug(KEYSERV_DEBUG, ("getkeybuf3 malloc failed"));
278 syslog(LOG_ERR, "file %s line %d: malloc failed",
287 buf->keybuf3_val = (char *)malloc(k);
289 debug(KEYSERV_DEBUG, ("getkeybuf3 malloc failed"));
291 syslog(LOG_ERR, "file %s line %d: malloc failed",
375 debug(KEYSERV_DEBUG, ("getdeskeyarray malloc %d", k));
376 buf = (deskeyarray *) malloc(sizeof (*buf));
378 debug(KEYSERV_DEBUG, ("getdeskeyarray malloc failed"));
379 syslog(LOG_ERR, "file %s line %d: malloc failed",
389 malloc(k * sizeof (des_block));
391 debug(KEYSERV_DEBUG, ("getdeskeyarray malloc failed"));
393 syslog(LOG_ERR, "file %s line %d: malloc failed",
499 cp = (struct cacheuid_list *)malloc(sizeof (*cp));
503 ("appendsecretkey3 : malloc failed"));
504 syslog(LOG_ERR, "file %s line %d: malloc failed",
789 new = (struct secretkey_netname_list *)malloc(sizeof (*new));
838 cp = (struct cacheuid_list *)malloc(sizeof (*cp));
841 debug(KEYSERV_INFO, ("appendnetname3 : malloc failed"));
842 syslog(LOG_ERR, "file %s line %d: malloc failed",
1192 new = (struct cachekey_list *)malloc(sizeof (struct cachekey_list));
1436 malloc(sizeof (*cp))) == NULL) {
1439 ("getdeskey3 : malloc failed"));
1441 "file %s line %d: malloc failed",
1750 new = (struct secretkey_netname_list *)malloc(sizeof (*new));
1873 if ((desmech = malloc(sizeof (mechanism_t))) == NULL) {