Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 57) sorted by relevance

123

/AOO41X/main/drawinglayer/source/primitive2d/
H A Dgraphicprimitivehelper2d.cxx394 … Color aColor(basegfx::BColor(rand() / 32767.0, rand() / 32767.0, rand() / 32767.0)); in create2DDecompositionOfGraphic()
399 aRectangle.Left() + basegfx::fround(rand() * (fHor / 32767.0)), in create2DDecompositionOfGraphic()
400 aRectangle.Top() + basegfx::fround(rand() * (fVer / 32767.0))); in create2DDecompositionOfGraphic()
404 … aColor = Color(basegfx::BColor(rand() / 32767.0, rand() / 32767.0, rand() / 32767.0)); in create2DDecompositionOfGraphic()
416 … aOut.SetLineColor(Color(basegfx::BColor(rand() / 32767.0, rand() / 32767.0, rand() / 32767.0))); in create2DDecompositionOfGraphic()
422 aRectangle.Left() + basegfx::fround(rand() * (fHor / 32767.0)), in create2DDecompositionOfGraphic()
423 aRectangle.Top() + basegfx::fround(rand() * (fVer / 32767.0))); in create2DDecompositionOfGraphic()
433 … aOut.SetLineColor(Color(basegfx::BColor(rand() / 32767.0, rand() / 32767.0, rand() / 32767.0))); in create2DDecompositionOfGraphic()
437 aRectangle.Left() + basegfx::fround(rand() * (fHor / 32767.0)), in create2DDecompositionOfGraphic()
438 aRectangle.Top() + basegfx::fround(rand() * (fVer / 32767.0))); in create2DDecompositionOfGraphic()
[all …]
H A Dpolygonprimitive2d.cxx281 ? basegfx::BColor(rand() / 32767.0, rand() / 32767.0, rand() / 32767.0) in create2DDecomposition()
/AOO41X/main/svx/source/svdraw/
H A Dsdrpaintwindow.cxx95 … const Color aColor((((((rand()&0x7f)|0x80)<<8L)|((rand()&0x7f)|0x80))<<8L)|((rand()&0x7f)|0x80)); in OutputPreRenderDevice()
H A Dsdrpagewindow.cxx284 Color aColor(rand()%255, rand()%255, rand()%255); in impTryTest()
/AOO41X/main/framework/qa/complex/framework/recovery/
H A DRecoveryTest.java697 Random rand = new Random(); in makePosZize() local
700 posSize.X = rand.nextInt(windowMaxPosition.x + 1); in makePosZize()
701 posSize.Y = rand.nextInt(windowMaxPosition.y + 1); in makePosZize()
705 int height = rand.nextInt(maxHeight + 1); in makePosZize()
706 int width = rand.nextInt((windowMaxSize.Width-posSize.Y) + 1); in makePosZize()
/AOO41X/main/sd/source/core/
H A DCustomAnimationPreset.cxx641 sal_Int32 nCategory = (rand() * pCategoryList->size() / RAND_MAX); in getRandomPreset()
646 sal_Int32 nDescriptor = (rand() * pCategory->maEffects.size() / RAND_MAX); in getRandomPreset()
655 sal_Int32 nSubType = (rand() * aSubTypes.size() / RAND_MAX); in getRandomPreset()
/AOO41X/main/drawinglayer/source/texture/
H A Dtexture.cxx55 rBColor.setRed((rand() & 0x7fff) / 32767.0); in modifyBColor()
56 rBColor.setGreen((rand() & 0x7fff) / 32767.0); in modifyBColor()
57 rBColor.setBlue((rand() & 0x7fff) / 32767.0); in modifyBColor()
/AOO41X/main/soldep/source/
H A Dsoldep.cxx1286 nIdx1 = (sal_uIntPtr) ( double( rand() ) / RAND_MAX * nLevelObjCount ); in Impl_PermuteMin()
1288 nIdx1 = (sal_uIntPtr) ( double( rand() ) / RAND_MAX * nLevelObjCount ); in Impl_PermuteMin()
1289 nIdx2 = (sal_uIntPtr) ( double( rand() ) / RAND_MAX * nLevelObjCount ); in Impl_PermuteMin()
1291 nIdx2 = (sal_uIntPtr) ( double( rand() ) / RAND_MAX * nLevelObjCount ); in Impl_PermuteMin()
/AOO41X/main/redland/rasqal/
H A Drasqal-0.9.33.patch.win32104 /* Define to 1 if you have the `rand' function. */
253 /* Use POSIX srand() and rand() */
/AOO41X/main/desktop/source/app/
H A Dlockfile.cxx86 tmpByte = rand( ) % 0xFF; in Lockfile()
/AOO41X/main/slideshow/source/inc/
H A Dtools.hxx312 double(n) * rand() / (RAND_MAX + 1.0) ); in getRandomOrdinal()
/AOO41X/main/basegfx/test/
H A Dboxclipper.cxx60 return double(n) * rand() / (RAND_MAX + 1.0); in getRandomOrdinal()
/AOO41X/main/vbahelper/source/vbahelper/
H A Dvbacommandbarhelper.cxx271 url += rtl::OUString::valueOf( sal_Int64( rand() ), 16 ); in generateCustomURL()
/AOO41X/main/xmloff/source/text/
H A Dtxtlists.cxx244 n += rand(); in GenerateNewListId()
/AOO41X/main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_8/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_9/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Root_4/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_4/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Sub_CA_1_Root_7/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Sub_CA_2_Root_7/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/canvas/workben/
H A Dcanvasdemo.cxx460 return (double)(rand()) / RAND_MAX * 100 + 50; in gimmerand()
/AOO41X/main/xmlsecurity/test_docs/CAs/Root_2/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Root_7/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Root_11/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file
/AOO41X/main/xmlsecurity/test_docs/CAs/Root_6/
H A Dopenssl.cfg72 RANDFILE = $dir/private/.rand # private random number file

123