/dports/games/megaglest/megaglest-source-3.13.0/source/tools/convert_faction_xml2html/ |
H A D | convert_faction_xml2html.pl | 488 $edges_relation{"$faction:$unit_from:$unit_to:Build"} || 489 $edges_relation{"$faction:$unit_from:$unit_to:Morph"} || 490 $edges_relation{"$faction:$unit_from:$unit_to:Produce"} 498 $multi_hop{"$faction:$unit_from:$unit_to"} && 512 if ( $building{"$faction:$unit_from"} ) { 523 if ( !$upgrade{"$faction:$unit_from"} ) { 1979 push @{ $c_edges_from{"$faction:$unit_from"} }, "$unit_from:$unit_to:$style:$relation"; 2000 $multi_hop{"$faction:$unit_from:$unit_to"}=1; 2001 print "edge_check5: $faction:$unit_from:$unit_to =1\n"; 2008 $building{"$faction:$unit_from"} [all …]
|
/dports/devel/agar/agar-1.5.0/ada-gui/ |
H A D | agar-gui-unit.adb | 24 unit_from : unit_const_access_t; 67 unit_from : unit_const_access_t; 70 ret : constant c.double := cbinds.unit_to_unit (c.double (n), unit_from, unit_to);
|
H A D | agar-gui-unit.ads | 47 unit_from : unit_const_access_t;
|
/dports/databases/spatialite/libspatialite-5.0.1/src/gaiageo/ |
H A D | gg_geodesic.c | 675 gaiaConvertLength (double value, int unit_from, int unit_to, double *cvt) in gaiaConvertLength() argument 686 if (unit_from < GAIA_MIN_UNIT || unit_from > GAIA_MAX_UNIT) in gaiaConvertLength() 690 if (unit_from == unit_to) in gaiaConvertLength() 695 else if (unit_from == GAIA_M) in gaiaConvertLength() 703 *cvt = value * factors[unit_from]; in gaiaConvertLength() 707 m = value * factors[unit_from]; in gaiaConvertLength()
|
/dports/science/thermofun/thermofun-0.3.8/ThermoFun/Common/ |
H A D | ParseJsonToData.cpp | 152 std::string unit_from; in read_value_unit() local 160 unit_from = j[data]["units"][0]; in read_value_unit() 163 unit_from = unit_to; in read_value_unit() 167 if (data == "m_expansivity" && unit_from == "kbar") in read_value_unit() 169 unit_from = "1/K"; in read_value_unit() 173 if (data == "m_compressibility" && unit_from == "1e-05/K") in read_value_unit() 175 unit_from = "kbar"; in read_value_unit() 181 … value = units::convert(j[data]["values"][0].get<double>() * factor, unit_from, unit_to); in read_value_unit() 314 std::string unit_from; in getTPMethods() local
|
/dports/devel/liborcus/liborcus-0.16.1/src/liborcus/ |
H A D | measurement.cpp | 199 double convert(double value, length_unit_t unit_from, length_unit_t unit_to) in convert() argument 204 switch (unit_from) in convert() 224 << static_cast<int>(unit_from) << " to " in convert()
|
/dports/net-mgmt/observium/observium/includes/ |
H A D | common.inc.php | 4168 * @param string $unit_from Unit name/symbol for value 4173 function value_to_units($value, $unit_from, $class, $unit_to = []) argument 4178 …$unit_from = str_replace(['<sup>', '</sup>'], ['^', ''], $unit_from); // I.e. mg/m<sup>3</sup> => … 4179 $unit_from = html_entity_decode($unit_from); // I.e. °C => °C 4184 return [$unit_from => $value]; 4194 $value_from = new PhpUnitsOfMeasure\PhysicalQuantity\Pressure($value, $unit_from); 4199 $value_from = new PhpUnitsOfMeasure\PhysicalQuantity\Power($value, $unit_from); 4208 $value_from = new PhpUnitsOfMeasure\PhysicalQuantity\Velocity($value, $unit_from); 4214 if ($unit_from == '') { $unit_from = 's'; } 4215 $value_from = new PhpUnitsOfMeasure\PhysicalQuantity\Time($value, $unit_from); [all …]
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/ |
H A D | gsl_fun.cpp | 3346 ut_unit* unit_from; in constant() local 3354 if (twoparams) unit_from = ut_parse(unitsys, "kg", UT_ASCII); in constant() 3368 if (twoparams) unit_from = ut_parse(unitsys, "m", UT_ASCII); in constant() 3382 if (twoparams) unit_from = ut_parse(unitsys, "J/K", UT_ASCII); in constant() 3410 if (twoparams) unit_from = ut_parse(unitsys, "C", UT_ASCII); in constant() 3417 if (twoparams) unit_from = ut_parse(unitsys, "kg", UT_ASCII); in constant() 3424 if (twoparams) unit_from = ut_parse(unitsys, "J", UT_ASCII); in constant() 3494 if (twoparams) unit_from = ut_parse(unitsys, "kg", UT_ASCII); in constant() 3527 if (twoparams) unit_from = ut_parse(unitsys, "K", UT_ASCII); in constant() 3541 assert(unit_from != NULL); in constant() [all …]
|
/dports/devel/liborcus/liborcus-0.16.1/include/orcus/ |
H A D | measurement.hpp | 40 ORCUS_DLLPUBLIC double convert(double value, length_unit_t unit_from, length_unit_t unit_to);
|
/dports/audio/praat/praat-6.2.03/FFNet/ |
H A D | FFNet.cpp | 279 void FFNet_setWeight (FFNet me, integer layer, integer unit, integer unit_from, double value) { in FFNet_setWeight() argument 283 const integer nodef = FFNet_getNodeNumberFromUnitNumber (me, unit_from, layer - 1); in FFNet_setWeight() 286 const integer w_unit = my wFirst [node] + unit_from - 1; in FFNet_setWeight() 290 double FFNet_getWeight (FFNet me, integer layer, integer unit, integer unit_from) { in FFNet_getWeight() argument 295 const integer nodef = FFNet_getNodeNumberFromUnitNumber (me, unit_from, layer - 1); in FFNet_getWeight() 298 const integer w_unit = my wFirst [node] + unit_from - 1; in FFNet_getWeight()
|
/dports/databases/spatialite/libspatialite-5.0.1/src/headers/spatialite/ |
H A D | gg_core.h | 2129 GAIAGEO_DECLARE int gaiaConvertLength (double value, int unit_from,
|
/dports/graphics/mypaint/mypaint-2.0.1/gui/ |
H A D | framewindow.py | 974 def convert(self, value, unit_from, unit_to): argument 975 px = self.convert_to_px(value, unit_from)
|
/dports/databases/spatialite/libspatialite-5.0.1/src/spatialite/ |
H A D | spatialite.c | 41229 int unit_from, int unit_to) in convertUnit() argument 41261 if (!gaiaConvertLength (value, unit_from, unit_to, &cvt)) in convertUnit()
|