Lines Matching +full:- +full:a
4 <<a64l>>, <<l64a>>---convert between radix-64 ASCII string and long
17 Conversion is performed between long and radix-64 characters. The
20 is split up into a maximum of 5 groups of 6 bits and possibly one
23 Each group of 6 bits forms a value from 0--63 which is translated into
24 a character as follows:
29 o 2--11 = '0' to '9'
30 o 12--37 = 'A' to 'Z'
31 o 38--63 = 'a' to 'z'
32 O-
34 When the remaining bits are zero or all bits have been translated, a
39 character is used to generate a 6-bit value for up to 30 bits and then
40 a 2-bit value to complete a 32-bit result. The null terminator means
43 the size of a long is greater than 32 bits, the result is sign-extended.
46 <<l64a>> returns a null-terminated string of 0 to 6 characters.
47 <<a64l>> returns the 32-bit translated value from the input character string.
50 <<l64a>> and <<a64l>> are non-ANSI and are defined by the Single Unix Specification.
82 ch = *(--ptr); in a64l()
85 if (ch >= 'a') in a64l()
86 digit = (ch - 'a') + 38; in a64l()
87 else if (ch >= 'A') in a64l()
88 digit = (ch - 'A') + 12; in a64l()
90 digit = (ch - '0') + 2; in a64l()
111 digit = (ch - '0') + 2; in a64l()
113 case 'A': in a64l()
139 digit = (ch - 'A') + 12; in a64l()
141 case 'a': in a64l()
167 digit = (ch - 'a') + 38; in a64l()