Lines Matching refs:COCCI
192 COCCI="$1"
194 OPT=`grep "Options:" $COCCI | cut -d':' -f2`
195 REQ=`grep "Requires:" $COCCI | cut -d':' -f2 | sed "s| ||"`
197 echo "Skipping coccinelle SmPL patch: $COCCI"
209 FILE=${COCCI#$srctree/}
211 echo "Processing `basename $COCCI`"
216 sed -ne 's|^///||p' $COCCI
235 if [ "`sed -ne 's|^//#||p' $COCCI`" ] ; then
237 sed -ne 's|^//#||p' $COCCI
244 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
246 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
248 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
250 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
253 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
255 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
257 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
271 if [ "$COCCI" = "" ] ; then
276 coccinelle $COCCI