Lines Matching defs:result
68 char *result = NULL;
74 &result, &length);
77 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
85 free (result);
97 char *result = NULL;
103 &result, &length);
108 ASSERT (result == NULL);
117 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
125 free (result);
133 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
142 free (result);
158 char *result = NULL;
164 &result, &length);
167 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
178 free (result);
191 char *result = NULL;
197 &result, &length);
200 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
215 free (result);
227 char *result = NULL;
233 &result, &length);
238 ASSERT (result == NULL);
247 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
257 free (result);
265 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
275 free (result);
290 char *result = NULL;
296 &result, &length);
305 free (result);
320 char *result = NULL;
326 &result, &length);
329 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
337 free (result);
348 char *result = NULL;
354 &result, &length);
357 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
365 free (result);
376 char *result = NULL;
382 &result, &length);
385 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
399 free (result);
414 char *result = NULL;
420 &result, &length);
423 ASSERT (result != NULL && memcmp (result, expected, strlen (expected)) == 0);
431 free (result);
444 char *result = str_iconveha (input, "ISO-8859-2", "ISO-8859-1", false, handler);
445 ASSERT (result != NULL);
446 ASSERT (strcmp (result, expected) == 0);
447 free (result);
455 char *result = str_iconveha (input, "ISO-8859-2", "ISO-8859-1", false, handler);
459 ASSERT (result == NULL && errno == EILSEQ);
464 ASSERT (result != NULL);
465 ASSERT (strcmp (result, expected) == 0);
466 free (result);
472 ASSERT (result != NULL);
473 ASSERT (strcmp (result, expected) == 0);
474 free (result);
486 char *result = str_iconveha (input, "ISO-8859-1", "UTF-8", false, handler);
487 ASSERT (result != NULL);
488 ASSERT (strcmp (result, expected) == 0);
489 free (result);
498 char *result = str_iconveha (input, "UTF-8", "ISO-8859-1", false, handler);
499 ASSERT (result != NULL);
500 ASSERT (strcmp (result, expected) == 0);
501 free (result);
509 char *result = str_iconveha (input, "UTF-8", "ISO-8859-1", false, handler);
513 ASSERT (result == NULL && errno == EILSEQ);
518 ASSERT (result != NULL);
519 ASSERT (strcmp (result, expected) == 0);
520 free (result);
526 ASSERT (result != NULL);
527 ASSERT (strcmp (result, expected) == 0);
528 free (result);
539 char *result = str_iconveha (input, "UTF-8", "ISO-8859-1", false, handler);
540 ASSERT (result != NULL);
541 ASSERT (strcmp (result, "") == 0);
542 free (result);
553 char *result = str_iconveha (input, "autodetect_jp", "UTF-8", false, handler);
554 ASSERT (result != NULL);
555 ASSERT (strcmp (result, expected) == 0);
556 free (result);
563 char *result = str_iconveha (input, "autodetect_jp", "UTF-8", false, handler);
564 ASSERT (result != NULL);
565 ASSERT (strcmp (result, expected) == 0);
566 free (result);
573 char *result = str_iconveha (input, "autodetect_jp", "UTF-8", false, handler);
574 ASSERT (result != NULL);
575 ASSERT (strcmp (result, expected) == 0);
576 free (result);
587 char *result = str_iconveha (input, "UTF-8", "ISO-8859-1", true, handler);
588 ASSERT (result != NULL);
589 ASSERT (strcmp (result, expected) == 0);
590 free (result);