Home
last modified time | relevance | path

Searched refs:Base64 (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c74 static const char Base64[] = variable
165 target[datalength++] = Base64[output[0]]; in b64_ntop()
166 target[datalength++] = Base64[output[1]]; in b64_ntop()
167 target[datalength++] = Base64[output[2]]; in b64_ntop()
168 target[datalength++] = Base64[output[3]]; in b64_ntop()
187 target[datalength++] = Base64[output[0]]; in b64_ntop()
188 target[datalength++] = Base64[output[1]]; in b64_ntop()
192 target[datalength++] = Base64[output[2]]; in b64_ntop()
226 pos = strchr(Base64, ch);
235 target[tarindex] = (pos - Base64) << 2;
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSDigest.c1148 static const char Base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; variable
1185 pos = mDNSstrchr(Base64, ch); in DNSDigest_Base64ToBin()
1194 target[tarindex] = (mDNSu8)((pos - Base64) << 2); in DNSDigest_Base64ToBin()
1202 target[tarindex] |= (pos - Base64) >> 4; in DNSDigest_Base64ToBin()
1203 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4); in DNSDigest_Base64ToBin()
1212 target[tarindex] |= (pos - Base64) >> 2; in DNSDigest_Base64ToBin()
1213 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x03) << 6); in DNSDigest_Base64ToBin()
1222 target[tarindex] |= (pos - Base64); in DNSDigest_Base64ToBin()