Lines Matching refs:MODE
44 MODE="${i#*=}"
108 if [ "$MODE" = "" ] ; then
113 MODE="report"
116 if [ "$MODE" = "chain" ] ; then
119 elif [ "$MODE" = "report" -o "$MODE" = "org" ] ; then
153 elif [[ $VIRTUAL != *"$MODE"* ]]; then
154 echo "Invalid mode \"$MODE\" supplied!"
158 MODE=report
160 MODE=context
162 MODE=patch
164 MODE=org
166 echo "Using random available mode: \"$MODE\""
181 if [ "$MODE" = "patch" ] ; then
183 elif [ "$MODE" = "report" ] ; then
185 elif [ "$MODE" = "context" ] ; then
187 elif [ "$MODE" = "org" ] ; then
205 if [ "$MODE" = "chain" ] ; then
214 elif [ "$MODE" = "rep+ctxt" ] ; then
220 run_cmd_parmap $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
223 MODE=report