Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-dag.c621 char * newDev = NULL; in dag_activate() local
637 newDev = (char *)malloc(strlen(device) + 16); in dag_activate()
638 if (newDev == NULL) { in dag_activate()
644 if (dag_parse_name(device, newDev, strlen(device) + 16, &handlep->dag_stream) < 0) { in dag_activate()
648 device = newDev; in dag_activate()
656 newDev = (char *)malloc(strlen(device) + 5); in dag_activate()
657 if (newDev == NULL) { in dag_activate()
661 strcpy(newDev, "/dev/"); in dag_activate()
662 strcat(newDev, device); in dag_activate()
663 device = newDev; in dag_activate()
[all …]
/external/skia/src/core/
DSkCanvas.cpp1034 SkBaseDevice* newDev = device->onCreateDevice(createInfo, paint); in internalSaveLayer() local
1035 if (NULL == newDev) { in internalSaveLayer()
1037 newDev = SkBitmapDevice::Create(createInfo.fInfo); in internalSaveLayer()
1038 if (NULL == newDev) { in internalSaveLayer()
1045 device = newDev; in internalSaveLayer()