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             454 lib/strutil/strutil.c str_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             456 lib/strutil/strutil.c     return used_class.fit_to_term (text, width, just_mode);
width             462 lib/strutil/strutil.c str_term_trim (const char *text, int width)
width             464 lib/strutil/strutil.c     return used_class.term_trim (text, width);
width             470 lib/strutil/strutil.c str_term_substring (const char *text, int start, int width)
width             472 lib/strutil/strutil.c     return used_class.term_substring (text, start, width);
width             791 lib/strutil/strutil.c str_trunc (const char *text, int width)
width             793 lib/strutil/strutil.c     return used_class.trunc (text, width);
width             941 lib/strutil/strutil.c         int width;
width             950 lib/strutil/strutil.c         width = str_term_width1 (p);
width             951 lib/strutil/strutil.c         if (width > *columns)
width             952 lib/strutil/strutil.c             *columns = width;
width             312 lib/strutil/strutil8bit.c str_8bit_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             325 lib/strutil/strutil8bit.c     if ((int) length <= width)
width             331 lib/strutil/strutil8bit.c             ident = (width - length) / 2;
width             334 lib/strutil/strutil8bit.c             ident = width - length;
width             349 lib/strutil/strutil8bit.c         if (width - length - ident > 0)
width             351 lib/strutil/strutil8bit.c             if (remain <= width - length - ident)
width             353 lib/strutil/strutil8bit.c             memset (actual, ' ', width - length - ident);
width             354 lib/strutil/strutil8bit.c             actual += width - length - ident;
width             359 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             368 lib/strutil/strutil8bit.c         pos += length - width + 1;
width             377 lib/strutil/strutil8bit.c             ident = (length - width) / 2;
width             380 lib/strutil/strutil8bit.c             ident = length - width;
width             387 lib/strutil/strutil8bit.c         for (; pos < (gsize) (ident + width) && remain > 1; pos++, actual++, remain--)
width             401 lib/strutil/strutil8bit.c str_8bit_term_trim (const char *text, int width)
width             412 lib/strutil/strutil8bit.c     if (width > 0)
width             416 lib/strutil/strutil8bit.c         if (width >= (int) length)
width             421 lib/strutil/strutil8bit.c         else if (width <= 3)
width             423 lib/strutil/strutil8bit.c             memset (actual, '.', width);
width             424 lib/strutil/strutil8bit.c             actual += width;
width             432 lib/strutil/strutil8bit.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             469 lib/strutil/strutil8bit.c str_8bit_term_substring (const char *text, int start, int width)
width             484 lib/strutil/strutil8bit.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             485 lib/strutil/strutil8bit.c              pos++, width--, actual++, remain--)
width             489 lib/strutil/strutil8bit.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             499 lib/strutil/strutil8bit.c str_8bit_trunc (const char *text, int width)
width             511 lib/strutil/strutil8bit.c     if ((int) length > width)
width             513 lib/strutil/strutil8bit.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             522 lib/strutil/strutil8bit.c         pos += length - width + 1;
width             263 lib/strutil/strutilascii.c str_ascii_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             276 lib/strutil/strutilascii.c     if ((int) length <= width)
width             282 lib/strutil/strutilascii.c             ident = (width - length) / 2;
width             285 lib/strutil/strutilascii.c             ident = width - length;
width             306 lib/strutil/strutilascii.c         if (width - length - ident > 0)
width             308 lib/strutil/strutilascii.c             if (remain <= width - length - ident)
width             310 lib/strutil/strutilascii.c             memset (actual, ' ', width - length - ident);
width             311 lib/strutil/strutilascii.c             actual += width - length - ident;
width             317 lib/strutil/strutilascii.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             329 lib/strutil/strutilascii.c         pos += length - width + 1;
width             343 lib/strutil/strutilascii.c             ident = (length - width) / 2;
width             346 lib/strutil/strutilascii.c             ident = length - width;
width             355 lib/strutil/strutilascii.c         for (; pos < (gsize) (ident + width) && remain > 1; pos++, actual++, remain--)
width             373 lib/strutil/strutilascii.c str_ascii_term_trim (const char *text, int width)
width             384 lib/strutil/strutilascii.c     if (width > 0)
width             388 lib/strutil/strutilascii.c         if (width >= (int) length)
width             397 lib/strutil/strutilascii.c         else if (width <= 3)
width             399 lib/strutil/strutilascii.c             memset (actual, '.', width);
width             400 lib/strutil/strutilascii.c             actual += width;
width             409 lib/strutil/strutilascii.c             for (pos = length - width + 3; pos < length && remain > 1; pos++, actual++, remain--)
width             449 lib/strutil/strutilascii.c str_ascii_term_substring (const char *text, int start, int width)
width             465 lib/strutil/strutilascii.c         for (pos = start; pos < length && width > 0 && remain > 1;
width             466 lib/strutil/strutilascii.c              pos++, width--, actual++, remain--)
width             474 lib/strutil/strutilascii.c     for (; width > 0 && remain > 1; actual++, remain--, width--)
width             484 lib/strutil/strutilascii.c str_ascii_trunc (const char *text, int width)
width             496 lib/strutil/strutilascii.c     if ((int) length > width)
width             499 lib/strutil/strutilascii.c         for (; pos + 1 <= (gsize) width / 2 && remain > 1; actual++, pos++, remain--)
width             511 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             502 lib/strutil/strutilutf8.c             result.width++;
width             681 lib/strutil/strutilutf8.c str_utf8_fit_to_term (const char *text, int width, align_crt_t just_mode)
width             693 lib/strutil/strutilutf8.c     if (pre_form->width <= (gsize) width)
width             699 lib/strutil/strutilutf8.c             tool.ident = (width - pre_form->width) / 2;
width             702 lib/strutil/strutilutf8.c             tool.ident = width - pre_form->width;
width             711 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - pre_form->width - tool.ident);
width             716 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width / 2);
width             720 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1);
width             722 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - (pre_form->width - tool.ident + 1));
width             729 lib/strutil/strutilutf8.c             tool.ident = (width - pre_form->width) / 2;
width             732 lib/strutil/strutilutf8.c             tool.ident = width - pre_form->width;
width             741 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width);
width             742 lib/strutil/strutilutf8.c         utf8_tool_insert_space (&tool, width - tool.ident);
width             754 lib/strutil/strutilutf8.c str_utf8_term_trim (const char *text, int width)
width             760 lib/strutil/strutilutf8.c     if (width < 1)
width             773 lib/strutil/strutilutf8.c     if ((gsize) width >= pre_form->width)
width             775 lib/strutil/strutilutf8.c     else if (width <= 3)
width             777 lib/strutil/strutilutf8.c         memset (tool.actual, '.', width);
width             778 lib/strutil/strutilutf8.c         tool.actual += width;
width             779 lib/strutil/strutilutf8.c         tool.remain -= width;
width             788 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 3);
width             806 lib/strutil/strutilutf8.c     return result->width;
width             831 lib/strutil/strutilutf8.c str_utf8_term_substring (const char *text, int start, int width)
width             850 lib/strutil/strutilutf8.c     utf8_tool_copy_chars_to (&tool, width);
width             851 lib/strutil/strutilutf8.c     utf8_tool_insert_space (&tool, width - tool.ident);
width             862 lib/strutil/strutilutf8.c str_utf8_trunc (const char *text, int width)
width             875 lib/strutil/strutilutf8.c     if (pre_form->width <= (gsize) width)
width             880 lib/strutil/strutilutf8.c         utf8_tool_copy_chars_to (&tool, width / 2);
width             884 lib/strutil/strutilutf8.c         utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1);
width             920 lib/strutil/strutilutf8.c     int width = 0;
width             933 lib/strutil/strutilutf8.c                     width++;
width             935 lib/strutil/strutilutf8.c                         width++;
width             940 lib/strutil/strutilutf8.c                 width++;
width             947 lib/strutil/strutilutf8.c             width++;
width             950 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            2511 src/diffviewer/ydiff.c dview_display_file (const WDiff * dview, diff_place_t ord, int r, int c, int height, int width)
width            2534 src/diffviewer/ydiff.c         if (xwidth > width && display_symbols)
width            2539 src/diffviewer/ydiff.c         if (xwidth > width && display_numbers != 0)
width            2541 src/diffviewer/ydiff.c             xwidth = width;
width            2542 src/diffviewer/ydiff.c             display_numbers = width;
width            2547 src/diffviewer/ydiff.c         width -= xwidth;
width            2548 src/diffviewer/ydiff.c         if (width < 0)
width            2549 src/diffviewer/ydiff.c             width = 0;
width            2552 src/diffviewer/ydiff.c     if ((int) sizeof (buf) <= width || (int) sizeof (buf) <= nwidth)
width            2595 src/diffviewer/ydiff.c                         k = dview_str_utf8_offset_to_pos (p->p, width);
width            2598 src/diffviewer/ydiff.c                         k = width;
width            2605 src/diffviewer/ydiff.c                     for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
width            2654 src/diffviewer/ydiff.c                     k = dview_str_utf8_offset_to_pos (p->p, width);
width            2657 src/diffviewer/ydiff.c                     k = width;
width            2661 src/diffviewer/ydiff.c                 cvt_fget (f, p->u.off, buf, width, skip, tab_size, show_cr);
width            2675 src/diffviewer/ydiff.c             fill_by_space (buf, width, TRUE);
width            2680 src/diffviewer/ydiff.c         for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
width            2720 src/diffviewer/ydiff.c     k = width;
width            2721 src/diffviewer/ydiff.c     if (width < xwidth - 1)
width            2734 src/diffviewer/ydiff.c         tty_print_string (str_fit_to_term (buf, width, J_LEFT_FIT));
width            2743 src/diffviewer/ydiff.c dview_status (const WDiff * dview, diff_place_t ord, int width, int c)
width            2756 src/diffviewer/ydiff.c     filename_width = width - 24;
width            1736 src/editor/edit.c     off_t blocklen = -1, width = 0;
width            1749 src/editor/edit.c         width = pn == NULL ? blocklen : pn - (char *) data;
width            1761 src/editor/edit.c                     for (l = width - (edit_get_col (edit) - col); l > 0; l -= space_width)
width            1788 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             224 src/filemanager/chattr.c     int width;
width             367 src/filemanager/chattr.c     int width;
width             369 src/filemanager/chattr.c     width = str_term_width1 (filename);
width             370 src/filemanager/chattr.c     r.cols = MAX (width, (int) check_attr_num);
width             376 src/filemanager/chattr.c     fat->filename_width = width;
width             936 src/filemanager/chattr.c             int width;
width             944 src/filemanager/chattr.c             width = 4 + str_term_width1 (check_attr[i].text);   /* "(Q) text " */
width             945 src/filemanager/chattr.c             check_attr_width = MAX (check_attr_width, width);
width             956 src/filemanager/chattr.c         chattr_but[i].width = str_term_width1 (chattr_but[i].text) + 3; /* [], spaces and w/o & */
width             958 src/filemanager/chattr.c             chattr_but[i].width += 2;   /* <> */
width            1036 src/filemanager/chattr.c         chattr_but[i].button = WIDGET (button_new (y, dw->rect.cols / 2 + 1 - chattr_but[i].width,
width             860 src/filemanager/file.c     int width_a, width_b, width;
width             866 src/filemanager/file.c     width = COLS - 8;
width             868 src/filemanager/file.c     if (width_a > width)
width             870 src/filemanager/file.c         if (width_b > width)
width             874 src/filemanager/file.c             s = g_strndup (str_trunc (a, width), width);
width             875 src/filemanager/file.c             b = str_trunc (b, width);
width             881 src/filemanager/file.c             a = str_trunc (a, width);
width             887 src/filemanager/file.c         if (width_b > width)
width             888 src/filemanager/file.c             b = str_trunc (b, width);
width             498 src/filemanager/layout.c     int l1 = 0, width;
width             559 src/filemanager/layout.c     width = max (l1 * 2 + 7, b);
width             562 src/filemanager/layout.c         dlg_create (TRUE, 0, 0, 15, width, WPOS_CENTER, FALSE, dialog_colors, layout_callback, NULL,
width             627 src/filemanager/layout.c     group_add_widget (g, button_new (12, (width - b) / 2, B_ENTER, DEFPUSH_BUTTON, ok_button, 0));
width             629 src/filemanager/layout.c                       button_new (12, (width - b) / 2 + b1 + 1, B_CANCEL, NORMAL_BUTTON,
width             449 src/filemanager/panel.c add_permission_string (const char *dest, int width, file_entry_t * fe, file_attr_t attr, int color,
width             459 src/filemanager/panel.c         l = width + l - 3;
width             469 src/filemanager/panel.c     for (i = 0; i < width; i++)
width             827 src/filemanager/panel.c format_file (WPanel * panel, int file_index, int width, file_attr_t attr, gboolean isstatus,
width             846 src/filemanager/panel.c     for (format = home; format != NULL && length != width; format = g_slist_next (format))
width             861 src/filemanager/panel.c             if (len + length > width)
width             862 src/filemanager/panel.c                 len = width - length;
width             926 src/filemanager/panel.c     if (length < width)
width             931 src/filemanager/panel.c         tty_draw_hline (y, x, ' ', width - length);
width             945 src/filemanager/panel.c     int width;
width             953 src/filemanager/panel.c     width = w->rect.cols - 2;
width             958 src/filemanager/panel.c         width /= panel->list_cols;
width             960 src/filemanager/panel.c         offset = width * nth_column;
width             963 src/filemanager/panel.c             width = w->rect.cols - offset - 2;
width             967 src/filemanager/panel.c     if (width <= 0)
width             978 src/filemanager/panel.c     ret_frm = format_file (panel, file_index, width, attr, FALSE, &fln);
width             991 src/filemanager/panel.c                 width = fln;
width             994 src/filemanager/panel.c                 offset = width - fln + 1;
width             995 src/filemanager/panel.c                 width = fln - 1;
width            1005 src/filemanager/panel.c             offset += width;
width            1021 src/filemanager/panel.c     int width;
width            1023 src/filemanager/panel.c     width = WIDGET (panel)->rect.cols - 2;
width            1024 src/filemanager/panel.c     if (width > 0)
width            1028 src/filemanager/panel.c         (void) format_file (panel, panel->current, width, FATTR_STATUS, TRUE, &fln);