Lines Matching defs:gotten
334 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected,
342 if (expected == gotten)
346 sprintf(msg, "`%d' expected, but got `%d'", expected, gotten);
352 const char *gotten, const char *expected,
358 assert(ctx != NULL && gotten != NULL && expected != NULL &&
363 if (strcmp(expected, gotten) == 0)
367 msg = (char *)malloc(strlen(expected) * 4 + strlen(gotten) * 4 + 32);
369 gotten_hex = make_hex_string(gotten);
385 idn_testsuite_assertptr(idn_testsuite_t ctx, const void *gotten,
393 if (expected == gotten)
399 else if (gotten == NULL)
402 msg = "expected pointer != gotten pointer";
408 const void *gotten, const void *unexpected,
416 if (unexpected != gotten)
422 else if (gotten == NULL)
425 msg = "expected pointer == gotten pointer";
431 idn_result_t gotten, idn_result_t expected,
439 if (expected == gotten)
444 idn_result_tostring(expected), idn_result_tostring(gotten));
450 const unsigned long *gotten,
457 assert(ctx != NULL && gotten != NULL && expected != NULL &&
462 if (idn_ucs4_strcmp(expected, gotten) == 0)
467 idn_ucs4_strlen(gotten) * 8 + 32);
469 gotten_hex = make_hex_ucs4string(gotten);