Lines Matching refs:StrChr
220 static void RunStrChrTestImpl(StrChrFn *StrChr) { in RunStrChrTestImpl() argument
225 EXPECT_EQ(str, StrChr(str, 'z')); in RunStrChrTestImpl()
226 EXPECT_EQ(str + 10, StrChr(str, 'q')); in RunStrChrTestImpl()
227 EXPECT_EQ(NULL, StrChr(str, 'a')); in RunStrChrTestImpl()
229 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBReadMessage(1)); in RunStrChrTestImpl()
230 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBReadMessage(0)); in RunStrChrTestImpl()
233 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBReadMessage(0)); in RunStrChrTestImpl()
238 UNUSED static void RunStrChrTest(PointerToStrChr1 StrChr, ...) { in RunStrChrTest() argument
239 RunStrChrTestImpl(StrChr); in RunStrChrTest()
241 UNUSED static void RunStrChrTest(PointerToStrChr2 StrChr, int) { in RunStrChrTest() argument
242 RunStrChrTestImpl(StrChr); in RunStrChrTest()