• Home
  • Raw
  • Download

Lines Matching refs:random

158     int align1 = alignments[random() % (usable_alignments - 1)];  in NewIteration()
159 int align2 = alignments[random() % (usable_alignments - 1)]; in NewIteration()
201 memset(state.ptr1, random() & 255, state.len[i]); in TEST()
202 state.ptr1[random() % state.len[i]] = '\0'; in TEST()
382 int seek_char = random() & 255; in TEST()
396 int pos = random() % state.MAX_LEN; in TEST()
425 int pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST()
456 size_t pos = random() % state.MAX_LEN; in TEST()
489 int pos = random() % state.MAX_LEN; in TEST()
513 int rand = random() & 255; in TEST()
519 size_t pos = random() % state.MAX_LEN; in TEST()
525 memset(state.ptr2, random() & 255, state.MAX_LEN); in TEST()
552 memset(state.ptr1, random() & 255, state.len[i]); in TEST()
553 state.ptr1[random() % state.len[i]] = '\0'; in TEST()
558 size_t actual = random() % state.len[i]; in TEST()
579 int pos = 1 + (random() % (state.MAX_LEN - 1)); in TEST()
610 memset(state.ptr1, random() & 255, state.MAX_LEN); in TEST()
611 state.ptr1[random () % state.MAX_LEN] = '\0'; in TEST()
633 int seek_char = random() & 255; in TEST()
646 int pos = random() % state.MAX_LEN; in TEST()
665 int seek_char = random() & 255; in TEST()
673 int pos = random() % state.MAX_LEN; in TEST()
688 int seek_char = random() & 255; in TEST()
696 int pos = random() % state.MAX_LEN; in TEST()
716 int c1 = random() & 0xff; in TEST()
717 int c2 = random() & 0xff; in TEST()
721 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); in TEST()
749 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); in TEST()
774 int pos = (state.len[i] == 0) ? 0 : (random() % state.len[i]); in TEST()
787 int rand = random() & 255; in TEST()
792 size_t pos = random() % (state.MAX_LEN - state.len[i]); in TEST()
809 char ch = random () & 255; in TEST()
817 size_t pos = random () % (state.MAX_LEN - state.len[i]); in TEST()
835 memset(state.ptr1, random() & 255, 2 * state.MAX_LEN); in TEST()
837 size_t pos = random() % (state.MAX_LEN - state.len[i]); in TEST()
839 memset(state.ptr1, random() & 255, state.len[i]); in TEST()
856 memset(state.ptr1, random() & 255, state.MAX_LEN); in TEST()
857 memset(state.ptr1 + state.MAX_LEN, random() & 255, state.MAX_LEN); in TEST()
860 size_t start = random() % (2 * state.MAX_LEN - state.len[i]); in TEST()
874 memset(state.ptr1, random() & 255, state.MAX_LEN); in TEST()
876 size_t start = random() % state.MAX_LEN; in TEST()
877 size_t end = start + random() % (state.MAX_LEN - start); in TEST()