Home
last modified time | relevance | path

Searched refs:RNG (Results 1 – 25 of 46) 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()
/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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_StatefulUniformFullInt.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
Dapi_def_StatefulStandardNormalV2.pbtxt6 The handle of the resource variable that stores the state of the RNG.
12 The RNG algorithm.
Dapi_def_StatefulUniformInt.pbtxt7 The handle of the resource variable that stores the state of the RNG.
13 The RNG algorithm.
Dapi_def_NonDeterministicInts.pbtxt24 This op may use some OS-provided source of non-determinism (e.g. an RNG), so each execution will gi…
Dapi_def_StatefulStandardNormal.pbtxt6 The handle of the resource variable that stores the state of the RNG.
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DModuleTest.cpp66 std::unique_ptr<RandomNumberGenerator> RNG = M.createRNG(&DP); in TEST() local
68 [&]() { return dist(*RNG); }); in TEST()
/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.md41 ## RNG design
53 There is a second interface to the RNG which allows the caller to supply bytes that will be XORed i…
55RNG 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.c950 RNG rng; in Curl_cyassl_random()
/external/u-boot/arch/arm/dts/
Dstm32f429.dtsi702 clocks = <&rcc 0 STM32F4_AHB2_CLOCK(RNG)>;

12