/dports/lang/spidermonkey60/firefox-60.9.0/layout/style/ |
H A D | nsMediaList.cpp | 34 if (actual.GetUnit() == eCSSUnit_Null) { in Matches() 40 if (required.GetUnit() == eCSSUnit_Null) { in Matches() 65 NS_ASSERTION(required.GetUnit() == eCSSUnit_Integer, in Matches() 83 actual.GetUnit() == eCSSUnit_Array && in Matches() 89 required.GetUnit() == eCSSUnit_Array && in Matches() 106 NS_ASSERTION(actual.GetUnit() == eCSSUnit_Inch || in Matches() 110 NS_ASSERTION(required.GetUnit() == eCSSUnit_Inch || in Matches() 121 } else if (actual.GetUnit() == eCSSUnit_Inch) { in Matches() 125 if (required.GetUnit() == eCSSUnit_Centimeter) { in Matches() 127 } else if (required.GetUnit() == eCSSUnit_Inch) { in Matches() [all …]
|
H A D | Declaration.cpp | 338 if (size->mXValue.GetUnit() != eCSSUnit_Auto || in GetImageLayerValue() 339 size->mYValue.GetUnit() != eCSSUnit_Auto) { in GetImageLayerValue() 539 if (val->GetUnit() == eCSSUnit_Inherit) { in GetPropertyValueInternal() 543 } else if (val->GetUnit() == eCSSUnit_Unset) { in GetPropertyValueInternal() 867 if (lh->GetUnit() != eCSSUnit_Normal) { in GetPropertyValueInternal() 990 if (transProp->GetUnit() == eCSSUnit_None || in GetPropertyValueInternal() 991 transProp->GetUnit() == eCSSUnit_All) { in GetPropertyValueInternal() 1182 if (rowsValue.GetUnit() == eCSSUnit_None && in GetPropertyValueInternal() 1183 areasValue.GetUnit() == eCSSUnit_None && in GetPropertyValueInternal() 1254 if (rowsValue.GetUnit() != eCSSUnit_List && in GetPropertyValueInternal() [all …]
|
H A D | nsRuleNode.cpp | 441 switch (aValue.GetUnit()) { in CalcLengthWith() 544 switch (aValue.GetUnit()) { in CalcLengthWith() 839 switch (aValue.GetUnit()) { in SetCoord() 1230 switch (aValue.GetUnit()) { in SetStyleImage() 1385 switch (aValue.GetUnit()) { in SetValue() 1470 switch (aValue.GetUnit()) { in SetFactor() 1527 switch (aValue.GetUnit()) { in SetTransformValue() 4921 switch (aValue.GetUnit()) { in ComputeTimingFunction() 6460 switch (aValue.GetUnit()) { in SetImageLayerList() 6520 switch (aValue.GetUnit()) { in SetImageLayerPositionCoordList() [all …]
|
H A D | nsCSSValue.cpp | 274 switch (GetUnit()) { in GetAngleValueInRadians() 293 switch (GetUnit()) { in GetAngleValueInDegrees() 763 if (rootValue.GetUnit() == eCSSUnit_Pixel) { in GetCalcValue() 885 return aValue.GetUnit(); in GetUnit() 936 if (aValue.GetUnit() == eCSSUnit_Enumerated) { in AppendPositionCoordinateToString() 1181 nsCSSUnit unit = GetUnit(); in AppendToString() 2063 switch (GetUnit()) { in SizeOfExcludingThis() 2293 nsCSSUnit unit = val->mValue.GetUnit(); in AppendGridTemplateToString() 2544 if (mYValue.GetUnit() != eCSSUnit_Null) { in AppendToString() 2575 if (mYValue.GetUnit() != eCSSUnit_Null) { in AppendToString() [all …]
|
H A D | StyleAnimationValue.cpp | 536 if (aValue1.GetUnit() == aValue2.GetUnit()) { in AddCSSValueAngle() 827 if ((color1.GetUnit() != color2.GetUnit() && in ComputeSingleShadowSquareDistance() 1576 if (rect1->mTop.GetUnit() != rect2->mTop.GetUnit() || in ComputeDistance() 1579 rect1->mLeft.GetUnit() != rect2->mLeft.GetUnit()) { in ComputeDistance() 1632 MOZ_ASSERT(val1.GetUnit() == val2.GetUnit(), in ComputeDistance() 1926 if ((colorValue1.GetUnit() != colorValue2.GetUnit() && in AddWeightedShadowItems() 1929 inset1.GetUnit() != inset2.GetUnit()) { in AddWeightedShadowItems() 2042 if (funcArg1.GetUnit() == funcArg2.GetUnit()) { in AddWeightedFilterFunctionImpl() 2878 if (rect1->mTop.GetUnit() != rect2->mTop.GetUnit() || in AddWeighted() 2881 rect1->mLeft.GetUnit() != rect2->mLeft.GetUnit()) { in AddWeighted() [all …]
|
H A D | CSSCalc.h | 90 switch (CalcOps::GetUnit(aValue)) { in ComputeCalc() 105 aResult = aOps.MergeAdditive(CalcOps::GetUnit(aValue), lhs, rhs); in ComputeCalc() 142 static nsCSSUnit GetUnit(const nsCSSValue &aValue) { in GetUnit() function 143 return aValue.GetUnit(); in GetUnit() 193 MOZ_ASSERT(aValue.GetUnit() == eCSSUnit_Number, "unexpected unit"); in ComputeCoefficient() 236 nsCSSUnit unit = CalcOps::GetUnit(aValue); in SerializeCalc() 261 nsCSSUnit unit = CalcOps::GetUnit(aValue); in SerializeCalcInternal() 275 bool needParens = IsCalcAdditiveUnit(CalcOps::GetUnit(array->Item(1))); in SerializeCalcInternal() 287 bool needParens = IsCalcAdditiveUnit(CalcOps::GetUnit(array->Item(0))); in SerializeCalcInternal() 307 nsCSSUnit subUnit = CalcOps::GetUnit(array->Item(1)); in SerializeCalcInternal() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/style/ |
H A D | Declaration.cpp | 382 if (size->mXValue.GetUnit() != eCSSUnit_Auto || in GetImageLayerValue() 383 size->mYValue.GetUnit() != eCSSUnit_Auto) { in GetImageLayerValue() 601 if (val->GetUnit() == eCSSUnit_Inherit) { in GetPropertyValueInternal() 605 } else if (val->GetUnit() == eCSSUnit_Unset) { in GetPropertyValueInternal() 948 if (lh->GetUnit() != eCSSUnit_Normal) { in GetPropertyValueInternal() 1082 if (transProp->GetUnit() == eCSSUnit_None || in GetPropertyValueInternal() 1083 transProp->GetUnit() == eCSSUnit_All) { in GetPropertyValueInternal() 1294 if (rowsValue.GetUnit() == eCSSUnit_None && in GetPropertyValueInternal() 1295 areasValue.GetUnit() == eCSSUnit_None && in GetPropertyValueInternal() 1370 if (rowsValue.GetUnit() != eCSSUnit_List && in GetPropertyValueInternal() [all …]
|
H A D | nsRuleNode.cpp | 494 switch (aValue.GetUnit()) { in CalcLengthWith() 594 switch (aValue.GetUnit()) { in CalcLengthWith() 781 switch (aCoord.GetUnit()) { in ComputeCoordPercentCalc() 962 switch (aValue.GetUnit()) { in SetCoord() 1320 switch (aValue.GetUnit()) { in SetStyleImage() 1486 switch (aValue.GetUnit()) { in SetValue() 1574 switch (aValue.GetUnit()) { in SetFactor() 5386 switch (aValue.GetUnit()) { in ComputeTimingFunction() 7026 switch (aValue.GetUnit()) { in SetImageLayerList() 7096 switch (aValue.GetUnit()) { in SetImageLayerPositionCoordList() [all …]
|
H A D | nsCSSValue.cpp | 334 switch (GetUnit()) { in GetAngleValueInRadians() 351 switch (GetUnit()) { in GetAngleValueInDegrees() 628 yValue.GetUnit() != eCSSUnit_Unset, in SetPairValue() 674 zValue.GetUnit() != eCSSUnit_Unset, in SetTripletValue() 939 return aValue.GetUnit(); in GetUnit() 1252 nsCSSUnit unit = GetUnit(); in AppendToString() 2032 switch (GetUnit()) { in SizeOfExcludingThis() 2267 nsCSSUnit unit = val->mValue.GetUnit(); in AppendGridTemplateToString() 2545 if (mYValue.GetUnit() != eCSSUnit_Null) { in AppendToString() 2581 if (mYValue.GetUnit() != eCSSUnit_Null) { in AppendToString() [all …]
|
H A D | StyleAnimationValue.cpp | 533 if (aValue1.GetUnit() == aValue2.GetUnit()) { in AddCSSValueAngle() 1345 if (rect1->mTop.GetUnit() != rect2->mTop.GetUnit() || in ComputeDistance() 1348 rect1->mLeft.GetUnit() != rect2->mLeft.GetUnit()) { in ComputeDistance() 1401 MOZ_ASSERT(val1.GetUnit() == val2.GetUnit(), in ComputeDistance() 1768 if ((colorValue1.GetUnit() != colorValue2.GetUnit() && in AddWeightedShadowItems() 1771 inset1.GetUnit() != inset2.GetUnit()) { in AddWeightedShadowItems() 1980 if (funcArg1.GetUnit() == funcArg2.GetUnit()) { in AddWeightedFilterFunctionImpl() 2173 GetCommonUnit(aProperty, v1.GetUnit(), v2.GetUnit()); in AddCSSValuePairList() 2869 if (rect1->mTop.GetUnit() != rect2->mTop.GetUnit() || in AddWeighted() 2872 rect1->mLeft.GetUnit() != rect2->mLeft.GetUnit()) { in AddWeighted() [all …]
|
H A D | CSSCalc.h | 79 switch (CalcOps::GetUnit(aValue)) { in ComputeCalc() 91 return aOps.MergeAdditive(CalcOps::GetUnit(aValue), lhs, rhs); in ComputeCalc() 98 return aOps.MergeMultiplicativeL(CalcOps::GetUnit(aValue), lhs, rhs); in ComputeCalc() 106 return aOps.MergeMultiplicativeR(CalcOps::GetUnit(aValue), lhs, rhs); in ComputeCalc() 122 static nsCSSUnit GetUnit(const nsCSSValue& aValue) in GetUnit() function 124 return aValue.GetUnit(); in GetUnit() 220 MOZ_ASSERT(aValue.GetUnit() == eCSSUnit_Number, "unexpected unit"); in ComputeNumber() 260 nsCSSUnit unit = CalcOps::GetUnit(aValue); in SerializeCalc() 292 nsCSSUnit unit = CalcOps::GetUnit(aValue); in SerializeCalcInternal() 306 bool needParens = IsCalcAdditiveUnit(CalcOps::GetUnit(array->Item(1))); in SerializeCalcInternal() [all …]
|
/dports/science/p5-Physics-Unit/Physics-Unit-0.54/t/ |
H A D | unit.t | 6 my $mile = GetUnit('mile'); 9 my $foot = GetUnit('foot'); 38 is(GetUnit('foot')->factor, 0.3048, 'GetUnit(foot)->factor'); 40 is(GetUnit('mph')->factor, 0.44704, 'GetUnit(mph)->factor'); 45 $u = GetUnit('megaparsec'); 77 $h = GetUnit('hour'); 87 $u = GetUnit($uname); 173 $u = GetUnit('kilo'); 182 $u = GetUnit('m'); 191 $u = GetUnit('microns'); [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/html/ |
H A D | HTMLHRElement.cpp | 96 if (marginLeft->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 98 if (marginRight->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 102 if (marginLeft->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 104 if (marginRight->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 108 if (marginLeft->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 110 if (marginRight->GetUnit() == eCSSUnit_Null) in MapAttributesIntoRule() 119 if (width->GetUnit() == eCSSUnit_Null) { in MapAttributesIntoRule() 129 if (height->GetUnit() == eCSSUnit_Null) { in MapAttributesIntoRule() 165 if (borderTopWidth->GetUnit() == eCSSUnit_Null) { in MapAttributesIntoRule() 213 if (dimen->GetUnit() == eCSSUnit_Null) { in MapAttributesIntoRule() [all …]
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/network/utils/ |
H A D | queue-size.h | 171 QueueSizeUnit GetUnit () const; 252 if (lhs.GetUnit () == QueueSizeUnit::PACKETS) 254 return QueueSize (lhs.GetUnit (), lhs.GetValue () + 1); 256 if (lhs.GetUnit () == QueueSizeUnit::BYTES) 258 return QueueSize (lhs.GetUnit (), lhs.GetValue () + rhs->GetSize ()); 266 if (rhs.GetUnit () == QueueSizeUnit::PACKETS) 268 return QueueSize (rhs.GetUnit (), rhs.GetValue () + 1); 270 if (rhs.GetUnit () == QueueSizeUnit::BYTES) 272 return QueueSize (rhs.GetUnit (), rhs.GetValue () + lhs->GetSize ());
|
/dports/science/p5-Physics-Unit/Physics-Unit-0.54/lib/Physics/ |
H A D | Unit.pm | 459 GetUnit('ev')->type('Energy'); 460 GetUnit('mev')->type('Energy'); 461 GetUnit('gev')->type('Energy'); 462 GetUnit('tev')->type('Energy'); 463 GetUnit('cal')->type('Energy'); 537 sub GetUnit { subroutine 713 my $u = GetUnit($other); 722 my $u = GetUnit(shift); 784 my $u = GetUnit($other); 825 $obj1 = GetUnit($obj1); [all …]
|
/dports/games/spring/spring_98.0/rts/ExternalAI/ |
H A D | AICheats.cpp | 110 const CUnit* unit = GetUnit(unitId); in GetUnitDef() 122 const CUnit* unit = GetUnit(unitId); in GetUnitPos() 132 const CUnit* unit = GetUnit(unitId); in GetUnitVelocity() 241 const CUnit* unit = GetUnit(unitId); in GetUnitTeam() 253 const CUnit* unit = GetUnit(unitId); in GetUnitAllyTeam() 265 const CUnit* unit = GetUnit(unitId); in GetUnitHealth() 277 const CUnit* unit = GetUnit(unitId); in GetUnitMaxHealth() 289 const CUnit* unit = GetUnit(unitId); in GetUnitPower() 301 const CUnit* unit = GetUnit(unitId); in GetUnitExperience() 313 const CUnit* unit = GetUnit(unitId); in IsUnitActivated() [all …]
|
/dports/science/p5-Physics-Unit/Physics-Unit-0.54/eg/ |
H A D | UnitDocExamples.pl | 58 print "chris: " . GetUnit('chris')->ToString() . "\n"; 59 print "cfm: " . GetUnit('cfm')->ToString() . "\n"; 65 print Dumper(GetUnit('mycron')); 68 InitUnit( ['mycron'], GetUnit('hour') ); 88 print GetUnit('rod')->type, "\n"; # 'Distance' 100 $u3 = GetUnit('joule')->new; 107 print GetUnit('calorie')->expanded, "\n"; # "4184 m^2 gm s^-2" 112 print GetUnit('mile')->convert('foot'), "\n"; # 5280
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomToIGES/ |
H A D | GeomToIGES_GeomCurve.cxx | 371 gp_XYZ xyztampon = gp_XYZ (Xpt/GetUnit(), Ypt/GetUnit(), Zpt/GetUnit()); in Handle() 537 gp_XY( Xc/GetUnit(), Yc/GetUnit()), in Handle() 538 gp_XY( Xs/GetUnit(), Ys/GetUnit()), in Handle() 539 gp_XY( Xe/GetUnit(), Ye/GetUnit())); in Handle() 624 gp_XY( Xs/GetUnit(), Ys/GetUnit()), in Handle() 625 gp_XY( Xe/GetUnit(), Ye/GetUnit())); in Handle() 685 gp_XY( Xs/GetUnit(), Ys/GetUnit()), in Handle() 686 gp_XY( Xe/GetUnit(), Ye/GetUnit())); in Handle() 745 gp_XY( Xs/GetUnit(), Ys/GetUnit()), in Handle() 791 Line->Init((gp_XYZ(X1/GetUnit(),Y1/GetUnit(),Z1/GetUnit())), in Handle() [all …]
|
H A D | GeomToIGES_GeomPoint.cxx | 64 Piges-> Init(gp_XYZ(X/GetUnit(),Y/GetUnit(),Z/GetUnit()), voidsubdef); in Handle() 85 Piges-> Init(gp_XYZ(X/GetUnit(),Y/GetUnit(),Z/GetUnit()), voidsubdef); in Handle()
|
H A D | GeomToIGES_GeomVector.cxx | 98 Dir->Init(gp_XYZ(X/(M*GetUnit()),Y/(M*GetUnit()),Z/(M*GetUnit()))); in Handle() 118 Dir->Init(gp_XYZ(X/GetUnit(),Y/GetUnit(),Z/GetUnit())); in Handle()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fxjs/xfa/ |
H A D | cfxjse_mapmodule_unittest.cpp | 47 EXPECT_EQ(module.GetMeasurement(300).value().GetUnit(), measure.GetUnit()); in TEST() 82 EXPECT_EQ(module.GetMeasurement(100).value().GetUnit(), measure.GetUnit()); in TEST() 115 EXPECT_EQ(module1.GetMeasurement(200).value().GetUnit(), measure2.GetUnit()); in TEST() 118 EXPECT_EQ(module1.GetMeasurement(301).value().GetUnit(), measure1.GetUnit()); in TEST() 122 EXPECT_EQ(module2.GetMeasurement(200).value().GetUnit(), measure2.GetUnit()); in TEST()
|
/dports/net-mgmt/icinga2/icinga2-2.13.2/test/ |
H A D | icinga-perfdata.cpp | 62 BOOST_CHECK(pv->GetUnit() == "bytes"); in BOOST_AUTO_TEST_CASE() 75 BOOST_CHECK(pv->GetUnit() == "seconds"); in BOOST_AUTO_TEST_CASE() 83 BOOST_CHECK(pv->GetUnit() == "seconds"); in BOOST_AUTO_TEST_CASE() 109 BOOST_CHECK(pv->GetUnit() == "amperes"); in BOOST_AUTO_TEST_CASE() 122 BOOST_CHECK(pv->GetUnit() == "bits"); in BOOST_AUTO_TEST_CASE() 187 BOOST_CHECK(pv->GetUnit() == "grams"); in BOOST_AUTO_TEST_CASE() 200 BOOST_CHECK(pv->GetUnit() == "liters"); in BOOST_AUTO_TEST_CASE() 226 BOOST_CHECK(pv->GetUnit() == "ohms"); in BOOST_AUTO_TEST_CASE() 239 BOOST_CHECK(pv->GetUnit() == "volts"); in BOOST_AUTO_TEST_CASE() 265 BOOST_CHECK(pv->GetUnit() == "watts"); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/dom/svg/ |
H A D | SVGLengthListSMILType.cpp | 100 valueToAdd[i].GetUnit()); in Add() 125 dest[i].SetValueAndUnit(0.0f, valueToAdd[i].GetUnit()); in Add() 131 if (dest[i].GetUnit() == valueToAdd[i].GetUnit()) { in Add() 137 dest[i].GetUnit(), dest.Element(), dest.Axis()); in Add() 141 dest[i].GetUnit()); in Add() 257 if (start[i].GetUnit() == end[i].GetUnit()) { in Interpolate() 262 s = start[i].GetValueInSpecifiedUnit(end[i].GetUnit(), end.Element(), in Interpolate() 266 result[i].SetValueAndUnit(s + (e - s) * aUnitDistance, end[i].GetUnit()); in Interpolate() 276 start[i].GetUnit()); in Interpolate() 280 end[i].GetUnit()); in Interpolate()
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/svg/ |
H A D | SVGLengthListSMILType.cpp | 100 valueToAdd[i].GetUnit()); in Add() 125 dest[i].SetValueAndUnit(0.0f, valueToAdd[i].GetUnit()); in Add() 131 if (dest[i].GetUnit() == valueToAdd[i].GetUnit()) { in Add() 137 dest[i].GetUnit(), dest.Element(), dest.Axis()); in Add() 141 dest[i].GetUnit()); in Add() 257 if (start[i].GetUnit() == end[i].GetUnit()) { in Interpolate() 262 s = start[i].GetValueInSpecifiedUnit(end[i].GetUnit(), end.Element(), in Interpolate() 266 result[i].SetValueAndUnit(s + (e - s) * aUnitDistance, end[i].GetUnit()); in Interpolate() 276 start[i].GetUnit()); in Interpolate() 280 end[i].GetUnit()); in Interpolate()
|
/dports/www/firefox/firefox-99.0/dom/svg/ |
H A D | SVGLengthListSMILType.cpp | 100 valueToAdd[i].GetUnit()); in Add() 125 dest[i].SetValueAndUnit(0.0f, valueToAdd[i].GetUnit()); in Add() 131 if (dest[i].GetUnit() == valueToAdd[i].GetUnit()) { in Add() 137 dest[i].GetUnit(), dest.Element(), dest.Axis()); in Add() 141 dest[i].GetUnit()); in Add() 257 if (start[i].GetUnit() == end[i].GetUnit()) { in Interpolate() 262 s = start[i].GetValueInSpecifiedUnit(end[i].GetUnit(), end.Element(), in Interpolate() 266 result[i].SetValueAndUnit(s + (e - s) * aUnitDistance, end[i].GetUnit()); in Interpolate() 276 start[i].GetUnit()); in Interpolate() 280 end[i].GetUnit()); in Interpolate()
|