Home
last modified time | relevance | path

Searched refs:constraints (Results 1 – 25 of 808) sorted by relevance

12345678910>>...33

/third_party/boost/tools/build/src/util/
Dorder.py52 constraints = self.__eliminate_unused_constraits (objects)
62 if self.__has_no_dependents (obj, constraints):
80 constraints = self.__remove_satisfied (constraints, obj)
100 def __has_no_dependents (self, obj, constraints): argument
105 while constraints and not failed:
106 c = constraints [0]
111 constraints = constraints [1:]
115 def __remove_satisfied (self, constraints, obj): argument
117 for c in constraints:
Dorder.jam41 # Given a list of objects, reorder them so that the constraints specified by
54 local constraints = [ eliminate-unused-constraits $(objects) ] ;
65 if [ has-no-dependents $(obj) : $(constraints) ]
85 # Remove all constraints where 'obj' comes first, since they are
87 constraints = [ remove-satisfied $(constraints) : $(obj) ] ;
99 # Eliminate constraints which mention objects not in 'objects'. In
105 for local c in $(.constraints)
118 rule has-no-dependents ( obj : constraints * )
121 while $(constraints) && ! $(failed)
123 local c = $(constraints[1]) ;
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dsliver_padding.dart88 assert(constraints != null);
89 assert(constraints.axisDirection != null);
90 assert(constraints.growthDirection != null);
92 …switch (applyGrowthDirectionToAxisDirection(constraints.axisDirection, constraints.growthDirection…
110 assert(constraints != null);
111 assert(constraints.axisDirection != null);
112 assert(constraints.growthDirection != null);
114 …switch (applyGrowthDirectionToAxisDirection(constraints.axisDirection, constraints.growthDirection…
134 assert(constraints != null);
135 assert(constraints.axis != null);
[all …]
Dsliver_fill.dart44 double get itemExtent => constraints.viewportMainAxisExtent * viewportFraction;
61 double get _padding => (1.0 - viewportFraction) * constraints.viewportMainAxisExtent * 0.5;
80 SliverConstraints constraints, {
88 constraints,
146 double extent = constraints.viewportMainAxisExtent - constraints.precedingScrollExtent;
147 double maxExtent = constraints.remainingPaintExtent - math.min(constraints.overlap, 0.0);
153 constraints.asBoxConstraints(
160 child.layout(constraints.asBoxConstraints(), parentUsesSize: true);
162 switch (constraints.axis) {
170 …if (constraints.precedingScrollExtent > constraints.viewportMainAxisExtent || childExtent > extent)
[all …]
Dshifted_box.dart94 /// When passing layout constraints to its child, padding shrinks the
95 /// constraints by the given padding, causing the child to layout at a smaller
199 size = constraints.constrain(Size(
205 final BoxConstraints innerConstraints = constraints.deflate(_resolvedPadding);
209 size = constraints.constrain(Size(
388 final bool shrinkWrapWidth = _widthFactor != null || constraints.maxWidth == double.infinity;
389 final bool shrinkWrapHeight = _heightFactor != null || constraints.maxHeight == double.infinity;
392 child.layout(constraints.loosen(), parentUsesSize: true);
393 …size = constraints.constrain(Size(shrinkWrapWidth ? child.size.width * (_widthFactor ?? 1.0) : dou…
397 size = constraints.constrain(Size(shrinkWrapWidth ? 0.0 : double.infinity,
[all …]
Dsliver_persistent_header.dart65 assert(constraints.axis != null);
66 switch (constraints.axis) {
113 /// (which need not match the offset given by the [constraints]) and the
123 invokeLayoutCallback<SliverConstraints>((SliverConstraints constraints) {
124 assert(constraints == this.constraints);
142 constraints.asBoxConstraints(maxExtent: math.max(minExtent, maxExtent - shrinkOffset)),
150 /// For example, if the [constraints] describe this sliver as having an axis
154 /// negative. On the other hand, if the [constraints] describe this sliver as
188 assert(constraints.axisDirection != null);
189 …switch (applyGrowthDirectionToAxisDirection(constraints.axisDirection, constraints.growthDirection…
[all …]
Dlist_body.dart69 if (!constraints.hasBoundedWidth)
73 if (!constraints.hasBoundedHeight)
88 if (constraints.hasBoundedHeight)
92 if (constraints.hasBoundedWidth)
114 … final BoxConstraints innerConstraints = BoxConstraints.tightFor(height: constraints.maxHeight);
123 size = constraints.constrain(Size(mainAxisExtent, constraints.maxHeight));
126 … final BoxConstraints innerConstraints = BoxConstraints.tightFor(height: constraints.maxHeight);
143 size = constraints.constrain(Size(mainAxisExtent, constraints.maxHeight));
146 final BoxConstraints innerConstraints = BoxConstraints.tightFor(width: constraints.maxWidth);
155 size = constraints.constrain(Size(constraints.maxWidth, mainAxisExtent));
[all …]
/third_party/boost/boost/gil/concepts/
Dpixel_iterator.hpp52 void constraints() in constraints() function
64 void constraints() in constraints() function
77 void constraints() in constraints() function
93 void constraints() in constraints() function
112 void constraints() in constraints() function
139 void constraints() in constraints() function
172 void constraints() in constraints() function
211 void constraints() in constraints() function
238 void constraints() in constraints() function
259 void constraints() in constraints() function
[all …]
Dbasic.hpp45 void constraints() in constraints() function
64 void constraints() in constraints() function
83 void constraints() in constraints() function
102 void constraints() in constraints() function
120 void constraints() in constraints() function
143 void constraints() in constraints() function
165 void constraints() in constraints() function
180 void constraints() in constraints() function
Dpixel.hpp65 void constraints() in constraints() function
103 void constraints() in constraints() function
125 void constraints() in constraints() function
150 void constraints() in constraints() function
172 void constraints() in constraints() function
190 void constraints() in constraints() function
258 void constraints() in constraints() function
279 void constraints() in constraints() function
Dchannel.hpp76 void constraints() in constraints() function
100 void constraints() in constraints() function
120 void constraints() in constraints() function
135 void constraints() in constraints() function
175 void constraints() in constraints() function
195 void constraints() in constraints() function
Dimage_view.hpp105 void constraints() in constraints() function
223 void constraints() in constraints() function
276 void constraints() in constraints() function
315 void constraints() in constraints() function
338 void constraints() in constraints() function
377 void constraints() in constraints() function
398 void constraints() in constraints() function
437 void constraints() in constraints() function
452 void constraints() in constraints() function
472 void constraints() in constraints() function
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dbox_constraints_test.dart16 const BoxConstraints constraints = BoxConstraints(
22 BoxConstraints copy = constraints.copyWith();
23 expect(copy, equals(constraints));
24 copy = constraints.copyWith(
34 expect(copy, isNot(equals(constraints)));
35 expect(copy.hashCode, isNot(equals(constraints.hashCode)));
39 const BoxConstraints constraints = BoxConstraints(
45 BoxConstraints copy = constraints * 2.0;
50 expect(copy / 2.0, equals(constraints));
51 copy = constraints ~/ 2.0;
[all …]
Dconstraints_test.dart11 test('RenderFractionallySizedBox constraints', () {
39 …const BoxConstraints constraints = BoxConstraints(minWidth: double.nan, maxWidth: double.nan, minH…
40 assert(constraints.debugAssertIsValid());
46 'The offending constraints were:\n'
52 const BoxConstraints constraints = BoxConstraints(minHeight: double.nan);
53 assert(constraints.debugAssertIsValid());
59 'The offending constraints were:\n'
65 const BoxConstraints constraints = BoxConstraints(minHeight: double.nan, maxWidth: 0.0/0.0);
66 assert(constraints.debugAssertIsValid());
72 'The offending constraints were:\n'
Dimage_test.dart77 constraints: const BoxConstraints(
91 ' constraints: BoxConstraints(25.0<=w<=100.0, 25.0<=h<=100.0)\n'
102 constraints: const BoxConstraints(
112 constraints: const BoxConstraints(
122 constraints: const BoxConstraints(
132 constraints: const BoxConstraints(
142 constraints: const BoxConstraints(
152 constraints: const BoxConstraints(
162 constraints: const BoxConstraints(
172 constraints: const BoxConstraints(
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dcontainer.dart55 /// the [child], to honor the `width`, `height`, and [constraints], to expand to
60 /// If the widget has no child, no `height`, no `width`, no [constraints],
61 /// and the parent provides unbounded constraints, then [Container] tries to
65 /// [constraints] are provided, then the [Container] tries to be as small as
66 /// possible given the combination of those constraints and the parent's
67 /// constraints.
69 /// If the widget has no child, no `height`, no `width`, no [constraints], and
70 /// no [alignment], but the parent provides bounded constraints, then
71 /// [Container] expands to fit the constraints provided by the parent.
74 /// constraints, then the [Container] tries to size itself around the child.
[all …]
/third_party/boost/libs/poly_collection/test/
Dtest_comparison.cpp39 constraints<is_not_equality_comparable>, in test_comparison()
54 constraints<is_not_equality_comparable>, in test_comparison()
68 constraints<is_not_equality_comparable>, in test_comparison()
72 constraints<is_not_equality_comparable>, in test_comparison()
89 constraints<is_not_equality_comparable>, in test_comparison()
93 constraints<is_not_equality_comparable>, in test_comparison()
108 constraints<is_not_equality_comparable>, in test_comparison()
112 constraints<is_equality_comparable,is_copy_constructible>, in test_comparison()
128 constraints<is_equality_comparable,is_copy_constructible>, in test_comparison()
/third_party/flutter/flutter/examples/layers/rendering/src/
Dsector_layout.dart61 SectorConstraints constraints, {
66 deltaRadius: constraints.constrainDeltaRadius(deltaRadius),
67 deltaTheta: constraints.constrainDeltaTheta(deltaTheta),
105 SectorDimensions getIntrinsicDimensions(SectorConstraints constraints, double radius) {
106 return SectorDimensions.withConstraints(constraints);
110 SectorConstraints get constraints => super.constraints;
114 assert(constraints != null);
119 assert(constraints.minDeltaRadius <= deltaRadius);
120 assert(deltaRadius <= math.max(constraints.minDeltaRadius, constraints.maxDeltaRadius));
121 assert(constraints.minDeltaTheta <= deltaTheta);
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dkeep_alive_test.dart214 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
224 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
230 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
240 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
248 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
256 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
263 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
271 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
277 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
285 ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n'
[all …]
Dcontainer_test.dart20 constraints: const BoxConstraints(
59 ' │ constraints: BoxConstraints(0.0<=w<=800.0, 0.0<=h<=600.0)\n'
65 ' │ constraints: BoxConstraints(0.0<=w<=790.0, 0.0<=h<=590.0)\n'
71 ' │ constraints: BoxConstraints(w=53.0, h=78.0)\n'
81 ' │ constraints: BoxConstraints(w=53.0, h=78.0)\n'
91 ' │ constraints: BoxConstraints(w=53.0, h=78.0)\n'
97 ' │ constraints: BoxConstraints(w=39.0, h=64.0)\n'
105 ' │ constraints: BoxConstraints(0.0<=w<=39.0, 0.0<=h<=64.0)\n'
111 ' constraints: BoxConstraints(w=25.0, h=33.0)\n'
127 ' │ constraints: BoxConstraints(0.0<=w<=800.0, 0.0<=h<=600.0)\n'
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/test/text/
Dmeasurement_test.dart13 const ui.ParagraphConstraints constraints = ui.ParagraphConstraints(width: 50);
187 instance.measure(build(ahemStyle, '12345'), constraints);
202 instance.measure(build(ahemStyle, '1234567890'), constraints);
217 instance.measure(build(ahemStyle, '12\n34'), constraints);
232 result = instance.measure(build(ahemStyle, '\n\n1234'), constraints);
238 result = instance.measure(build(ahemStyle, '12\n\n345'), constraints);
246 result = instance.measure(build(ahemStyle, '1234\n\n'), constraints);
254 final constraints = ui.ParagraphConstraints(width: 100);
270 final normalResult = instance.measure(normalText, constraints);
271 final spacedResult = instance.measure(spacedText, constraints);
[all …]
/third_party/boost/libs/vmd/doc/
Dvmd_constraints.qbk8 [section:vmd_constraints Macro constraints]
20 if it does not. This is all part of the constraints for any callable in C++ and should
33 does not follow the constraints for a macro parameter, as specified in the
52 to determine if the input meets the constraints which the preprocessor metaprogrammer places on it …
56 This does not mean that one should give up attempting to check macro input constraints. If it can b…
58 …straint checking macros. But the most important thing when dealing with macro input constraints is
59 …ey should be carefully documented, and that the programmer should know that if the constraints are
63 flexibility, allows that erroneous results could occur if certain input constraints are not met, wh…
65 everything that the preprocessor is capable of doing to check the input constraints, and carefully …
68 Documented macro input constraints are just as valid in the preprocessor as
[all …]
/third_party/boost/libs/concept_check/test/
Dold_concepts.hpp20 void constraints() { in constraints() function
33 void constraints() { in constraints() function
44 void constraints() { in constraints() function
56 void constraints() { (void)constraints_(); } \
/third_party/harfbuzz/src/
Dgen-vowel-constraints.py127 constraints = {} variable
143 if script in constraints:
144 constraints[script].add (constraint)
146 constraints[script] = ConstraintSet (constraint)
147 assert constraints, 'No constraints found'
208 for script, constraints in sorted (constraints.items (), key=lambda s_c: script_order[s_c[0]]):
213 write (str (constraints))
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-vowel-constraints.py127 constraints = {} variable
143 if script in constraints:
144 constraints[script].add (constraint)
146 constraints[script] = ConstraintSet (constraint)
147 assert constraints, 'No constraints found'
208 for script, constraints in sorted (constraints.items (), key=lambda s_c: script_order[s_c[0]]):
213 write (str (constraints))

12345678910>>...33