Lines Matching refs:malloc
146 * file for writing. It puts a pointer to the malloc()ed space
416 * are each in space allocated using the malloc() function and should
446 if (devtabent = malloc(sizeof (struct devtabent))) {
449 if (devtabent->alias = malloc(strlen(alias)+1)) {
469 if (val = malloc(strlen(peq))) {
473 if (name = malloc((size_t)(len + 1))) {
565 malloc(sizeof (struct attrval))) {
581 /* malloc() for attrval failed */
589 } else { /* malloc() for attribute name failed */
608 } else { /* malloc() failed */
657 if (buf = malloc(size+1)) {
667 } else count = EOF; /* malloc() failed */
699 if (buf = malloc(size+1)) {
739 } else count = EOF; /* malloc() failed */
1063 * char ** to put the address of the first element in the malloc()ed
1208 if (*notfounds = malloc(sizeof (char **)*(nattrs+1))) {
1213 if (*pnxt = malloc(strlen(*pp)+1)) {
1218 /* malloc() failed, free list */
1225 } else nobaderr = FALSE; /* malloc() failed */
1229 if (*pnxt = malloc(strlen(*pp)+1))