Lines Matching refs:tokens
157 std::vector<std::string> tokens;
158 if (2 != split(line, ':', &tokens)) {
162 size_t pos = tokens[0].length() - 1;
163 while ((pos > 0) && isspace(tokens[0][pos])) {
166 tokens[0].erase(pos + 1);
169 while (pos < tokens[1].length() && isspace(tokens[1][pos])) {
172 tokens[1].erase(0, pos);
173 *key = tokens[0];
174 *value = tokens[1];