/scripts/pylib/twister/ |
A D | expr_parser.py | 111 p[0] = ("or", p[1], p[3]) 115 p[0] = ("and", p[1], p[3]) 123 p[0] = p[2] 134 p[0] = (p[2], p[1], p[3]) 142 p[0] = [p[1]] 143 p[0].append(p[3]) 147 p[0] = [p[1]] 156 p[0] = p[2] 160 p[0] = [p[1]] 170 p[0] = p[1] [all …]
|
/scripts/coccinelle/ |
A D | semicolon.cocci | 16 position p; 24 position p; 29 case ...:;@p 35 case ...:;@p 49 position p != {r_default.p, r_case.p}; 55 S@p1;@p 59 p << r1.p; 68 -;@p 71 p << r1.p; 78 *;@p [all …]
|
A D | boolean.cocci | 37 position p; 40 while (v@p) {...} 42 if (v@p) {...} 46 p << rule1.p; 69 position p; 72 while (v@p) {...} 75 p << rule2.p; 82 position p; 90 if (c@p) {...} 92 if (!c@p) {...} [all …]
|
A D | reserved_names.cocci | 15 position p; 21 struct t *v@p; 23 struct t v@p; 25 union t v@p; 27 T v@p; 29 T *v@p; 37 T v@p = E; 39 T *v@p = E; 44 p << common_case.p; 56 position p; [all …]
|
A D | same_identifier.cocci | 15 position p; 19 struct t *v@p; 21 struct t v@p; 23 union t v@p; 29 p << common_case.p; 39 position p; 42 T v@p; 44 T *v@p; 50 p << per_type.p; 60 position p; [all …]
|
A D | int_ms_to_timeout.cocci | 48 position p; 60 position p != r_last_timeout_id.p; 80 position p != r_last_timeout_id.p; 88 p << r_last_timeout_const_report.p; 158 p << r_last_timeout_scaled_report_req.p; 167 p << r_last_timeout_scaled_report_opt.p; 222 p << r_last_timeout_int_param_report.p; 276 p << r_thread_decl_report.p; 299 position p != r_timer_duration.p; 320 position p != r_timer_duration.p; [all …]
|
A D | unsigned_suffix.cocci | 19 v = C@p 21 v == C@p 23 v != C@p 25 v <= C@p 27 v >= C@p 29 v += C@p 31 v -= C@p 33 v * C@p 35 v / C@p 37 v *= C@p [all …]
|
A D | noderef.cocci | 54 position p; 59 *x = <+... sizeof@p(x) ...+> 61 *f(...,(T)(x),...,sizeof@p(x),...) 63 *f(...,sizeof@p(x),...,(T)(x),...) 65 *f(...,(T)(x),...,i*sizeof@p(x),...) 67 *f(...,i*sizeof@p(x),...,(T)(x),...) 71 p << r.p; 74 cocci.print_main("application of sizeof to pointer",p) 77 p << r.p; 81 coccilib.report.print_report(p[0],msg)
|
A D | unsigned_lesser_than_zero.cocci | 13 position p; 19 (\( v@p < 0 \| v@p <= 0 \)) 22 p << r_cmp.p; 26 coccilib.org.print_todo(p[0], msg) 29 p << r_cmp.p; 33 coccilib.report.print_report(p[0], msg)
|
A D | identifier_length.cocci | 10 position p; 14 T I@p (...); 16 I@p (...) 18 T I@p = C; 20 T I@p; 25 pos << r_idlen.p;
|
A D | array_size.cocci | 65 position p; 68 (sizeof(E)@p /sizeof(*E)) 70 (sizeof(E)@p /sizeof(E[...])) 72 (sizeof(E)@p /sizeof(T)) 76 p << r.p; 79 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 82 p << r.p; 86 coccilib.report.print_report(p[0], msg)
|
A D | ms_timeout.cocci | 45 position p; 47 fn@p(..., 60 p << report_fn_l1.p; 63 coccilib.report.print_report(p[0], msg); 101 position p; 103 fn@p(..., 116 p << report_fn_l2.p; 119 coccilib.report.print_report(p[0], msg); 159 position p; 161 fn@p(..., [all …]
|
A D | find_dev_usage.cocci | 23 def check_and_report(F, f, D, nb_args, p): 27 coccilib.report.print_report(p[0], msg) 31 coccilib.report.print_report(p[0], msg) 51 position p; 53 f(args, D@p, ...) 62 p << r_find_dev_usage.p; 64 check_and_report(p[0].current_element, f, D, nb_args, p)
|
A D | mini_lock.cocci | 19 position p1,p; 31 ) (E1@p,...); 41 position prelocked.p; 51 lock(E1@p,...) 64 position prelocked.p,balanced.pif; 71 *lock(E1@p,...); 85 p << prelocked.p1; 91 cocci.print_main(lock,p) 95 p << prelocked.p1; 101 msg = "preceding lock on line %s" % (p[0].line)
|
A D | deref_null.cocci | 58 position p!={pr1.p1,pr2.p2}; 84 E->f@p // bad use 92 p << r.p; 102 p << r.p; 109 cocci.print_main(msg_safe,p) 119 position p!={pr1.p1,pr2.p2}; 145 E->f@p // bad use 152 p << s.p; 161 p << s.p; 205 * E->f@p // bad use [all …]
|
/scripts/pylib/pytest-twister-harness/ |
A D | README.rst | 11 ``-p twister_harness.plugin`` argument. 24 ./scripts/twister -p native_sim -p qemu_x86 -T samples/subsys/testsuite/pytest/shell 27 …./scripts/twister -p nrf52840dk/nrf52840 --device-testing --device-serial /dev/ttyACM0 -T samples/… 38 west build -p -b native_sim -- -DCONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y 39 pytest --twister-harness --device-type=native --build-dir=build -p twister_harness.plugin 42 west build -p -b qemu_x86 -- -DQEMU_PIPE=qemu-fifo 43 pytest --twister-harness --device-type=qemu --build-dir=build -p twister_harness.plugin 46 west build -p -b nrf52840dk/nrf52840 47 …pytest --twister-harness --device-type=hardware --device-serial=/dev/ttyACM0 --build-dir=build -p …
|
/scripts/release/ |
A D | list_backports.py | 140 for p in unfiltered_pulls: 141 if not p.merged: 145 if p.closed_at < start_date or p.closed_at >= end_date + timedelta(1): 149 if p.number in excludes: 153 pulls.append(p) 169 p = repo.get_pull(i) 171 p = None 173 if not p: 177 if p.base.ref != base: 182 pulls.append(p) [all …]
|
/scripts/utils/ |
A D | migrate_includes.py | 29 for p in project.glob("**/*"): 30 if not p.is_file() or not p.suffix or p.suffix[1:] not in EXTENSIONS: 34 with open(p) as f: 72 with open(p, "w") as f:
|
A D | migrate_sys_init.py | 23 for p in project.glob("**/*"): 24 if not p.is_file() or not p.suffix or p.suffix[1:] not in ("c", "cpp"): 27 with open(p) as f: 78 with open(p, "w") as f:
|
A D | twister_to_list.py | 52 for p in project.glob("**/*"): 53 if p.name not in ("testcase.yaml", "sample.yaml"): 56 conf = yaml.load(p) 69 with open(p, "w") as f:
|
A D | migrate_mcumgr_kconfigs.py | 147 for p in project.glob("**/*"): 150 if re.match(cfp, str(p)) is not None: 151 process_file(p)
|
A D | migrate_posix_kconfigs.py | 127 for p in project.glob("**/*"): 130 if re.match(cfp, str(p)) is not None: 131 process_file(p)
|
/scripts/ci/ |
A D | test_plan.py | 169 old_projs = set((p.name, p.revision) for p in old_manifest.projects) 170 new_projs = set((p.name, p.revision) for p in new_manifest.projects) 174 rprojs = set(filter(lambda p: p[0] not in list(p[0] for p in new_projs), 177 uprojs = set(filter(lambda p: p[0] in list(p[0] for p in old_projs), 194 for p in projs_names: 195 _options.extend(["-t", p ]) 210 if not p: 212 if p: 213 if p.group(1) != 'common': 214 archs.add(p.group(1)) [all …]
|
/scripts/west_commands/zspdx/ |
A D | spdxids.py | 59 p = re.compile(r"-\d+$") 60 if p.search(converted):
|
/scripts/native_simulator/common/src/include/ |
A D | nsi_cpu_if.h | 107 NATIVE_SIMULATOR_IF int nsif_cpu0_test_hook(void *p); 116 F_TRAMP_LIST(NATIVE_SIMULATOR_IF int nsif_cpu, _test_hook(void *p))
|