Lines Matching refs:malloc
283 if (rtn = malloc(strlen(p)+1)) { /* Malloc() space */ in getquoted()
333 if (rtn = malloc(sizeof (struct attrval))) { in getattrval()
336 if (rtn->attr = malloc(strlen(p)+1)) { in getattrval()
421 if (recbuf = malloc(DTAB_BUFSIZ)) { in getnextrec()
550 if (rtnval = malloc(strlen(path)+1)) in _devtabpath()
558 if (rtnval = malloc(strlen(DTAB_PATH)+1)) in _devtabpath()
695 if (!(ent = malloc(sizeof (struct devtabent)))) { in _getdevtabent()
709 if (ent->attrstr = malloc(strlen(record)+1)) { in _getdevtabent()
731 if (ent->alias = malloc(strlen(p)+1)) { in _getdevtabent()
746 if (ent->cdevice = malloc(strlen(p)+1)) { in _getdevtabent()
761 if (ent->bdevice = malloc(strlen(p)+1)) { in _getdevtabent()
778 if (ent->pathname = malloc(strlen(p)+1)) { in _getdevtabent()