Home | History | Annotate | Download | only in ADT

Lines Matching full:parts

145   SmallVector<StringRef, 5> parts;
149 StringRef(",ab,,c,").split(parts, ",", -1, false);
150 EXPECT_TRUE(parts == expected);
152 expected.clear(); parts.clear();
155 StringRef(",ab,,c,").split(parts, ",", -1, true);
156 EXPECT_TRUE(parts == expected);
158 expected.clear(); parts.clear();
160 StringRef("").split(parts, ",", -1, true);
161 EXPECT_TRUE(parts == expected);
163 expected.clear(); parts.clear();
164 StringRef("").split(parts, ",", -1, false);
165 EXPECT_TRUE(parts == expected);
167 expected.clear(); parts.clear();
168 StringRef(",").split(parts, ",", -1, false);
169 EXPECT_TRUE(parts == expected);
171 expected.clear(); parts.clear();
173 StringRef(",").split(parts, ",", -1, true);
174 EXPECT_TRUE(parts == expected);
176 expected.clear(); parts.clear();
178 StringRef("a,b").split(parts, ",", -1, true);
179 EXPECT_TRUE(parts == expected);
182 expected.clear(); parts.clear();
184 StringRef("a,,b,c").split(parts, ",", 0, true);
185 EXPECT_TRUE(parts == expected);
187 expected.clear(); parts.clear();
189 StringRef("a,,b,c").split(parts, ",", 0, false);
190 EXPECT_TRUE(parts == expected);
192 expected.clear(); parts.clear();
194 StringRef("a,,b,c").split(parts, ",", 1, true);
195 EXPECT_TRUE(parts == expected);
197 expected.clear(); parts.clear();
199 StringRef("a,,b,c").split(parts, ",", 1, false);
200 EXPECT_TRUE(parts == expected);
202 expected.clear(); parts.clear();
204 StringRef("a,,b,c").split(parts, ",", 2, true);
205 EXPECT_TRUE(parts == expected);
207 expected.clear(); parts.clear();
209 StringRef("a,,b,c").split(parts, ",", 2, false);
210 EXPECT_TRUE(parts == expected);
212 expected.clear(); parts.clear();
215 StringRef("a,,b,c").split(parts, ",", 3, true);
216 EXPECT_TRUE(parts == expected);
218 expected.clear(); parts.clear();
220 StringRef("a,,b,c").split(parts, ",", 3, false);
221 EXPECT_TRUE(parts == expected);