/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | build_tree.py | 12 def looks_like_tf_psa_crypto_root(path: str) -> bool: 14 return all(os.path.isdir(os.path.join(path, subdir)) 17 def looks_like_mbedtls_root(path: str) -> bool: 19 return all(os.path.isdir(os.path.join(path, subdir)) 22 def looks_like_root(path: str) -> bool: 23 return looks_like_tf_psa_crypto_root(path) or looks_like_mbedtls_root(path) 38 return os.path.join(root, "core") 42 return os.path.join(root, "library") 61 if not all(os.path.isdir(d) for d in ["include", "library", "tests"]): 70 for d in [os.path.curdir, [all …]
|
/openthread-latest/third_party/mbedtls/repo/scripts/ |
D | ecp_comb_table.py | 149 return os.path.normpath(os.path.join(os.path.dirname(__file__), "..", *args)) 219 shared_lib_path = os.path.normpath(os.path.join(MBEDTLS_LIBRARY_PATH, "libmbedcrypto.so")) 220 static_lib_path = os.path.normpath(os.path.join(MBEDTLS_LIBRARY_PATH, "libmbedcrypto.a")) 221 if not os.path.exists(shared_lib_path) and not os.path.exists(static_lib_path):
|
D | generate_visualc_files.pl | 133 my ($path) = @_; 135 my $guid = md5_hex( "mbedTLS:$path" ); 142 my ($path, $template, $dir, $ext) = @_; 144 my $guid = gen_app_guid( $path ); 145 $path =~ s!/!\\!g; 146 (my $appname = $path) =~ s/.*\\//; 147 my $is_test_app = ($path =~ m/^test\\/); 149 my $srcs = "<ClCompile Include=\"..\\..\\programs\\$path.c\" \/>"; 218 for my $path (@app_names) { 219 my $guid = gen_app_guid( $path ); [all …]
|
D | generate_driver_wrappers.py | 45 loader=jinja2.FileSystemLoader(os.path.dirname(template_path)), 47 template = environment.get_template(os.path.basename(template_path)) 59 os.path.join(template_dir, template_file_name) 63 with open(file=os.path.join(output_dir, os.path.splitext(template_file_name)[0]), 116 'transparent': os.path.join(project_root, 121 'opaque': os.path.join(project_root, 142 with open(file=os.path.join(json_directory, jsondriver_list), 148 driver_file=os.path.join(json_directory, driver_file_name)) 179 project_root = os.path.abspath(args.project_root) 187 os.path.join(project_root, [all …]
|
D | min_requirements.py | 55 nested_file = os.path.join(os.path.dirname(filename), 83 req_file_name = os.path.join(temp_dir, 'requirements.txt') 116 options.files = [os.path.join(os.path.dirname(__file__),
|
D | abi_check.py | 127 self.report_dir = os.path.abspath(configuration.report_dir) 129 self.can_remove_report_dir = not (os.path.exists(self.report_dir) or 205 if not (os.path.exists(os.path.join(git_worktree_path, "crypto")) 213 cwd=os.path.join(git_worktree_path, "crypto"), 223 cwd=os.path.join(git_worktree_path, "crypto"), 233 if os.path.exists(os.path.join(git_worktree_path, "crypto")): 244 version.modules[os.path.splitext(file)[0]] = ( 245 os.path.join(root, file) 260 output_path = os.path.join( 296 full_path = os.path.join(directory, filename) [all …]
|
/openthread-latest/src/cli/ |
D | README_COAP.md | 50 - [delete](#delete-address-uri-path-type-payload) 51 - [get](#get-address-uri-path-type) 52 - [observe](#observe-address-uri-path-type) 54 - [post](#post-address-uri-path-type-payload) 55 - [put](#put-address-uri-path-type-payload) 56 - [resource](#resource-uri-path) 93 ### delete \<address\> \<uri-path\> \[type\] \[payload\] 96 - uri-path: URI path of the resource. 105 ### get \<address\> \<uri-path\> \[type\] 108 - uri-path: URI path of the resource. [all …]
|
D | README_COAPS.md | 87 - [delete](#delete-uri-path-type-payload) 89 - [get](#get-uri-path-type) 93 - [post](#post-uri-path-type-payload) 95 - [put](#put-uri-path-type-payload) 96 - [resource](#resource-uri-path) 140 ### delete \<uri-path\> \[type\] \[payload\] 142 - uri-path: URI path of the resource. 159 ### get \<uri-path\> \[type\] 161 - uri-path: URI path of the resource. 174 ### post \<uri-path\> \[type\] \[payload\] [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/scripts/ |
D | scripts_path.py | 15 sys.path.append(os.path.join(os.path.dirname(__file__), 16 os.path.pardir, os.path.pardir,
|
D | generate_test_cert_macros.py | 23 if self.dest in ('string', 'binary') and not os.path.exists(filename): 59 this_dir = os.path.dirname(os.path.abspath(__file__)) 61 searchpath=os.path.join(this_dir, '..', 'data_files'))
|
D | check_files.py | 58 filepath = os.path.normpath(filepath) 61 seps = os.path.sep 62 if os.path.altsep is not None: 63 seps += os.path.altsep 151 _root, ext = os.path.splitext(filepath) 358 return os.path.basename(info.filename), info.lineno 497 if os.path.isfile(fp)] 501 return [fp if os.path.dirname(fp) else os.path.join(os.curdir, fp)
|
D | check_test_cases.py | 133 if os.path.isdir('tests'): 135 elif os.path.isdir('suites'): 137 elif os.path.isdir('../suites'): 146 for data_file_name in glob.glob(os.path.join(directory, 'suites', 151 sh_file = os.path.join(directory, sh_file)
|
D | generate_test_code.py | 1180 for name, path in [('Functions file', funcs_file), 1186 if not os.path.exists(path): 1187 raise IOError("ERROR: %s [%s] not found!" % (name, path)) 1189 snippets = {'generator_script': os.path.basename(__file__)} 1253 data_file_name = os.path.basename(args.data_file) 1254 data_name = os.path.splitext(data_file_name)[0] 1256 out_c_file = os.path.join(args.out_dir, data_name + '.c') 1257 out_data_file = os.path.join(args.out_dir, data_name + '.datax') 1259 out_c_file_dir = os.path.dirname(out_c_file) 1260 out_data_file_dir = os.path.dirname(out_data_file) [all …]
|
/openthread-latest/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-integration-guide.md | 26 cd /path/to/mbedtls 27 make PSA_DRIVERS="/path/to/acme/driver.json /path/to/nadir/driver.json" lib 33 cd /path/to/application 34 …ld myapp.o -L/path/to/acme -lacmedriver -L/path/to/nadir -lnadirdriver -L/path/to/mbedtls -lmbedcr…
|
/openthread-latest/tests/scripts/thread-cert/pktverify/ |
D | verify.py | 38 sys.path.append(THREAD_CERT_DIR) 55 script = os.path.relpath(script, THREAD_CERT_DIR) 57 module_name = os.path.splitext(script)[0].replace('/', '.') 60 … spec = importlib.util.spec_from_file_location(module_name, os.path.join(THREAD_CERT_DIR, script))
|
D | layers.py | 76 path = '%s.%s' % (self.layer_name, name) 77 return check_layer_field_exists(self._packet, path) 92 path = '%s.%s' % (self.layer_name, name) 93 v = get_layer_field(self._packet, path) 94 …assert not isinstance(v, (LayerField, LayerFieldsContainer)), '%s = %s(%r)' % (path, v.__class__._…
|
D | utils.py | 87 wireshark_config_dir = os.path.join(home, '.config', 'wireshark') 89 disabled_protos_path = os.path.join(wireshark_config_dir, 'disabled_protos') 125 return os.path.join(get_wireshark_dir(), 'tshark') 132 return os.path.join(get_wireshark_dir(), 'dumpcap') 139 return os.path.join(get_wireshark_dir(), 'mergecap')
|
D | layer_fields_container.py | 39 def __init__(self, packet: RawPacket, path: str): 41 assert isinstance(path, str) 44 self._path = path
|
/openthread-latest/examples/platforms/simulation/ |
D | README.md | 8 $ cd <path-to-openthread> 16 - `<path-to-openthread>/build/examples/apps/cli` 17 - `<path-to-openthread>/build/examples/apps/ncp` 24 $ cd <path-to-openthread>/build/simulation/examples/apps/cli
|
D | flash.c | 55 const char *path = OPENTHREAD_CONFIG_POSIX_SETTINGS_PATH; in otPlatFlashInit() local 63 if (stat(path, &st) == -1) in otPlatFlashInit() 65 mkdir(path, 0777); in otPlatFlashInit() 73 snprintf(fileName, sizeof(fileName), "%s/%s_%d.flash", path, offset, gNodeId); in otPlatFlashInit()
|
/openthread-latest/src/posix/platform/ |
D | config_file.cpp | 133 char *path = nullptr; in Add() local 138 VerifyOrDie((path = strdup(mFilePath)) != nullptr, OT_EXIT_ERROR_ERRNO); in Add() 139 dir = dirname(path); in Add() 155 if (path != nullptr) in Add() 157 free(path); in Add()
|
/openthread-latest/tests/scripts/thread-cert/ |
D | run_cert_suite.py | 66 test_name = os.path.splitext(os.path.basename(script))[0] + '_' + str(iteration_id) 71 env['PYTHONPATH'] = os.path.dirname(os.path.abspath(__file__)) 76 abs_script = os.path.abspath(script) 131 relpath = os.path.relpath(script, _BACKBONE_TESTS_DIR)
|
/openthread-latest/third_party/mbedtls/repo/pkgconfig/ |
D | JoinPaths.cmake | 12 # Modelled after Python’s os.path.join 13 # https://docs.python.org/3.7/library/os.path.html#os.path.join
|
/openthread-latest/tools/harness-automation/autothreadharness/ |
D | runner.py | 59 def __init__(self, path, auto_reboot_args=None, keep_explorer=False, add_all_devices=False): argument 67 self.path = path 69 self.result = json.load(open(self.path, 'r')) 120 …json.dump(OrderedDict(sorted(self.result.items(), key=lambda t: t[0])), open(self.path, 'w'), inde… 199 if not os.path.exists(settings.OUTPUT_PATH): 215 if os.path.isfile(result_file): 312 if os.path.isfile(RESUME_SCRIPT_PATH):
|
/openthread-latest/tools/spi-hdlc-adapter/ |
D | README.md | 9 spi-hdlc-adapter [options] <spi-device-path> 14 - `--pty`: Create a pseudo terminal for HDLC input/output. The path of the newly-created PTY will b… 17 - `--gpio-int[=gpio-path]`: Specify a path to the Linux sysfs-exported GPIO directory for the `I̅N̅… 18 - `--gpio-reset[=gpio-path]`: Specify a path to the Linux sysfs-exported GPIO directory for the `R̅… 27 `spi-device-path` is a required argument since it indicates which SPI device to use. An example pat…
|