Home | History | Annotate | Download | only in translate

Lines Matching refs:offsets

291   std::vector<size_t> offsets;
294 string16(), string16(), &offsets);
295 DCHECK_EQ(2U, offsets.size());
297 *swap_languages = (offsets[0] > offsets[1]);
299 std::swap(offsets[0], offsets[1]);
301 strings->push_back(text.substr(0, offsets[0]));
302 strings->push_back(text.substr(offsets[0], offsets[1] - offsets[0]));
303 strings->push_back(text.substr(offsets[1]));