Lines Matching +full:one +full:- +full:way

20 // spatch --sp-file scripts/coccinelle/errp-guard.cocci \
21 // --macro-file scripts/cocci-macro-file.h --in-place \
22 // --no-show-diff --max-width 80 FILES...
24 // Note: --max-width 80 is needed because coccinelle default is less
47 - Error **_errp
55 - _errp
61 // Add invocation of ERRP_GUARD() to errp-functions where // necessary
105 // Note, that even with one (or zero) Error * definition in the each
108 // simple way to match with help of coccinelle.
163 'one control flow: at {}:{} and then at {}:{}'.format(
168 // don't know a proper way to inherit a function, not just its name
170 // Not-proper way is as follows: rename errp parameter in functions
174 // The common case is a single definition of local_err with at most one
175 // error_propagate_prepend() or error_propagate() on each control-flow
181 // which has the "common case" on at least one control-flow path.
188 - errp
204 // I tried merging this into the following rule the obvious way, but
219 - goto out;
222 - out:
223 - error_propagate(errp, local_err);
231 // the same name in different blocks inside one function, and in one
234 // Note also that errp-cleaning functions
240 // are not yet implemented. They must call corresponding Error* -
260 - Error *local_err = NULL;
265 - error_free(local_err);
268 - error_report_err(local_err);
271 - error_reportf_err(local_err, args);
274 - warn_report_err(local_err);
277 - warn_reportf_err(local_err, args);
280 ?- local_err = NULL;
283 - error_propagate_prepend(errp, local_err, args);
286 - error_propagate(errp, local_err);
288 - &local_err
297 // least with "- local_err = NULL").
306 - local_err
320 - *errp != NULL
331 - ____