Lines Matching refs:pSelf
809 static void USBDevInfoCleanup(USBDeviceInfo *pSelf)
811 RTStrFree(pSelf->mDevice);
812 RTStrFree(pSelf->mSysfsPath);
813 pSelf->mDevice = pSelf->mSysfsPath = NULL;
814 VEC_CLEANUP_PTR(&pSelf->mvecpszInterfaces);
817 static int USBDevInfoInit(USBDeviceInfo *pSelf, const char *aDevice,
820 pSelf->mDevice = aDevice ? RTStrDup(aDevice) : NULL;
821 pSelf->mSysfsPath = aSystemID ? RTStrDup(aSystemID) : NULL;
822 VEC_INIT_PTR(&pSelf->mvecpszInterfaces, char *, RTStrFree);
823 if ((aDevice && !pSelf->mDevice) || (aSystemID && ! pSelf->mSysfsPath))
825 USBDevInfoCleanup(pSelf);