Lines Matching defs:pos
333 const std::string::size_type pos = line.find_first_of(":(");
334 if (pos == std::string::npos) {
338 } else if (line[pos] == ':') {
339 out_state = line.substr(0, pos);
341 out_reason = atf::text::trim(line.substr(pos + 1));
342 } else if (line[pos] == '(') {
343 const std::string::size_type pos2 = line.find("):", pos);
347 out_state = line.substr(0, pos);
348 out_arg = line.substr(pos + 1, pos2 - pos - 1);