Home | History | Annotate | Download | only in utility

Lines Matching refs:try

13 try=$high
17 ## echo trying $try [ $low $high ]
18 if /usr/bin/tpmc definespace 0xf004 $(printf "0x%x" $try) 0x1 \
20 # definespace success: end, or $try must grow
21 if [ $try -eq $low ]; then
24 elif [ $try -lt $high ]; then
25 low=$try
26 try=$(( ( $high + $low ) / 2 ))
28 # special case: when try == high, expand the search
29 low=$try
30 try=$(( $try * 2 ))
31 high=$try
39 echo please correct this condition and try again
42 # definespace failure: end, or $try must shrink
43 if [ $try -eq $low ]; then
47 high=$try
48 try=$(( ( $high + $low ) / 2 ))