Lines Matching refs:memcmp

169   if (memcmp (buf, "aabcdefghi", 10))  in do_test()
174 if (memcmp (buf, "aabcdefghi", 10)) in do_test()
178 || memcmp (buf, "aabcdabcde", 10)) in do_test()
182 if (memcmp (buf, "aabcdabcjj", 10)) in do_test()
186 if (memcmp (buf, "aabcdabc\0\0", 10)) in do_test()
190 if (memcmp (buf, "aabcda\0\0\0\0", 10)) in do_test()
194 if (memcmp (buf, "aabcEDCBA", 10)) in do_test()
197 if (stpcpy (buf + 8, "F") != buf + 9 || memcmp (buf, "aabcEDCBF", 10)) in do_test()
201 if (memcmp (buf, "aabcEDX\0\0", 10)) in do_test()
204 if (sprintf (buf + 7, "%s", "67") != 2 || memcmp (buf, "aabcEDX67", 10)) in do_test()
208 || memcmp (buf, "aabcEDX98", 10)) in do_test()
214 if (memcmp (buf, "aabcdefghi", 10)) in do_test()
219 if (memcmp (buf, "aabcdefghi", 10)) in do_test()
223 || memcmp (buf, "aabcdabcde", 10)) in do_test()
227 if (memcmp (buf, "aabcdabcjj", 10)) in do_test()
231 if (memcmp (buf, "aabcdabc\0\0", 10)) in do_test()
235 if (memcmp (buf, "aabcda\0\0\0\0", 10)) in do_test()
239 if (memcmp (buf, "aabcEDCBA", 10)) in do_test()
242 if (stpcpy (buf + 8, str2) != buf + 9 || memcmp (buf, "aabcEDCBF", 10)) in do_test()
246 if (memcmp (buf, "aabcEDX\0\0", 10)) in do_test()
250 || memcmp (buf, "aabcEcd\0\0", 10)) in do_test()
253 if (sprintf (buf + 7, "%d", num1) != 2 || memcmp (buf, "aabcEcd67", 10)) in do_test()
256 if (snprintf (buf + 7, 3, "%d", num2) != 6 || memcmp (buf, "aabcEcd98", 10)) in do_test()
261 if (memcmp (buf, "aabcEcd9A", 10)) in do_test()
266 if (memcmp (buf, "aabcEcdZY", 10)) in do_test()
273 if (memcmp (a.buf1, "aabcdefghi", 10)) in do_test()
278 if (memcmp (a.buf1, "aabcdefghi", 10)) in do_test()
283 || memcmp (a.buf1, "aabcdabcde", 10)) in do_test()
287 if (memcmp (a.buf1, "aabcdabcjj", 10)) in do_test()
291 if (memcmp (a.buf1, "aabcdabc\0\0", 10)) in do_test()
295 if (memcmp (a.buf1, "aabcda\0\0\0\0", 10)) in do_test()
303 if (memcmp (a.buf1, "aabcEDCBA", 10)) in do_test()
307 || memcmp (a.buf1, "aabcEDCBF", 10)) in do_test()
311 if (memcmp (a.buf1, "aabcEDX\0\0", 10)) in do_test()
315 || memcmp (a.buf1, "aabcEDX67", 10)) in do_test()
319 || memcmp (a.buf1, "aabcEDX98", 10)) in do_test()
324 if (memcmp (a.buf1, "aabcEDX9A", 10)) in do_test()
329 if (memcmp (a.buf1, "aabcEDXZY", 10)) in do_test()
970 if (gets (buf) != buf || memcmp (buf, "abcdefgh", 9)) in do_test()
972 if (gets (buf) != buf || memcmp (buf, "ABCDEFGHI", 10)) in do_test()
985 || memcmp (buf, "abcdefgh\n", 10)) in do_test()
987 if (fgets (buf, buf_size, stdin) != buf || memcmp (buf, "ABCDEFGHI", 10)) in do_test()
993 || memcmp (buf, "abcdefgh\n", 10)) in do_test()
1012 || memcmp (buf, "abcdefgh\n", 10)) in do_test()
1015 || memcmp (buf, "ABCDEFGHI", 10)) in do_test()
1021 || memcmp (buf, "abcdefgh\n", 10)) in do_test()
1040 || memcmp (buf, "abcdefgh\nA", 10)) in do_test()
1043 || memcmp (buf, "BCDEFGHI\na", 10)) in do_test()
1049 || memcmp (buf, "abcdefgh\nA", 10)) in do_test()
1052 || memcmp (buf, "BCDEFGHI\na", 10)) in do_test()
1070 || memcmp (buf, "abcdefgh\nA", 10)) in do_test()
1073 || memcmp (buf, "BCDEFGHI\na", 10)) in do_test()
1079 || memcmp (buf, "abcdFGHI\na", 10)) in do_test()
1082 || memcmp (buf, "efghFGHI\na", 10)) in do_test()
1088 || memcmp (buf, "abcdefgh\nA", 10)) in do_test()
1091 || memcmp (buf, "BCDEFGHI\na", 10)) in do_test()
1109 || memcmp (buf, "abcdefgh\n", 9)) in do_test()
1112 || memcmp (buf, "ABCDEFGHI", 9)) in do_test()
1118 || memcmp (buf, "abcdefgh\n", 9)) in do_test()
1135 || memcmp (buf, "\nABCDEFGH", 9)) in do_test()
1138 || memcmp (buf, "abcdefgh\n", 9)) in do_test()
1142 || memcmp (buf, "h\nABCDEFG", 9)) in do_test()
1161 || memcmp (buf, "\nABCDEFGH", 9)) in do_test()
1164 || memcmp (buf, "abcdefgh\n", 9)) in do_test()
1168 || memcmp (buf, "h\nABCDEFG", 9)) in do_test()
1234 || memcmp (recvbuf, sendstr, sizeof recvbuf) != 0) in do_test()
1239 || memcmp (recvbuf + 6, sendstr, sizeof recvbuf - 7) != 0) in do_test()
1263 || memcmp (recvbuf, sendstr, sizeof recvbuf) != 0) in do_test()
1269 || memcmp (recvbuf + 6, sendstr, sizeof recvbuf - 7) != 0) in do_test()
1305 || memcmp (readlinkbuf, "bar", 3) != 0) in do_test()
1308 || memcmp (readlinkbuf, "bbar", 4) != 0) in do_test()
1328 || memcmp (readlinkbuf, "bar", 3) != 0) in do_test()
1332 || memcmp (readlinkbuf, "bbar", 4) != 0) in do_test()