Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 1703) sorted by relevance

12345678910>>...69

/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtwister_main.py62 def main(options: argparse.Namespace, default_options: argparse.Namespace):
66 color_strip = False if options.force_color else None
74 options.no_clean
75 or options.only_failed
76 or options.test_only
77 or options.report_summary is not None
79 if os.path.exists(options.outdir):
81 elif options.last_metrics:
82 ls = os.path.join(options.outdir, "twister.json")
88 elif os.path.exists(options.outdir):
[all …]
Denvironment.py847 options = None, argument
850 if options is None:
851 options = parser.parse_args(args)
854 if options.short_build_path and not options.ninja:
858 if options.device_serial_pty and os.name == "nt": # OS is Windows
862 if options.west_runner and options.west_flash is None:
866 if options.west_flash and not options.device_testing:
870 if not options.testsuite_root:
874 if options.test:
875 for scenario in options.test:
[all …]
Dpackage.py16 self.options = env.options
19 root = os.path.basename(self.options.outdir)
21 tar.add(self.options.outdir, recursive=False)
23 f = os.path.relpath(d, self.options.outdir)
28 with open(os.path.join(self.options.outdir, "twister.json")) as json_test_plan:
34 dirs.append(os.path.join(self.options.outdir, normalized, t['name']))
38 os.path.join(self.options.outdir, "twister.json"),
39 os.path.join(self.options.outdir, "testplan.json")
42 self.make_tarfile(self.options.package_artifacts, dirs)
Dhardwaremap.py174 self.options = env.options
178 if self.options.generate_hardware_map:
179 self.scan(persistent=self.options.persistent_hardware_map)
180 self.save(self.options.generate_hardware_map)
183 if not self.options.device_testing and self.options.hardware_map:
184 self.load(self.options.hardware_map)
189 if self.options.device_testing:
190 if self.options.hardware_map:
191 self.load(self.options.hardware_map)
192 if not self.options.platform:
[all …]
Dtestplan.py109 self.options = env.options
176 sub_tests = self.options.sub_test
192 if self.options.test:
193 self.run_individual_testsuite = self.options.test
213 ql = self.options.quarantine_list
214 qv = self.options.quarantine_verify
229 if self.options.report_suffix:
231 self.options.outdir,
235 last_run = os.path.join(self.options.outdir, "twister.json")
237 if self.options.only_failed or self.options.report_summary is not None:
[all …]
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_own_addr/src/
Dtest_suite_invalid_inputs.c70 uint32_t options = 0; in ZTEST() local
74 options |= BT_LE_ADV_OPT_CONN; in ZTEST()
75 options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in ZTEST()
79 err = bt_id_set_adv_own_addr(&adv, options, true, &own_addr_type); in ZTEST()
101 uint32_t options = 0; in ZTEST() local
107 options |= BT_LE_ADV_OPT_CONN; in ZTEST()
109 err = bt_id_set_adv_own_addr(&adv, options, true, &own_addr_type); in ZTEST()
132 uint32_t options = 0; in ZTEST() local
140 options |= BT_LE_ADV_OPT_CONN; in ZTEST()
145 err = bt_id_set_adv_own_addr(&adv, options, true, &own_addr_type); in ZTEST()
[all …]
Dmain.c50 uint32_t options = 0; in ZTEST() local
57 options |= BT_LE_ADV_OPT_CONN; in ZTEST()
63 err = bt_id_set_adv_own_addr(&adv, options, dir_adv_test_lut[i], &own_addr_type); in ZTEST()
70 options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in ZTEST()
74 err = bt_id_set_adv_own_addr(&adv, options, true, &own_addr_type); in ZTEST()
97 uint32_t options = 0; in ZTEST() local
106 options |= BT_LE_ADV_OPT_CONN; in ZTEST()
115 err = bt_id_set_adv_own_addr(&adv, options, dir_adv_test_lut[i], &own_addr_type); in ZTEST()
122 options |= BT_LE_ADV_OPT_DIR_ADDR_RPA; in ZTEST()
126 err = bt_id_set_adv_own_addr(&adv, options, true, &own_addr_type); in ZTEST()
[all …]
/Zephyr-latest/boards/andestech/adp_xc7k_ae350/
Dadp_xc7k_ae350_defconfig5 # Serial driver options
8 # GPIO driver options
11 # Syscon driver options
14 # hwinfo driver options
18 # RV64 options
21 # FPU (single precision) options
27 # FPU (double precision) options
33 # PMP granularity options
36 # HW DSP options
39 # EXEC.IT options
[all …]
/Zephyr-latest/drivers/adc/
Dadc_handlers.c27 struct adc_sequence_options *options, in copy_sequence() argument
35 if (dst->options) { in copy_sequence()
36 if (k_usermode_from_copy(options, dst->options, in copy_sequence()
41 dst->options = options; in copy_sequence()
56 struct adc_sequence_options options; in z_vrfy_adc_read() local
59 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read()
62 if (sequence.options != NULL) { in z_vrfy_adc_read()
63 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read()
77 struct adc_sequence_options options; in z_vrfy_adc_read_async() local
80 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read_async()
[all …]
Dadc_context.h71 struct adc_sequence_options options; member
120 k_timer_start(&ctx->timer, K_NO_WAIT, K_USEC(ctx->options.interval_us)); in adc_context_enable_timer()
218 if (sequence->options) { in adc_context_start_read()
219 ctx->options = *sequence->options; in adc_context_start_read()
220 ctx->sequence.options = &ctx->options; in adc_context_start_read()
223 if (ctx->options.interval_us != 0U) { in adc_context_start_read()
241 if (ctx->sequence.options) { in adc_context_on_sampling_done()
242 adc_sequence_callback callback = ctx->options.callback; in adc_context_on_sampling_done()
264 ctx->options.extra_samplings) { in adc_context_on_sampling_done()
279 if (ctx->options.interval_us == 0U) { in adc_context_on_sampling_done()
[all …]
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dsaleae_logic2.py72 def run(seconds, options): argument
73 options = [i for p in options.split(',') for i in p.split('=')]
74 options = dict(zip(options[::2], options[1::2]))
76 device_id = options.get('device-id')
77 address = str(options.get('address'))
78 port = int(options.get('port'))
79 channel = int(options.get('channel'))
80 sample_rate = int(options.get('sample-rate'))
81 threshold_volts = float(options.get('threshold-volts'))
/Zephyr-latest/include/zephyr/linker/
Dlinker-tool-mwdt.h81 #define SECTION_PROLOGUE(name, options, align) name options : align argument
91 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument
92 name options ALIGN(8) : align
94 #define SECTION_DATA_PROLOGUE(name, options, align) name options : align argument
Dlinker-tool-lld.h39 #define SECTION_PROLOGUE(name, options, align) \ argument
40 name options : align
58 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument
59 SECTION_PROLOGUE(name, options, align)
Dlinker-tool-gcc.h177 #define SECTION_PROLOGUE(name, options, align) \ argument
178 name options : ALIGN_WITH_INPUT align
180 #define SECTION_PROLOGUE(name, options, align) \
181 name options : align
202 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument
203 name options : ALIGN_WITH_INPUT
205 #define SECTION_DATA_PROLOGUE(name, options, align) \
206 SECTION_PROLOGUE(name, options, align)
/Zephyr-latest/kernel/
Dfloat.c21 int z_impl_k_float_enable(struct k_thread *thread, unsigned int options) in z_impl_k_float_enable() argument
24 return arch_float_enable(thread, options); in z_impl_k_float_enable()
27 ARG_UNUSED(options); in z_impl_k_float_enable()
40 static inline int z_vrfy_k_float_enable(struct k_thread *thread, unsigned int options) in z_vrfy_k_float_enable() argument
43 return z_impl_k_float_enable(thread, options); in z_vrfy_k_float_enable()
/Zephyr-latest/scripts/kconfig/
Dhardenconfig.py18 options = compare_with_hardened_conf(kconf, hardened_kconf_filename)
20 display_results(options)
40 options = []
54 options.append(Option(name=name, current=current,
59options.append(Option(name=node.item.name, current=node.item.str_value, recommended='n', symbol=no…
61 return options
64 def display_results(options): argument
72 for opt in options:
/Zephyr-latest/scripts/west_commands/tests/
Dtest_twister.py48 options = twister._parse_arguments(args=test_case["r"], options=None)
50 assert options.clobber_output == test_case["c"]
51 assert options.test_only == test_case["test_only"]
53 assert options.testsuite_root == test_case["T"]
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dfifo.c37 uint32_t options = (uint32_t)(uintptr_t)p2; in fifo_put_get_thread_entry() local
45 if ((options & K_USER) == 0) { in fifo_put_get_thread_entry()
92 int fifo_ops(uint32_t num_iterations, uint32_t options) in fifo_ops() argument
107 (void *)(uintptr_t)options, NULL, in fifo_ops()
108 priority - 1, options, K_FOREVER); in fifo_ops()
114 if ((options & K_USER) == 0) { in fifo_ops()
117 options & K_USER ? "user" : "kernel"); in fifo_ops()
122 cycles -= timestamp_overhead_adjustment(options, options); in fifo_ops()
129 options & K_USER ? "user" : "kernel"); in fifo_ops()
133 cycles -= timestamp_overhead_adjustment(options, options); in fifo_ops()
[all …]
Dlifo.c37 uint32_t options = (uint32_t)(uintptr_t)p2; in lifo_put_get_thread_entry() local
45 if ((options & K_USER) == 0) { in lifo_put_get_thread_entry()
92 int lifo_ops(uint32_t num_iterations, uint32_t options) in lifo_ops() argument
107 (void *)(uintptr_t)options, NULL, in lifo_ops()
108 priority - 1, options, K_FOREVER); in lifo_ops()
114 if ((options & K_USER) == 0) { in lifo_ops()
117 options & K_USER ? "user" : "kernel"); in lifo_ops()
122 cycles -= timestamp_overhead_adjustment(options, options); in lifo_ops()
129 options & K_USER ? "user" : "kernel"); in lifo_ops()
133 cycles -= timestamp_overhead_adjustment(options, options); in lifo_ops()
[all …]
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dquery.c19 struct coap_option options[4]; in query_get() local
34 r = coap_find_options(request, COAP_OPTION_URI_QUERY, options, 4); in query_get()
46 if (options[i].len + 1 > sizeof(str)) { in query_get()
49 options[i].len, sizeof(str)); in query_get()
53 memcpy(str, options[i].value, options[i].len); in query_get()
54 str[options[i].len] = '\0'; in query_get()
/Zephyr-latest/tests/drivers/adc/adc_api/src/
Dtest_adc.c193 const struct adc_sequence_options options = { in test_task_asynchronous_call() local
199 .options = &options, in test_task_asynchronous_call()
217 check_samples(1 + options.extra_samplings); in test_task_asynchronous_call()
242 if (sequence->options->user_data != &my_sequence_identifier) { in sample_with_interval_callback()
243 user_data = sequence->options->user_data; in sample_with_interval_callback()
254 const struct adc_sequence_options options = { in test_task_with_interval() local
261 .options = &options, in test_task_with_interval()
276 zassert_equal(user_data, sequence.options->user_data, in test_task_with_interval()
278 user_data, sequence.options->user_data); in test_task_with_interval()
280 check_samples(1 + options.extra_samplings); in test_task_with_interval()
[all …]
/Zephyr-latest/lib/posix/options/getopt/
Dgetopt_long.c61 #define PRINT_ERROR ((state->opterr) && (*options != ':'))
69 #define BADARG ((*options == ':') ? (int)':' : (int)'?')
170 const char *options, const struct option *long_options, in parse_long_options() argument
347 const char *options, const struct option *long_options, argument
353 if (options == NULL) {
361 if (*options == '-') {
363 } else if (*options == '+') {
367 if (*options == '+') {
369 } else if (*options == '-') {
373 if (*options == '+' || *options == '-') {
[all …]
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_copro.c79 uint16_t options, in ft8xx_copro_cmd_text() argument
88 sizeof(options) + in ft8xx_copro_cmd_text()
108 ft8xx_wr16(FT800_RAM_CMD + reg_cmd_write, options); in ft8xx_copro_cmd_text()
109 increase_reg_cmd_write(sizeof(options)); in ft8xx_copro_cmd_text()
120 uint16_t options, in ft8xx_copro_cmd_number() argument
127 sizeof(options) + in ft8xx_copro_cmd_number()
146 ft8xx_wr16(FT800_RAM_CMD + reg_cmd_write, options); in ft8xx_copro_cmd_number()
147 increase_reg_cmd_write(sizeof(options)); in ft8xx_copro_cmd_number()
/Zephyr-latest/scripts/tests/twister/
Dtest_environment.py246 options = twisterlib.environment.parse_arguments(parser, args)
248 assert os.path.join(zephyr_base, 'tests') in options.testsuite_root
249 assert os.path.join(zephyr_base, 'samples') in options.testsuite_root
251 assert options.enable_size_report
253 assert options.enable_coverage
255 assert options.coverage_platform == ['dummy_platform']
257 assert options.extra_test_args == ['dummy_extra_1', 'dummy_extra_2']
314 def test_twisterenv_init(options, expected_env): argument
326 twister_env = twisterlib.environment.TwisterEnv(options=options)
338 options = mock.Mock(
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dapplication.py60 tool = self.options.get('tool', 'west').lower()
61 app = self.options.get('app', None)
62 zephyr_app = self.options.get('zephyr-app', None)
63 cd_into = 'cd-into' in self.options
64 generator = self.options.get('generator', 'ninja').lower()
65 host_os = self.options.get('host-os', 'all').lower()
66 board = self.options.get('board', None)
67 shield = self.options.get('shield', None)
68 conf = self.options.get('conf', None)
69 gen_args = self.options.get('gen-args', None)
[all …]

12345678910>>...69