Home | History | Annotate | Download | only in tests

Lines Matching defs:VALID

125   // Given a NULL destination, these functions count valid characters.
346 constexpr const char* VALID = "A" "\xc2\xa2" "\xe2\x82\xac" "\xf0\xa4\xad\xa2" "ef";
351 const char* valid = VALID;
352 ASSERT_EQ(4U, mbsrtowcs(out, &valid, 4, ps));
357 // Check that valid has advanced to the next unread character.
358 ASSERT_EQ('e', *valid);
361 ASSERT_EQ(2U, mbsrtowcs(out, &valid, 4, ps));
367 // Check that valid has advanced to the end of the string.
368 ASSERT_EQ(nullptr, valid);
382 const char* mbs = VALID;
384 EXPECT_EQ(VALID, mbs);