Lines Matching refs:format
34 print("Error: {}".format(str(e)), file=sys.stderr)
126 "Detected axis range: x [{:4d}..{:4d}], y [{:4d}..{:4d}]".format(
140 print("+{}+".format("".ljust(self.columns, "-")))
142 print("|{}|".format("".ljust(self.columns)))
146 print("|{}{}{}|".format("".ljust(left), "O", "".ljust(right)))
149 print("|{}|".format("".ljust(self.columns)))
151 print("+{}+".format("".ljust(self.columns, "-")))
155 print("\033[{}A".format(self.rows + 8), flush=True)
163 print("\033[{}A".format(self.rows_printed))
175 msg = "{} is not in format WxH".format(string)
194 return "dmi:*svn{}:*pvr{}*".format(dmi["svn"], dmi["pvr"])
196 return "dmi:*svn{}:*pn{}*".format(dmi["svn"], dmi["pn"])
232 print("Using {}: {}".format(name, device.device_node))
245 print(" {}={}".format(prop, dev.properties[prop]))
256 "Kernel specified touchpad size: {:.1f}x{:.1f}mm".format(
260 print("User specified touchpad size: {:.1f}x{:.1f}mm".format(*args.size))
264 "Kernel axis range: x [{:4d}..{:4d}], y [{:4d}..{:4d}]".format(
289 "Detected axis range: x [{:4d}..{:4d}], y [{:4d}..{:4d}]".format(
305 "Resolutions calculated based on user-specified size: x {}, y {} units/mm".format(
345 print("evdev:name:{}:{}*".format(evdev.name, dmi_modalias_match(modalias)))
348 "evdev:input:b{:04X}v{:04X}p{:04X}*".format(
353 " EVDEV_ABS_00={}:{}:{}".format(
360 " EVDEV_ABS_01={}:{}:{}".format(
368 " EVDEV_ABS_35={}:{}:{}".format(
375 " EVDEV_ABS_36={}:{}:{}".format(
386 print("Error: {}".format(e), file=sys.stderr)