• Home
  • Raw
  • Download

Lines Matching refs:getRandom

167 	de::Random&		rnd		= state.getRandom();  in computeRandomValueRangeForInfElements()
340 return &state.getRandom().chooseWeighted<const ExpressionSpec&>(specs, specs+numSpecs, weights); in chooseExpression()
380 …const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minV… in FloatLiteral()
447 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
495 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
739 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
849 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
861 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
874 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
897 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp()
1013 …state.getVariableManager().setStorage(variable, state.getRandom().chooseWeighted<Variable::Storage… in allocateNewVariable()
1113 …riableManager().hasEntry(filter) || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.5f)); in VariableRead()
1127 …m_variable = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(filte… in VariableRead()
1137 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnReadW… in VariableRead()
1157 …const ValueEntry* entry = state.getRandom().chooseWeighted<const ValueEntry*>(availableVars.begin(… in VariableRead()
1200 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnAssig… in VariableWrite()
1211 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(first, end); in VariableWrite()
1312 m_numInputElements = state.getRandom().getInt(deMax32(numOutputElements, 2), 4); in SwizzleOp()
1323 … int inElemNdx = state.getRandom().choose<int>(availableElements.begin(), availableElements.end()); in SwizzleOp()
1372 switch (state.getRandom().getInt(0, 2)) in tokenize()
1463 m_type = state.getRandom().choose<Type>(typeCandidates.begin(), typeCandidates.end()); in TexLookup()
1489 bool allocSampler = !hasSampler || (canAllocSampler && state.getRandom().getBool()); in TexLookup()
1498 …m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamp… in TexLookup()
1528 int majorAxisNdx = state.getRandom().getInt(0, 2); in createNextChild()
1536 bool neg = state.getRandom().getBool(); in createNextChild()
1560 bool neg = state.getRandom().getBool(); in createNextChild()