Home
last modified time | relevance | path

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

/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dbt_vendor_rtk.c135 struct dirent *newptr; in Scan_Usb_Devices_For_RTK() local
170 while ((newptr = readdir(newpdir)) != NULL) in Scan_Usb_Devices_For_RTK()
172 if (strcmp(newptr->d_name, ".") == 0 || in Scan_Usb_Devices_For_RTK()
173 strcmp(newptr->d_name, "..") == 0) in Scan_Usb_Devices_For_RTK()
176 sprintf(subpath, "%s/%s", newpath, newptr->d_name); in Scan_Usb_Devices_For_RTK()
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dbt_vendor_rtk.c151 struct dirent *newptr; in Scan_Usb_Devices_For_RTK() local
185 while ((newptr = readdir(newpdir)) != NULL) { in Scan_Usb_Devices_For_RTK()
186 if (strcmp(newptr->d_name, ".") == 0 || strcmp(newptr->d_name, "..") == 0) { in Scan_Usb_Devices_For_RTK()
190 (void)sprintf_s(subpath, sizeof(subpath), "%s/%s", newpath, newptr->d_name); in Scan_Usb_Devices_For_RTK()