Lines Matching refs:teststr
33 char teststr[] = { /* </>;title="some attribute";ct=0 (31 chars) */ in t_wellknown1() local
47 for (offset = 0; offset < sizeof(teststr); offset++) { in t_wellknown1()
53 CU_ASSERT(result == sizeof(teststr) - offset); in t_wellknown1()
54 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
55 CU_ASSERT(memcmp(buf, teststr + offset, sizeof(teststr) - offset) == 0); in t_wellknown1()
64 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
72 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1()
82 char teststr[] = { /* ,</abcd>;if="one";obs (21 chars) */ in t_wellknown2() local
94 for (offset = 0; offset < sizeof(teststr) - sizeof(buf); offset++) { in t_wellknown2()
101 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
103 CU_ASSERT(memcmp(buf, teststr + offset, sizeof(buf)) == 0); in t_wellknown2()
107 for (; offset < sizeof(teststr); offset++) { in t_wellknown2()
112 CU_ASSERT(result == sizeof(teststr) - offset); in t_wellknown2()
113 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
115 CU_ASSERT(memcmp(buf, teststr + offset, in t_wellknown2()
124 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown2()
125 CU_ASSERT(ofs == offset - sizeof(teststr)); in t_wellknown2()