Searched refs:file_exists (Results 1 – 2 of 2) sorted by relevance
82 static bool file_exists(const char* filename) { in file_exists() function129 if (!file_exists(file1) || !file_exists(file2)) { in compare_file()162 if (!file_exists(LAST_CONSOLE_FILE) && !file_exists(ALT_LAST_CONSOLE_FILE)) { in rotate_last_kmsg()203 if (file_exists(LAST_INSTALL_FILE_IN_CACHE) && unlink(LAST_INSTALL_FILE_IN_CACHE) == -1) { in main()215 if (!file_exists(LAST_PMSG_FILE)) { in main()226 if (file_exists(LAST_INSTALL_FILE) && unlink(LAST_INSTALL_FILE) == -1) { in main()234 if (file_exists(LAST_CONSOLE_FILE)) { in main()236 } else if (file_exists(ALT_LAST_CONSOLE_FILE)) { in main()
93 file_exists("/data/system/bad") && delete("/data/system/bad")95 file_exists("/data/system/missing") || create("/data/system/missing")