Lines Matching refs:newDev
636 char * newDev = NULL; in dag_activate() local
652 newDev = (char *)malloc(strlen(device) + 16); in dag_activate()
653 if (newDev == NULL) { in dag_activate()
659 if (dag_parse_name(device, newDev, strlen(device) + 16, &handlep->dag_stream) < 0) { in dag_activate()
663 device = newDev; in dag_activate()
671 newDev = (char *)malloc(strlen(device) + 5); in dag_activate()
672 if (newDev == NULL) { in dag_activate()
676 strcpy(newDev, "/dev/"); in dag_activate()
677 strcat(newDev, device); in dag_activate()
678 device = newDev; in dag_activate()
838 if (newDev != NULL) { in dag_activate()
839 free((char *)newDev); in dag_activate()
878 if (newDev != NULL) { in dag_activate()
879 free((char *)newDev); in dag_activate()