width             130 lib/strutil.h      /*I*/ const char *(*fit_to_term) (const char *text, int width, align_crt_t just_mode);
width             131 lib/strutil.h      /*I*/ const char *(*term_trim) (const char *text, int width);
width             132 lib/strutil.h      /*I*/ const char *(*term_substring) (const char *text, int start, int width);
width             136 lib/strutil.h      /*I*/ const char *(*trunc) (const char *length, int width);
width             402 lib/strutil.h  const char *str_fit_to_term (const char *text, int width, align_crt_t just_mode);
width             409 lib/strutil.h  const char *str_term_trim (const char *text, int width);
width             416 lib/strutil.h  const char *str_term_substring (const char *text, int start, int width);
width             449 lib/strutil.h  const char *str_trunc (const char *text, int width);
width             450 lib/strutil/strutil.c str_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             452 lib/strutil/strutil.c     return used_class.fit_to_term (text, width, just_mode);
width             458 lib/strutil/strutil.c str_term_trim (const char *text, int width)
width             460 lib/strutil/strutil.c     return used_class.term_trim (text, width);
width             466 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width)
width             468 lib/strutil/strutil.c     return used_class.term_substring (text, start, width);
width             787 lib/strutil/strutil.c str_trunc (const char *text, int width)
width             789 lib/strutil/strutil.c     return used_class.trunc (text, width);
width             937 lib/strutil/strutil.c         int width;
width             946 lib/strutil/strutil.c         width = str_term_width1 (p);
width             947 lib/strutil/strutil.c         if (width > *columns)
width             948 lib/strutil/strutil.c             *columns = width;
width             311 lib/strutil/strutil8bit.c str_8bit_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             324 lib/strutil/strutil8bit.c     if ((int) length <= width)
width             330 lib/strutil/strutil8bit.c             ident = (width - length) / 2;
width             333 lib/strutil/strutil8bit.c             ident = width - length;
width             348 lib/strutil/strutil8bit.c         if (width - length - ident > 0)
width             350 lib/strutil/strutil8bit.c             if (remain <= width - length - ident)
width             352 lib/strutil/strutil8bit.c             memset (actual, ' ', width - length - ident);
width             353 lib/strutil/strutil8bit.c             actual += width - length - ident;
width             358 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             367 lib/strutil/strutil8bit.c         pos += length - width + 1;
width             376 lib/strutil/strutil8bit.c             ident = (length - width) / 2;
width             379 lib/strutil/strutil8bit.c             ident = length - width;
width             386 lib/strutil/strutil8bit.c         for (; pos < (gsize) (ident + width) && remain > 1; pos++, actual++, remain--)
width             400 lib/strutil/strutil8bit.c str_8bit_term_trim (const char *text, int width)
width             411 lib/strutil/strutil8bit.c     if (width > 0)
width             415 lib/strutil/strutil8bit.c         if (width >= (int) length)
width             420 lib/strutil/strutil8bit.c         else if (width <= 3)
width             422 lib/strutil/strutil8bit.c             memset (actual, '.', width);
width             423 lib/strutil/strutil8bit.c             actual += width;
width             431 lib/strutil/strutil8bit.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             472 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width)
width             487 lib/strutil/strutil8bit.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             488 lib/strutil/strutil8bit.c              pos++, width--, actual++, remain--)
width             492 lib/strutil/strutil8bit.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             502 lib/strutil/strutil8bit.c str_8bit_trunc (const char *text, int width)
width             514 lib/strutil/strutil8bit.c     if ((int) length > width)
width             516 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             525 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             376 lib/strutil/strutilascii.c str_ascii_term_trim (const char *text, int width)
width             387 lib/strutil/strutilascii.c     if (width > 0)
width             391 lib/strutil/strutilascii.c         if (width >= (int) length)
width             400 lib/strutil/strutilascii.c         else if (width <= 3)
width             402 lib/strutil/strutilascii.c             memset (actual, '.', width);
width             403 lib/strutil/strutilascii.c             actual += width;
width             412 lib/strutil/strutilascii.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             456 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width)
width             472 lib/strutil/strutilascii.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             473 lib/strutil/strutilascii.c              pos++, width--, actual++, remain--)
width             481 lib/strutil/strutilascii.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             491 lib/strutil/strutilascii.c str_ascii_trunc (const char *text, int width)
width             503 lib/strutil/strutilascii.c     if ((int) length > width)
width             506 lib/strutil/strutilascii.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             518 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, const char *histname,
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             555 lib/widget/listbox.c listbox_new (int y, int x, int height, int width, gboolean deletable, lcback_fn callback)
width             557 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             133 lib/widget/quick.c         *width = label.widget->rect.cols + in.widget->rect.cols + 1;
width             145 lib/widget/quick.c         *width = MAX (label.widget->rect.cols, in.widget->rect.cols);
width             202 lib/widget/quick.c         int width = 0;
width             210 lib/widget/quick.c             width = item.widget->rect.cols;
width             212 lib/widget/quick.c                 width += 2;
width             214 lib/widget/quick.c                 width2 = MAX (width2, width);
width             216 lib/widget/quick.c                 width1 = MAX (width1, width);
width             226 lib/widget/quick.c             width = item.widget->rect.cols;
width             228 lib/widget/quick.c                 width += 2;
width             230 lib/widget/quick.c                 width2 = MAX (width2, width);
width             232 lib/widget/quick.c                 width1 = MAX (width1, width);
width             240 lib/widget/quick.c                 quick_create_labeled_input (widgets, &y, x, quick_widget, &width);
width             247 lib/widget/quick.c                 width = item.widget->rect.cols;
width             250 lib/widget/quick.c                 width += 2;
width             252 lib/widget/quick.c                 width2 = MAX (width2, width);
width             254 lib/widget/quick.c                 width1 = MAX (width1, width);
width             261 lib/widget/quick.c             width = item.widget->rect.cols;
width             263 lib/widget/quick.c                 width += 2;
width             265 lib/widget/quick.c                 width2 = MAX (width2, width);
width             267 lib/widget/quick.c                 width1 = MAX (width1, width);
width             287 lib/widget/quick.c             width = item.widget->rect.cols;
width             289 lib/widget/quick.c                 width += 2;
width             291 lib/widget/quick.c                 width2 = MAX (width2, width);
width             293 lib/widget/quick.c                 width1 = MAX (width1, width);
width             472 lib/widget/quick.c             int width = column_width;
width             475 lib/widget/quick.c                 width -= 4;
width             484 lib/widget/quick.c                 r->cols = width - label->rect.cols - 1;
width             492 lib/widget/quick.c                 r->cols = width - label->rect.cols - 1;
width             501 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            2641 src/diffviewer/ydiff.c                     k = dview_str_utf8_offset_to_pos (p->p, width);
width            2644 src/diffviewer/ydiff.c                     k = width;
width            2648 src/diffviewer/ydiff.c                 cvt_fget (f, p->u.off, buf, width, skip, tab_size, show_cr);
width            2662 src/diffviewer/ydiff.c             fill_by_space (buf, width, TRUE);
width            2667 src/diffviewer/ydiff.c         for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
width            2707 src/diffviewer/ydiff.c     k = width;
width            2708 src/diffviewer/ydiff.c     if (width < xwidth - 1)
width            2721 src/diffviewer/ydiff.c         tty_print_string (str_fit_to_term (buf, width, J_LEFT_FIT));
width            2730 src/diffviewer/ydiff.c dview_status (const WDiff *dview, diff_place_t ord, int width, int c)
width            2743 src/diffviewer/ydiff.c     filename_width = width - 24;
width            1713 src/editor/edit.c     off_t blocklen = -1, width = 0;
width            1726 src/editor/edit.c         width = pn == NULL ? blocklen : pn - (char *) data;
width            1738 src/editor/edit.c                     for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
width            1765 src/editor/edit.c     *col2 = col + width;
width             676 src/editor/editcmd.c edit_insert_column_of_text (WEdit *edit, unsigned char *data, off_t size, long width,
width             696 src/editor/editcmd.c                 for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
width             722 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             221 src/filemanager/chattr.c     int width;
width             360 src/filemanager/chattr.c     int width;
width             362 src/filemanager/chattr.c     width = str_term_width1 (filename);
width             363 src/filemanager/chattr.c     r.cols = MAX (width, (int) check_attr_num);
width             369 src/filemanager/chattr.c     fat->filename_width = width;
width             925 src/filemanager/chattr.c             int width;
width             933 src/filemanager/chattr.c             width = 4 + str_term_width1 (check_attr[i].text);  // "(Q) text "
width             934 src/filemanager/chattr.c             check_attr_width = MAX (check_attr_width, width);
width             945 src/filemanager/chattr.c         chattr_but[i].width = str_term_width1 (chattr_but[i].text) + 3;  // [], spaces and w/o &
width             947 src/filemanager/chattr.c             chattr_but[i].width += 2;  // <>
width            1024 src/filemanager/chattr.c         chattr_but[i].button = WIDGET (button_new (y, dw->rect.cols / 2 + 1 - chattr_but[i].width,
width             847 src/filemanager/file.c     int width_a, width_b, width;
width             855 src/filemanager/file.c     width = COLS - 8;
width             857 src/filemanager/file.c     if (width_a > width)
width             859 src/filemanager/file.c         if (width_b > width)
width             863 src/filemanager/file.c             s = g_strndup (str_trunc (a, width), width);
width             864 src/filemanager/file.c             b = str_trunc (b, width);
width             870 src/filemanager/file.c             a = str_trunc (a, width);
width             876 src/filemanager/file.c         if (width_b > width)
width             877 src/filemanager/file.c             b = str_trunc (b, width);
width             490 src/filemanager/layout.c     int l1 = 0, width;
width             551 src/filemanager/layout.c     width = max (l1 * 2 + 7, b);
width             553 src/filemanager/layout.c     layout_dlg = dlg_create (TRUE, 0, 0, 15, width, WPOS_CENTER, FALSE, dialog_colors,
width             618 src/filemanager/layout.c     group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0));
width             620 src/filemanager/layout.c         g, button_new (12, (width - b) / 2 + b1 + 1, B_CANCEL, NORMAL_BUTTON, cancel_button, 0));
width             310 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t *fe, file_attr_t attr, int color,
width             320 src/filemanager/panel.c         l = width + l - 3;
width             330 src/filemanager/panel.c     for (i = 0; i < width; i++)
width             688 src/filemanager/panel.c format_file (WPanel *panel, int file_index, int width, file_attr_t attr, gboolean isstatus,
width             707 src/filemanager/panel.c     for (format = home; format != NULL && length != width; format = g_slist_next (format))
width             722 src/filemanager/panel.c             if (len + length > width)
width             723 src/filemanager/panel.c                 len = width - length;
width             787 src/filemanager/panel.c     if (length < width)
width             792 src/filemanager/panel.c         tty_draw_hline (y, x, ' ', width - length);
width             806 src/filemanager/panel.c     int width;
width             814 src/filemanager/panel.c     width = w->rect.cols - 2;
width             819 src/filemanager/panel.c         width /= panel->list_cols;
width             821 src/filemanager/panel.c         offset = width * nth_column;
width             824 src/filemanager/panel.c             width = w->rect.cols - offset - 2;
width             828 src/filemanager/panel.c     if (width <= 0)
width             839 src/filemanager/panel.c     ret_frm = format_file (panel, file_index, width, attr, FALSE, &fln);
width             852 src/filemanager/panel.c                 width = fln;
width             855 src/filemanager/panel.c                 offset = width - fln + 1;
width             856 src/filemanager/panel.c                 width = fln - 1;
width             866 src/filemanager/panel.c             offset += width;
width             882 src/filemanager/panel.c     int width;
width             884 src/filemanager/panel.c     width = WIDGET (panel)->rect.cols - 2;
width             885 src/filemanager/panel.c     if (width > 0)
width             889 src/filemanager/panel.c         (void) format_file (panel, panel->current, width, FATTR_STATUS, TRUE, &fln);