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

/systemd/src/basic/
H A Dhexdecoct.h44 char base64char(int x) _const_;
H A Dhexdecoct.c479 char base64char(int x) { function
526 *(z++) = base64char(x[0] >> 2); /* 00XXXXXX */
527 *(z++) = base64char((x[0] & 3) << 4 | x[1] >> 4); /* 00XXYYYY */
528 *(z++) = base64char((x[1] & 15) << 2 | x[2] >> 6); /* 00YYYYZZ */
529 *(z++) = base64char(x[2] & 63); /* 00ZZZZZZ */
534 *(z++) = base64char(x[0] >> 2); /* 00XXXXXX */
535 *(z++) = base64char((x[0] & 3) << 4 | x[1] >> 4); /* 00XXYYYY */
536 *(z++) = base64char((x[1] & 15) << 2); /* 00YYYY00 */
541 *(z++) = base64char(x[0] >> 2); /* 00XXXXXX */
542 *(z++) = base64char((
[all...]
/systemd/src/test/
H A Dtest-util.c316 assert_se(base64char(0) == 'A');
317 assert_se(base64char(26) == 'a');
318 assert_se(base64char(63) == '/');

Completed in 534 milliseconds