Home
last modified time | relevance | path

Searched refs:RANDOM (Results 1 – 25 of 54) sorted by relevance

123

/titanic_41/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_006_pos.ksh78 $((pageblocks * ((RANDOM % 50) + 1) + (RANDOM % pageblocks) )) \
80 $((pageblocks * ((RANDOM % 50) + 1) + (RANDOM % pageblocks) )) \
82 $((pageblocks * ((RANDOM % 50) + 1) + (RANDOM % pageblocks) )) \
84 $((pageblocks * ((RANDOM % 50) + 1) + (RANDOM % pageblocks) ))
/titanic_41/usr/src/test/zfs-tests/tests/functional/compression/
H A Dcompress_004_pos.ksh61 for start in 0 `expr $RANDOM % $fsz`
64 for len in `expr $RANDOM % $dist` $dist \
104 (( fsize = $RANDOM ))
120 (( blknum = blknum + $RANDOM % 9 ))
H A Dcompress_003_pos.ksh78 (( offset = $RANDOM ))
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_008_pos.ksh87 (( item = $RANDOM % ${#options[@]} ))
88 (( depth_item = $RANDOM % ${#depth_options[@]} ))
100 (( item = $RANDOM % ${#options[@]} ))
101 (( depth_item = $RANDOM % ${#depth_options[@]} ))
H A Dzfs_get_common.kshlib65 (( numb_item = ($RANDOM % ${#elements[@]}) + 1 ))
69 (( item = $RANDOM % ${#elements[@]} ))
/titanic_41/usr/src/common/mpi/
H A Dmpprime.c65 #define RANDOM() rand() macro
67 #define RANDOM() foo_rand() macro
99 next = (next << CHAR_BIT) | (RANDOM() & UCHAR_MAX); in mpp_random()
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_compact_001_pos.ksh67 ((ind = $RANDOM % cnt))
181 ((cnt = ($RANDOM % ${#a_access[@]}) + 1))
189 ((cnt = ($RANDOM % ${#a_inherit_object[@]}) + 1))
191 ((cnt = ($RANDOM % ${#a_inherit_strategy[@]}) + 1))
H A Dzfs_acl_chmod_rwx_002_pos.ksh65 (( ind = $RANDOM % cnt ))
181 (( cnt = ($RANDOM % ${#a_access[@]}) + 1 ))
/titanic_41/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib242 ((nl = RANDOM % 6 + 1))
243 ((nd = RANDOM % 3 ))
244 ((nf = RANDOM % 5 ))
396 bs=$(($RANDOM * $RANDOM % $maxsize)) \
434 offset=$(($RANDOM * $RANDOM % $filesize))
435 if (($RANDOM % 7 <= 1)); then
/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dshnote.sh233 …typeset -r boundary="--------shnote_${RANDOM}_Xfish_${RANDOM}_Yeats_${RANDOM}_Zchicken_${RANDOM}mo…
H A Dshircbot.sh374 …( printf 'export PATH=/usr/${RANDOM}/$$/${RANDOM}/foo ; set -o restricted ; printf "%%s = %%.40g\n…
390 print "%(%Y%M%D%S%N)T$((RANDOM))%s\n" "${msguser}" | sum -x sha256
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_001_pos.ksh52 ((len = RANDOM % 32))
54 ((len = RANDOM % 512))
H A Duser_property_003_neg.ksh50 ((len = RANDOM % 32))
52 ((len = RANDOM % 512))
H A Dzfs_set_common.kshlib147 ((ind = RANDOM % count))
166 ((len = RANDOM % sumlen))
199 ((len = RANDOM % sumlen))
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dvariables.sh40 if (( RANDOM==RANDOM || $RANDOM==$RANDOM ))
41 then err_exit RANDOM variable not working
174 unset RANDOM
607 for v in EDITOR VISUAL OPTIND CDPATH FPATH PATH ENV LINENO RANDOM SECONDS _
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_rename_001_pos.ksh122 if (( RANDOM % 2 == 0 )) ; then
151 if (( RANDOM % 2 == 0 )) ; then
H A Dzpool_import_011_neg.ksh69 if (( RANDOM % 2 == 0 )) ; then
H A Dzpool_import_006_pos.ksh69 if (( RANDOM % 2 == 0 )) ; then
H A Dzpool_import_004_pos.ksh68 if (( RANDOM % 2 == 0 )) ; then
/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef.c64 (void) filter_mechlist(&pmechlist, RANDOM); in list_mechlist_for_soft()
105 (void) filter_mechlist(&pmechlist, RANDOM); in list_mechlist_for_hard()
149 has_random = filter_mechlist(&pmechlist, RANDOM); in list_policy_for_soft()
210 has_random = filter_mechlist(&pmechlist, RANDOM); in list_policy_for_hard()
317 (void) filter_mechlist(&dislist, RANDOM); in disable_kef_hardware()
465 (void) filter_mechlist(&infolist, RANDOM); in disable_kef_software()
580 redo_flag = filter_mechlist(&pent->dislist, RANDOM); in enable_kef()
594 if ((tmp = create_mech(RANDOM)) == NULL) { in enable_kef()
/titanic_41/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh88 compression gzip compression gzip-$((RANDOM%9 + 1))
89 copies $((RANDOM%3 + 1))
/titanic_41/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
/titanic_41/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/
H A Dzpool_online_001_pos.ksh97 index=`expr $RANDOM % ${#args[*]}`
/titanic_41/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_017_pos.sh83 ((randomblknum = 1 + RANDOM % blknum))

123