Home
last modified time | relevance | path

Searched refs:child_box (Results 1 – 25 of 54) sorted by relevance

123

/dports/devel/libruin/libruin-0.2.0/src/tests/
H A Dtest-layout-white-space.c14 ruin_box_t *child_box = NULL; in test_layout_white_space_normal_simple() local
31 child_box = (ruin_box_t *) line1->children->data; in test_layout_white_space_normal_simple()
32 g_assert (child_box->type == RUIN_LAYOUT_BOX_TYPE_INLINE); in test_layout_white_space_normal_simple()
35 child_box = (ruin_box_t *) line2->children->data; in test_layout_white_space_normal_simple()
36 g_assert (child_box->type == RUIN_LAYOUT_BOX_TYPE_INLINE); in test_layout_white_space_normal_simple()
38 child_box = (ruin_box_t *) child_box->children->data; in test_layout_white_space_normal_simple()
39 inline_child_box = (ruin_inline_box_t *) child_box; in test_layout_white_space_normal_simple()
43 child_box = (ruin_box_t *) line3->children->data; in test_layout_white_space_normal_simple()
44 g_assert (child_box->type == RUIN_LAYOUT_BOX_TYPE_INLINE); in test_layout_white_space_normal_simple()
46 child_box = (ruin_box_t *) child_box->children->data; in test_layout_white_space_normal_simple()
[all …]
H A Dtest-layout.c29 ruin_box_t *child_box = NULL; in test_layout_simple_line() local
42 g_assert_cmpint (4, ==, child_box->width.used); in test_layout_simple_line()
43 inline_child_box = (ruin_inline_box_t *) child_box; in test_layout_simple_line()
48 ruin_box_t *child_box = NULL; in test_layout_style_letter_spacing() local
57 g_assert_cmpint (7, ==, child_box->width.used); in test_layout_style_letter_spacing()
62 ruin_box_t *child_box = NULL; in test_layout_style_word_spacing() local
71 g_assert_cmpint (10, ==, child_box->width.used); in test_layout_style_word_spacing()
76 ruin_box_t *child_box = NULL; in test_layout_style_white_space_normal() local
85 g_assert_cmpint (9, ==, child_box->width.used); in test_layout_style_white_space_normal()
90 ruin_box_t *child_box = NULL; in test_layout_style_white_space_pre() local
[all …]
/dports/www/kannel/gateway-1.4.4/utils/
H A Drun_kannel_box.c76 static pid_t child_box; /* used in main_loop, available to signal handlers */ variable
223 if (child_box > 0) { in signal_transfer()
224 kill(child_box, signum); in signal_transfer()
234 if (child_box > 0) { in signal_transfer_and_die()
235 kill(child_box, signum); in signal_transfer_and_die()
281 child_box = fork(); in main_loop()
282 if (child_box < 0) { in main_loop()
285 if (child_box == 0) { in main_loop()
291 while (waitpid(child_box, (int *)NULL, 0) != child_box) { in main_loop()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/
H A Dcolumn_balancer.cc73 const LayoutBox& child_box = ToLayoutBox(*child); in TraverseChildren() local
76 LayoutUnit logical_top = child_box.LogicalTop(); in TraverseChildren()
82 if (child_box.IsFloating()) { in TraverseChildren()
84 LayoutUnit margin_after = child_box.MarginAfter(object.Style()); in TraverseChildren()
106 if (child_box.IsOutOfFlowPositioned() || child_box.IsColumnSpanAll()) in TraverseChildren()
112 child_box.IsTableRow() ? LayoutUnit() : logical_top; in TraverseChildren()
120 ExamineBoxAfterEntering(child_box, logical_height, in TraverseChildren()
124 auto* chlid_block_flow = DynamicTo<LayoutBlockFlow>(child_box); in TraverseChildren()
132 TraverseSubtree(child_box); in TraverseChildren()
135 previous_break_after_value = child_box.BreakAfter(); in TraverseChildren()
[all …]
H A Dlayout_table_row.cc88 for (LayoutBox* child_box = FirstChildBox(); child_box; in StyleDidChange() local
89 child_box = child_box->NextSiblingBox()) { in StyleDidChange()
90 if (!child_box->IsTableCell()) in StyleDidChange()
94 child_box->SetChildNeedsLayout(); in StyleDidChange()
95 child_box->SetIntrinsicLogicalWidthsDirty(kMarkOnlyThis); in StyleDidChange()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/
H A Dcolumn_balancer.cc73 const auto& child_box = To<LayoutBox>(*child); in TraverseChildren() local
76 LayoutUnit logical_top = child_box.LogicalTop(); in TraverseChildren()
82 if (child_box.IsFloating()) { in TraverseChildren()
106 if (child_box.IsOutOfFlowPositioned() || child_box.IsColumnSpanAll()) in TraverseChildren()
112 child_box.IsLegacyTableRow() ? LayoutUnit() : logical_top; in TraverseChildren()
120 ExamineBoxAfterEntering(child_box, logical_height, in TraverseChildren()
124 auto* child_block_flow = DynamicTo<LayoutBlockFlow>(child_box); in TraverseChildren()
125 if (child_box.GetLegacyPaginationBreakability() != in TraverseChildren()
133 TraverseSubtree(child_box); in TraverseChildren()
136 previous_break_after_value = child_box.BreakAfter(); in TraverseChildren()
[all …]
H A Dlayout_table_row.cc103 for (LayoutBox* child_box = FirstChildBox(); child_box; in StyleDidChange() local
104 child_box = child_box->NextSiblingBox()) { in StyleDidChange()
105 if (!child_box->IsTableCell()) in StyleDidChange()
109 child_box->SetChildNeedsLayout(); in StyleDidChange()
110 child_box->SetIntrinsicLogicalWidthsDirty(kMarkOnlyThis); in StyleDidChange()
/dports/x11/cinnamon/cinnamon-4.8.6/src/
H A Dcinnamon-slicer.c96 ClutterActorBox child_box; in cinnamon_slicer_paint_child() local
112 clutter_actor_get_allocation_box (child, &child_box); in cinnamon_slicer_paint_child()
116 child_width = child_box.x2 - child_box.x1; in cinnamon_slicer_paint_child()
117 child_height = child_box.y2 - child_box.y1; in cinnamon_slicer_paint_child()
/dports/devel/libruin/libruin-0.2.0/src/
H A Dlayout.c345 child_box->parent = bc; in split_inline_overflow()
399 b->width.used += child_box->width.used; in layout_inline()
404 else left += child_box->width.used; in layout_inline()
455 child_box->parent = current_line; in layout_line()
497 offer_left += child_box->width.used; in layout_line()
573 offer_top += MAX (get_total_height (child_box), in layout_block_children()
582 layout_line (child_box, offer_top, offer_left); in layout_block_children()
585 offer_top += get_total_height (child_box); in layout_block_children()
591 child_box = (ruin_box_t *) child_ptr->data; in layout_block_children()
596 offer_top += get_total_height (child_box); in layout_block_children()
[all …]
/dports/x11/gnome-shell/gnome-shell-41.1/src/st/
H A Dst-scroll-view.c546 ClutterActorBox content_box, child_box; in st_scroll_view_allocate() local
645 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
651 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
653 child_box.y1 = content_box.y1; in st_scroll_view_allocate()
662 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
666 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
669 child_box.y1 = content_box.y2 - sb_height; in st_scroll_view_allocate()
670 child_box.y2 = content_box.y2; in st_scroll_view_allocate()
693 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
697 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
[all …]
H A Dst-entry.c407 ClutterActorBox content_box, child_box, icon_box, hint_box; in st_entry_allocate() local
433 child_box.x1 = content_box.x1; in st_entry_allocate()
434 child_box.x2 = content_box.x2; in st_entry_allocate()
450 child_box.x1 = MIN (child_box.x2, child_box.x1 + icon_w + priv->spacing); in st_entry_allocate()
467 child_box.x2 = MAX (child_box.x1, child_box.x2 - icon_w - priv->spacing); in st_entry_allocate()
473 hint_box = child_box; in st_entry_allocate()
478 hint_w = CLAMP (hint_w, hint_min_w, child_box.x2 - child_box.x1); in st_entry_allocate()
491 clutter_actor_get_preferred_height (priv->entry, child_box.x2 - child_box.x1, in st_entry_allocate()
496 child_box.y1 = (int) (content_box.y1 + avail_h / 2 - entry_h / 2); in st_entry_allocate()
497 child_box.y2 = child_box.y1 + entry_h; in st_entry_allocate()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/ng/
H A Dng_physical_container_fragment.cc105 if (const NGPhysicalBoxFragment* child_box = item.BoxFragment()) { in AddOutlineRectsForNormalChildren() local
106 DCHECK(!child_box->IsOutOfFlowPositioned()); in AddOutlineRectsForNormalChildren()
108 {child_box, item.OffsetInContainerBlock()}, outline_rects, in AddOutlineRectsForNormalChildren()
180 if (const NGPhysicalBoxFragment* child_box = item->BoxFragment()) { in AddScrollableOverflowForInlineChild() local
182 if (child_box->IsInlineBox()) { in AddScrollableOverflowForInlineChild()
183 child_box->AddScrollableOverflowForInlineChild( in AddScrollableOverflowForInlineChild()
186 child_box->AdjustScrollableOverflowForPropagation( in AddScrollableOverflowForInlineChild()
190 child_box->ScrollableOverflowForPropagation(container); in AddScrollableOverflowForInlineChild()
194 ComputeRelativeOffset(child_box->Style(), container_writing_mode, in AddScrollableOverflowForInlineChild()
/dports/x11/cinnamon/cinnamon-4.8.6/src/st/
H A Dst-scroll-view.c652 ClutterActorBox content_box, child_box; in st_scroll_view_allocate() local
746 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
752 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
754 child_box.y1 = content_box.y1; in st_scroll_view_allocate()
766 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
770 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
774 child_box.y2 = content_box.y2; in st_scroll_view_allocate()
791 child_box.x2 = content_box.x2; in st_scroll_view_allocate()
795 child_box.x1 = content_box.x1; in st_scroll_view_allocate()
798 child_box.y1 = content_box.y1; in st_scroll_view_allocate()
[all …]
H A Dst-entry.c387 ClutterActorBox content_box, child_box, icon_box; in st_entry_allocate() local
397 child_box.x1 = content_box.x1; in st_entry_allocate()
398 child_box.x2 = content_box.x2; in st_entry_allocate()
418 child_box.x1 = MIN (child_box.x2, child_box.x1 + icon_w + priv->spacing); in st_entry_allocate()
439 child_box.x2 = MAX (child_box.x1, child_box.x2 - icon_w - priv->spacing); in st_entry_allocate()
442 clutter_actor_get_preferred_height (priv->entry, child_box.x2 - child_box.x1, in st_entry_allocate()
447 child_box.y1 = (int) (content_box.y1 + avail_h / 2 - entry_h / 2); in st_entry_allocate()
448 child_box.y2 = child_box.y1 + entry_h; in st_entry_allocate()
450 clutter_actor_allocate (priv->entry, &child_box, flags); in st_entry_allocate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/ng/
H A Dng_physical_container_fragment.cc163 if (const NGPhysicalBoxFragment* child_box = in AddOutlineRectsForNormalChildren() local
165 DCHECK(!child_box->IsOutOfFlowPositioned()); in AddOutlineRectsForNormalChildren()
167 {child_box, item.OffsetInContainerBlock()}, outline_rects, in AddOutlineRectsForNormalChildren()
248 if (const NGPhysicalBoxFragment* child_box = in AddScrollableOverflowForInlineChild() local
252 (child_box->BoxType() != kInlineBox && !IsRubyBox())) in AddScrollableOverflowForInlineChild()
254 if (child_box->IsInlineBox()) { in AddScrollableOverflowForInlineChild()
255 child_box->AddScrollableOverflowForInlineChild( in AddScrollableOverflowForInlineChild()
258 child_box->AdjustScrollableOverflowForPropagation( in AddScrollableOverflowForInlineChild()
267 child_box->ScrollableOverflowForPropagation(container, height_type); in AddScrollableOverflowForInlineChild()
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/examples/
H A Dcb-button.c208 ClutterActorBox child_box = { 0, }; in cb_button_allocate() local
221 child_box.x1 = 0.0; in cb_button_allocate()
222 child_box.y1 = 0.0; in cb_button_allocate()
223 child_box.x2 = clutter_actor_box_get_width (box); in cb_button_allocate()
224 child_box.y2 = clutter_actor_box_get_height (box); in cb_button_allocate()
226 clutter_actor_allocate (priv->child, &child_box, flags); in cb_button_allocate()
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/html/examples/
H A Dcb-button.c208 ClutterActorBox child_box = { 0, }; in cb_button_allocate() local
221 child_box.x1 = 0.0; in cb_button_allocate()
222 child_box.y1 = 0.0; in cb_button_allocate()
223 child_box.x2 = clutter_actor_box_get_width (box); in cb_button_allocate()
224 child_box.y2 = clutter_actor_box_get_height (box); in cb_button_allocate()
226 clutter_actor_allocate (priv->child, &child_box, flags); in cb_button_allocate()
/dports/multimedia/totem/totem-3.38.2/src/backend/
H A Dtotem-aspect-frame.c238 ClutterActorBox child_box; in totem_aspect_frame_allocate() local
272 child_box.x1 = (box_width - width) / 2; in totem_aspect_frame_allocate()
273 child_box.y1 = (box_height - height) / 2; in totem_aspect_frame_allocate()
274 child_box.x2 = child_box.x1 + width; in totem_aspect_frame_allocate()
275 child_box.y2 = child_box.y1 + height; in totem_aspect_frame_allocate()
277 clutter_actor_allocate (child, &child_box, flags); in totem_aspect_frame_allocate()
/dports/multimedia/cheese/cheese-41.1/libcheese/
H A Dtotem-aspect-frame.c237 ClutterActorBox child_box; in totem_aspect_frame_allocate() local
271 child_box.x1 = (box_width - width) / 2; in totem_aspect_frame_allocate()
272 child_box.y1 = (box_height - height) / 2; in totem_aspect_frame_allocate()
273 child_box.x2 = child_box.x1 + width; in totem_aspect_frame_allocate()
274 child_box.y2 = child_box.y1 + height; in totem_aspect_frame_allocate()
276 clutter_actor_allocate (child, &child_box, flags); in totem_aspect_frame_allocate()
/dports/x11/gnome-shell/gnome-shell-41.1/src/
H A Dshell-window-preview-layout.c148 ClutterActorBox child_box = { 0, }; in shell_window_preview_layout_allocate() local
163 clutter_actor_box_set_origin (&child_box, in shell_window_preview_layout_allocate()
170 clutter_actor_box_set_size (&child_box, child_nat_width, child_nat_height); in shell_window_preview_layout_allocate()
172 child_box.x1 *= scale_x; in shell_window_preview_layout_allocate()
173 child_box.x2 *= scale_x; in shell_window_preview_layout_allocate()
174 child_box.y1 *= scale_y; in shell_window_preview_layout_allocate()
175 child_box.y2 *= scale_y; in shell_window_preview_layout_allocate()
177 clutter_actor_allocate (child, &child_box); in shell_window_preview_layout_allocate()
/dports/graphics/clutter/clutter-1.26.4/tests/interactive/
H A Dtest-layout.c294 ClutterActorBox child_box; in my_thing_allocate() local
311 child_box.x1 = current_x; in my_thing_allocate()
312 child_box.y1 = current_y; in my_thing_allocate()
313 child_box.x2 = child_box.x1 + natural_width; in my_thing_allocate()
314 child_box.y2 = child_box.y1 + natural_height; in my_thing_allocate()
316 clutter_actor_allocate (child, &child_box, flags); in my_thing_allocate()
/dports/x11-wm/mutter/mutter-41.1/src/tests/clutter/interactive/
H A Dtest-layout.c303 ClutterActorBox child_box; in my_thing_allocate() local
320 child_box.x1 = current_x; in my_thing_allocate()
321 child_box.y1 = current_y; in my_thing_allocate()
322 child_box.x2 = child_box.x1 + natural_width; in my_thing_allocate()
323 child_box.y2 = child_box.y1 + natural_height; in my_thing_allocate()
325 clutter_actor_allocate (child, &child_box); in my_thing_allocate()
/dports/x11-wm/muffin/muffin-4.8.0/clutter/tests/interactive/
H A Dtest-layout.c294 ClutterActorBox child_box; in my_thing_allocate() local
311 child_box.x1 = current_x; in my_thing_allocate()
312 child_box.y1 = current_y; in my_thing_allocate()
313 child_box.x2 = child_box.x1 + natural_width; in my_thing_allocate()
314 child_box.y2 = child_box.y1 + natural_height; in my_thing_allocate()
316 clutter_actor_allocate (child, &child_box, flags); in my_thing_allocate()
/dports/multimedia/audacious/audacious-4.1/src/libaudgui/
H A Dprefs-widget.cc421 GtkWidget * widget = nullptr, * child_box = nullptr; in audgui_create_widgets_with_domain() local
434 if (! child_box) in audgui_create_widgets_with_domain()
436 child_box = gtk_vbox_new (false, 0); in audgui_create_widgets_with_domain()
437 g_object_set_data ((GObject *) widget, "child", child_box); in audgui_create_widgets_with_domain()
442 gtk_container_add ((GtkContainer *) alignment, child_box); in audgui_create_widgets_with_domain()
445 gtk_widget_set_sensitive (child_box, false); in audgui_create_widgets_with_domain()
449 child_box = nullptr; in audgui_create_widgets_with_domain()
453 gtk_box_pack_start ((GtkBox *) (child_box ? child_box : box), alignment, false, false, 0); in audgui_create_widgets_with_domain()
/dports/graphics/clutter-gtk3/clutter-gtk-1.8.4/clutter-gtk/
H A Dgtk-clutter-actor.c313 ClutterActorBox child_box; in gtk_clutter_actor_allocate() local
378 child_box.x1 = child_box.y1 = 0.f; in gtk_clutter_actor_allocate()
379 child_box.x2 = clutter_actor_box_get_width (box); in gtk_clutter_actor_allocate()
380 child_box.y2 = clutter_actor_box_get_height (box); in gtk_clutter_actor_allocate()
383 clutter_actor_allocate (priv->texture, &child_box, flags); in gtk_clutter_actor_allocate()

123