Lines Matching refs:NELEM

27 #ifndef NELEM
28 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro
38 breaker.setText(buf, NELEM(buf)); in TEST()
45 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
55 breaker.setText(buf, NELEM(buf)); in TEST()
62 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
72 breaker.setText(buf, NELEM(buf)); in TEST()
74 EXPECT_EQ((ssize_t)NELEM(buf), breaker.followingWithLocale(Locale("en-US"), 0)); in TEST()
76 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST()
83 breaker.setText(buf, NELEM(buf)); in TEST()
90 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end of string in TEST()
92 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST()
98 breaker.setText(buf, NELEM(buf)); in TEST()
102 EXPECT_EQ((ssize_t)NELEM(buf), breaker.followingWithLocale(Locale("en-US"), 0)); in TEST()
104 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST()
119 breaker.setText(buf, NELEM(buf)); in TEST()
131 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
143 breaker.setText(buf, NELEM(buf)); in TEST()
149 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
167 breaker.setText(buf, NELEM(buf)); in TEST()
254 breaker.setText(buf, NELEM(buf)); in TEST()
260 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
270 breaker.setText(buf, NELEM(buf)); in TEST()
278 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
288 breaker.setText(buf, NELEM(buf)); in TEST()
299 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
311 breaker.setText(buf, NELEM(buf)); in TEST()
319 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
329 breaker.setText(buf, NELEM(buf)); in TEST()
337 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
346 breaker.setText(buf, NELEM(buf)); in TEST()
355 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
365 breaker.setText(buf, NELEM(buf)); in TEST()
379 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
391 breaker.setText(buf, NELEM(buf)); in TEST()
441 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
449 breaker.setText(buf, NELEM(buf)); in TEST()
457 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
464 breaker.setText(buf, NELEM(buf)); in TEST()
472 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
479 breaker.setText(buf, NELEM(buf)); in TEST()
481 EXPECT_EQ((ssize_t)NELEM(buf), breaker.followingWithLocale(Locale("en-US"), 0)); // end in TEST()