• 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 float value = deFloatClamp(minVal + step*state.getRandom().getInt(0, numSteps), minVal, maxVal); in FloatLiteral()
435 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
483 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
713 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
823 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
835 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
848 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
871 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp()
987 …state.getVariableManager().setStorage(variable, state.getRandom().chooseWeighted<Variable::Storage… in allocateNewVariable()
1087 …riableManager().hasEntry(filter) || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.5f)); in VariableRead()
1101 …m_variable = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(filte… in VariableRead()
1111 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnReadW… in VariableRead()
1131 …const ValueEntry* entry = state.getRandom().chooseWeighted<const ValueEntry*>(availableVars.begin(… in VariableRead()
1174 …(state, valueRange.getType()) && (first == end || getWeightedBool(state.getRandom(), createOnAssig… in VariableWrite()
1185 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(first, end); in VariableWrite()
1281 m_numInputElements = state.getRandom().getInt(deMax32(numOutputElements, 2), 4); in SwizzleOp()
1292 … int inElemNdx = state.getRandom().choose<int>(availableElements.begin(), availableElements.end()); in SwizzleOp()
1341 switch (state.getRandom().getInt(0, 2)) in tokenize()
1432 m_type = state.getRandom().choose<Type>(typeCandidates.begin(), typeCandidates.end()); in TexLookup()
1458 bool allocSampler = !hasSampler || (canAllocSampler && state.getRandom().getBool()); in TexLookup()
1467 …m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamp… in TexLookup()
1497 int majorAxisNdx = state.getRandom().getInt(0, 2); in createNextChild()
1505 bool neg = state.getRandom().getBool(); in createNextChild()
1529 bool neg = state.getRandom().getBool(); in createNextChild()