Searched refs:path_parts (Results 1 – 5 of 5) sorted by relevance
102 path_parts = path.split('/')103 for i in xrange(len(path_parts), -1, -1):104 name_and_config = serve_from_to_config.get('/'.join(path_parts[:i]))108 '/'.join(path_parts[:i]),109 '/'.join(path_parts[i:]))
280 std::vector<std::string> path_parts; in ParseData() local282 base::SplitString(path_lower, '/', &path_parts); in ParseData()283 if (path_lower.empty() || path_parts.size() < 3) in ParseData()286 std::string size_param = path_parts.at(1); in ParseData()287 std::string match_param = path_parts.at(2); in ParseData()306 std::string extension_id = path_parts.at(0); in ParseData()
717 std::vector<std::string> path_parts; in MatchesCommand() local718 base::SplitString(path, '/', &path_parts); in MatchesCommand()721 if (path_parts.size() != command_path_parts.size()) in MatchesCommand()725 for (size_t i = 0; i < path_parts.size(); ++i) { in MatchesCommand()732 *session_id = path_parts[i]; in MatchesCommand()734 params.SetString(name, path_parts[i]); in MatchesCommand()735 } else if (command_path_parts[i] != path_parts[i]) { in MatchesCommand()
39 def AddDirToPythonPath(*path_parts): argument40 path = os.path.abspath(os.path.join(*path_parts))
191 path_parts = file_path.split('/')196 while len(path_parts) > 0:197 path_part = path_parts.pop(0)