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

/systemd/src/basic/
H A Dhexdecoct.c134 char base32hexchar(int x) { function
190 *(z++) = base32hexchar(x[0] >> 3); /* 000XXXXX */
191 *(z++) = base32hexchar((x[0] & 7) << 2 | x[1] >> 6); /* 000XXXYY */
192 *(z++) = base32hexchar((x[1] & 63) >> 1); /* 000YYYYY */
193 *(z++) = base32hexchar((x[1] & 1) << 4 | x[2] >> 4); /* 000YZZZZ */
194 *(z++) = base32hexchar((x[2] & 15) << 1 | x[3] >> 7); /* 000ZZZZQ */
195 *(z++) = base32hexchar((x[3] & 127) >> 2); /* 000QQQQQ */
196 *(z++) = base32hexchar((x[3] & 3) << 3 | x[4] >> 5); /* 000QQWWW */
197 *(z++) = base32hexchar((x[4] & 31)); /* 000WWWWW */
202 *(z++) = base32hexchar(
[all...]
H A Dhexdecoct.h41 char base32hexchar(int x) _const_;
/systemd/src/test/
H A Dtest-util.c301 assert_se(base32hexchar(0) == '0');
302 assert_se(base32hexchar(9) == '9');
303 assert_se(base32hexchar(10) == 'A');
304 assert_se(base32hexchar(31) == 'V');

Completed in 1349 milliseconds