Home
last modified time | relevance | path

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

1234

/openthread-3.7.0/third_party/mbedtls/repo/tests/scripts/
Dtest_config_script.py72 def list_presets(options): argument
78 if options.presets:
79 return re.split(r'[ ,]+', options.presets)
81 help_text = subprocess.run([options.script, '--help'],
87 def run_one(options, args, stem_prefix='', input_file=None): argument
104 input_file = options.input_file
106 data_filename = output_file_name(options.output_directory, stem, 'h')
107 stdout_filename = output_file_name(options.output_directory, stem, 'out')
108 stderr_filename = output_file_name(options.output_directory, stem, 'err')
109 status_filename = output_file_name(options.output_directory, stem, 'status')
[all …]
Ddepends.py71 def __init__(self, options=None): argument
73 if not options or options.color in ['no', 'never']:
75 elif options.color in ['yes', 'always']:
102 def backup_config(options): argument
106 if os.path.exists(options.config_backup):
107 options.own_backup = False
109 options.own_backup = True
110 shutil.copy(options.config, options.config_backup)
112 def restore_config(options): argument
115 if options.own_backup:
[all …]
Dpsa_collect_statuses.py70 def collect_status_logs(options): argument
77 if not options.use_existing_log and os.path.exists(options.log_file):
78 os.remove(options.log_file)
79 if not os.path.exists(options.log_file):
80 if options.clean_before:
94 data.collect_log(options.log_file)
95 data.get_constant_names(options.psa_constant_names)
96 if rebuilt and options.clean_after:
123 options = parser.parse_args()
124 data = collect_status_logs(options)
Dtest_psa_constant_names.py107 def __init__(self, options) -> None: argument
108 self.options = options
120 include_path=self.options.include,
121 keep_c=self.options.keep_c)
122 output_bytes = subprocess.check_output([self.options.program,
128 if self.options.show:
181 options = parser.parse_args()
182 headers = [os.path.join(options.include[0], h) for h in HEADERS]
184 tests = Tests(options)
Dgenerate_psa_wrappers.py245 options = parser.parse_args()
246 if options.log:
247 generator = PSALoggingWrapperGenerator(options.log) #type: PSAWrapperGenerator
251 if options.output_h:
252 generator.write_h_file(options.output_h)
253 if options.output_c:
254 generator.write_c_file(options.output_c)
Dcheck_test_cases.py40 def __init__(self, options): argument
43 self.ignore_warnings = options.quiet
222 options = parser.parse_args()
223 if options.list_all:
227 results = Results(options)
235 if (results.warnings or results.errors) and not options.quiet:
Danalyze_outcomes.py665 options = parser.parse_args()
667 if options.list:
672 if options.specified_tasks == 'all':
675 tasks_list = re.split(r'[, ]+', options.specified_tasks)
681 KNOWN_TASKS['analyze_coverage']['args']['full_coverage'] = options.full_coverage
686 if not os.path.exists(options.outcomes):
700 options.outcomes)
702 outcomes = read_outcome_file(options.outcomes)
Drun_demos.py58 options = parser.parse_args()
59 success = run_all_demos(quiet=options.quiet)
/openthread-3.7.0/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dtest_data_generation.py142 def __init__(self, options) -> None: argument
143 self.test_suite_directory = options.directory
194 options = parser.parse_args(args)
198 if options.directory is None:
199 options.directory = 'tests/suites'
201 options.directory = os.path.abspath(options.directory)
204 generator = generator_class(options)
205 if options.list:
210 if options.list_for_cmake:
214 if options.targets:
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_client.c46 uint16_t options; in LLVMFuzzerTestOneInput() local
70 options = (Data[Size - 2] << 8) | Data[Size - 1]; in LLVMFuzzerTestOneInput()
72 (void) options; in LLVMFuzzerTestOneInput()
99 if (options & 2) { in LLVMFuzzerTestOneInput()
106 if (options & 4) { in LLVMFuzzerTestOneInput()
116 (options & in LLVMFuzzerTestOneInput()
121 (options & in LLVMFuzzerTestOneInput()
126 (options & in LLVMFuzzerTestOneInput()
131 (options & in LLVMFuzzerTestOneInput()
135 if (options & 0x200) { in LLVMFuzzerTestOneInput()
[all …]
Dfuzz_server.c49 uint8_t options; in LLVMFuzzerTestOneInput() local
55 options = Data[Size - 1]; in LLVMFuzzerTestOneInput()
125 (options & in LLVMFuzzerTestOneInput()
128 if (options & 0x2) { in LLVMFuzzerTestOneInput()
133 if (options & 0x4) { in LLVMFuzzerTestOneInput()
149 (options & in LLVMFuzzerTestOneInput()
154 (options & in LLVMFuzzerTestOneInput()
158 if (options & 0x40) { in LLVMFuzzerTestOneInput()
165 (options & in LLVMFuzzerTestOneInput()
/openthread-3.7.0/script/
Dcmake-build155 local options=(
209 options+=("${local_options[@]}")
218 options+=("${OT_POSIX_SIM_COMMON_OPTIONS[@]}" "${local_options[@]}")
227 options+=("${OT_POSIX_SIM_COMMON_OPTIONS[@]}" "${local_options[@]}")
230 options+=("-DCMAKE_TOOLCHAIN_FILE=examples/platforms/${platform}/arm-none-eabi.cmake")
234 options+=(
237 options+=("$@")
Dtest95 local options=(
117 options+=("-DOT_FULL_LOGS=ON")
121 options+=("-DOT_DUA=ON")
122 options+=("-DOT_MLR=ON")
126 options+=("-DOT_SIMULATION_VIRTUAL_TIME=ON")
130 options+=("-DOT_CSL_RECEIVER=ON")
131 options+=("-DOT_LINK_METRICS_INITIATOR=ON")
132 options+=("-DOT_LINK_METRICS_SUBJECT=ON")
133 options+=("-DOT_LINK_METRICS_MANAGER=ON")
144 options+=("-DOT_PLATFORM_BOOTLOADER_MODE=ON")
[all …]
Dcheck-posix-build-cmake42 local options=("$@")
44 options+=(
50 options+=(
55 options+=(
/openthread-3.7.0/third_party/mbedtls/repo/scripts/
Dassemble_changelog.py312 def list_merges(some_hash, target, *options): argument
318 '--merges', *options,
438 def list_files_to_merge(options): argument
445 files_to_merge = glob.glob(os.path.join(options.dir, '*'))
448 readme = os.path.join(options.dir, "00README.md")
460 def merge_entries(options): argument
469 with open(options.input, 'r', encoding='utf-8') as input_file:
471 files_to_merge = list_files_to_merge(options)
478 finish_output(changelog, options.output, options.input, files_to_merge)
479 if not options.keep_entries:
[all …]
Dmin_requirements.py114 options = parser.parse_args()
115 if not options.files:
116 options.files = [os.path.join(os.path.dirname(__file__),
119 for filename in options.files:
122 if not options.no_act:
123 reqs.install(pip_general_options=options.pip_general_options,
124 pip_install_options=options.pip_install_options)
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c734 mbedtls_test_handshake_test_options *options, in mbedtls_test_ssl_endpoint_init() argument
800 if (options->client_min_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init()
802 options->client_min_version); in mbedtls_test_ssl_endpoint_init()
805 if (options->client_max_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init()
807 options->client_max_version); in mbedtls_test_ssl_endpoint_init()
810 if (options->server_min_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init()
812 options->server_min_version); in mbedtls_test_ssl_endpoint_init()
815 if (options->server_max_version != MBEDTLS_SSL_VERSION_UNKNOWN) { in mbedtls_test_ssl_endpoint_init()
817 options->server_max_version); in mbedtls_test_ssl_endpoint_init()
821 if (options->group_list != NULL) { in mbedtls_test_ssl_endpoint_init()
[all …]
/openthread-3.7.0/tests/scripts/thread-cert/
Dcoap.py128 options = []
140 options.append(option)
142 return options
207 options, argument
216 self._options = options
245 def options(self): member in CoapMessage
257 options_str = ", ".join([repr(opt) for opt in self.options])
316 def options(self): member in CoapMessageProxy
317 return self._coap_message.options
336 options_str = ", ".join([repr(opt) for opt in self.options])
[all …]
Dtest_network_layer.py407 options = any_options()
409 nd_option = network_layer.NdOption(options)
412 actual_options = nd_option.options
415 self.assertEqual(options, actual_options)
419 options = any_options()
421 nd_option = network_layer.NdOption(options)
424 self.assertEqual(nd_option, network_layer.NdOption(options))
431 options = any_options()
435 data = bytearray(options)
442 self.assertEqual(options, nd_option.options)
Dnetwork_layer.py245 def __init__(self, options): argument
246 self._options = options
249 def options(self): member in NdOption
254 return self.options == other.options
257 return "NdOption(options=[{}])".format(", ".join([str(opt) for opt in self.options]))
263 options = [opt for opt in bytearray(data.read())]
264 return NdOption(options)
Dtest_coap.py426 options = any_options()
434 options,
439 actual_options = coap_message.options
442 self.assertEqual(options, actual_options)
574 self.assertEqual("a", coap_message.options[0].value.decode("utf-8"))
575 self.assertEqual("as", coap_message.options[1].value.decode("utf-8"))
/openthread-3.7.0/tools/harness-simulation/posix/
Dinstall.sh59 local target build_dir cflags version options
64 options=$(jq -r '.options | join(" ")' <<<"$1")
66 read -ra options <<<"$options"
107 local otbr_docker_image build_args options
112 options=$(jq -r '.options | join(" ")' <<<"$1")
115 "$options"
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function2491 mbedtls_test_handshake_test_options options;
2492 mbedtls_test_init_handshake_options(&options);
2493 options.pk_alg = MBEDTLS_PK_RSA;
2497 ret = mbedtls_test_ssl_endpoint_init(NULL, endpoint_type, &options,
2501 ret = mbedtls_test_ssl_endpoint_certificate_init(NULL, options.pk_alg,
2505 ret = mbedtls_test_ssl_endpoint_init(&ep, endpoint_type, &options,
2511 mbedtls_test_free_handshake_options(&options);
2524 mbedtls_test_handshake_test_options options;
2525 mbedtls_test_init_handshake_options(&options);
2527 options.pk_alg = MBEDTLS_PK_RSA;
[all …]
/openthread-3.7.0/tools/tcat_ble_client/cli/
Dcli.py79 options = [c for c in command_pool if c.startswith(text)]
80 if state < len(options):
81 return options[state]
/openthread-3.7.0/examples/platforms/simulation/
Dsystem.c124 static const char options[] = "Ehts:L:l:"; in otSysInit() local
126 static const char options[] = "Ehts:L:"; in otSysInit() local
139 int c = getopt_long(aArgCount, aArgVector, options, long_options, NULL); in otSysInit()

1234