Lines Matching refs:decoded
338 char* decoded = base64_decode(out, &length);
339 assert_non_null(decoded);
340 assert_string_equal(decoded, in);
345 decoded = base64_decode(encoded, &length);
348 assert_string_equal(richard3, decoded);
522 char* decoded = url_decode(encoded);
525 assert_non_null(decoded);
526 assert_string_equal(buff, decoded);
528 free(decoded);
532 decoded = url_decode(buff);
535 assert_non_null(decoded);
536 assert_string_equal(decoded, "");
538 free(decoded);
540 decoded = url_decode(test_a);
541 assert_non_null(decoded);
542 assert_string_equal(decoded, " a");
543 free(decoded);
545 decoded = url_decode(test_b);
546 assert_non_null(decoded);
547 assert_string_equal(decoded, "a ");
548 free(decoded);
550 decoded = url_decode(test_c);
551 assert_non_null(decoded);
552 assert_string_equal(decoded, "a% %1");
553 free(decoded);
555 decoded = url_decode(test_d);
556 assert_non_null(decoded);
557 assert_string_equal(decoded, "% %x %");
558 free(decoded);
560 decoded = url_decode(test_e);
561 assert_non_null(decoded);
562 assert_string_equal(decoded, "āčēģīķļņšūž");
563 free(decoded);