Searched refs:rand (Results 1 - 14 of 14) sorted by relevance

/inkscape/cxxtest/sample/mock/
H A DDice.cpp11 return (T::rand() % 6) + 1;
H A DMockStdlib.h18 int rand() function in class:MockStdlib
H A DTestDice.h51 class Five : public T::Base_rand { int rand() { return 5; } }; function in class:TestDice::Five
/inkscape/cxxtest/sample/mock/T/
H A Dstdlib.h10 CXXTEST_MOCK_GLOBAL( int, rand, ( void ), () );
/inkscape/src/live_effects/parameter/
H A Drandom.h60 gdouble rand();
H A Drandom.cpp141 return rand() * value;
161 RandomParam::rand() function in class:Inkscape::LivePathEffect::RandomParam
/inkscape/src/svg/
H A Dsvg-color-test.h56 unsigned const rgb24 = (std::rand() >> 4) & 0xffffff;
/inkscape/src/libdepixelize/priv/
H A Doptimization-kopf2011.h181 (T(std::rand()) / RAND_MAX) * radius * 2 - radius,
182 (T(std::rand()) / RAND_MAX) * radius * 2 - radius
/inkscape/src/
H A Did-clash.cpp229 new_id += "0123456789"[std::rand() % 10];
396 new_name2 += "0123456789"[std::rand() % 10];
/inkscape/src/ui/dialog/
H A Dclonetiler.h70 static double randomize01(double val, double rand);
H A Dclonetiler.cpp2213 Randomizes \a val by \a rand, with 0 < val < 1 and all values (including 0, 1) having the same
2216 double CloneTiler::randomize01(double val, double rand) argument
2218 double base = MIN (val - rand, 1 - 2*rand);
2222 val = base + g_random_double_range (0, MIN (2 * rand, 1 - base));
/inkscape/src/live_effects/
H A Dlpe-sketch.cpp330 double proba = repartition.firstValue()+ (rand()%100)/100.*(repartition.lastValue()-repartition.firstValue());
H A Dlpe-roughen.cpp39 { HM_RAND, N_("Rand"), "rand" },
173 if (rand() % 100 < 49) {
/inkscape/src/ui/tools/
H A Dspray-tool.cpp453 Randomizes \a val by \a rand, with 0 < val < 1 and all values (including 0, 1) having the same
456 double randomize01(double val, double rand) argument
458 double base = MIN (val - rand, 1 - 2*rand);
462 val = base + g_random_double_range (0, MIN (2 * rand, 1 - base));

Completed in 4324 milliseconds