Lines Matching refs:NULL
32 static struct usb_device *sDevice = NULL;
34 static char* sDeviceSerial = NULL;
61 return NULL; in message_thread()
69 nanosleep(&tm, NULL); in milli_sleep()
107 struct usb_interface_descriptor *intf = NULL; in usb_device_added()
108 struct usb_endpoint_descriptor *ep1 = NULL; in usb_device_added()
109 struct usb_endpoint_descriptor *ep2 = NULL; in usb_device_added()
117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()
150 pthread_create(&th, NULL, message_thread, (void *)endpoints); in usb_device_added()
196 sDevice = NULL; in usb_device_removed()
219 usb_host_run(context, usb_device_added, usb_device_removed, NULL, NULL); in main()