Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 115) sorted by relevance

12345

/lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/
A Dbuild_tree.py14 return all(os.path.isdir(os.path.join(path, subdir))
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")
70 for d in [os.path.curdir,
71 os.path.pardir,
72 os.path.join(os.path.pardir, os.path.pardir)]:
85 path = os.path.dirname(frame.filename)
87 + [os.path.join(*([os.path.pardir]*i)) for i in range(2, 10)]:
[all …]
/lib/lwip/lwip/src/apps/http/makefsdata/
A Dtinydir.h277 if (dir == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open()
300 _tinydir_strcpy(dir->path, path); in tinydir_open()
302 pathp = &dir->path[_tinydir_strlen(dir->path) - 1]; in tinydir_open()
426 memset(dir->path, 0, sizeof(dir->path)); in tinydir_open()
536 _tinydir_strcpy(file->path, dir->path); in tinydir_open()
551 file->path, &file->_s) == -1) in tinydir_open()
621 _tinydir_strcpy(path, dir->_files[i].path); in tinydir_open()
647 if (file == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open()
662 path, in tinydir_open()
669 path, in tinydir_open()
[all …]
A Dmakefsdata.c75 #define GETCWD(path, len) GetCurrentDirectoryA(len, path) argument
77 #define CHDIR(path) SetCurrentDirectoryA(path) argument
82 #define GETCWD(path, len) getcwd(path, len) argument
84 #define CHDIR(path) chdir(path) argument
206 memset(path, 0, sizeof(path)); in main()
215 strcpy(path, "fs"); in main()
282 strncpy(path, argv[i], sizeof(path) - 1); in main()
283 path[sizeof(path) - 1] = 0; in main()
287 if (!check_path(path, sizeof(path))) { in main()
423 while ((slen > 0) && ((path[slen] == '\\') || (path[slen] == '/'))) { in check_path()
[all …]
/lib/mbedtls/external/mbedtls/scripts/
A Decp_comb_table.py149 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):
A Dgenerate_visualc_files.pl133 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 …]
A Dgenerate_driver_wrappers.py45 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 …]
A Dabi_check.py127 self.report_dir = os.path.abspath(configuration.report_dir)
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)
426 output_path = os.path.join(
[all …]
A Dmin_requirements.py55 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__),
A Dconfig.py381 os.path.join(os.path.dirname(__file__),
384 os.path.join(os.path.dirname(os.path.abspath(os.path.dirname(__file__))),
391 if os.path.lexists(candidate):
/lib/efi_loader/
A Defi_file.c43 char *path; member
54 return fh->path; in basename()
92 p = path; in sanitize_path()
97 p = path; in sanitize_path()
104 p = path; in sanitize_path()
123 p = path; in sanitize_path()
131 if (p < path) in sanitize_path()
181 char *path; in file_open() local
204 fh->path = path; in file_open()
251 free(path); in file_open()
[all …]
A Defi_bootbin.c63 const char *path, in calculate_paths() argument
78 ret = efi_dp_from_name(dev, devnr, path, &device, &image); in calculate_paths()
116 void efi_set_bootdev(const char *dev, const char *devnr, const char *path, in efi_set_bootdev() argument
122 devnr, path, buffer, buffer_size); in efi_set_bootdev()
152 ret = calculate_paths(dev, devnr, path, &bootefi_device_path, in efi_set_bootdev()
/lib/efi_client/
A Defi_app_init.c75 static bool devpath_is_partition(const struct efi_device_path *path) in devpath_is_partition() argument
80 for (p = path; p->type != DEVICE_PATH_TYPE_END; in devpath_is_partition()
86 (void *)path; in devpath_is_partition()
115 struct efi_device_path *path; in setup_block() local
146 (void **)&path); in setup_block()
159 name = text->convert_device_path_to_text(path, true, false); in setup_block()
160 is_part = devpath_is_partition(path); in setup_block()
163 len = util->get_device_path_size(path); in setup_block()
164 ret = efi_bind_block(handle[i], blkio, path, len, &dev); in setup_block()
/lib/mbedtls/external/mbedtls/tests/scripts/
A Dscripts_path.py15 sys.path.append(os.path.join(os.path.dirname(__file__),
16 os.path.pardir, os.path.pardir,
A Dcheck_files.py58 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)
A Dgenerate_test_cert_macros.py23 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'))
A Dcheck_test_cases.py133 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)
A Dgenerate_test_code.py1180 for name, path in [('Functions file', funcs_file),
1186 if not os.path.exists(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)
1262 if not os.path.exists(directory):
[all …]
A Dtest_config_script.py30 return os.path.join(directory,
47 if os.path.exists(directory):
114 cmd = [os.path.abspath(options.script),
115 '-f', os.path.basename(data_filename)]
A Dcheck_names.py307 def is_file_excluded(self, path, exclude_wildcards): argument
312 if fnmatch.fnmatch(path, pattern):
339 for path in accumulator:
340 if self.is_file_excluded(path, exclude_wildcards):
341 exc_files.append(path)
343 inc_files.append(path)
364 return list(path for path in accumulator
365 if not self.is_file_excluded(path, exclude_wildcards))
/lib/libfdt/
A Dtest_libfdt.py6 our_path = os.path.dirname(os.path.realpath(__file__))
7 sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
/lib/mbedtls/external/mbedtls/docs/proposed/
A Dpsa-driver-integration-guide.md26 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…
/lib/rsa/
A Drsa-sign.c45 char path[1024]; in rsa_pem_get_pub_key() local
55 snprintf(path, sizeof(path), "%s/%s.crt", keydir, name); in rsa_pem_get_pub_key()
56 f = fopen(path, "r"); in rsa_pem_get_pub_key()
59 path, strerror(errno)); in rsa_pem_get_pub_key()
189 char path[1024] = {0}; in rsa_pem_get_priv_key() local
197 snprintf(path, sizeof(path), "%s/%s.key", keydir, name); in rsa_pem_get_priv_key()
199 snprintf(path, sizeof(path), "%s", keyfile); in rsa_pem_get_priv_key()
203 f = fopen(path, "r"); in rsa_pem_get_priv_key()
206 path, strerror(errno)); in rsa_pem_get_priv_key()
210 if (!PEM_read_PrivateKey(f, evpp, NULL, path)) { in rsa_pem_get_priv_key()
/lib/mbedtls/external/mbedtls/pkgconfig/
A DJoinPaths.cmake12 # Modelled after Python’s os.path.join
13 # https://docs.python.org/3.7/library/os.path.html#os.path.join
/lib/mbedtls/external/mbedtls/programs/util/
A Dpem2der.c105 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file() argument
110 if ((f = fopen(path, "rb")) == NULL) { in load_file()
146 static int write_file(const char *path, unsigned char *buf, size_t n) in write_file() argument
150 if ((f = fopen(path, "wb")) == NULL) { in write_file()
/lib/acpi/
A Dacpi_table.c324 const char *path; in acpi_create_dbg2() local
362 path = device_path ? : "."; in acpi_create_dbg2()
364 path_len = strlen(path) + 1; in acpi_create_dbg2()
368 strncpy(namespace, path, path_len); in acpi_create_dbg2()
381 char path[ACPI_PATH_MAX]; in acpi_write_dbg2_pci_uart() local
399 ret = acpi_device_path(dev, path, sizeof(path)); in acpi_write_dbg2_pci_uart()
409 ret = acpi_device_path(dev, path, sizeof(path)); in acpi_write_dbg2_pci_uart()
413 ACPI_DBG2_16550_COMPATIBLE, &address, 0x1000, path); in acpi_write_dbg2_pci_uart()

Completed in 56 milliseconds

12345