Home | History | Annotate | Download | only in i18n

Lines Matching refs:str

24   string16 str(UTF8ToUTF16(" foo bar! \npouet boom"));
25 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD);
65 const string16 str(WideToUTF16(
68 const string16 word1(str.substr(0, 10));
69 const string16 word2(str.substr(11, 5));
70 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD);
90 const string16 str(
92 const string16 very_wide_word(str.substr(0, 2));
94 base::BreakIterator iter(&str, base::BreakIterator::BREAK_WORD);
122 string16 str(UTF8ToUTF16(" foo bar! \npouet boom"));
123 base::BreakIterator iter(&str, base::BreakIterator::BREAK_SPACE);
147 string16 str(UTF8ToUTF16(" foo bar! \npouet boom "));
148 base::BreakIterator iter(&str, base::BreakIterator::BREAK_SPACE);
173 const string16 str(WideToUTF16(
176 const string16 word1(str.substr(0, 11));
177 const string16 word2(str.substr(11, 5));
178 base::BreakIterator iter(&str, base::BreakIterator::BREAK_SPACE);
195 const string16 str(
197 const string16 very_wide_word(str.substr(0, 3));
199 base::BreakIterator iter(&str, base::BreakIterator::BREAK_SPACE);
225 string16 str(UTF8ToUTF16("\nfoo bar!\n\npouet boom"));
226 base::BreakIterator iter(&str, base::BreakIterator::BREAK_NEWLINE);
248 string16 str(UTF8ToUTF16("\nfoo bar!\n\npouet boom\n"));
249 base::BreakIterator iter(&str, base::BreakIterator::BREAK_NEWLINE);
271 const string16 str(WideToUTF16(
274 const string16 line1(str.substr(0, 11));
275 const string16 line2(str.substr(11, 5));
276 base::BreakIterator iter(&str, base::BreakIterator::BREAK_NEWLINE);
293 const string16 str(
295 const string16 very_wide_line(str.substr(0, 3));
296 base::BreakIterator iter(&str, base::BreakIterator::BREAK_NEWLINE);