Searched refs:kMaximumDeviceNameLength (Results 1 – 2 of 2) sorted by relevance
26 const size_t kMaximumDeviceNameLength = 256; variable81 char device_name[kMaximumDeviceNameLength]; in GetDeviceName()82 if (ioctl(fd, EVIOCGNAME(kMaximumDeviceNameLength - 1), &device_name) < 0) { in GetDeviceName()100 char device_phys[kMaximumDeviceNameLength]; in GetDevicePhysInfo()101 if (ioctl(fd, EVIOCGPHYS(kMaximumDeviceNameLength - 1), &device_phys) < 0) { in GetDevicePhysInfo()
29 const size_t kMaximumDeviceNameLength = 256; variable99 char device_name[kMaximumDeviceNameLength]; in GetDeviceName()100 if (ioctl(fd, EVIOCGNAME(kMaximumDeviceNameLength - 1), &device_name) < 0) { in GetDeviceName()118 char device_phys[kMaximumDeviceNameLength]; in GetDevicePhysInfo()119 if (ioctl(fd, EVIOCGPHYS(kMaximumDeviceNameLength - 1), &device_phys) < 0) { in GetDevicePhysInfo()