Lines Matching refs:got
57 checkptr(caddr_t expected, caddr_t got, const char *desc)
68 if (got == expected) {
74 snprintf(g_errbuf, LINESIZE, " : Expected %#x, but got %#x",
75 (unsigned int)expected, (unsigned int)got);
90 checkstr(const char *expected, const char *got, size_t explen, const char *desc)
101 if (strncmp(expected, got, explen) == 0) {
108 " : Expected %s, but got %s", expected, got);
123 checknum(int expected, int got, int cmp, const char *desc)
138 pass = (got == expected) ? 1 : 0;
141 pass = (got > expected) ? 1 : 0;
144 pass = (got < expected) ? 1 : 0;
154 " : Expected %d, but got %d", expected, got);