Lines Matching refs:COCCI
196 COCCI="$1"
198 OPT=`grep "Options:" $COCCI | cut -d':' -f2`
199 REQ=`grep "Requires:" $COCCI | cut -d':' -f2 | sed "s| ||"`
201 echo "Skipping coccinelle SmPL patch: $COCCI"
213 FILE=${COCCI#$srctree/}
215 echo "Processing `basename $COCCI`"
220 sed -ne 's|^///||p' $COCCI
239 if [ "`sed -ne 's|^//#||p' $COCCI`" ] ; then
241 sed -ne 's|^//#||p' $COCCI
248 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
250 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
252 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
254 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
257 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
259 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
261 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
275 if [ "$COCCI" = "" ] ; then
280 coccinelle $COCCI