Lines Matching refs:tokenize
141 EXPECT_EQ(5ul, tokenize("one two three four five", ' ', &fields)); in TEST()
143 EXPECT_EQ(1ul, tokenize("one", ' ', &fields)); in TEST()
147 EXPECT_EQ(5ul, tokenize(" one two three four five ", ' ', &fields)); in TEST()
149 EXPECT_EQ(1ul, tokenize(" one ", ' ', &fields)); in TEST()
151 EXPECT_EQ(0ul, tokenize(" ", ' ', &fields)); in TEST()
158 tokenize("find middle one", ' ', &fields); in TEST()
164 tokenize(" find middle one ", ' ', &fields); in TEST()
168 tokenize(" ", ' ', &fields); in TEST()
188 ASSERT_EQ(0ul, tokenize("D \"A B", ' ', '(', ')', nullptr)); in TEST()
191 tokenize("A B C", ' ', '"', '"', &fields); in TEST()
195 tokenize("\"A B\" C", ' ', '"', '"', &fields); in TEST()
199 tokenize("D \"A B\" C", ' ', '"', '"', &fields); in TEST()
204 tokenize("D \"A B\" C \"E F\"", ' ', '"', '"', &fields); in TEST()
211 tokenize("D \"A B", ' ', '"', '"', &fields); in TEST()
216 tokenize("D (A B) C (E F) G", ' ', '(', ')', &fields); in TEST()