Searched refs:old_extension (Results 1 – 2 of 2) sorted by relevance
67 const char old_extension[], in replace_filename_extension() argument69 if (path->endsWith(old_extension)) { in replace_filename_extension()70 path->remove(path->size() - strlen(old_extension), in replace_filename_extension()71 strlen(old_extension)); in replace_filename_extension()
65 const char old_extension[], in add_page_and_replace_filename_extension() argument67 if (path->endsWith(old_extension)) { in add_page_and_replace_filename_extension()68 path->remove(path->size() - strlen(old_extension), in add_page_and_replace_filename_extension()69 strlen(old_extension)); in add_page_and_replace_filename_extension()