Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp509 char *file_name_start; in calculate_oat_file_path() local
512 file_name_start = strrchr(apk_path, '/'); in calculate_oat_file_path()
513 if (file_name_start == nullptr) { in calculate_oat_file_path()
517 file_name_end = strrchr(file_name_start, '.'); in calculate_oat_file_path()
524 file_name_start++; // Move past '/', is valid as file_name_end is valid. in calculate_oat_file_path()
525 size_t file_name_len = file_name_end - file_name_start; in calculate_oat_file_path()
526 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()