Home
last modified time | relevance | path

Searched refs:random_bit (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/include/old/
H A Drandom_range.h43 long random_bit ( long );
/third_party/ltp/lib/
H A Drandom_range.c620 * random_bit(mask)
626 long random_bit(long mask) in random_bit() function
677 * The following is a unit test main function for random_bit().
689 ret = random_bit(mask);
690 printf("random_bit(%#o) returned %#o\n", mask, ret);
693 ret = random_bit(mask);
694 printf("random_bit(%#o) returned %#o\n", mask, ret);
699 printf("Calling random_bit %d times for mask %#o\n",
703 ret = random_bit(mask);
704 printf("random_bit(
[all...]
H A Dtlibio.c476 mask = mask | random_bit(curr_mask & LIO_IO_TYPES); in lio_random_methods()
479 mask = mask | random_bit(curr_mask & LIO_WAIT_TYPES); in lio_random_methods()

Completed in 4 milliseconds