/dports/textproc/R-cran-stringi/stringi/src/ |
H A D | stri_sprintf.cpp | 449 min_width = STRI_SPRINTF_NOT_PROVIDED; in StriSprintfFormatSpec() 546 f.append(std::to_string(min_width)); in getFormatString() 563 if (min_width == NA_INTEGER) in normalise() 567 else if (min_width == 0) in normalise() 568 min_width = STRI_SPRINTF_NOT_PROVIDED; in normalise() 569 else if (min_width < 0) { in normalise() 570 min_width = -min_width; in normalise() 627 STRI_ASSERT(min_width > 0); in formatDatum() 637 if (datum_size < min_width) { in formatDatum() 663 R_len_t bufsize = std::max(0, min_width); in preformatDatum_doxX() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/ui/tk/util/ |
H A D | LSPSizeConstraints.cpp | 145 …void LSPSizeConstraints::set(ssize_t min_width, ssize_t min_height, ssize_t max_width, ssize_t max… in set() argument 147 if ((sSize.nMinWidth == min_width) && (sSize.nMaxHeight == max_width) && in set() 151 sSize.nMinWidth = min_width; in set() 159 if (((min_width >= 0) && (width < min_width)) || in set() 166 void LSPSizeConstraints::set_min(ssize_t min_width, ssize_t min_height) in set_min() argument 168 if ((sSize.nMinWidth == min_width) && in set_min() 172 sSize.nMinWidth = min_width; in set_min() 178 if (((min_width >= 0) && (width < min_width)) || in set_min()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/edit_phototexturing/src/QuadTree/ |
H A D | QuadTreeNode.cpp | 63 void QuadTreeNode::buildQuadTree(QList<QuadTreeLeaf*> *list, double min_width, double min_height){ in buildQuadTree() argument 65 buildQuadTree(list,min_width, min_height,MAX_LEAFS,MAX_DEPTH); in buildQuadTree() 67 void QuadTreeNode::buildQuadTree(QList<QuadTreeLeaf*> *list, double min_width, double min_height, i… in buildQuadTree() argument 69 if(list->size()> max_leafs && max_depth>=0 && qw/2.0 > min_width && qh/2.0>min_height){ in buildQuadTree() 101 qchildren[0]->buildQuadTree(q0list, min_width, min_height, max_leafs,max_depth-1); in buildQuadTree() 102 qchildren[1]->buildQuadTree(q1list, min_width, min_height, max_leafs,max_depth-1); in buildQuadTree() 103 qchildren[2]->buildQuadTree(q2list, min_width, min_height, max_leafs,max_depth-1); in buildQuadTree() 104 qchildren[3]->buildQuadTree(q3list, min_width, min_height, max_leafs,max_depth-1); in buildQuadTree()
|
/dports/textproc/p5-String-Format/String-Format-1.18/ |
H A D | Format.pm | 30 my ($args, $orig, $alignment, $min_width, 47 $min_width ||= $replength; 51 if (($replength > $min_width) && ($replength < $max_width)) { 63 return $replacement . " " x ($min_width - $replength); 67 return " " x ($min_width - $replength) . $replacement;
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/util/ |
H A D | int_util_test.cc | 35 for (const uint8_t min_width : all_widths) { in CheckUIntWidth() local 38 ASSERT_EQ(width, std::max(min_width, expected_width)); in CheckUIntWidth() 40 min_width); in CheckUIntWidth() 41 ASSERT_EQ(width, std::max(min_width, expected_width)); in CheckUIntWidth() 48 for (const uint8_t min_width : all_widths) { in CheckUIntWidth() local 51 ASSERT_EQ(width, std::max(min_width, expected_width)); in CheckUIntWidth() 57 for (const uint8_t min_width : all_widths) { in CheckIntWidth() local 60 ASSERT_EQ(width, std::max(min_width, expected_width)); in CheckIntWidth() 62 min_width); in CheckIntWidth() 63 ASSERT_EQ(width, std::max(min_width, expected_width)); in CheckIntWidth() [all …]
|
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/dompdf/src/FrameReflower/ |
H A D | Image.php | 146 if ($style->min_width !== "none" || 154 $min_width = $style->length_in_pt($style->min_width, $w); 167 if ($min_width !== "none" && $width < $min_width) { 169 $height *= $min_width / $width; 172 $width = $min_width; 199 $style->min_width = "none";
|
/dports/multimedia/kvazaar/kvazaar-2.1.0/tools/ |
H A D | generate_ref_pixel_tables.py | 47 def make_z_order_table(width, coord = None, zid=0, min_width=4, result=None): argument 62 num_pu = width / min_width 66 if offset >= min_width: 70 num_pu = offset**2 / min_width**2 72 zid + num * num_pu, min_width, result) 74 pu = coord / min_width
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/testsuite/gtk/ |
H A D | grid-layout.c | 31 int min_width; member 127 child1->min_width = 10; in test_simple_row() 132 child2->min_width = 20; in test_simple_row() 137 child3->min_width = 30; in test_simple_row() 220 child1->min_width = 10; in test_simple_column() 225 child2->min_width = 20; in test_simple_column() 230 child3->min_width = 30; in test_simple_column() 325 child1->min_width = 10; in test_spans() 330 child2->min_width = 20; in test_spans() 335 child3->min_width = 30; in test_spans() [all …]
|
H A D | revealer-size.c | 12 int min_height, min_width; in keep_size() local 33 &min_width, NULL, NULL, NULL); in keep_size() 37 g_assert_cmpint (min_width, ==, min_child_width); in keep_size() 43 &min_width, NULL, NULL, NULL); in keep_size() 48 g_assert_cmpint (min_width, ==, min_child_width); in keep_size() 50 g_assert_cmpint (min_width, ==, 0); in keep_size()
|
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/ |
H A D | WindowState.cc | 105 max_width > min_width || max_height > min_height; in isResizable() 110 min_width = sizehint.min_width; in reset() 113 min_width = min_height = 1; in reset() 119 min_width = base_width; in reset() 158 if (base_width > min_width) in reset() 159 min_width = base_width; in reset() 230 if (w + base_width < min_width) { in apply() 231 w = increaseToMultiple(min_width - base_width, width_inc); in apply() 270 if (w < min_width || h < min_height) in valid()
|
/dports/www/phpbb3/phpBB3/phpbb/files/ |
H A D | upload.php | 36 public $min_width = 0; variable in phpbb\\files\\upload 92 $this->min_width = $this->min_height = $this->max_width = $this->max_height = 0; 118 * @param int $min_width Minimum image width 125 public function set_allowed_dimensions($min_width, $min_height, $max_width, $max_height) argument 127 $this->min_width = (int) $min_width; 315 if (!$this->max_width && !$this->max_height && !$this->min_width && !$this->min_height) 322 ($file->get('width') < $this->min_width && $this->min_width) ||
|
/dports/devel/py-urwid/urwid-2.1.2/docs/examples/ |
H A D | tour.py | 146 urwid.Padding(urwid.Text(text_intro), left=2, right=2, min_width=20), 168 urwid.Padding(urwid.Text(text_edit), left=2, right=2, min_width=20), 202 min_width=20), 220 min_width=20), 231 ], 0, min_width=8), 240 ], 0, min_width=8), 269 min_width=20), 275 left=4, right=3, min_width=13), 281 left=4, right=3, min_width=10), 288 left=4, right=3, min_width=13), [all …]
|
/dports/devel/py-urwid/urwid-2.1.2/examples/ |
H A D | tour.py | 146 urwid.Padding(urwid.Text(text_intro), left=2, right=2, min_width=20), 168 urwid.Padding(urwid.Text(text_edit), left=2, right=2, min_width=20), 202 min_width=20), 220 min_width=20), 231 ], 0, min_width=8), 240 ], 0, min_width=8), 269 min_width=20), 275 left=4, right=3, min_width=13), 281 left=4, right=3, min_width=10), 288 left=4, right=3, min_width=13), [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/testsuite/gtk/ |
H A D | revealer-size.c | 12 int min_height, min_width; in keep_size() local 31 gtk_widget_get_preferred_width (GTK_WIDGET (revealer), &min_width, NULL); in keep_size() 34 g_assert_cmpint (min_width, ==, min_child_width); in keep_size() 39 gtk_widget_get_preferred_width (GTK_WIDGET (revealer), &min_width, NULL); in keep_size() 43 g_assert_cmpint (min_width, ==, min_child_width); in keep_size() 45 g_assert_cmpint (min_width, ==, 0); in keep_size()
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/views/default/entity/edit/icon/ |
H A D | crop_messages.php | 19 $min_width = (int) elgg_extract('cropper_min_width', $vars); variable 20 if ($min_width > 0) { 26 'data-min-width' => $min_width, 27 ], elgg_echo('entity:edit:icon:crop_messages:width', [$min_width]) . ' ');
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/ |
H A D | window_positioning_utils.cc | 37 const int min_width = in GetSnappedWindowWidth() local 39 return base::ClampToRange(ideal_width, min_width, work_area_width); in GetSnappedWindowWidth() 57 int min_width, in AdjustBoundsToEnsureWindowVisibility() argument 62 min_width = std::min(min_width, visible_area.width()); in AdjustBoundsToEnsureWindowVisibility() 65 if (bounds->right() < visible_area.x() + min_width) { in AdjustBoundsToEnsureWindowVisibility() 66 bounds->set_x(visible_area.x() + std::min(bounds->width(), min_width) - in AdjustBoundsToEnsureWindowVisibility() 68 } else if (bounds->x() > visible_area.right() - min_width) { in AdjustBoundsToEnsureWindowVisibility() 69 bounds->set_x(visible_area.right() - std::min(bounds->width(), min_width)); in AdjustBoundsToEnsureWindowVisibility()
|
/dports/games/flightgear-data/fgdata/Nasal/local_weather/ |
H A D | cloud_definitions.nas | 30 cloudAssembly.min_width = 500.0; 42 cloudAssembly.min_width = 600.0; 73 cloudAssembly.min_width = 400.0; 85 cloudAssembly.min_width = 800.0; 117 cloudAssembly.min_width = 600.0; 133 cloudAssembly.min_width = 1300.0; 143 cloudAssembly.min_width = 1200.0; 172 cloudAssembly.min_width = 600.0; 187 cloudAssembly.min_width = 1900.0; 215 cloudAssembly.min_width = 800.0; [all …]
|
/dports/finance/ledger/ledger-3.2.1/src/ |
H A D | format.h | 65 std::size_t min_width; member 71 : supports_flags<>(), type(STRING), min_width(0), max_width(0) { in throw() 82 min_width = elem.min_width; 99 if (elem->min_width > 0) in mark_red() 100 out.width(static_cast<std::streamsize>(elem->min_width)); in mark_red()
|
H A D | format.cc | 56 out << std::dec << int(min_width); in dump() 190 current->min_width = num; in parse_elements() 200 if (current->min_width == 0) in parse_elements() 201 current->min_width = current->max_width; in parse_elements() 218 expr << (current->min_width > 0 ? in parse_elements() 308 arg1_node->set_value(current->min_width > 0 ? in parse_elements() 344 current->min_width = 0; in parse_elements() 414 if (elem->min_width > 0) in real_calc() 434 if (elem->min_width > 0) in real_calc() 454 if (elem->max_width > 0 || elem->min_width > 0) { in real_calc() [all …]
|
/dports/x11/libX11/libX11-1.7.2/src/ |
H A D | WMGeom.c | 66 int min_width, min_height; /* valid amounts */ in XWMGeometry() local 82 ((hints->flags & PMinSize) ? hints->min_width : 0)); in XWMGeometry() 85 min_width = ((hints->flags & PMinSize) ? hints->min_width : base_width); in XWMGeometry() 118 if (rwidth < min_width) rwidth = min_width; in XWMGeometry()
|
/dports/editors/rehex/rehex-0.4.0/tests/ |
H A D | SizeTestPanel.cpp | 24 SizeTestPanel::SizeTestPanel(wxWindow *parent, int min_width, int min_height, int best_width, int b… in BEGIN_EVENT_TABLE() 27 min_width(min_width), min_height(min_height), in BEGIN_EVENT_TABLE() 31 SetMinClientSize(wxSize(min_width, min_height)); in BEGIN_EVENT_TABLE() 50 int xe = (min_width > 0 ? (min_width - 1) : (size.GetWidth() - 1)); in OnPaint()
|
/dports/comms/minicom/minicom-2.7.1/lib/ |
H A D | snprintf.c | 377 int min_width; in vsnprintf() local 449 STR_TO_DEC(fmt, min_width); in vsnprintf() 452 min_width = va_arg(ap, int); in vsnprintf() 456 if (min_width < 0) { in vsnprintf() 458 min_width = -min_width; in vsnprintf() 688 if (adjust_width && adjust == RIGHT && min_width > s_len) { in vsnprintf() 693 min_width--; in vsnprintf() 695 PAD(min_width, s_len, pad_char); in vsnprintf() 705 if (adjust_width && adjust == LEFT && min_width > s_len) in vsnprintf() 706 PAD(min_width, s_len, pad_char); in vsnprintf()
|
/dports/games/angband/Angband-4.2.2/src/ |
H A D | generate.h | 251 struct chunk *town_gen(struct player *p, int min_height, int min_width); 252 struct chunk *classic_gen(struct player *p, int min_height, int min_width); 253 struct chunk *labyrinth_gen(struct player *p, int min_height, int min_width); 255 struct chunk *cavern_gen(struct player *p, int min_height, int min_width); 256 struct chunk *modified_gen(struct player *p, int min_height, int min_width); 257 struct chunk *moria_gen(struct player *p, int min_height, int min_width); 258 struct chunk *hard_centre_gen(struct player *p, int min_height, int min_width); 259 struct chunk *lair_gen(struct player *p, int min_height, int min_width); 260 struct chunk *gauntlet_gen(struct player *p, int min_height, int min_width); 261 struct chunk *arena_gen(struct player *p, int min_height, int min_width);
|
/dports/devel/agar/agar-1.5.0/ada-gui/ |
H A D | agar-gui-widget-pane.adb | 12 min_width : c.int; 34 min_width : positive; 40 min_width => c.int (min_width),
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/ui/wx/ |
H A D | layered_panel.py | 46 min_width = Int(0) variable in LayeredPanel 96 if self.min_width != -1 or self.min_height != -1: 102 if min_size.GetWidth() > self.min_width: 103 self.min_width = min_size.GetWidth() 111 self.control.SetSizeHints(self.min_width, self.min_height)
|