Searched refs:cached_path (Results 1 – 1 of 1) sorted by relevance
33 static bool get_hit_file(const char* cached_path, std::string ffn) { in get_hit_file() argument35 ? !strncmp(cached_path, OTAIO_CACHE_FNAME, strlen(cached_path)) in get_hit_file()36 : !strncmp(cached_path, ffn.c_str(), strlen(cached_path)); in get_hit_file()85 const char* cached_path = cached->second; in ota_fread() local87 get_hit_file(cached_path, read_fault_file_name)) { in ota_fread()104 const char* cached_path = cached->second; in ota_read() local106 && get_hit_file(cached_path, read_fault_file_name)) { in ota_read()123 const char* cached_path = cached->second; in ota_fwrite() local125 get_hit_file(cached_path, write_fault_file_name)) { in ota_fwrite()142 const char* cached_path = cached->second; in ota_write() local[all …]