Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_upgrade.c37 int want_copy_len = 0; in ota_get_py_install_path() local
40 for (want_copy_len = store_file_path_len - 1; want_copy_len > 0; want_copy_len--) { in ota_get_py_install_path()
41 if (store_file_full_path[want_copy_len] == '/') { in ota_get_py_install_path()
45 if (want_copy_len > 0) { in ota_get_py_install_path()
46 want_copy_len++; in ota_get_py_install_path()
47 if (want_copy_len < path_buf_len) { in ota_get_py_install_path()
50 strncpy(path_buf, store_file_full_path, want_copy_len); in ota_get_py_install_path()
/AliOS-Things-master/components/amp/services/app_mgr/
A Dapp_upgrade.c77 int want_copy_len = 0; in ota_get_js_install_path() local
80 for (want_copy_len = store_file_path_len - 1; want_copy_len > 0; want_copy_len--) { in ota_get_js_install_path()
81 if (store_file_full_path[want_copy_len] == '/') { in ota_get_js_install_path()
85 if (want_copy_len > 0) { in ota_get_js_install_path()
86 want_copy_len++; in ota_get_js_install_path()
87 if (want_copy_len < path_buf_len) { in ota_get_js_install_path()
90 strncpy(path_buf, store_file_full_path, want_copy_len); in ota_get_js_install_path()

Completed in 3 milliseconds