Home
last modified time | relevance | path

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

/tools/perf/ui/tui/
Dutil.c76 int max_len = 60, nr_lines = 0; in ui_browser__input_window() local
87 if (max_len < len) in ui_browser__input_window()
88 max_len = len; in ui_browser__input_window()
97 max_len += 2; in ui_browser__input_window()
100 x = SLtt_Screen_Cols / 2 - max_len / 2; in ui_browser__input_window()
103 SLsmg_draw_box(y, x++, nr_lines, max_len); in ui_browser__input_window()
110 max_len -= 2; in ui_browser__input_window()
112 nr_lines, max_len, 1); in ui_browser__input_window()
117 SLsmg_write_nstring((char *)" ", max_len); in ui_browser__input_window()
119 SLsmg_draw_box(y++, x + 1, 3, max_len - 2); in ui_browser__input_window()
[all …]
/tools/usb/usbip/libsrc/
Dvhci_driver.c172 int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE}; in read_record() local
200 if (end == NULL || (end - start) > max_len[part]) { in read_record()