Lines Matching full:parts
144 SmallVector<StringRef, 5> parts; in TEST() local
148 StringRef(",ab,,c,").split(parts, ",", -1, false); in TEST()
149 EXPECT_TRUE(parts == expected); in TEST()
151 expected.clear(); parts.clear(); in TEST()
154 StringRef(",ab,,c,").split(parts, ",", -1, true); in TEST()
155 EXPECT_TRUE(parts == expected); in TEST()
157 expected.clear(); parts.clear(); in TEST()
159 StringRef("").split(parts, ",", -1, true); in TEST()
160 EXPECT_TRUE(parts == expected); in TEST()
162 expected.clear(); parts.clear(); in TEST()
163 StringRef("").split(parts, ",", -1, false); in TEST()
164 EXPECT_TRUE(parts == expected); in TEST()
166 expected.clear(); parts.clear(); in TEST()
167 StringRef(",").split(parts, ",", -1, false); in TEST()
168 EXPECT_TRUE(parts == expected); in TEST()
170 expected.clear(); parts.clear(); in TEST()
172 StringRef(",").split(parts, ",", -1, true); in TEST()
173 EXPECT_TRUE(parts == expected); in TEST()
175 expected.clear(); parts.clear(); in TEST()
177 StringRef("a,b").split(parts, ",", -1, true); in TEST()
178 EXPECT_TRUE(parts == expected); in TEST()
181 expected.clear(); parts.clear(); in TEST()
183 StringRef("a,,b,c").split(parts, ",", 0, true); in TEST()
184 EXPECT_TRUE(parts == expected); in TEST()
186 expected.clear(); parts.clear(); in TEST()
188 StringRef("a,,b,c").split(parts, ",", 0, false); in TEST()
189 EXPECT_TRUE(parts == expected); in TEST()
191 expected.clear(); parts.clear(); in TEST()
193 StringRef("a,,b,c").split(parts, ",", 1, true); in TEST()
194 EXPECT_TRUE(parts == expected); in TEST()
196 expected.clear(); parts.clear(); in TEST()
198 StringRef("a,,b,c").split(parts, ",", 1, false); in TEST()
199 EXPECT_TRUE(parts == expected); in TEST()
201 expected.clear(); parts.clear(); in TEST()
203 StringRef("a,,b,c").split(parts, ",", 2, true); in TEST()
204 EXPECT_TRUE(parts == expected); in TEST()
206 expected.clear(); parts.clear(); in TEST()
208 StringRef("a,,b,c").split(parts, ",", 2, false); in TEST()
209 EXPECT_TRUE(parts == expected); in TEST()
211 expected.clear(); parts.clear(); in TEST()
214 StringRef("a,,b,c").split(parts, ",", 3, true); in TEST()
215 EXPECT_TRUE(parts == expected); in TEST()
217 expected.clear(); parts.clear(); in TEST()
219 StringRef("a,,b,c").split(parts, ",", 3, false); in TEST()
220 EXPECT_TRUE(parts == expected); in TEST()