toNumber 473 extensions/fileio/fileio.cpp int c = (int) toNumber(fn.arg(0), getVM(fn)); toNumber 521 extensions/fileio/fileio.cpp long c = static_cast<long>(toNumber(fn.arg(0), getVM(fn))); toNumber 290 libcore/DisplayObject.cpp double mode = toNumber(bm, getVM(fn)); toNumber 368 libcore/DisplayObject.cpp const double newheight = pixelsToTwips(toNumber(val, getVM(*getObject(&o)))); toNumber 1094 libcore/DisplayObject.cpp const double q = toNumber(val, getVM(*getObject(&o))); toNumber 1120 libcore/DisplayObject.cpp const double newy = toNumber(val, getVM(*getObject(&o))); toNumber 1151 libcore/DisplayObject.cpp const double newx = toNumber(val, getVM(*getObject(&o))); toNumber 1182 libcore/DisplayObject.cpp const double scale_percent = toNumber(val, getVM(*getObject(&o))); toNumber 1209 libcore/DisplayObject.cpp const double scale_percent = toNumber(val, getVM(*getObject(&o))); toNumber 1246 libcore/DisplayObject.cpp const double d = toNumber(val, getVM(*getObject(&o))); toNumber 1276 libcore/DisplayObject.cpp const double newAlpha = toNumber(val, getVM(*getObject(&o))) * 2.56; toNumber 1343 libcore/DisplayObject.cpp const double rotation_val = toNumber(val, getVM(*getObject(&o))); toNumber 1410 libcore/DisplayObject.cpp const double newwidth = pixelsToTwips(toNumber(val, getVM(*getObject(&o)))); toNumber 552 libcore/MovieClip.cpp const double num = toNumber(str, getVM(*getObject(this))); toNumber 52 libcore/asobj/ASConversions.cpp const double x = pixelsToTwips(toNumber(getMember(m, NSV::PROP_X), vm)); toNumber 53 libcore/asobj/ASConversions.cpp const double y = pixelsToTwips(toNumber(getMember(m, NSV::PROP_Y), vm)); toNumber 54 libcore/asobj/ASConversions.cpp const double w = pixelsToTwips(toNumber(getMember(m, NSV::PROP_W), vm)); toNumber 55 libcore/asobj/ASConversions.cpp const double h = pixelsToTwips(toNumber(getMember(m, NSV::PROP_H), vm)); toNumber 56 libcore/asobj/ASConversions.cpp const double r = toNumber(getMember(m, NSV::PROP_R), vm); toNumber 68 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_A), vm)); toNumber 70 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_B), vm)); toNumber 72 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_C), vm)); toNumber 74 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_D), vm)); toNumber 77 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_TX), vm)); toNumber 79 libcore/asobj/ASConversions.cpp toNumber(getMember(m, NSV::PROP_TY), vm)); toNumber 332 libcore/asobj/Array_as.cpp const double aval = toNumber(a, getVM(_fn)); toNumber 333 libcore/asobj/Array_as.cpp const double bval = toNumber(b, getVM(_fn)); toNumber 345 libcore/asobj/Array_as.cpp const double aval = toNumber(a, getVM(_fn)); toNumber 346 libcore/asobj/Array_as.cpp const double bval = toNumber(b, getVM(_fn)); toNumber 356 libcore/asobj/Array_as.cpp double aval = toNumber(a, getVM(_fn)); toNumber 357 libcore/asobj/Array_as.cpp double bval = toNumber(b, getVM(_fn)); toNumber 779 libcore/asobj/Array_as.cpp static_cast<boost::uint8_t>(toNumber(val, getVM(_fn))); toNumber 786 libcore/asobj/Array_as.cpp static_cast<boost::uint8_t>(toNumber(val, getVM(_fn))); toNumber 1022 libcore/asobj/Array_as.cpp flags = static_cast<boost::uint8_t>(toNumber(fn.arg(0), getVM(fn))); toNumber 1033 libcore/asobj/Array_as.cpp flags=static_cast<boost::uint8_t>(toNumber(fn.arg(1), getVM(fn))); toNumber 1095 libcore/asobj/Array_as.cpp flags = static_cast<boost::uint8_t>(toNumber(fn.arg(1), getVM(fn))); toNumber 298 libcore/asobj/Camera_as.cpp const double width = nargs ? toNumber(fn.arg(0), getVM(fn)) : 160; toNumber 299 libcore/asobj/Camera_as.cpp const double height = nargs > 1 ? toNumber(fn.arg(1), getVM(fn)) : 120; toNumber 300 libcore/asobj/Camera_as.cpp const double fps = nargs > 2? toNumber(fn.arg(2), getVM(fn)) : 15; toNumber 320 libcore/asobj/Camera_as.cpp const double ml = nargs > 0 ? toNumber(fn.arg(0), getVM(fn)) : 50; toNumber 321 libcore/asobj/Camera_as.cpp const double mt = nargs > 1 ? toNumber(fn.arg(1), getVM(fn)) : 2000; toNumber 339 libcore/asobj/Camera_as.cpp const double b = nargs > 0 ? toNumber(fn.arg(0), getVM(fn)) : 16384; toNumber 340 libcore/asobj/Camera_as.cpp const double q = nargs > 1 ? toNumber(fn.arg(1), getVM(fn)) : 0; toNumber 260 libcore/asobj/Color_as.cpp const double d = toNumber(tmp, getVM(obj)); toNumber 436 libcore/asobj/Date_as.cpp obj->setRelay(new Date_as(toNumber(fn.arg(0), getVM(fn)))); toNumber 730 libcore/asobj/Date_as.cpp double d = toNumber(fn.arg(0), getVM(fn)); toNumber 888 libcore/asobj/Date_as.cpp double year = toNumber(fn.arg(0), getVM(fn)); toNumber 944 libcore/asobj/Date_as.cpp double monthvalue = toNumber(fn.arg(0), getVM(fn)); toNumber 950 libcore/asobj/Date_as.cpp double mdayvalue = toNumber(fn.arg(1), getVM(fn)); toNumber 1161 libcore/asobj/Date_as.cpp truncateDouble(gt.millisecond, toNumber(fn.arg(0), getVM(fn))); toNumber 1268 libcore/asobj/Date_as.cpp truncateDouble(year, toNumber(fn.arg(0), getVM(fn))); toNumber 1297 libcore/asobj/Date_as.cpp double arg = toNumber(fn.arg(i), getVM(fn)); toNumber 412 libcore/asobj/Global_as.cpp toNumber(fn.arg(0), getVM(fn))))); toNumber 422 libcore/asobj/Global_as.cpp toNumber(fn.arg(0), getVM(fn))))); toNumber 636 libcore/asobj/Global_as.cpp const int setTrue = int(toNumber(fn.arg(2), getVM(fn))) & flagsMask; toNumber 992 libcore/asobj/Global_as.cpp static_cast<unsigned long>(toNumber(fn.arg(timer_arg), getVM(fn))); toNumber 1063 libcore/asobj/Global_as.cpp static_cast<unsigned long>(toNumber(fn.arg(timer_arg), getVM(fn))); toNumber 107 libcore/asobj/Math_as.cpp double arg = toNumber(fn.arg(0), getVM(fn)); toNumber 108 libcore/asobj/Math_as.cpp if (fn.nargs > 1) toNumber(fn.arg(1), getVM(fn)); toNumber 125 libcore/asobj/Math_as.cpp double arg0 = toNumber(fn.arg(0), getVM(fn)); toNumber 126 libcore/asobj/Math_as.cpp double arg1 = toNumber(fn.arg(1), getVM(fn)); toNumber 140 libcore/asobj/Math_as.cpp double arg0 = toNumber(fn.arg(0), getVM(fn)); toNumber 147 libcore/asobj/Math_as.cpp double arg1 = toNumber(fn.arg(1), getVM(fn)); toNumber 161 libcore/asobj/Math_as.cpp double arg0 = toNumber(fn.arg(0), getVM(fn)); toNumber 162 libcore/asobj/Math_as.cpp double arg1 = toNumber(fn.arg(1), getVM(fn)); toNumber 183 libcore/asobj/Math_as.cpp double arg0 = toNumber(fn.arg(0), getVM(fn)); toNumber 184 libcore/asobj/Math_as.cpp double arg1 = toNumber(fn.arg(1), getVM(fn)); toNumber 202 libcore/asobj/Math_as.cpp if (fn.nargs) toNumber(fn.arg(0), getVM(fn)); toNumber 203 libcore/asobj/Math_as.cpp if (fn.nargs > 1) toNumber(fn.arg(1), getVM(fn)); toNumber 451 libcore/asobj/Microphone_as.cpp const double level = clamp<double>(toNumber(fn.arg(0), getVM(fn)), 0, 100); toNumber 474 libcore/asobj/MovieClip_as.cpp const double depth = toNumber(fn.arg(2), getVM(fn)); toNumber 650 libcore/asobj/MovieClip_as.cpp const double td = toNumber(fn.arg(0), getVM(fn)); toNumber 721 libcore/asobj/MovieClip_as.cpp const double depth = toNumber(fn.arg(1), getVM(fn)); toNumber 1011 libcore/asobj/MovieClip_as.cpp boost::int32_t x = pixelsToTwips(toNumber(fn.arg(0), getVM(fn))); toNumber 1012 libcore/asobj/MovieClip_as.cpp boost::int32_t y = pixelsToTwips(toNumber(fn.arg(1), getVM(fn))); toNumber 1019 libcore/asobj/MovieClip_as.cpp const boost::int32_t x = pixelsToTwips(toNumber(fn.arg(0), toNumber 1021 libcore/asobj/MovieClip_as.cpp const boost::int32_t y = pixelsToTwips(toNumber(fn.arg(1), toNumber 1296 libcore/asobj/MovieClip_as.cpp x = pixelsToTwips(toNumber(tmp, getVM(fn))); toNumber 1307 libcore/asobj/MovieClip_as.cpp y = pixelsToTwips(toNumber(tmp, getVM(fn))); toNumber 1356 libcore/asobj/MovieClip_as.cpp x = pixelsToTwips(toNumber(tmp, getVM(fn))); toNumber 1367 libcore/asobj/MovieClip_as.cpp y = pixelsToTwips(toNumber(tmp, getVM(fn))); toNumber 1444 libcore/asobj/MovieClip_as.cpp double x = toNumber(fn.arg(0), getVM(fn)); toNumber 1445 libcore/asobj/MovieClip_as.cpp double y = toNumber(fn.arg(1), getVM(fn)); toNumber 1470 libcore/asobj/MovieClip_as.cpp double x = toNumber(fn.arg(0), getVM(fn)); toNumber 1471 libcore/asobj/MovieClip_as.cpp double y = toNumber(fn.arg(1), getVM(fn)); toNumber 1589 libcore/asobj/MovieClip_as.cpp const float alphaval = clamp<float>(toNumber(fn.arg(2), getVM(fn)), toNumber 1605 libcore/asobj/MovieClip_as.cpp toNumber(fn.arg(0), getVM(fn)), 0, 255))); toNumber 1630 libcore/asobj/MovieClip_as.cpp double cx = toNumber(fn.arg(0), getVM(fn)); toNumber 1631 libcore/asobj/MovieClip_as.cpp double cy = toNumber(fn.arg(1), getVM(fn)); toNumber 1632 libcore/asobj/MovieClip_as.cpp double ax = toNumber(fn.arg(2), getVM(fn)); toNumber 1633 libcore/asobj/MovieClip_as.cpp double ay = toNumber(fn.arg(3), getVM(fn)); toNumber 1673 libcore/asobj/MovieClip_as.cpp clamp<float>(toNumber(fn.arg(0), getVM(fn)), 0, 16777216); toNumber 1809 libcore/asobj/MovieClip_as.cpp clamp<double>(toNumber(alpVal, getVM(fn)), 0, 100) : 0; toNumber 1870 libcore/asobj/MovieClip_as.cpp fd.setFocalPoint(toNumber(fn.arg(7), getVM(fn))); toNumber 1894 libcore/asobj/MovieClip_as.cpp double x0 = toNumber(fn.arg(1), getVM(fn)); toNumber 1895 libcore/asobj/MovieClip_as.cpp double y0 = toNumber(fn.arg(2), getVM(fn)); toNumber 1896 libcore/asobj/MovieClip_as.cpp double x1 = toNumber(fn.arg(3), getVM(fn)); toNumber 1897 libcore/asobj/MovieClip_as.cpp double y1 = toNumber(fn.arg(4), getVM(fn)); toNumber 1657 libcore/asobj/NetStream_as.cpp time = static_cast<boost::uint32_t>(toNumber(fn.arg(0), getVM(fn))); toNumber 1673 libcore/asobj/NetStream_as.cpp time = toNumber(fn.arg(0), getVM(fn)); toNumber 104 libcore/asobj/Number_as.cpp val = toNumber(fn.arg(0), getVM(fn)); toNumber 946 libcore/asobj/Sound_as.cpp secondOffset = toNumber(fn.arg(0), getVM(fn)); toNumber 949 libcore/asobj/Sound_as.cpp loop = (int) toNumber(fn.arg(1), getVM(fn)) - 1; toNumber 1196 libcore/asobj/Sound_as.cpp int volume = (int) toNumber(fn.arg(0), getVM(fn)); toNumber 581 libcore/asobj/String_as.cpp size_t index = static_cast<size_t>(toNumber(fn.arg(0), getVM(fn))); toNumber 336 libcore/asobj/TextField_as.cpp newColor.parseRGB(static_cast<boost::uint32_t>(toNumber(fn.arg(0), getVM(fn)))); toNumber 356 libcore/asobj/TextField_as.cpp newColor.parseRGB(static_cast<boost::uint32_t>(toNumber(fn.arg(0), getVM(fn)))); toNumber 935 libcore/asobj/TextField_as.cpp text->setScroll(int(toNumber(fn.arg(0), getVM(fn))) - 1); toNumber 953 libcore/asobj/TextField_as.cpp text->setHScroll(int(toNumber(fn.arg(0), getVM(fn)))); toNumber 75 libcore/asobj/TextFormat_as.cpp return pixelsToTwips(toNumber(val, getVM(fn()))); toNumber 186 libcore/asobj/TextFormat_as.cpp _v.push_back(toNumber(val, getVM(_fn))); toNumber 578 libcore/asobj/TextFormat_as.cpp pixelsToTwips(toNumber(fn.arg(1), getVM(fn))) : 0; toNumber 327 libcore/asobj/XMLSocket_as.cpp const double port = toNumber(fn.arg(1), getVM(fn)); toNumber 677 libcore/asobj/XML_as.cpp const double status = toNumber(fn.arg(0), getVM(fn)); toNumber 687 libcore/asobj/flash/display/BitmapData_as.cpp const double x = toNumber(fn.arg(0), getVM(fn)); toNumber 688 libcore/asobj/flash/display/BitmapData_as.cpp const double y = toNumber(fn.arg(1), getVM(fn)); toNumber 711 libcore/asobj/flash/display/BitmapData_as.cpp const double x = toNumber(fn.arg(0), getVM(fn)); toNumber 712 libcore/asobj/flash/display/BitmapData_as.cpp const double y = toNumber(fn.arg(1), getVM(fn)); toNumber 656 libcore/asobj/flash/external/ExternalInterface_as.cpp return as_value(toNumber(v, vm)); toNumber 103 libcore/asobj/flash/filters/BevelFilter_as.cpp float sp_distance = toNumber(fn.arg(0), getVM(fn)); toNumber 115 libcore/asobj/flash/filters/BevelFilter_as.cpp double sp_angle = toNumber(fn.arg(0), getVM(fn)); toNumber 127 libcore/asobj/flash/filters/BevelFilter_as.cpp boost::uint32_t sp_highlightColor = toNumber(fn.arg(0), getVM(fn)); toNumber 139 libcore/asobj/flash/filters/BevelFilter_as.cpp boost::uint8_t sp_highlightAlpha = toNumber(fn.arg(0), getVM(fn)); toNumber 151 libcore/asobj/flash/filters/BevelFilter_as.cpp boost::uint32_t sp_shadowColor = toNumber(fn.arg(0), getVM(fn)); toNumber 163 libcore/asobj/flash/filters/BevelFilter_as.cpp boost::uint8_t sp_shadowAlpha = toNumber(fn.arg(0), getVM(fn)); toNumber 175 libcore/asobj/flash/filters/BevelFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 187 libcore/asobj/flash/filters/BevelFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 199 libcore/asobj/flash/filters/BevelFilter_as.cpp float sp_strength = toNumber(fn.arg(0), getVM(fn)); toNumber 211 libcore/asobj/flash/filters/BevelFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 70 libcore/asobj/flash/filters/BlurFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 82 libcore/asobj/flash/filters/BlurFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 94 libcore/asobj/flash/filters/BlurFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 100 libcore/asobj/flash/filters/DropShadowFilter_as.cpp float sp_distance = toNumber(fn.arg(0), getVM(fn)); toNumber 112 libcore/asobj/flash/filters/DropShadowFilter_as.cpp double sp_color = toNumber(fn.arg(0), getVM(fn)); toNumber 124 libcore/asobj/flash/filters/DropShadowFilter_as.cpp double sp_alpha = toNumber(fn.arg(0), getVM(fn)); toNumber 136 libcore/asobj/flash/filters/DropShadowFilter_as.cpp double sp_angle = toNumber(fn.arg(0), getVM(fn)); toNumber 148 libcore/asobj/flash/filters/DropShadowFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 160 libcore/asobj/flash/filters/DropShadowFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 172 libcore/asobj/flash/filters/DropShadowFilter_as.cpp float sp_strength = toNumber(fn.arg(0), getVM(fn)); toNumber 184 libcore/asobj/flash/filters/DropShadowFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 90 libcore/asobj/flash/filters/GlowFilter_as.cpp boost::uint32_t sp_inner = toNumber(fn.arg(0), getVM(fn)); toNumber 102 libcore/asobj/flash/filters/GlowFilter_as.cpp float sp_color = toNumber(fn.arg(0), getVM(fn)); toNumber 114 libcore/asobj/flash/filters/GlowFilter_as.cpp float sp_alpha = toNumber(fn.arg(0), getVM(fn)); toNumber 126 libcore/asobj/flash/filters/GlowFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 138 libcore/asobj/flash/filters/GlowFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 150 libcore/asobj/flash/filters/GlowFilter_as.cpp float sp_strength = toNumber(fn.arg(0), getVM(fn)); toNumber 162 libcore/asobj/flash/filters/GlowFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 100 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp float sp_distance = toNumber(fn.arg(0), getVM(fn)); toNumber 112 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp double sp_angle = toNumber(fn.arg(0), getVM(fn)); toNumber 148 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 160 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 172 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp float sp_strength = toNumber(fn.arg(0), getVM(fn)); toNumber 184 libcore/asobj/flash/filters/GradientBevelFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 100 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp float sp_distance = toNumber(fn.arg(0), getVM(fn)); toNumber 112 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp double sp_angle = toNumber(fn.arg(0), getVM(fn)); toNumber 149 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp float sp_blurX = toNumber(fn.arg(0), getVM(fn)); toNumber 161 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp float sp_blurY = toNumber(fn.arg(0), getVM(fn)); toNumber 173 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp float sp_strength = toNumber(fn.arg(0), getVM(fn)); toNumber 185 libcore/asobj/flash/filters/GradientGlowFilter_as.cpp boost::uint8_t sp_quality = toNumber(fn.arg(0), getVM(fn)); toNumber 160 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setAlphaMultiplier(toNumber(fn.arg(0), getVM(fn))); toNumber 172 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setAlphaOffset(toNumber(fn.arg(0), getVM(fn))); toNumber 184 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setBlueMultiplier(toNumber(fn.arg(0), getVM(fn))); toNumber 196 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setBlueOffset(toNumber(fn.arg(0), getVM(fn))); toNumber 208 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setGreenMultiplier(toNumber(fn.arg(0), getVM(fn))); toNumber 221 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setGreenOffset(toNumber(fn.arg(0), getVM(fn))); toNumber 234 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setRedMultiplier(toNumber(fn.arg(0), getVM(fn))); toNumber 249 libcore/asobj/flash/geom/ColorTransform_as.cpp relay->setRedOffset(toNumber(fn.arg(0), getVM(fn))); toNumber 386 libcore/asobj/flash/geom/ColorTransform_as.cpp obj->setRelay(new ColorTransform_as(toNumber(fn.arg(0), getVM(fn)), toNumber 387 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(1), getVM(fn)), toNumber 388 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(2), getVM(fn)), toNumber 389 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(3), getVM(fn)), toNumber 390 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(4), getVM(fn)), toNumber 391 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(5), getVM(fn)), toNumber 392 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(6), getVM(fn)), toNumber 393 libcore/asobj/flash/geom/ColorTransform_as.cpp toNumber(fn.arg(7), getVM(fn)))); toNumber 274 libcore/asobj/flash/geom/Matrix_as.cpp rotation = toNumber(fn.arg(2), getVM(fn)); toNumber 277 libcore/asobj/flash/geom/Matrix_as.cpp scaleY = toNumber(fn.arg(1), getVM(fn)); toNumber 278 libcore/asobj/flash/geom/Matrix_as.cpp scaleX = toNumber(fn.arg(0), getVM(fn)); toNumber 334 libcore/asobj/flash/geom/Matrix_as.cpp rotation = toNumber(fn.arg(2), getVM(fn)); toNumber 337 libcore/asobj/flash/geom/Matrix_as.cpp widthY = toNumber(fn.arg(1), getVM(fn)); toNumber 338 libcore/asobj/flash/geom/Matrix_as.cpp widthX = toNumber(fn.arg(0), getVM(fn)); toNumber 528 libcore/asobj/flash/geom/Matrix_as.cpp const double rot = toNumber(fn.arg(0), getVM(fn)); toNumber 547 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(0, 0) = toNumber(a, getVM(fn)); toNumber 548 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(0, 1) = toNumber(b, getVM(fn)); toNumber 549 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(1, 0) = toNumber(c, getVM(fn)); toNumber 550 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(1, 1) = toNumber(d, getVM(fn)); toNumber 571 libcore/asobj/flash/geom/Matrix_as.cpp translation(0) = toNumber(tx, getVM(fn)); toNumber 572 libcore/asobj/flash/geom/Matrix_as.cpp translation(1) = toNumber(ty, getVM(fn)); toNumber 602 libcore/asobj/flash/geom/Matrix_as.cpp const double scaleX = toNumber(fn.arg(0), getVM(fn)); toNumber 603 libcore/asobj/flash/geom/Matrix_as.cpp const double scaleY = toNumber(fn.arg(1), getVM(fn)); toNumber 622 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(0, 0) = toNumber(a, getVM(fn)); toNumber 623 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(0, 1) = toNumber(b, getVM(fn)); toNumber 624 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(1, 0) = toNumber(c, getVM(fn)); toNumber 625 libcore/asobj/flash/geom/Matrix_as.cpp currentMatrix(1, 1) = toNumber(d, getVM(fn)); toNumber 645 libcore/asobj/flash/geom/Matrix_as.cpp ptr->set_member(NSV::PROP_TX, as_value(toNumber(tx, getVM(fn)) * scaleX)); toNumber 646 libcore/asobj/flash/geom/Matrix_as.cpp ptr->set_member(NSV::PROP_TY, as_value(toNumber(ty, getVM(fn)) * scaleY)); toNumber 745 libcore/asobj/flash/geom/Matrix_as.cpp args += point(0) + toNumber(tx, getVM(fn)), point(1) + toNumber(ty, getVM(fn)); toNumber 776 libcore/asobj/flash/geom/Matrix_as.cpp double transX = toNumber(fn.arg(0), getVM(fn)) + toNumber(tx, getVM(fn)); toNumber 777 libcore/asobj/flash/geom/Matrix_as.cpp double transY = toNumber(fn.arg(1), getVM(fn)) + toNumber(ty, getVM(fn)); toNumber 810 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(0, 0) = toNumber(a, vm); toNumber 811 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(0, 1) = toNumber(b, vm); toNumber 812 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(1, 0) = toNumber(c, vm); toNumber 813 libcore/asobj/flash/geom/Matrix_as.cpp transformMatrix(1, 1) = toNumber(d, vm); toNumber 817 libcore/asobj/flash/geom/Matrix_as.cpp point(0) = toNumber(x, vm); toNumber 818 libcore/asobj/flash/geom/Matrix_as.cpp point(1) = toNumber(y, vm); toNumber 847 libcore/asobj/flash/geom/Matrix_as.cpp matrix(0, 0) = toNumber(a, vm); toNumber 848 libcore/asobj/flash/geom/Matrix_as.cpp matrix(0, 1) = toNumber(c, vm); toNumber 849 libcore/asobj/flash/geom/Matrix_as.cpp matrix(0, 2) = toNumber(tx, vm); toNumber 850 libcore/asobj/flash/geom/Matrix_as.cpp matrix(1, 0) = toNumber(b, vm); toNumber 851 libcore/asobj/flash/geom/Matrix_as.cpp matrix(1, 1) = toNumber(d, vm); toNumber 852 libcore/asobj/flash/geom/Matrix_as.cpp matrix(1, 2) = toNumber(ty, vm); toNumber 255 libcore/asobj/flash/geom/Point_as.cpp double newlen = toNumber(argval, getVM(fn)); toNumber 261 libcore/asobj/flash/geom/Point_as.cpp double x = toNumber(xval, getVM(fn)); toNumber 263 libcore/asobj/flash/geom/Point_as.cpp double y = toNumber(yval, getVM(fn)); toNumber 272 libcore/asobj/flash/geom/Point_as.cpp xval.set_double( toNumber(xval, getVM(fn)) * fact ); toNumber 273 libcore/asobj/flash/geom/Point_as.cpp yval.set_double( toNumber(yval, getVM(fn)) * fact ); toNumber 362 libcore/asobj/flash/geom/Point_as.cpp x.set_double(toNumber(x, getVM(fn)) - toNumber(x1, getVM(fn))); toNumber 363 libcore/asobj/flash/geom/Point_as.cpp y.set_double(toNumber(y, getVM(fn)) - toNumber(y1, getVM(fn))); toNumber 398 libcore/asobj/flash/geom/Point_as.cpp double x = toNumber(xval, getVM(fn)); toNumber 399 libcore/asobj/flash/geom/Point_as.cpp double y = toNumber(yval, getVM(fn)); toNumber 461 libcore/asobj/flash/geom/Point_as.cpp double x1 = toNumber(x1val, getVM(fn)); toNumber 466 libcore/asobj/flash/geom/Point_as.cpp double y1 = toNumber(y1val, getVM(fn)); toNumber 471 libcore/asobj/flash/geom/Point_as.cpp double x2 = toNumber(x2val, getVM(fn)); toNumber 476 libcore/asobj/flash/geom/Point_as.cpp double y2 = toNumber(y2val, getVM(fn)); toNumber 548 libcore/asobj/flash/geom/Point_as.cpp double x0 = toNumber(x0val, getVM(fn)); toNumber 549 libcore/asobj/flash/geom/Point_as.cpp double y0 = toNumber(y0val, getVM(fn)); toNumber 550 libcore/asobj/flash/geom/Point_as.cpp double x1 = toNumber(x1val, getVM(fn)); toNumber 551 libcore/asobj/flash/geom/Point_as.cpp double y1 = toNumber(y1val, getVM(fn)); toNumber 552 libcore/asobj/flash/geom/Point_as.cpp double mu = toNumber(muval, getVM(fn)); toNumber 594 libcore/asobj/flash/geom/Point_as.cpp double len = toNumber(lval, getVM(fn)); toNumber 595 libcore/asobj/flash/geom/Point_as.cpp double angle = toNumber(aval, getVM(fn)); toNumber 336 libcore/asobj/flash/geom/Rectangle_as.cpp double wn = toNumber(w, getVM(fn)); toNumber 339 libcore/asobj/flash/geom/Rectangle_as.cpp double hn = toNumber(h, getVM(fn)); toNumber 690 libcore/vm/ASHandlers.cpp const double operand2 = toNumber(env.top(0), getVM(env)); toNumber 691 libcore/vm/ASHandlers.cpp const double operand1 = toNumber(env.top(1), getVM(env)); toNumber 709 libcore/vm/ASHandlers.cpp const double operand2 = toNumber(env.top(0), getVM(env)); toNumber 710 libcore/vm/ASHandlers.cpp const double operand1 = toNumber(env.top(1), getVM(env)); toNumber 725 libcore/vm/ASHandlers.cpp const double operand2 = toNumber(env.top(0), getVM(env)); toNumber 726 libcore/vm/ASHandlers.cpp const double operand1 = toNumber(env.top(1), getVM(env)); toNumber 761 libcore/vm/ASHandlers.cpp const double op1 = toNumber(env.top(0), getVM(env)); toNumber 762 libcore/vm/ASHandlers.cpp const double op2 = toNumber(env.top(1), getVM(env)); toNumber 778 libcore/vm/ASHandlers.cpp const double d2 = toNumber(env.top(1), getVM(env)); toNumber 779 libcore/vm/ASHandlers.cpp const double d1 = toNumber(env.top(0), getVM(env)); toNumber 1052 libcore/vm/ASHandlers.cpp unsigned int prop_number = toNumber(env.top(0), getVM(env)); toNumber 1076 libcore/vm/ASHandlers.cpp unsigned int prop_number = toNumber(env.top(1), getVM(env)); toNumber 1099 libcore/vm/ASHandlers.cpp const double depth = toNumber(env.top(0), getVM(env)) + toNumber 1215 libcore/vm/ASHandlers.cpp boost::int32_t y1 = pixelsToTwips(toNumber(env.top(3), getVM(env))); toNumber 1216 libcore/vm/ASHandlers.cpp boost::int32_t x1 = pixelsToTwips(toNumber(env.top(4), getVM(env))); toNumber 1217 libcore/vm/ASHandlers.cpp boost::int32_t y0 = pixelsToTwips(toNumber(env.top(5), getVM(env))); toNumber 1218 libcore/vm/ASHandlers.cpp boost::int32_t x0 = pixelsToTwips(toNumber(env.top(6), getVM(env))); toNumber 1331 libcore/vm/ASHandlers.cpp int count = toNumber(env.pop(), getVM(env)); toNumber 2227 libcore/vm/ASHandlers.cpp size_t nargs = toNumber(env.pop(), getVM(env)); toNumber 2275 libcore/vm/ASHandlers.cpp const double y = toNumber(env.pop(), getVM(env)); toNumber 2276 libcore/vm/ASHandlers.cpp const double x = toNumber(env.pop(), getVM(env)); toNumber 2297 libcore/vm/ASHandlers.cpp unsigned nargs = toNumber(env.pop(), getVM(env)); toNumber 2645 libcore/vm/ASHandlers.cpp env.top(0).set_double(toNumber(env.top(0), getVM(env)) + 1); toNumber 2652 libcore/vm/ASHandlers.cpp env.top(0).set_double(toNumber(env.top(0), getVM(env)) - 1); toNumber 2690 libcore/vm/ASHandlers.cpp size_t nargs = toNumber(env.pop(), getVM(env)); toNumber 2827 libcore/vm/ASHandlers.cpp unsigned nargs = toNumber(env.pop(), getVM(env)); toNumber 868 libcore/vm/Machine.cpp toNumber(_stack.top(0), getVM(fn)); toNumber 957 libcore/vm/Machine.cpp toNumber(_stack.top(0), getVM(fn)); toNumber 989 libcore/vm/Machine.cpp toNumber(_stack.top(0), getVM(fn)); toNumber 1029 libcore/vm/Machine.cpp toNumber(_stack.top(0), getVM(fn)); toNumber 2231 libcore/vm/Machine.cpp toNumber(_stack.top(0), getVM(fn))); toNumber 2242 libcore/vm/Machine.cpp _stack.top(0) = toNumber(_stack.top(0), getVM(fn)); toNumber 2394 libcore/vm/Machine.cpp _stack.top(0) = -toNumber(_stack.top(0), getVM(fn)); toNumber 2415 libcore/vm/Machine.cpp setRegister(foff, toNumber(getRegister(foff), getVM(fn)) + 1); toNumber 2426 libcore/vm/Machine.cpp _stack.top(0) = toNumber(_stack.top(0), getVM(fn)) - 1; toNumber 2436 libcore/vm/Machine.cpp setRegister(foff, toNumber(getRegister(foff), getVM(fn)) - 1); toNumber 2496 libcore/vm/Machine.cpp _stack.top(1) = toNumber(_stack.top(1), getVM(fn)) * toNumber(_stack.top(0), getVM(fn)); toNumber 2507 libcore/vm/Machine.cpp _stack.top(1) = toNumber(_stack.top(1), getVM(fn)) / toNumber(_stack.top(0), getVM(fn)); toNumber 2520 libcore/vm/Machine.cpp double result = toNumber(_stack.top(1), getVM(fn)) / toNumber(_stack.top(0), getVM(fn)); toNumber 2522 libcore/vm/Machine.cpp _stack.top(1) = toNumber(_stack.top(1), getVM(fn)) - toNumber 2523 libcore/vm/Machine.cpp (trunc_result * toNumber(_stack.top(0), getVM(fn))); toNumber 2563 libcore/vm/Machine.cpp static_cast<boost::uint32_t>(toNumber(_stack.top(1), getVM(fn))) toNumber 381 libcore/vm/VM.cpp const double num1 = toNumber(op1, vm); toNumber 382 libcore/vm/VM.cpp const double num2 = toNumber(r, vm); toNumber 390 libcore/vm/VM.cpp const double num2 = toNumber(op2, vm); toNumber 391 libcore/vm/VM.cpp const double num1 = toNumber(op1, vm); toNumber 425 libcore/vm/VM.cpp const double num1 = toNumber(operand1, vm); toNumber 426 libcore/vm/VM.cpp const double num2 = toNumber(operand2, vm); toNumber 408 libcore/vm/VM.h double toNumber(const as_value& v, const VM& vm); toNumber 96 testsuite/misc-ming.all/attachMovieTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 102 testsuite/misc-ming.all/attachMovieTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 104 testsuite/misc-ming.all/attachMovieTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 161 testsuite/misc-ming.all/attachMovieTestRunner.cpp check_equals(toNumber(tmp, vm), 5); toNumber 71 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 0); toNumber 73 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 0); toNumber 79 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 81 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 0); toNumber 87 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 2); toNumber 89 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 95 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 3); toNumber 97 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 103 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 4); toNumber 105 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 2); toNumber 111 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 4); toNumber 113 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 3); toNumber 119 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 4); toNumber 121 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 4); toNumber 127 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 5); toNumber 129 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 4); toNumber 139 testsuite/misc-ming.all/intervalTestRunner.cpp check_equals(toNumber(tmp, vm), 1); toNumber 96 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 48); toNumber 98 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 48); toNumber 104 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 46); toNumber 106 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 46); toNumber 112 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 44); toNumber 114 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 44); toNumber 124 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 46); toNumber 126 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 46); toNumber 132 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 48); toNumber 134 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 48); toNumber 140 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 50); toNumber 142 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 50); toNumber 148 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 52); toNumber 150 testsuite/movies.all/gravity_embedded-TestRunner.cpp check_equals(round(toNumber(tmp, vm)), 52);