Searched refs:want_copy_len (Results 1 – 2 of 2) sorted by relevance
37 int want_copy_len = 0; in ota_get_py_install_path() local40 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()
77 int want_copy_len = 0; in ota_get_js_install_path() local80 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