Lines Matching refs:malloc
18 /* Extra malloc() space in names for cutpath() */
62 DIR *d; /* pointer to malloc'ed directory stream */
67 if (((d = (DIR *)malloc(sizeof(DIR))) == NULL) ||
68 ((p = (char *)malloc((m = strlen(n)) + 4)) == NULL)) {
143 if ((fp = (char *)malloc(strlen(fname) + 1)) == NULL) {
205 p = malloc(strlen(n) + 1);
255 /* Convert the external file name to a zip file name, returning the malloc'ed
258 char *n; /* internal file name (malloc'ed) */
275 if ((fp = (char *)malloc(strlen(fname) + 1)) == NULL) {
283 /* Find starting point in name before doing malloc */
297 if ((n = malloc(strlen(t) + 1)) == NULL)
355 /* Returned malloc'ed name */
364 /* Convert the zip file name to an external file name, returning the malloc'ed
372 if ((x = malloc(strlen(n) + 1 + PAD)) == NULL)
378 if ((x = malloc(strlen(n) + 3 + PAD)) == NULL)
425 /* converted from FNAMX to malloc - 11/8/04 EG */
438 if ((name = malloc(len + 1)) == NULL) {
498 if ((z->extra = (char *)malloc(EB_HEADSIZE+EB_UT_LEN(1))) == NULL)