Lines Matching refs:COCCI
174 COCCI="$1"
176 OPT=`grep "Options:" $COCCI | cut -d':' -f2`
177 REQ=`grep "Requires:" $COCCI | cut -d':' -f2 | sed "s| ||"`
181 echo "Skipping coccinelle SmPL patch: $COCCI"
194 FILE=${COCCI#$srctree/}
196 echo "Processing `basename $COCCI`"
201 sed -ne 's|^///||p' $COCCI
220 if [ "`sed -ne 's|^//#||p' $COCCI`" ] ; then
222 sed -ne 's|^//#||p' $COCCI
229 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
231 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
233 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
235 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
238 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
240 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
242 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
256 if [ "$COCCI" = "" ] ; then
261 coccinelle $COCCI