Home
last modified time | relevance | path

Searched refs:path (Results 1 - 25 of 85) sorted by relevance

1234

/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dcommon_env.py41 #library path for linking
42 cur_file_path = os.path.split(os.path.realpath(__file__))[0]
43 netcfg_lib_dir = os.path.join(cur_file_path, '..', '..', '..', '..', '..',
46 os.path.join('build', 'scripts'),
47 os.path.join('build', 'libs'),
49 os.path.join('ohos', 'libs'),
52 #library path for boot linking
54 os.path.join('build', 'libs'),
62 'boot': os.path
[all...]
H A Dpkt_builder.py29 root_path = os.path.join(os.getcwd(), '..', '..') if getattr(sys, 'frozen', False) else os.path.join(os.path.dirname(__file__), '..', '..')
34 self.__bootBinPath = os.path.join(root_path, usr_realtive_output, 'build', 'flashboot', 'Hi3861_flash_boot.bin')
35 self.__kernelBinPath = os.path.join(root_path, usr_realtive_output, 'output', 'bin', '%s_non_rom.bin'%self.__app_name)
36 self.__normalNvPath = os.path.join(root_path, 'build', 'build_tmp', 'nv', '%s_normal.hnv'%app_name)
37 self.__factoryNvPath = os.path.join(root_path, 'build', 'build_tmp', 'nv', '%s_factory.hnv'%app_name)
38 self.__pktPath = os.path.join(root_path, usr_realtive_output, 'output', 'bin')
39 self.__key_dir_path = os.path.join(root_path, 'tools', 'sign_tool')
40 self.__lzma_tool_path = os.path
[all...]
H A Dhi_config_parser.py55 if os.path.exists(self.config_file) is False:
64 dir_path = os.path.dirname(os.path.dirname(os.path.realpath(getsourcefile(self.local_main))))
65 return os.path.join(dir_path, 'config', 'usr_config.mk')
67 return os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'config', 'usr_config.mk')
111 dir_path = os.path.dirname(os.path
[all...]
H A Dmk_prim_xml_step1.py59 g_params['I_FILE_DIR'] = os.path.join(g_params['PRIM_XML_TEMP_ROOT_DIR'].strip(), g_params['PRIM_XML_KEY_WORD'])
62 def create_file_id_dic(path = None):
63 file_name = g_params['PRIM_XML_FILE_ID_FILE'].strip(' ') if path is None else path
93 full_dir = os.path.join(full_dir, sub_dir)
98 full_file_name = os.path.join(full_dir, file_name)
99 if os.path.isfile(full_file_name):
112 if os.path.isdir(temp_dir):
125 dst_full_file_name = os.path.join(temp_dir, dst_file_name)
136 parse_file = os.path
[all...]
H A Dscons_env_cfg.py41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS'))
46 tmp_dir = os.path.join('build', 'build_tmp')
48 self.log_path = os.path.join(tmp_dir, 'logs')
49 self.obj_path = os.path.join(tmp_dir, 'objs')
50 self.lib_path = os.path.join(tmp_dir, 'libs')
51 self.cache_path = os.path.join(tmp_dir, 'cache')
52 self.link_path = os.path
[all...]
H A Dpacket_create.py71 path, burnAddr, burnSize, type = item.split("|")
72 imageSize = os.path.getsize(path)
73 pathList.append(path)
96 for path in pathList:
97 pathName = os.path.basename(path)
104 for path in pathList:
105 with open(path, 'rb+') as subfile:
151 path, burnAdd
[all...]
H A Dscons_app.py53 self.proj_root = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
62 dirs = os.listdir(os.path.join(self.proj_root, 'app'))
64 return os.path.join('app', self.app_name)
95 Parse app library path
108 app_scons = os.path.join(self.proj_root, self.app_root, 'SConscript')
109 if os.path.isfile(app_scons) == False:
112 self.app_cfg_file = os.path.join(self.proj_root, self.app_root, 'app.json')
113 if os.path.isfile(self.app_cfg_file) == False:
132 incs.append(os.path
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dloadbmp.c55 hi_char *path = HI_NULL; in GetBmpInfo() local
63 path = realpath(filename, HI_NULL); in GetBmpInfo()
64 if (path == HI_NULL) { in GetBmpInfo()
68 if ((pFile = fopen(path, "rb")) == NULL) { in GetBmpInfo()
70 free(path); in GetBmpInfo()
78 free(path); in GetBmpInfo()
85 free(path); in GetBmpInfo()
95 hi_char *path = HI_NULL; in LoadBMP() local
113 path = realpath(filename, HI_NULL); in LoadBMP()
114 if (path in LoadBMP()
219 hi_char *path = HI_NULL; LoadBMPEx() local
375 hi_char *path = HI_NULL; LoadBMPCanvas() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/
H A Dscons_env_cfg.py41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS'))
46 tmp_dir = os.path.join('build', 'build_tmp')
48 self.log_path = os.path.join(tmp_dir, 'logs')
49 self.obj_path = os.path.join(tmp_dir, 'objs')
50 self.lib_path = os.path.join(tmp_dir, 'libs')
51 self.cache_path = os.path.join(tmp_dir, 'cache')
52 self.link_path = os.path
[all...]
H A Dscons_utils.py71 src_path.append(os.path.relpath(root, search_dir)) if full_path == False else src_path.append(root)
72 print('relative dir:',os.path.relpath(root, search_dir) if full_path == False else root)
79 compiler = os.path.join(param, 'riscv32-unknown-elf-gcc.exe')
80 if os.path.isfile(compiler):
89 usr_config_path = os.path.join('build', 'config', 'usr_config.mk')
90 if os.path.isfile(usr_config_path) == False:
91 shutil.copyfile(os.path.join('tools', 'menuconfig', 'default.config'), usr_config_path)
99 if os.path.isfile(name):
101 elif os.path.isdir(name):
133 if os.path
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/make_scripts/
H A Dprepare.py24 proj_top_dir = os.path.realpath(os.path.join(__file__, '..', '..', '..'))
26 sys.path.append(os.path.join(proj_top_dir, 'build'))
34 def mkdir(path):
35 isExists=os.path.exists(path)
37 os.makedirs(path)
38 print ('%s create success'% path)
68 cfg_list.extend([os.path
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/tools/nvtool/
H A Dbuild_nv.py37 sys.path.append("'..', '..', 'build'")
291 g_nv_env.temp_dir=os.path.join(product_lib_out, app_name, '%s%s'%(g_common_ver, g_subver_name))#临时文件目录
293 g_nv_env.mdm_xml=os.path.join(root_dir, 'xml_file', hnv_file_name)
295 g_nv_env.app_xml=os.path.join(root_dir, 'xml_file', 'app_nvi_db.xml')
296 g_nv_env.app_cfg_dir=os.path.join(root_dir, 'xml_file')#区分不同产品形态
298 g_nv_env.combin_xml=os.path.join(product_lib_out, app_name, hnv_file_name)#合并后combin.xml路径
299 g_nv_env.combin_product_xml=os.path.join(g_nv_env.temp_dir, 'mss_nvi_db_%s.xml'%(g_nv_env.product_type))#合并分割后combin_coo.xml路径
300 g_nv_env.combin_product_security_xml=os.path.join(g_nv_env.temp_dir, 'combin_%s_security.xml'%(g_nv_env.product_type))#合并分割后combin_coo.xml路径
302 g_nv_env.src_bin_dir=os.path.join(root_dir, 'app', g_nv_env.app_name, 'nv', 'src_bin', g_nv_env.product_type)#Path for storing closed source src_bin files
303 g_nv_env.nv_tool=os.path
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/nvtool/
H A Dbuild_nv.py37 sys.path.append("'..', '..', 'build'")
291 g_nv_env.temp_dir=os.path.join(product_lib_out, app_name, '%s%s'%(g_common_ver, g_subver_name))#临时文件目录
293 g_nv_env.mdm_xml=os.path.join(root_dir, 'xml_file', hnv_file_name)
295 g_nv_env.app_xml=os.path.join(root_dir, 'xml_file', 'app_nvi_db.xml')
296 g_nv_env.app_cfg_dir=os.path.join(root_dir, 'xml_file')#区分不同产品形态
298 g_nv_env.combin_xml=os.path.join(product_lib_out, app_name, hnv_file_name)#合并后combin.xml路径
299 g_nv_env.combin_product_xml=os.path.join(g_nv_env.temp_dir, 'mss_nvi_db_%s.xml'%(g_nv_env.product_type))#合并分割后combin_coo.xml路径
300 g_nv_env.combin_product_security_xml=os.path.join(g_nv_env.temp_dir, 'combin_%s_security.xml'%(g_nv_env.product_type))#合并分割后combin_coo.xml路径
302 g_nv_env.src_bin_dir=os.path.join(root_dir, 'app', g_nv_env.app_name, 'nv', 'src_bin', g_nv_env.product_type)#存放必源src bin文件路径
303 g_nv_env.nv_tool=os.path
[all...]
/device/qemu/esp32/adapter/hals/utils/file/src/
H A Dhal_file.c37 int HalFileOpen(const char* path, int oflag, int mode) in HalFileOpen() argument
40 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileOpen()
59 int HalFileDelete(const char *path) in HalFileDelete() argument
62 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileDelete()
63 return unlink(path); in HalFileDelete()
66 int HalFileStat(const char *path, unsigned int *fileSize) in HalFileStat() argument
71 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileStat()
/device/qemu/SmartL_E802/adapter/hals/utils/file/src/
H A Dhal_file.c37 int HalFileOpen(const char* path, int oflag, int mode) in HalFileOpen() argument
40 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileOpen()
59 int HalFileDelete(const char *path) in HalFileDelete() argument
62 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileDelete()
63 return unlink(path); in HalFileDelete()
66 int HalFileStat(const char *path, unsigned int *fileSize) in HalFileStat() argument
71 (void)snprintf_s(tmpPath, LITTLEFS_MAX_LFN_LEN, LITTLEFS_MAX_LFN_LEN, "/littlefs/%s", path); in HalFileStat()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/utils/file/src/
H A Dhal_file.c19 int HalFileOpen(const char* path, int oflag, int mode) in HalFileOpen() argument
22 return hi_open(path, oflag); in HalFileOpen()
40 int HalFileDelete(const char *path) in HalFileDelete() argument
42 return hi_unlink(path); in HalFileDelete()
45 int HalFileStat(const char *path, unsigned int *fileSize) in HalFileStat() argument
47 return hi_stat(path, fileSize); in HalFileStat()
/device/soc/rockchip/rk2206/adapter/hals/utils/file/
H A Dhal_file.c65 int HalFileOpen(const char* path, int oflag, int mode) in HalFileOpen() argument
70 ret = HalCheckPath(path, full_path, FILE_NAME_MAXSIZE); in HalFileOpen()
103 int HalFileStat(const char* path, unsigned int* fileSize) in HalFileStat() argument
109 if (path == NULL) { in HalFileStat()
116 ret = HalCheckPath(path, full_path, FILE_NAME_MAXSIZE); in HalFileStat()
130 int HalFileDelete(const char* path) in HalFileDelete() argument
135 if (path == NULL) { in HalFileDelete()
139 ret = HalCheckPath(path, full_path, FILE_NAME_MAXSIZE); in HalFileDelete()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
H A Dsample_ive_sobel_with_cached_mem.c70 HI_CHAR path[PATH_MAX] = {0}; in SAMPLE_IVE_Sobel_Init() local
107 SAMPLE_CHECK_EXPR_GOTO(realpath(file, path) == NULL, SOBEL_INIT_FAIL, "invalid path!\n"); in SAMPLE_IVE_Sobel_Init()
108 s32Ret = strcat_s(path, PATH_MAX, "/sobelh1.dat"); in SAMPLE_IVE_Sobel_Init()
111 pstSobel->pFpDstH1 = fopen(path, "wb"); in SAMPLE_IVE_Sobel_Init()
112 SAMPLE_CHECK_EXPR_GOTO(pstSobel->pFpDstH1 == HI_NULL, SOBEL_INIT_FAIL, "Error,Open file %s failed!\n", path); in SAMPLE_IVE_Sobel_Init()
114 SAMPLE_CHECK_EXPR_GOTO(realpath(file, path) == NULL, SOBEL_INIT_FAIL, "invalid path!\n"); in SAMPLE_IVE_Sobel_Init()
115 s32Ret = strcat_s(path, PATH_MAX, "/sobelh2.dat"); in SAMPLE_IVE_Sobel_Init()
118 pstSobel->pFpDstH2 = fopen(path, "w in SAMPLE_IVE_Sobel_Init()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
H A Dpacket_tool.py72 path, burnAddr, burnSize, type = item.split("|")
73 imageSize = os.path.getsize(path)
74 pathList.append(path)
99 for path in pathList:
100 pathName = os.path.basename(path)
108 for path in pathList:
109 subfile = open(path, 'rb+')
137 path, burnAdd
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.c36 status == INTEL_UC_FIRMWARE_SELECTED ? uc_fw->path : intel_uc_fw_status_repr(status)); in intel_uc_fw_change_status()
84 const char *path; in INTEL_UC_FIRMWARE_DEFS() local
89 .major = (major_), .minor = (minor_), .path = path_ \
123 uc_fw->path = blob->path; in __uc_fw_auto_select()
144 uc_fw->path = NULL; in __uc_fw_auto_select()
150 uc_fw->path = NULL; in __uc_fw_auto_select()
172 const char *path = NULL; in __uc_fw_user_override() local
176 path = __override_guc_firmware_path(i915); in __uc_fw_user_override()
179 path in __uc_fw_user_override()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/interconnection_server/
H A Dhisignalling.c109 char path[64] = {0}; in GpioDirection() local
112 int len = snprintf_s(path, sizeof(path), sizeof(path) - 1, "/sys/class/gpio/gpio%d/direction", pin); in GpioDirection()
116 fd = open(path, O_WRONLY); in GpioDirection()
145 char path[64] = {0}; in GpioWrite() local
148 int len = snprintf_s(path, sizeof(path), sizeof(path) - 1, "/sys/class/gpio/gpio%d/value", pin); in GpioWrite()
152 fd = open(path, O_WRONL in GpioWrite()
178 char path[64] = {0}; GpioRead() local
219 char path[64] = {0}; GpioEdge() local
[all...]
/device/soc/rockchip/common/sdk_linux/scripts/
H A Drepack-bootimg13 --boot_img BOOT_IMG path to the original boot image
14 --out OUT path to out binaries (default: out)
15 --kernel KERNEL path to the new kernel
16 --ramdisk RAMDISK path to the new ramdisk
17 --second SECOND path to the new 2nd bootloader (default: resource.img)
18 --dtb DTB path to the new dtb
20 path to the new recovery DTBO
H A Dresource_tool.c593 char path[MAX_INDEX_ENTRY_PATH_LEN]; member
614 char path[MAX_INDEX_ENTRY_PATH_LEN]; member
643 static const char *fix_path(const char *path) in fix_path() argument
645 if (!memcmp(path, "./", 2)) { in fix_path()
646 return path + 2; in fix_path()
648 return path; in fix_path()
800 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument
802 FILE *file = fopen(path, "wb"); in tests_dump_file()
825 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content()
834 tests_dump_file(content->path, dat in load_content_data()
1220 mkdirs(char *path) mkdirs() argument
1247 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local
1378 get_file_size(const char *path) get_file_size() argument
1488 const char *path = files[i]; write_index_tbl() local
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dresource_tool.c610 char path[MAX_INDEX_ENTRY_PATH_LEN]; member
631 char path[MAX_INDEX_ENTRY_PATH_LEN]; member
660 static const char *fix_path(const char *path) in fix_path() argument
662 if (!memcmp(path, "./", 2)) { in fix_path()
663 return path + 2; in fix_path()
665 return path; in fix_path()
811 static void tests_dump_file(const char *path, void *data, int len) in tests_dump_file() argument
813 FILE *file = fopen(path, "wb"); in tests_dump_file()
834 tests_dump_file(content->path, content->load_addr, content->content_size); in load_content()
845 tests_dump_file(content->path, dat in load_content_data()
1240 mkdirs(char *path) mkdirs() argument
1267 char path[MAX_INDEX_ENTRY_PATH_LEN * 2 + 1]; dump_file() local
1397 get_file_size(const char *path) get_file_size() argument
1504 const char *path = files[i]; write_index_tbl() local
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dfile.c60 * @brief Get canonical form of a given path based on cwd(Current working directory).
63 * @param path Indicates the path to be canonicalization.
66 * @return Returns the length of the canonical path.
68 * @attention if path is an absolute path, cwd is ignored. if cwd if not specified, it is assumed to be root('/').
70 * length of the canonical path.
72 static size_t GetCanonicalPath(const char *cwd, const char *path, char *buf, size_t bufSize) in GetCanonicalPath() argument
74 if (!path) { in GetCanonicalPath()
75 path in GetCanonicalPath()
276 unlink(const char *path) unlink() argument
[all...]

Completed in 13 milliseconds

1234