Lines Matching refs:random1

109         array_dim_(random1(kMaxDim)),  in JFuzz()
110 array_size_(random1(kMaxDimSize[array_dim_])), in JFuzz()
181 switch (random1(5)) { in randomType()
254 switch (random1(5)) { in emitTypeConversionOp()
263 switch (random1(6)) { in emitTypeConversionOp()
273 switch (random1(4)) { in emitTypeConversionOp()
281 switch (random1(5)) { in emitTypeConversionOp()
312 switch (random1(6)) { in emitIntrinsic1()
322 switch (random1(13)) { in emitIntrinsic1()
339 switch (random1(6)) { in emitIntrinsic1()
360 switch (random1(3)) { in emitIntrinsic2()
367 switch (random1(11)) { in emitIntrinsic2()
382 switch (random1(5)) { in emitIntrinsic2()
395 if (random1(2) == 1) { in emitIntrinsic()
415 switch (random1(8)) { in emitMethodCall()
448 switch (random1(2)) { in emitMisc()
454 switch (random1(6)) { in emitMisc()
478 if (random1(8) == 1) { in emitUpperBound()
480 } else if (random1(8) == 1) { in emitUpperBound()
481 fprintf(out_, "%u", random1(array_size_)); // random in range in emitUpperBound()
489 if (loop_nest_ > 0 && random1(2) == 1) { in emitArrayIndex()
491 } else if (random1(8) == 1) { in emitArrayIndex()
497 if (random1(100) == 1) { in emitArrayIndex()
498 if (random1(2) == 1) { in emitArrayIndex()
509 case kBoolean: fputs(random1(2) == 1 ? "true" : "false", out_); break; in emitLiteral()
561 switch (random1(4)) { in emitVariable()
579 if (random1(expr_depth_ + 1) > fuzz_expr_depth_) { in emitExpression()
580 if (random1(2) == 1) { in emitExpression()
591 switch (random1(12)) { // favor binary operations in emitExpression()
665 if (mustEmit || ((if_nest_ + loop_nest_) > 0 && do_nest_ == 0 && random1(10) == 1)) { in emitReturn()
678 if (loop_nest_ > 0 && random1(10) == 1) { in emitContinue()
690 if (loop_nest_ > 0 && switch_nest_ == 0 && random1(10) == 1) { in emitBreak()
796 if (random1(loop_nest_ + 1) > fuzz_loop_nest_) { in emitForLoop()
800 bool goesUp = random1(2) == 1; in emitForLoop()
828 if (random1(loop_nest_ + 1) > fuzz_loop_nest_) { in emitDoLoop()
832 bool isWhile = random1(2) == 1; in emitDoLoop()
873 if (random1(if_nest_ + 1) > fuzz_if_nest_) { in emitIfStmt()
910 uint32_t count = random1(countof(kExceptionTypes)); in emitCatch()
969 if (random1(if_nest_ + 1) > fuzz_if_nest_) { in emitSwitch()
1029 switch (random1(16)) { // favor assignments in emitStatement()
1054 if (random1(stmt_length_) > fuzz_stmt_length_) { in emitStatementList()
1262 uint32_t random1(uint32_t max) { in random1() function in __anon58250dea0111::JFuzz