width             131 lib/strutil.h        /*I*/ const char *(*fit_to_term) (const char *text, int width, align_crt_t just_mode);
width             132 lib/strutil.h        /*I*/ const char *(*term_trim) (const char *text, int width);
width             133 lib/strutil.h        /*I*/ const char *(*term_substring) (const char *text, int start, int width);
width             137 lib/strutil.h        /*I*/ const char *(*trunc) (const char *length, int width);
width             406 lib/strutil.h  const char *str_fit_to_term (const char *text, int width, align_crt_t just_mode);
width             413 lib/strutil.h  const char *str_term_trim (const char *text, int width);
width             421 lib/strutil.h  const char *str_term_substring (const char *text, int start, int width);
width             454 lib/strutil.h  const char *str_trunc (const char *text, int width);
width             445 lib/strutil/strutil.c str_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             447 lib/strutil/strutil.c     return used_class.fit_to_term (text, width, just_mode);
width             453 lib/strutil/strutil.c str_term_trim (const char *text, int width)
width             455 lib/strutil/strutil.c     return used_class.term_trim (text, width);
width             461 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width)
width             463 lib/strutil/strutil.c     return used_class.term_substring (text, start, width);
width             782 lib/strutil/strutil.c str_trunc (const char *text, int width)
width             784 lib/strutil/strutil.c     return used_class.trunc (text, width);
width             932 lib/strutil/strutil.c         int width;
width             941 lib/strutil/strutil.c         width = str_term_width1 (p);
width             942 lib/strutil/strutil.c         if (width > *columns)
width             943 lib/strutil/strutil.c             *columns = width;
width             316 lib/strutil/strutil8bit.c str_8bit_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             329 lib/strutil/strutil8bit.c     if ((int) length <= width)
width             335 lib/strutil/strutil8bit.c             ident = (width - length) / 2;
width             338 lib/strutil/strutil8bit.c             ident = width - length;
width             353 lib/strutil/strutil8bit.c         if (width - length - ident > 0)
width             355 lib/strutil/strutil8bit.c             if (remain <= width - length - ident)
width             357 lib/strutil/strutil8bit.c             memset (actual, ' ', width - length - ident);
width             358 lib/strutil/strutil8bit.c             actual += width - length - ident;
width             363 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             372 lib/strutil/strutil8bit.c         pos += length - width + 1;
width             381 lib/strutil/strutil8bit.c             ident = (length - width) / 2;
width             384 lib/strutil/strutil8bit.c             ident = length - width;
width             391 lib/strutil/strutil8bit.c         for (; pos < (gsize) (ident + width) && remain > 1; pos++, actual++, remain--)
width             405 lib/strutil/strutil8bit.c str_8bit_term_trim (const char *text, int width)
width             416 lib/strutil/strutil8bit.c     if (width > 0)
width             420 lib/strutil/strutil8bit.c         if (width >= (int) length)
width             425 lib/strutil/strutil8bit.c         else if (width <= 3)
width             427 lib/strutil/strutil8bit.c             memset (actual, '.', width);
width             428 lib/strutil/strutil8bit.c             actual += width;
width             436 lib/strutil/strutil8bit.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             477 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width)
width             492 lib/strutil/strutil8bit.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             493 lib/strutil/strutil8bit.c              pos++, width--, actual++, remain--)
width             497 lib/strutil/strutil8bit.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             507 lib/strutil/strutil8bit.c str_8bit_trunc (const char *text, int width)
width             519 lib/strutil/strutil8bit.c     if ((int) length > width)
width             521 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             530 lib/strutil/strutil8bit.c         pos += length - width + 1;
width             267 lib/strutil/strutilascii.c str_ascii_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             280 lib/strutil/strutilascii.c     if ((int) length <= width)
width             286 lib/strutil/strutilascii.c             ident = (width - length) / 2;
width             289 lib/strutil/strutilascii.c             ident = width - length;
width             310 lib/strutil/strutilascii.c         if (width - length - ident > 0)
width             312 lib/strutil/strutilascii.c             if (remain <= width - length - ident)
width             314 lib/strutil/strutilascii.c             memset (actual, ' ', width - length - ident);
width             315 lib/strutil/strutilascii.c             actual += width - length - ident;
width             321 lib/strutil/strutilascii.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             333 lib/strutil/strutilascii.c         pos += length - width + 1;
width             347 lib/strutil/strutilascii.c             ident = (length - width) / 2;
width             350 lib/strutil/strutilascii.c             ident = length - width;
width             359 lib/strutil/strutilascii.c         for (; pos < (gsize) (ident + width) && remain > 1; pos++, actual++, remain--)
width             377 lib/strutil/strutilascii.c str_ascii_term_trim (const char *text, int width)
width             388 lib/strutil/strutilascii.c     if (width > 0)
width             392 lib/strutil/strutilascii.c         if (width >= (int) length)
width             401 lib/strutil/strutilascii.c         else if (width <= 3)
width             403 lib/strutil/strutilascii.c             memset (actual, '.', width);
width             404 lib/strutil/strutilascii.c             actual += width;
width             413 lib/strutil/strutilascii.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             457 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width)
width             473 lib/strutil/strutilascii.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             474 lib/strutil/strutilascii.c              pos++, width--, actual++, remain--)
width             482 lib/strutil/strutilascii.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             492 lib/strutil/strutilascii.c str_ascii_trunc (const char *text, int width)
width             504 lib/strutil/strutilascii.c     if ((int) length > width)
width             507 lib/strutil/strutilascii.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             519 lib/strutil/strutilascii.c         pos += length - width + 1;
width              56 lib/strutil/strutilutf8.c     size_t width;
width             451 lib/strutil/strutilutf8.c     result.width = 0;
width             465 lib/strutil/strutilutf8.c             result.width++;
width             483 lib/strutil/strutilutf8.c                     result.width++;
width             485 lib/strutil/strutilutf8.c                         result.width++;
width             492 lib/strutil/strutilutf8.c                 result.width++;
width             505 lib/strutil/strutilutf8.c             result.width++;
width             684 lib/strutil/strutilutf8.c str_utf8_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             696 lib/strutil/strutilutf8.c     if (pre_form->width <= (gsize) width)
width             702 lib/strutil/strutilutf8.c             tool.ident = (width - pre_form->width) / 2;
width             705 lib/strutil/strutilutf8.c             tool.ident = width - pre_form->width;
width             714 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - pre_form->width - tool.ident);
width             719 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width / 2);
width             723 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1);
width             725 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - (pre_form->width - tool.ident + 1));
width             732 lib/strutil/strutilutf8.c             tool.ident = (width - pre_form->width) / 2;
width             735 lib/strutil/strutilutf8.c             tool.ident = width - pre_form->width;
width             744 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width);
width             745 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - tool.ident);
width             757 lib/strutil/strutilutf8.c str_utf8_term_trim (const char *text, int width)
width             763 lib/strutil/strutilutf8.c     if (width < 1)
width             776 lib/strutil/strutilutf8.c     if ((gsize) width >= pre_form->width)
width             778 lib/strutil/strutilutf8.c     else if (width <= 3)
width             780 lib/strutil/strutilutf8.c         memset (tool.actual, '.', width);
width             781 lib/strutil/strutilutf8.c         tool.actual += width;
width             782 lib/strutil/strutilutf8.c         tool.remain -= width;
width             791 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 3);
width             809 lib/strutil/strutilutf8.c     return result->width;
width             834 lib/strutil/strutilutf8.c str_utf8_term_substring (const char *text, int start, int width)
width             853 lib/strutil/strutilutf8.c     utf8_tool_copy_chars_to (&tool, width);
width             854 lib/strutil/strutilutf8.c     utf8_tool_insert_space (&tool, width - tool.ident);
width             865 lib/strutil/strutilutf8.c str_utf8_trunc (const char *text, int width)
width             878 lib/strutil/strutilutf8.c     if (pre_form->width <= (gsize) width)
width             883 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width / 2);
width             887 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1);
width             923 lib/strutil/strutilutf8.c     int width = 0;
width             936 lib/strutil/strutilutf8.c                     width++;
width             938 lib/strutil/strutilutf8.c                         width++;
width             943 lib/strutil/strutilutf8.c                 width++;
width             950 lib/strutil/strutilutf8.c             width++;
width             953 lib/strutil/strutilutf8.c         if ((gsize) width > pos)
width             189 lib/widget/buttonbar.c                 int width;
width             192 lib/widget/buttonbar.c                 width = buttonbar_get_button_width (bb, i);
width             193 lib/widget/buttonbar.c                 if (width <= 0)
width             201 lib/widget/buttonbar.c                 tty_print_string (str_fit_to_term (text, width - 2, J_LEFT_FIT));
width             100 lib/widget/groupbox.c groupbox_new (int y, int x, int height, int width, const char *title)
width             102 lib/widget/groupbox.c     WRect r = { y, x, height, width };
width              27 lib/widget/groupbox.h WGroupbox *groupbox_new (int y, int x, int height, int width, const char *title);
width             160 lib/widget/history.c     size_t width;
width             162 lib/widget/history.c     width = str_term_width1 (text);
width             163 lib/widget/history.c     hd->max_width = MAX (width, hd->max_width);
width             147 lib/widget/hline.c hline_new (int y, int x, int width)
width             149 lib/widget/hline.c     WRect r = { y, x, 1, width };
width             155 lib/widget/hline.c     r.cols = width < 0 ? 1 : width;
width             158 lib/widget/hline.c     l->auto_adjust_cols = (width < 0);
width              29 lib/widget/hline.h WHLine *hline_new (int y, int x, int width);
width             952 lib/widget/input.c input_new (int y, int x, const int *colors, int width, const char *def_text,
width             955 lib/widget/input.c     WRect r = { y, x, 1, width };
width             974 lib/widget/input.c     in->buffer = g_string_sized_new (width);
width             553 lib/widget/listbox.c listbox_new (int y, int x, int height, int width, gboolean deletable, lcback_fn callback)
width             555 lib/widget/listbox.c     WRect r = { y, x, 1, width };
width              63 lib/widget/listbox.h WListbox *listbox_new (int y, int x, int height, int width, gboolean deletable, lcback_fn callback);
width              88 lib/widget/quick.c                             int *width)
width             110 lib/widget/quick.c         *width = MAX (label.widget->rect.cols, in.widget->rect.cols);
width             121 lib/widget/quick.c         *width = label.widget->rect.cols + in.widget->rect.cols + 1;
width             134 lib/widget/quick.c         *width = label.widget->rect.cols + in.widget->rect.cols + 1;
width             146 lib/widget/quick.c         *width = MAX (label.widget->rect.cols, in.widget->rect.cols);
width             202 lib/widget/quick.c         int width = 0;
width             212 lib/widget/quick.c             width = item.widget->rect.cols;
width             214 lib/widget/quick.c                 width += 2;
width             216 lib/widget/quick.c                 width2 = MAX (width2, width);
width             218 lib/widget/quick.c                 width1 = MAX (width1, width);
width             229 lib/widget/quick.c             width = item.widget->rect.cols;
width             231 lib/widget/quick.c                 width += 2;
width             233 lib/widget/quick.c                 width2 = MAX (width2, width);
width             235 lib/widget/quick.c                 width1 = MAX (width1, width);
width             243 lib/widget/quick.c                 quick_create_labeled_input (widgets, &y, x, quick_widget, &width);
width             250 lib/widget/quick.c                 width = item.widget->rect.cols;
width             253 lib/widget/quick.c                 width += 2;
width             255 lib/widget/quick.c                 width2 = MAX (width2, width);
width             257 lib/widget/quick.c                 width1 = MAX (width1, width);
width             264 lib/widget/quick.c             width = item.widget->rect.cols;
width             266 lib/widget/quick.c                 width += 2;
width             268 lib/widget/quick.c                 width2 = MAX (width2, width);
width             270 lib/widget/quick.c                 width1 = MAX (width1, width);
width             290 lib/widget/quick.c                 width = item.widget->rect.cols;
width             292 lib/widget/quick.c                     width += 2;
width             294 lib/widget/quick.c                     width2 = MAX (width2, width);
width             296 lib/widget/quick.c                     width1 = MAX (width1, width);
width             475 lib/widget/quick.c                 int width = column_width;
width             478 lib/widget/quick.c                     width -= 4;
width             485 lib/widget/quick.c                     r->cols = width - label->rect.cols - 1;
width             493 lib/widget/quick.c                     r->cols = width - label->rect.cols - 1;
width             502 lib/widget/quick.c                     r->cols = width;
width             231 lib/widget/radio.c         int width;
width             234 lib/widget/radio.c         width = hotkey_width (r->texts[i]);
width             235 lib/widget/radio.c         wmax = MAX (width, wmax);
width            2499 src/diffviewer/ydiff.c dview_display_file (const WDiff *dview, diff_place_t ord, int r, int c, int height, int width)
width            2522 src/diffviewer/ydiff.c         if (xwidth > width && display_symbols)
width            2527 src/diffviewer/ydiff.c         if (xwidth > width && display_numbers != 0)
width            2529 src/diffviewer/ydiff.c             xwidth = width;
width            2530 src/diffviewer/ydiff.c             display_numbers = width;
width            2535 src/diffviewer/ydiff.c         width -= xwidth;
width            2536 src/diffviewer/ydiff.c         if (width < 0)
width            2537 src/diffviewer/ydiff.c             width = 0;
width            2540 src/diffviewer/ydiff.c     if ((int) sizeof (buf) <= width || (int) sizeof (buf) <= nwidth)
width            2583 src/diffviewer/ydiff.c                         k = dview_str_utf8_offset_to_pos (p->p, width);
width            2586 src/diffviewer/ydiff.c                         k = width;
width            2593 src/diffviewer/ydiff.c                     for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
width            2642 src/diffviewer/ydiff.c                     k = dview_str_utf8_offset_to_pos (p->p, width);
width            2645 src/diffviewer/ydiff.c                     k = width;
width            2649 src/diffviewer/ydiff.c                 cvt_fget (f, p->u.off, buf, width, skip, tab_size, show_cr);
width            2663 src/diffviewer/ydiff.c             fill_by_space (buf, width, TRUE);
width            2668 src/diffviewer/ydiff.c         for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
width            2708 src/diffviewer/ydiff.c     k = width;
width            2709 src/diffviewer/ydiff.c     if (width < xwidth - 1)
width            2722 src/diffviewer/ydiff.c         tty_print_string (str_fit_to_term (buf, width, J_LEFT_FIT));
width            2731 src/diffviewer/ydiff.c dview_status (const WDiff *dview, diff_place_t ord, int width, int c)
width            2744 src/diffviewer/ydiff.c     filename_width = width - 24;
width            1735 src/editor/edit.c     off_t blocklen = -1, width = 0;
width            1748 src/editor/edit.c         width = pn == NULL ? blocklen : pn - (char *) data;
width            1760 src/editor/edit.c                     for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
width            1787 src/editor/edit.c     *col2 = col + width;
width             680 src/editor/editcmd.c edit_insert_column_of_text (WEdit *edit, unsigned char *data, off_t size, long width,
width             700 src/editor/editcmd.c                 for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
width             726 src/editor/editcmd.c     *col2 = col + width;
width             120 src/editor/editcomplete.c         int width;
width             205 src/editor/editcomplete.c         width = str_term_width1 (temp->str);
width             206 src/editor/editcomplete.c         *max_width = MAX (*max_width, width);
width             155 src/file_history.c     size_t width;
width             157 src/file_history.c     width = str_term_width1 (fhd->file_name);
width             158 src/file_history.c     hd->max_width = MAX (width, hd->max_width);
width             223 src/filemanager/chattr.c     int width;
width             364 src/filemanager/chattr.c     int width;
width             366 src/filemanager/chattr.c     width = str_term_width1 (filename);
width             367 src/filemanager/chattr.c     r.cols = MAX (width, (int) check_attr_num);
width             373 src/filemanager/chattr.c     fat->filename_width = width;
width             929 src/filemanager/chattr.c             int width;
width             937 src/filemanager/chattr.c             width = 4 + str_term_width1 (check_attr[i].text);   /* "(Q) text " */
width             938 src/filemanager/chattr.c             check_attr_width = MAX (check_attr_width, width);
width             949 src/filemanager/chattr.c         chattr_but[i].width = str_term_width1 (chattr_but[i].text) + 3; /* [], spaces and w/o & */
width             951 src/filemanager/chattr.c             chattr_but[i].width += 2;   /* <> */
width            1029 src/filemanager/chattr.c         chattr_but[i].button = WIDGET (button_new (y, dw->rect.cols / 2 + 1 - chattr_but[i].width,
width             854 src/filemanager/file.c     int width_a, width_b, width;
width             862 src/filemanager/file.c     width = COLS - 8;
width             864 src/filemanager/file.c     if (width_a > width)
width             866 src/filemanager/file.c         if (width_b > width)
width             870 src/filemanager/file.c             s = g_strndup (str_trunc (a, width), width);
width             871 src/filemanager/file.c             b = str_trunc (b, width);
width             877 src/filemanager/file.c             a = str_trunc (a, width);
width             883 src/filemanager/file.c         if (width_b > width)
width             884 src/filemanager/file.c             b = str_trunc (b, width);
width             496 src/filemanager/layout.c     int l1 = 0, width;
width             557 src/filemanager/layout.c     width = max (l1 * 2 + 7, b);
width             560 src/filemanager/layout.c         dlg_create (TRUE, 0, 0, 15, width, WPOS_CENTER, FALSE, dialog_colors, layout_callback, NULL,
width             625 src/filemanager/layout.c     group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0));
width             627 src/filemanager/layout.c                       button_new (12, (width - b) / 2 + b1 + 1, B_CANCEL, NORMAL_BUTTON,
width             451 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t *fe, file_attr_t attr, int color,
width             461 src/filemanager/panel.c         l = width + l - 3;
width             471 src/filemanager/panel.c     for (i = 0; i < width; i++)
width             829 src/filemanager/panel.c format_file (WPanel *panel, int file_index, int width, file_attr_t attr, gboolean isstatus,
width             848 src/filemanager/panel.c     for (format = home; format != NULL && length != width; format = g_slist_next (format))
width             863 src/filemanager/panel.c             if (len + length > width)
width             864 src/filemanager/panel.c                 len = width - length;
width             928 src/filemanager/panel.c     if (length < width)
width             933 src/filemanager/panel.c         tty_draw_hline (y, x, ' ', width - length);
width             947 src/filemanager/panel.c     int width;
width             955 src/filemanager/panel.c     width = w->rect.cols - 2;
width             960 src/filemanager/panel.c         width /= panel->list_cols;
width             962 src/filemanager/panel.c         offset = width * nth_column;
width             965 src/filemanager/panel.c             width = w->rect.cols - offset - 2;
width             969 src/filemanager/panel.c     if (width <= 0)
width             980 src/filemanager/panel.c     ret_frm = format_file (panel, file_index, width, attr, FALSE, &fln);
width             993 src/filemanager/panel.c                 width = fln;
width             996 src/filemanager/panel.c                 offset = width - fln + 1;
width             997 src/filemanager/panel.c                 width = fln - 1;
width            1007 src/filemanager/panel.c             offset += width;
width            1023 src/filemanager/panel.c     int width;
width            1025 src/filemanager/panel.c     width = WIDGET (panel)->rect.cols - 2;
width            1026 src/filemanager/panel.c     if (width > 0)
width            1030 src/filemanager/panel.c         (void) format_file (panel, panel->current, width, FATTR_STATUS, TRUE, &fln);