Searched refs:newDev (Results 1 – 2 of 2) sorted by relevance
636 char * newDev = NULL; in dag_activate() local652 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()[all …]
1239 SkBaseDevice* newDev = device->onCreateDevice(createInfo, paint); in internalSaveLayer() local1240 if (nullptr == newDev) { in internalSaveLayer()1243 newDev = SkBitmapDevice::Create(createInfo.fInfo, surfaceProps); in internalSaveLayer()1244 if (nullptr == newDev) { in internalSaveLayer()1251 device = newDev; in internalSaveLayer()