Lines Matching refs:COCCI
185 COCCI="$1"
187 OPT=`grep "Options:" $COCCI | cut -d':' -f2`
188 REQ=`grep "Requires:" $COCCI | cut -d':' -f2 | sed "s| ||"`
192 echo "Skipping coccinelle SmPL patch: $COCCI"
205 FILE=${COCCI#$srctree/}
207 echo "Processing `basename $COCCI`"
212 sed -ne 's|^///||p' $COCCI
231 if [ "`sed -ne 's|^//#||p' $COCCI`" ] ; then
233 sed -ne 's|^//#||p' $COCCI
240 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
242 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
244 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
246 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
249 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
251 $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
253 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
267 if [ "$COCCI" = "" ] ; then
272 coccinelle $COCCI