Lines Matching refs:pos
113 string::size_type pos;115 pos = s.find(oldsub, start_pos);116 if (pos == string::npos) {119 res->append(s, start_pos, pos - start_pos);121 start_pos = pos + oldsub.size(); // start searching again after the "old"