Home
last modified time | relevance | path

Searched refs:max_width (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/contrib/kyua/utils/cmdline/
H A Dui.cpp172 const optional< std::size_t > max_width = screen_width(); in out_wrap() local
173 if (max_width) { in out_wrap()
175 message, max_width.get()); in out_wrap()
198 const optional< std::size_t > max_width = screen_width(); in out_tag_wrap() local
199 if (max_width && max_width.get() > tag.length()) { in out_tag_wrap()
201 message, max_width.get() - tag.length()); in out_tag_wrap()
229 const optional< std::size_t > max_width = screen_width(); in out_table() local
230 if (max_width) in out_table()
231 formatter.set_table_width(max_width.get() - prefix.length()); in out_table()
/freebsd-13.1/sys/mips/ingenic/
H A Djz4780_pdma.c375 access_width(struct xdma_request *req, uint32_t *dcm, uint32_t *max_width) in access_width() argument
379 *max_width = max(req->src_width, req->dst_width); in access_width()
409 switch (*max_width) { in access_width()
434 int max_width; in pdma_channel_request() local
475 if (access_width(req, &dcm, &max_width) != 0) { in pdma_channel_request()
482 desc->dtc = (req->block_len / max_width); in pdma_channel_request()
/freebsd-13.1/crypto/openssh/
H A Dutf8.c116 int total_width, max_width, print; in vasnmprintf() local
137 max_width = wp == NULL ? INT_MAX : *wp; in vasnmprintf()
165 total_width > max_width - width)) in vasnmprintf()
187 total_width > max_width - 4)) in vasnmprintf()
/freebsd-13.1/usr.sbin/bsdconfig/
H A Dbsdconfig126 local max_width="${max_size#*[$IFS]}"
127 f_dprintf "max_width=[%s]" "$max_width"
136 while [ $x -lt $max_width ]; do
/freebsd-13.1/sbin/geom/core/
H A Dgeom.c692 int max_width, width; in compute_tree_width_geom() local
694 max_width = width = indent + strlen(gp->lg_name); in compute_tree_width_geom()
705 if (width > max_width) in compute_tree_width_geom()
706 max_width = width; in compute_tree_width_geom()
712 return (max_width); in compute_tree_width_geom()
720 int max_width, width; in compute_tree_width() local
722 max_width = width = 0; in compute_tree_width()
729 if (width > max_width) in compute_tree_width()
730 max_width = width; in compute_tree_width()
734 return (max_width); in compute_tree_width()
/freebsd-13.1/crypto/heimdal/lib/asn1/
H A Dgen.c585 int max_width = 0; in define_asn1() local
594 if(strlen(m->name) > max_width) in define_asn1()
595 max_width = strlen(m->name); in define_asn1()
597 max_width += 3; in define_asn1()
598 if(max_width < 16) max_width = 16; in define_asn1()
600 int width = max_width; in define_asn1()
/freebsd-13.1/contrib/ee/
H A Dee.c3344 int max_width, max_height; local
3364 max_width = 0;
3368 max_width = length;
3370 max_width += 3;
3371 max_width = max(max_width, strlen(menu_cancel_msg));
3372 max_width = max(max_width, max(strlen(more_above_str), strlen(more_below_str)));
3373 max_width += 6;
3380 if (max_width > COLS)
3414 x_off = (COLS - max_width) / 2;
3499 paint_menu(menu_list, max_width, max_height,
[all …]
/freebsd-13.1/stand/efi/loader/
H A Dframebuffer.c730 int height, max_height, max_width, width; in gop_autoresize() local
733 efi_get_max_resolution(&max_width, &max_height); in gop_autoresize()
743 if ((max_width != 0 && width > max_width) || in gop_autoresize()
/freebsd-13.1/contrib/kyua/utils/text/
H A Dtable.cpp120 const text::widths_vector::value_type max_width = std::max( in refill_widths() local
132 widths[refill_column] = max_width - width; in refill_widths()
/freebsd-13.1/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c784 uint32_t max_width = get_max_width(mad_get_field(port->info, 0, in get_max_msg() local
788 if ((max_width & mad_get_field(port->info, 0, in get_max_msg()
794 buf, 64, &max_width)); in get_max_msg()
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_fb_helper.c1340 width = dev->mode_config.max_width; in drm_setup_crtcs()
1425 dev->mode_config.max_width, in drm_fb_helper_initial_config()
1457 u32 max_width, max_height, bpp_sel; in drm_fb_helper_hotplug_event() local
1479 max_width = fb_helper->fb->width; in drm_fb_helper_hotplug_event()
1483 count = drm_fb_helper_probe_connector_modes(fb_helper, max_width, in drm_fb_helper_hotplug_event()
H A Ddrm_mode.h109 __u32 min_width, max_width; member
H A Ddrm_crtc.h454 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
788 int max_width, max_height; member
H A Ddrm_crtc.c1264 card_res->max_width = dev->mode_config.max_width; in drm_mode_getresources()
1504 dev->mode_config.max_width, in drm_mode_getconnector()
2166 if ((config->min_width > r.width) || (r.width > config->max_width)) in drm_mode_addfb()
2345 if ((config->min_width > r->width) || (r->width > config->max_width)) { in drm_mode_addfb2()
2347 r->width, config->min_width, config->max_width); in drm_mode_addfb2()
/freebsd-13.1/cddl/usr.sbin/dwatch/
H A Ddwatch482 local max_width="${max_size#*[$IFS]}"
488 while [ $x -lt $max_width ]; do
/freebsd-13.1/usr.sbin/bsdinstall/scripts/
H A Dauto114 local max_width=$(( $width - 3 - $plen ))
H A Dzfsboot444 if [ $line_width -gt $max_width ]; then
/freebsd-13.1/sys/arm/nvidia/drm2/
H A Dtegra_host1x.c203 drm_dev->mode_config.max_width = 4096; in host1x_drm_load()
/freebsd-13.1/sys/dev/atkbdc/
H A Dpsm.c205 int max_width; member
546 SYNAPTICS_SYSCTL_MAX_WIDTH = SYN_OFFSET(max_width),
3753 (sc->synhw.capPalmDetect && f->w <= sc->syninfo.max_width) ||
4149 int max_width, max_pressure; local
4166 max_width = sc->syninfo.max_width;
5907 sc->syninfo.max_width = 10;
7202 sc->syninfo.max_width = 7;
/freebsd-13.1/contrib/dialog/
H A Dutil.c1211 int max_width = max_x; in auto_size_preformatted() local
1234 while (car < ar && max_x < max_width) { in auto_size_preformatted()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c1949 max_width(zpool_handle_t *zhp, nvlist_t *nv, int depth, int max, in max_width() function
1966 if ((ret = max_width(zhp, child[c], depth + 2, in max_width()
1974 if ((ret = max_width(zhp, child[c], depth + 2, in max_width()
1982 if ((ret = max_width(zhp, child[c], depth + 2, in max_width()
3041 cb.cb_namewidth = max_width(NULL, nvroot, 0, strlen(name), in show_import()
5005 max_width(zhp, nvroot, 0, min_width, flags)); in get_namewidth()
8530 cbp->cb_namewidth = max_width(zhp, nvroot, 0, 0, in status_callback()
/freebsd-13.1/sys/contrib/v4l/
H A Dvideodev2.h415 __u32 max_width; /* Maximum frame width [pixel] */ member
/freebsd-13.1/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.c278 enum ntb_width max_width) in amd_ntb_link_enable() argument