Searched refs:last_dash (Results 1 – 3 of 3) sorted by relevance
53 int last_dash = buf_str.find_last_of(' '); in completion() local54 if (last_dash != string::npos) { in completion()55 prefix = buf_str.substr(0, last_dash + 1); in completion()56 buf_str = buf_str.substr(last_dash + 1, kint32max); in completion()
225 last_dash = behavior_with_suffix.rfind("-")226 if last_dash == -1:229 behavior = behavior_with_suffix[:last_dash]