Lines Matching refs:equal
132 equal (const char *a, const char *b, int number) in equal() function
147 equal (one, "abc", 2); /* Did the copy go right? */ in test_strncpy()
151 equal (one, "xycdefgh", 3); /* Copy cut by count. */ in test_strncpy()
155 equal (one, "xyzdefgh", 4); in test_strncpy()
159 equal (one, "xyz", 5); in test_strncpy()
160 equal (one+4, "efgh", 6); /* Wrote too much? */ in test_strncpy()
164 equal (one, "xyz", 7); in test_strncpy()
165 equal (one+4, "", 8); in test_strncpy()
166 equal (one+5, "fgh", 9); in test_strncpy()
170 equal (one, "abc", 10); in test_strncpy()
173 equal (one, "", 11); in test_strncpy()
174 equal (one+1, "", 12); in test_strncpy()
175 equal (one+2, "c", 13); in test_strncpy()
179 equal (two, "hi there", 14); /* Just paranoia. */ in test_strncpy()
180 equal (one, "hi there", 15); /* Stomped on source? */ in test_strncpy()