Searched refs:name_width (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/dialog/ |
| H A D | checklist.c | 200 int use_width, list_width, name_width, text_width; in dlg_checklist() local 324 name_width = 0; in dlg_checklist() 328 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_checklist() 339 list_width = MIN(all.use_width, name_width); in dlg_checklist() 342 && name_width >= 0 in dlg_checklist() 344 && text_width + name_width > use_width) { in dlg_checklist() 346 if (name_width > need) { in dlg_checklist() 347 int want = (int) (use_width * ((double) name_width) / in dlg_checklist() 348 (text_width + name_width)); in dlg_checklist() 349 name_width = (want > need) ? want : need; in dlg_checklist() [all …]
|
| H A D | menubox.c | 360 int use_width, name_width, text_width, list_width; in dlg_menu() local 459 name_width = 0; in dlg_menu() 466 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_menu() 480 list_width = MIN(use_width, name_width); in dlg_menu() 483 && name_width >= 0 in dlg_menu() 485 && text_width + name_width > use_width) { in dlg_menu() 487 if (name_width > need) { in dlg_menu() 489 * ((double) name_width) in dlg_menu() 490 / (text_width + name_width)); in dlg_menu() 491 name_width = (want > need) ? want : need; in dlg_menu() [all …]
|
| H A D | buildlist.c | 560 int name_width, text_width, full_width, list_width; in dlg_buildlist() local 673 name_width = 0; in dlg_buildlist() 677 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_buildlist() 688 full_width = MIN(all.use_width, name_width); in dlg_buildlist() 691 && name_width >= 0 in dlg_buildlist() 693 && text_width + name_width > all.use_width) { in dlg_buildlist() 695 if (name_width > need) { in dlg_buildlist() 696 int want = (int) (all.use_width * ((double) name_width) / in dlg_buildlist() 697 (text_width + name_width)); in dlg_buildlist() 698 name_width = (want > need) ? want : need; in dlg_buildlist() [all …]
|
| H A D | treeview.c | 205 int use_width, name_width, text_width, tree_width; in dlg_treeview() local 310 name_width = 0; in dlg_treeview() 316 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_treeview() 321 tree_width += name_width; in dlg_treeview() 323 tree_width += (text_width + name_width); in dlg_treeview() 334 : (2 + name_width))) in dlg_treeview()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | RegisterFlags.cpp | 205 unsigned name_width = name.GetString().size(); in AsTable() local 206 if (name_width > column_width) in AsTable() 207 column_width = name_width; in AsTable()
|