Home | History | Annotate | Download | only in ADT

Lines Matching refs:split

112 TEST(StringRefTest, Split) {
115 Str.split('X'));
117 Str.split('e'));
119 Str.split('h'));
121 Str.split('l'));
123 Str.split('o'));
142 StringRef(",ab,,c,").split(parts, ",", -1, false);
148 StringRef(",ab,,c,").split(parts, ",", -1, true);
153 StringRef("").split(parts, ",", -1, true);
157 StringRef("").split(parts, ",", -1, false);
161 StringRef(",").split(parts, ",", -1, false);
166 StringRef(",").split(parts, ",", -1, true);
171 StringRef("a,b").split(parts, ",", -1, true);
177 StringRef("a,,b,c").split(parts, ",", 0, true);
182 StringRef("a,,b,c").split(parts, ",", 0, false);
187 StringRef("a,,b,c").split(parts, ",", 1, true);
192 StringRef("a,,b,c").split(parts, ",", 1, false);
197 StringRef("a,,b,c").split(parts, ",", 2, true);
202 StringRef("a,,b,c").split(parts, ",", 2, false);
208 StringRef("a,,b,c").split(parts, ",", 3, true);
213 StringRef("a,,b,c").split(parts, ",", 3, false);