Home
last modified time | relevance | path

Searched refs:RNG (Results 1 – 25 of 35) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceRNG.h65 uint64_t operator()(uint64_t Max) { return RNG.next(Max); } in operator()
67 explicit RandomNumberGeneratorWrapper(RandomNumberGenerator &RNG) in RandomNumberGeneratorWrapper() argument
68 : RNG(RNG) {} in RandomNumberGeneratorWrapper()
71 RandomNumberGenerator &RNG;
78 void RandomShuffle(RandomIt First, RandomIt Last, RandomFunc &&RNG) { in RandomShuffle() argument
80 std::swap(First[i], First[RNG(i + 1)]); in RandomShuffle()
DIceGlobalContext.cpp513 RandomNumberGenerator RNG(getFlags().getRandomSeed(), in lowerGlobals() local
516 [&RNG](int N) { return (uint32_t)RNG.next(N); }); in lowerGlobals()
589 RandomNumberGenerator RNG(getFlags().getRandomSeed(), RPE_FunctionReordering); in emitItems() local
643 [&RNG](uint64_t N) { return (uint32_t)RNG.next(N); }); in emitItems()
909 RandomNumberGenerator RNG(getFlags().getRandomSeed(), in getJumpTables() local
912 [&RNG](uint64_t N) { return (uint32_t)RNG.next(N); }); in getJumpTables()
DIceCfg.cpp51 RandomNumberGenerator RNG(getFlags().getRandomSeed(), RPE_ConstantBlinding, in Cfg() local
54 (uint32_t)RNG.next((uint64_t)std::numeric_limits<uint32_t>::max() + 1); in Cfg()
492 Ice::RandomNumberGenerator *RNG) { in getRandomPostOrder() argument
497 [RNG](int N) { return RNG->next(N); }); in getRandomPostOrder()
500 getRandomPostOrder(Next, ToVisit, PostOrder, RNG); in getRandomPostOrder()
514 RandomNumberGenerator RNG(getFlags().getRandomSeed(), in shuffleNodes() local
517 getRandomPostOrder(getEntryNode(), ToVisit, ReversedReachable, &RNG); in shuffleNodes()
1526 RandomNumberGenerator RNG(getFlags().getRandomSeed(), RPE_NopInsertion, in doNopInsertion() local
1529 Node->doNopInsertion(RNG); in doNopInsertion()
DIceRNG.cpp52 return RNG.next(MAX) < Probability * MAX; in getTrueWithProbability()
DIceCfgNode.h105 void doNopInsertion(RandomNumberGenerator &RNG);
DIceELFObjectWriter.cpp552 RandomNumberGenerator RNG(getFlags().getRandomSeed(), in writeConstantPool() local
555 [&RNG](uint64_t N) { return (uint32_t)RNG.next(N); }); in writeConstantPool()
DIceTargetLowering.h219 void doNopInsertion(RandomNumberGenerator &RNG);
433 RandomNumberGenerator &RNG) = 0;
DIceTargetLoweringX8632Traits.h621 RandomNumberGenerator RNG(getFlags().getRandomSeed(),
623 RandomNumberGeneratorWrapper RNGW(RNG);
DIceTargetLowering.cpp378 void TargetLowering::doNopInsertion(RandomNumberGenerator &RNG) { in doNopInsertion() argument
386 randomlyInsertNop(Probability / 100.0, RNG); in doNopInsertion()
DIceTargetLoweringX8664Traits.h665 RandomNumberGenerator RNG(getFlags().getRandomSeed(),
667 RandomNumberGeneratorWrapper RNGW(RNG);
DIceCfgNode.cpp613 void CfgNode::doNopInsertion(RandomNumberGenerator &RNG) { in doNopInsertion() argument
627 Target->doNopInsertion(RNG); in doNopInsertion()
DIceTargetLoweringMIPS32.h797 RandomNumberGenerator &RNG) override;
DIceTargetLoweringARM32.h300 RandomNumberGenerator &RNG) override;
DIceTargetLoweringX86BaseImpl.h6045 RandomNumberGenerator &RNG) {
6046 RandomNumberGeneratorWrapper RNGW(RNG);
8451 RandomNumberGenerator RNG(getFlags().getRandomSeed(),
8454 [&RNG](uint64_t N) { return (uint32_t)RNG.next(N); });
/external/tensorflow/tensorflow/core/kernels/
Drandom_op_test.cc61 #define BM_RNG(DEVICE, RNG) \ argument
62 void BM_##DEVICE##_##RNG(int iters, int arg) { \
64 test::Benchmark(#DEVICE, RNG(arg)).Run(iters); \
66 BENCHMARK(BM_##DEVICE##_##RNG)->Range(1 << 20, 8 << 20);
/external/swiftshader/third_party/subzero/unittest/
DIceELFSectionTest.cpp97 RandomNumberGeneratorWrapper RNG(R); in TEST() local
100 RandomShuffle(Strings.begin(), Strings.end(), RNG); in TEST()
/external/libxml2/optim/
DTOTRY6 - recheck > 4Gb instances for parsing, and RNG validation.
/external/boringssl/src/crypto/fipsmodule/
DFIPS.md40 ## RNG design
52 There is a second interface to the RNG which allows the caller to supply bytes that will be XORed i…
54RNG state be zeroed when the process exits. In order to implement this, all per-thread RNG states …
/external/dnsmasq/
DCHANGELOG421 arc4random() RNG, which is secure, but on other platforms,
422 it relied on the C-library RNG, which may be
424 replaces the libc RNG with the SURF RNG, from Daniel
/external/v8/benchmarks/
DREADME.txt24 Math.random() and new Date() to build an RNG pool has been removed.
/external/curl/lib/vtls/
Dcyassl.c948 RNG rng; in Curl_cyassl_random()
/external/tensorflow/tensorflow/compiler/tests/
DBUILD442 # TODO(b/31361304): enable RNG ops on GPU when parallelized.
/external/libevent/
Dwhatsnew-2.0.txt532 internal RNG to generate DNS transaction IDs, so you don't need to supply
565 6.3. Secure RNG support
DChangeLog694 o Avoid other RNG initialization FS reads when urandom file is
696 o Really remove RNG seeds from the stack (f5ced88)
1097 o Avoid other RNG initialization FS reads when urandom file is specified (9695e9c, bb52471)
1108 o Really remove RNG seeds from the stack (f5ced88)
/external/libxml2/
DNEWS484 Fix an unimplemented part in RNG value validation (Daniel Veillard),
711 558452 RNG compilation of optional multiple child (Daniel Veillard),
736 Fix the problem of revalidating a doc with RNG (Daniel Veillard),
1160 - improvements: structured interfaces for schemas and RNG error reports
1268 patterns with too many steps, bug in RNG choice optimization, line number

12