Home
last modified time | relevance | path

Searched refs:rngSeed (Results 1 – 13 of 13) sorted by relevance

/external/catch2/include/internal/
Dcatch_random_number_generator.cpp20 if( config.rngSeed() != 0 ) { in seedRng()
21 std::srand( config.rngSeed() ); in seedRng()
22 rng().seed( config.rngSeed() ); in seedRng()
26 unsigned int rngSeed() { in rngSeed() function
27 return getCurrentContext().getConfig()->rngSeed(); in rngSeed()
Dcatch_config.hpp44 unsigned int rngSeed = 0; member
102 unsigned int rngSeed() const override;
Dcatch_config.cpp59 unsigned int Config::rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config
Dcatch_generators_specific.hpp28 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomFloatingGenerator()
50 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomIntegerGenerator()
Dcatch_user_interfaces.h15 unsigned int rngSeed();
Dcatch_random_number_generator.h19 unsigned int rngSeed();
Dcatch_commandline.cpp70 return clara::detail::convertInto( seed, config.rngSeed ); in makeCommandLineParser()
71 config.rngSeed = static_cast<unsigned int>( std::time(nullptr) ); in makeCommandLineParser()
Dcatch_interfaces_config.h73 virtual unsigned int rngSeed() const = 0;
/external/catch2/include/reporters/
Dcatch_reporter_xml.cpp58 if( m_config->rngSeed() != 0 ) in testRunStarting()
60 .writeAttribute( "seed", m_config->rngSeed() ); in testRunStarting()
Dcatch_reporter_junit.cpp79 if( m_config->rngSeed() != 0 ) { in testRunStarting()
83 .writeAttribute( "value", m_config->rngSeed() ); in testRunStarting()
Dcatch_reporter_console.cpp470 if (m_config->rngSeed() != 0) in lazyPrintRunInfo()
471 stream << "Randomness seeded to: " << m_config->rngSeed() << "\n\n"; in lazyPrintRunInfo()
/external/catch2/single_include/catch2/
Dcatch.hpp96 unsigned int rngSeed();
4026 virtual unsigned int rngSeed() const = 0;
4051 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomFloatingGenerator()
4073 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomIntegerGenerator()
4671 unsigned int rngSeed = 0; member
4728 unsigned int rngSeed() const override;
7837 return clara::detail::convertInto( seed, config.rngSeed ); in makeCommandLineParser()
7838 config.rngSeed = static_cast<unsigned int>( std::time(nullptr) ); in makeCommandLineParser()
8064 unsigned int Config::rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config
8810 unsigned int rngSeed();
[all …]
/external/bcc/tests/cc/
Dcatch.hpp406 unsigned int rngSeed();
3398 virtual unsigned int rngSeed() const = 0;
3490 rngSeed( 0 ), in ConfigData()
3511 unsigned int rngSeed; member
3582 virtual unsigned int rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config
4654 config.rngSeed = static_cast<unsigned int>( std::time(0) ); in setRngSeed()
4659 ss >> config.rngSeed; in setRngSeed()
7808 if( config.rngSeed() != 0 ) in seedRng()
7809 std::srand( config.rngSeed() ); in seedRng()
7811 unsigned int rngSeed() { in rngSeed() function
[all …]