Lines Matching defs:seed
33 static unsigned int seed; /* Random seed */
42 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog);
46 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n");
100 /* Give a seed and iteration number */
101 fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter);
113 if (read(fd, &seed, sizeof(seed)) != sizeof(seed))
185 seed = (unsigned int)strtoul(optarg, &tmp, 0);
191 usage("Failed to parse seed");
209 usage("Don't use input file (-i) with random seed (-s)");
211 /* Initialize random seed */
213 if (!set_seed) /* No seed is given */
215 srand(seed);
256 "%s: %s: decoded and checked %d %s instructions with %d errors (seed:0x%x)\n",
262 seed);