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

/systemd/src/basic/
H A Dhexdecoct.h45 int unbase64char(char c) _const_;
H A Dhexdecoct.c486 int unbase64char(char c) { function
637 a = unbase64char(x[0]);
641 b = unbase64char(x[1]);
645 c = unbase64char(x[2]);
649 d = unbase64char(x[3]);
660 a = unbase64char(x[0]);
664 b = unbase64char(x[1]);
668 c = unbase64char(x[2]);
681 a = unbase64char(x[0]);
685 b = unbase64char(
[all...]
/systemd/src/test/
H A Dtest-util.c322 assert_se(unbase64char('A') == 0);
323 assert_se(unbase64char('Z') == 25);
324 assert_se(unbase64char('a') == 26);
325 assert_se(unbase64char('z') == 51);
326 assert_se(unbase64char('0') == 52);
327 assert_se(unbase64char('9') == 61);
328 assert_se(unbase64char('+') == 62);
329 assert_se(unbase64char('/') == 63);
330 assert_se(unbase64char('=') == -EINVAL);

Completed in 1186 milliseconds