Home
last modified time | relevance | path

Searched refs:file_path2 (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_upgrade.c60 int pyamp_ota_file_plus_name(char *file_path1, char *file_path2, char *new_path, int new_path_len) in pyamp_ota_file_plus_name() argument
65 if ((file_path1 == NULL) || (file_path2 == NULL) || (new_path == NULL)) { in pyamp_ota_file_plus_name()
69 file_path2_len = strlen(file_path2); in pyamp_ota_file_plus_name()
76 strncpy(&new_path[file_path1_len], file_path2, file_path2_len); in pyamp_ota_file_plus_name()
/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_upgrade.c100 int ota_file_plus_name(char *file_path1, char *file_path2, char *new_path, int new_path_len) in ota_file_plus_name() argument
106 (file_path2 == NULL) || in ota_file_plus_name()
111 file_path2_len = strlen(file_path2); in ota_file_plus_name()
118 strncpy(&new_path[file_path1_len], file_path2, file_path2_len); in ota_file_plus_name()

Completed in 4 milliseconds