Lines Matching defs:MALLOC
168 #define MALLOC (*PSResMalloc)
184 if (ptr == NULL) return MALLOC(size);
212 #define NewString(str) ((char *) strcpy(MALLOC((int) (strlen(str)+1)),(str)))
395 types = (char *) MALLOC(2*MAXLEN);
411 MALLOC((int) (count * sizeof(ResourceTypeStruct)));
412 dir->typeNameBuffer = (char *) MALLOC(typelen);
452 dir->filePrefix = strcpy((char *) MALLOC(len+2), dirName);
461 dir->filePrefix = (char *) strcpy((char *) MALLOC(len+2), prefix);
495 dir = (ResourceDirectory) MALLOC(sizeof(ResourceDirectoryStruct));
675 names = (char *) MALLOC(newsize);
703 MALLOC((int) (count * sizeof(ResourceNameStruct)));
704 type->nameBuffer = (char *) MALLOC(namelen);
830 if (fullLen >= MAXLEN) fullName = MALLOC(fullLen+1);
948 else path = MALLOC(len+1);
994 else path = MALLOC(len+1);
1063 (char **) MALLOC((int) ((i+1) * sizeof(char *)));
1064 resourceTypeBuffer = MALLOC(len);
1391 names = (char **) MALLOC((int) (nameCount * sizeof(char *)));
1392 files = (char **) MALLOC((int) (nameCount * sizeof(char *)));
1543 names = (char *) MALLOC(len);