Home
last modified time | relevance | path

Searched refs:newDev (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dpcap-dag.c636 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()
[all …]
/external/skia/src/core/
DSkCanvas.cpp1239 SkBaseDevice* newDev = device->onCreateDevice(createInfo, paint); in internalSaveLayer() local
1240 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()