Lines Matching defs:seed
37 static unsigned int seed; /* Random seed */
46 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog);
50 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n");
104 /* Give a seed and iteration number */
105 fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter);
117 if (read(fd, &seed, sizeof(seed)) != sizeof(seed))
189 seed = (unsigned int)strtoul(optarg, &tmp, 0);
195 usage("Failed to parse seed");
213 usage("Don't use input file (-i) with random seed (-s)");
215 /* Initialize random seed */
217 if (!set_seed) /* No seed is given */
219 srand(seed);
260 "%s: %s: decoded and checked %d %s instructions with %d errors (seed:0x%x)\n",
266 seed);