Lines Matching +full:se +full:- +full:pos
33 * granted for any product per se or for any other function of any product.
51 /* (From RFC1521 and draft-ietf-dnssec-secext-03.txt)
56 A 65-character subset of US-ASCII is used, enabling 6 bits to be
60 The encoding process represents 24-bit groups of input bits as output
62 24-bit input group is formed by concatenating 3 8-bit input groups.
63 These 24 bits are then treated as 4 concatenated 6-bit groups, each
66 Each 6-bit group is used as an index into an array of 64 printable
95 right) to form an integral number of 6-bit groups. Padding at the
99 -------------------------------------------------
116 src from base - 64 numbers into three 8 bit bytes in the target area.
117 it returns the number of data bytes stored at the target, or -1 on error.
125 char *pos; in ldns_b64_pton() local
141 pos = strchr(Base64, ch); in ldns_b64_pton()
142 if (pos == 0) { in ldns_b64_pton()
143 /* A non-base64 character. */ in ldns_b64_pton()
144 return (-1); in ldns_b64_pton()
151 return (-1); in ldns_b64_pton()
152 target[tarindex] = (pos - Base64) << 2; in ldns_b64_pton()
159 return (-1); in ldns_b64_pton()
160 target[tarindex] |= (pos - Base64) >> 4; in ldns_b64_pton()
161 target[tarindex+1] = ((pos - Base64) & 0x0f) in ldns_b64_pton()
170 return (-1); in ldns_b64_pton()
171 target[tarindex] |= (pos - Base64) >> 2; in ldns_b64_pton()
172 target[tarindex+1] = ((pos - Base64) & 0x03) in ldns_b64_pton()
181 return (-1); in ldns_b64_pton()
182 target[tarindex] |= (pos - Base64); in ldns_b64_pton()
193 * We are done decoding Base-64 chars. Let's see if we ended in ldns_b64_pton()
202 return (-1); in ldns_b64_pton()
211 return (-1); in ldns_b64_pton()
223 return (-1); in ldns_b64_pton()
232 return (-1); in ldns_b64_pton()
240 return (-1); in ldns_b64_pton()