Lines Matching refs:malloc
265 if ((ap = malloc(pathlen * sizeof (char))) == NULL) {
267 (void) fprintf(stderr, gettext("%s: malloc "
380 if ((magicbuf = malloc(maxmagicoffset)) == NULL) {
382 (void) fprintf(stderr, gettext("%s: malloc failed: %s\n"),
1716 if ((dfile = malloc(strlen(msg_locale) + 35)) == NULL) {
1718 (void) fprintf(stderr, gettext("%s: malloc failed: %s\n"),
1761 (void) fprintf(stderr, gettext("%s: malloc "
1774 (void) fprintf(stderr, gettext("%s: malloc "
1784 if ((*mlistp = malloc(strlen(magic_file) + 1)) == NULL) {
1786 (void) fprintf(stderr, gettext("%s: malloc failed: %s\n"),