Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp738 const char *file_name_start; in calculate_oat_file_path() local
741 file_name_start = strrchr(apk_path, '/'); in calculate_oat_file_path()
742 if (file_name_start == nullptr) { in calculate_oat_file_path()
746 file_name_end = strrchr(file_name_start, '.'); in calculate_oat_file_path()
753 file_name_start++; // Move past '/', is valid as file_name_end is valid. in calculate_oat_file_path()
754 size_t file_name_len = file_name_end - file_name_start; in calculate_oat_file_path()
755 std::string file_name(file_name_start, file_name_len); in calculate_oat_file_path()
Dinstalld.cpp68 char *file_name_start; in calculate_oat_file_path() local
71 file_name_start = strrchr(apk_path, '/'); in calculate_oat_file_path()
72 if (file_name_start == NULL) { in calculate_oat_file_path()
77 if (file_name_end < file_name_start) { in calculate_oat_file_path()
83 int file_name_len = file_name_end - file_name_start - 1; in calculate_oat_file_path()
85 memcpy(file_name, file_name_start + 1, file_name_len); in calculate_oat_file_path()