Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 67) sorted by relevance

123

/scripts/coccinelle/misc/
Dnewline_in_nl_msg.cocci15 @r depends on context || org || report@
23 m << r.m;
29 @r1 depends on r@
31 expression r.e;
32 constant r.m;
33 position r.p;
41 @depends on context && r@
43 expression r.e;
44 constant r.m;
54 m << r.m;
[all …]
Ddo_div.cocci83 @r depends on (org || report)@
102 p << r.p;
103 ul << r.ul;
109 p << r.p;
110 l << r.l;
116 p << r.p;
117 ul64 << r.ul64;
123 p << r.p;
124 sl64 << r.sl64;
130 p << r.p;
[all …]
Ddoubleinit.cocci17 @r@
26 identifier I, s, r.fld;
27 position r.p0,p;
34 p0 << r.p0;
35 fld << r.fld;
37 pr << r.p;
43 cocci.print_secs("r",pr)
46 p0 << r.p0;
47 fld << r.fld;
49 pr << r.p;
Dcstptr.cocci16 @r exists@
29 p1 << r.p1;
30 p2 << r.p2;
37 p1 << r.p1;
38 p2 << r.p2;
Dorplus.cocci17 @r@
30 constant r.c, r.c1;
54 position r.p;
61 p << r.p;
67 p << r.p;
Dof_table.cocci52 @r depends on org || report@
74 p1 << r.p1;
75 arr << r.arr;
81 p1 << r.p1;
82 arr << r.arr;
Dboolconv.cocci46 @r depends on !patch@
75 @script:python depends on r&&org@
76 p << r.p;
86 @script:python depends on r&&report@
87 p << r.p;
/scripts/atomic/fallbacks/
Dtry_cmpxchg2 ${int} r, o = *old;
3 r = raw_${atomic}_cmpxchg${order}(v, o, new);
4 if (unlikely(r != o))
5 *old = r;
6 return likely(r == o);
/scripts/coccinelle/iterators/
Dfor_each_child.cocci16 @r@
52 local idexpression r.n;
53 iterator r.i,i1;
55 expression list [r.n1] es;
81 local idexpression r.n;
82 iterator r.i,i1,i2;
84 expression list [r.n1] es;
113 local idexpression r.n;
114 iterator r.i,i1,i2;
117 expression list [r.n1] es;
[all …]
Dlist_entry_update.cocci19 @r exists@
29 position r.p1,r.p2;
41 position r.p1,r.p2;
50 p1 << r.p1;
51 p2 << r.p2;
58 p1 << r.p1;
59 p2 << r.p2;
Ddevice_node_continue.cocci19 @r exists@
59 local idexpression r.n;
61 position r.p1,r.p2;
72 position r.p2;
81 position r.p2;
/scripts/coccinelle/api/
Dd_find_alias.cocci15 @r exists@
45 local idexpression struct dentry *r.dent;
46 position r.p1,r.p2;
58 p1 << r.p1;
59 p2 << r.p2;
65 local idexpression struct dentry *r.dent;
66 position r.p2;
77 p1 << r.p1;
78 p2 << r.p2;
Dpm_runtime.cocci85 @r depends on (org || report) exists@
99 p1 << r.p1;
100 p2 << r.p2;
101 pm_runtime_api << r.pm_runtime_api;
108 p1 << r.p1;
109 p2 << r.p2;
110 pm_runtime_api << r.pm_runtime_api;
Derr_cast.cocci35 @r depends on !context && !patch && (org || report)@
43 p << r.p;
44 x << r.x;
52 p << r.p;
53 x << r.x;
/scripts/kconfig/
Dmenu.c687 static void get_def_str(struct gstr *r, struct menu *menu) in get_def_str() argument
689 str_printf(r, "Defined at %s:%d\n", in get_def_str()
693 static void get_dep_str(struct gstr *r, struct expr *expr, const char *prefix) in get_dep_str() argument
696 str_append(r, prefix); in get_dep_str()
697 expr_gstr_print(expr, r); in get_dep_str()
698 str_append(r, "\n"); in get_dep_str()
707 static void get_prompt_str(struct gstr *r, struct property *prop, in get_prompt_str() argument
714 str_printf(r, " Prompt: %s\n", prop->text); in get_prompt_str()
716 get_dep_str(r, prop->menu->dep, " Depends on: "); in get_prompt_str()
726 get_dep_str(r, prop->visible.expr, " Visible if: "); in get_prompt_str()
[all …]
/scripts/coccinelle/locks/
Dflags.cocci16 @r exists@
44 expression f <= r.flags;
46 position r.p1, r.p2;
68 p1 << r.p1;
69 p2 << r.p2;
76 p1 << r.p1;
77 p2 << r.p2;
Ddouble_lock.cocci64 @r depends on !balanced exists@
78 p1 << r.p1;
79 p2 << r.p2;
80 lock << r.lock;
87 p1 << r.p1;
88 p2 << r.p2;
89 lock << r.lock;
Dmini_lock.cocci57 position r;
60 for(...;...;...) { <+... return@r ...; ...+> }
66 position r!=looped.r;
75 * return@r ...;
85 p2 << err.r;
95 p2 << err.r;
/scripts/coccinelle/tests/
Ddoubletest.cocci19 @r expression@
31 expression r.E,e1,e2,fn;
32 position r.p;
43 expression r.E;
44 position r.p;
50 p << r.p;
56 p << r.p;
/scripts/
Dcheckkconfigsymbols.py22 OPERATORS = r"&|\(|\)|\||\!"
23 SYMBOL = r"(?:\w*[A-Z0-9]\w*){2,}"
24 DEF = r"^\s*(?:menu){,1}config\s+(" + SYMBOL + r")\s*"
25 EXPR = r"(?:" + OPERATORS + r"|\s|" + SYMBOL + r")+"
26 DEFAULT = r"default\s+.*?(?:if\s.+){,1}"
27 STMT = r"^\s*(?:if|select|imply|depends\s+on|(?:" + DEFAULT + r"))\s+" + EXPR
28 SOURCE_SYMBOL = r"(?:\W|\b)+[D]{,1}CONFIG_(" + SYMBOL + r")"
31 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$")
32 REGEX_SYMBOL = re.compile(r'(?!\B)' + SYMBOL + r'(?!\B)')
37 REGEX_FILTER_SYMBOLS = re.compile(r"[A-Za-z0-9]$")
[all …]
Dsorttable.c67 static uint32_t (*r)(const uint32_t *); variable
195 return r(&symtab_shndx_start[sym_offs]); in get_secindex()
205 int32_t av = (int32_t)r(a); in compare_relative_table()
206 int32_t bv = (int32_t)r(b); in compare_relative_table()
225 w(r(loc) + i, loc); in sort_relative_table()
235 w(r(loc) - i, loc); in sort_relative_table()
247 w(r(loc) + i, loc); in sort_relative_table_with_data()
248 w(r(loc + 1) + i + 4, loc + 1); in sort_relative_table_with_data()
260 w(r(loc) - i, loc); in sort_relative_table_with_data()
261 w(r(loc + 1) - (i + 4), loc + 1); in sort_relative_table_with_data()
[all …]
Dtags.sh227 local mode=$1 lang tmp=() r
237 for r in "${tmp[@]}"; do
242 case "$r" in
244 r=${r%?/}
247 case "$r" in
250 r="/^[^#]*${r#/}"
/scripts/genksyms/
Dkeywords.c72 struct resword *r = keywords + i; in is_reserved_word() local
73 int l = strlen(r->name); in is_reserved_word()
74 if (len == l && !memcmp(str, r->name, len)) in is_reserved_word()
75 return r->token; in is_reserved_word()
/scripts/coccinelle/null/
Deno.cocci26 @r depends on !patch exists@
36 p1 << r.p1;
37 p2 << r.p2;
44 p1 << r.p1;
45 p2 << r.p2;
/scripts/coccinelle/api/alloc/
Dpool_zalloc-simple.cocci59 @r depends on org || report@
71 p << r.p;
72 x << r.x;
80 p << r.p;
81 x << r.x;

123