Searched refs:base_path (Results 1 – 3 of 3) sorted by relevance
555 string RemoveBaseDir(const string& file_path, const string& base_path) { in RemoveBaseDir() argument556 if (base_path.empty() || in RemoveBaseDir()557 strncmp(file_path.c_str(), base_path.c_str(), base_path.length())) { in RemoveBaseDir()561 result = &file_path.c_str()[base_path.length()]; in RemoveBaseDir()
65 string RemoveBaseDir(const string& file_path, const string& base_path);
227 for base_path in pypath.split(':'):228 logging.debug('checking base_path %s', base_path)229 new_path = os.path.join(base_path, file_full_path)