Searched refs:base64mem (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dhexdecoct.h50 ssize_t base64mem(const void *p, size_t l, char **out);
H A Dhexdecoct.c515 ssize_t base64mem(const void *p, size_t l, char **out) { function
564 len = base64mem(p, l, &x);
/systemd/src/test/
H A Dtest-util.c546 assert_se(base64mem("", strlen(""), &b64) == 0);
550 assert_se(base64mem("f", strlen("f"), &b64) == 4);
554 assert_se(base64mem("fo", strlen("fo"), &b64) == 4);
558 assert_se(base64mem("foo", strlen("foo"), &b64) == 4);
562 assert_se(base64mem("foob", strlen("foob"), &b64) == 8);
566 assert_se(base64mem("fooba", strlen("fooba"), &b64) == 8);
570 assert_se(base64mem("foobar", strlen("foobar"), &b64) == 8);

Completed in 981 milliseconds