Home
last modified time | relevance | path

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

123

/optee_os/scripts/
H A Dgen_compile_commands.py73 os.path.abspath(args.directory),
92 exclude_dirs = [os.path.join(directory, d) for d in _EXCLUDE_DIRS]
102 yield os.path.join(dirpath, filename)
105 def to_cmdfile(path): argument
114 dir, base = os.path.split(path)
115 return os.path.join(dir, '.' + base + '.cmd')
148 base, ext = os.path.splitext(obj)
183 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
184 if not os.path.exists(abs_path):
204 for path in paths:
[all …]
H A Dget_maintainer.py58 parent = os.path.dirname(os.path.realpath(__file__)) + "/../"
59 if (os.path.realpath(cwd) != os.path.realpath(parent)):
104 psname = os.path.basename(patchset).replace('.', '_')
167 def match_pattern(path, pattern): argument
170 if not path.endswith('/') and os.path.isdir(path):
171 path += '/'
178 return not not re.match(rep, path)
181 def get_subsystems_for_path(subsystems, path, strict): argument
188 if match_pattern(path, pattern):
194 if match_pattern(path, pattern):
[all …]
H A Dsymbolize.py156 if d.endswith(elf_or_uuid) and os.path.isfile(d):
417 def pretty_print_path(self, path): argument
419 return re.sub(re.escape(self._strip_path) + '/*', '', path)
420 return path
519 rpath = os.path.realpath(elf)
520 path = self.pretty_print_path(rpath)
521 self._out.write(' (' + path + ')')
H A Dbin_to_c.py48 os.path.basename(__file__) + ' */\n\n')
H A Dts_bin_to_c.py145 ts_uuid = uuid.UUID(re.sub(r'\..*', '', os.path.basename(ts)))
149 os.path.basename(__file__) + ' */\n\n')
/optee_os/core/lib/libfdt/
H A Dfdt_overlay.c62 const char *path = NULL; in overlay_get_target() local
73 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target()
74 if (path) in overlay_get_target()
75 ret = fdt_path_offset(fdt, path); in overlay_get_target()
97 *pathp = path ? path : NULL; in overlay_get_target()
369 const char *path, uint32_t path_len, in overlay_fixup_one_phandle() argument
395 fixup_off = fdt_path_offset_namelen(fdto, path, path_len); in overlay_fixup_one_phandle()
444 const char *path, *name, *fixup_end; in overlay_fixup_phandle() local
459 path = fixup_str; in overlay_fixup_phandle()
464 path_len = sep - path; in overlay_fixup_phandle()
[all …]
H A Dfdt_ro.c237 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument
239 const char *end = path + namelen; in fdt_path_offset_namelen()
240 const char *p = path; in fdt_path_offset_namelen()
246 if (*path != '/') { in fdt_path_offset_namelen()
247 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen()
282 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() argument
284 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset()
/optee_os/core/lib/scmi-server/
H A Dsub.mk10 scpfw-path = $(CFG_SCP_FIRMWARE)
12 scpfw-out-path := $(out-dir)/$(libdir)
45 recipe-fwk_module_list = cmake -S $(scpfw-path) -B $(scpfw-out-path)/build \
47 depends-fwk_module_list = $(scpfw-path)/product/$(scpfw-product)/fw/Firmware.cmake $(conf-file)
49 incdirs_ext-y += $(scpfw-out-path)/build/framework/include
55 scpfw-impl-version := $(shell git -C $(scpfw-path) describe --tags --always --dirty=-dev 2>/dev/nul…
/optee_os/core/kernel/
H A Dlockdep.c103 uintptr_t *path; member
117 free(cur->path); in lockdep_bfs_queue_delete()
141 qe->path = malloc(sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle()
142 if (!qe->path) in lockdep_graph_get_shortest_cycle()
144 qe->path[0] = node->lock_id; in lockdep_graph_get_shortest_cycle()
165 tmp = realloc(qe->path, in lockdep_graph_get_shortest_cycle()
169 free(qe->path); in lockdep_graph_get_shortest_cycle()
173 qe->path = tmp; in lockdep_graph_get_shortest_cycle()
174 qe->path[nlen - 1] = 0; in lockdep_graph_get_shortest_cycle()
175 ret = qe->path; in lockdep_graph_get_shortest_cycle()
[all …]
/optee_os/core/drivers/crypto/se050/glue/
H A Di2c_stm32.c41 const char *path = NULL; in dt_i2c_bus_config() local
52 path = fdt_get_alias(fdt, bus); in dt_i2c_bus_config()
53 if (!path) in dt_i2c_bus_config()
56 node = fdt_path_offset(fdt, path); in dt_i2c_bus_config()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dhmac_drbg.h400 int mbedtls_hmac_drbg_write_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path);
416 int mbedtls_hmac_drbg_update_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path);
H A Dentropy.h224 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path);
238 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path);
H A Dctr_drbg.h562 int mbedtls_ctr_drbg_write_seed_file(mbedtls_ctr_drbg_context *ctx, const char *path);
578 int mbedtls_ctr_drbg_update_seed_file(mbedtls_ctr_drbg_context *ctx, const char *path);
H A Dx509_crl.h144 int mbedtls_x509_crl_parse_file(mbedtls_x509_crl *chain, const char *path);
H A Ddhm.h364 int mbedtls_dhm_parse_dhmfile(mbedtls_dhm_context *dhm, const char *path);
H A Dx509_csr.h185 int mbedtls_x509_csr_parse_file(mbedtls_x509_csr *csr, const char *path);
H A Dpk.h1175 const char *path, const char *password,
1195 int mbedtls_pk_parse_public_keyfile(mbedtls_pk_context *ctx, const char *path);
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dhmac_drbg.c426 int mbedtls_hmac_drbg_write_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path) in mbedtls_hmac_drbg_write_seed_file() argument
432 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_hmac_drbg_write_seed_file()
457 int mbedtls_hmac_drbg_update_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path) in mbedtls_hmac_drbg_update_seed_file() argument
465 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_hmac_drbg_update_seed_file()
494 return mbedtls_hmac_drbg_write_seed_file(ctx, path); in mbedtls_hmac_drbg_update_seed_file()
H A Dentropy.c406 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_write_seed_file() argument
417 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_entropy_write_seed_file()
442 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_update_seed_file() argument
449 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_entropy_update_seed_file()
478 return mbedtls_entropy_write_seed_file(ctx, path); in mbedtls_entropy_update_seed_file()
H A Dctr_drbg.c721 const char *path) in mbedtls_ctr_drbg_write_seed_file() argument
727 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_ctr_drbg_write_seed_file()
754 const char *path) in mbedtls_ctr_drbg_update_seed_file() argument
762 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_ctr_drbg_update_seed_file()
791 return mbedtls_ctr_drbg_write_seed_file(ctx, path); in mbedtls_ctr_drbg_update_seed_file()
H A Ddhm.c580 static int load_file(const char *path, unsigned char **buf, size_t *n) in load_file() argument
585 if ((f = fopen(path, "rb")) == NULL) { in load_file()
627 int mbedtls_dhm_parse_dhmfile(mbedtls_dhm_context *dhm, const char *path) in mbedtls_dhm_parse_dhmfile() argument
633 if ((ret = load_file(path, &buf, &n)) != 0) { in mbedtls_dhm_parse_dhmfile()
H A Dpkparse.c1298 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n) in mbedtls_pk_load_file() argument
1303 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_pk_load_file()
1348 const char *path, const char *pwd, in mbedtls_pk_parse_keyfile() argument
1355 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_keyfile()
1374 int mbedtls_pk_parse_public_keyfile(mbedtls_pk_context *ctx, const char *path) in mbedtls_pk_parse_public_keyfile() argument
1380 if ((ret = mbedtls_pk_load_file(path, &buf, &n)) != 0) { in mbedtls_pk_parse_public_keyfile()
/optee_os/core/
H A Dsub.mk45 dtb-$1-path = $(dir $1)
46 dtb-$1 = $$(dtb-$1-path)../manifest/$$(sp-$1-uuid).dtb
/optee_os/core/include/kernel/
H A Ddt.h305 int add_dt_path_subnode(struct dt_descriptor *dt, const char *path,
483 const char *path __unused, in add_dt_path_subnode()
/optee_os/core/arch/arm/dts/
H A Dstm32mp157a-dk1.dts26 stdout-path = "serial0:115200n8";

123