Home
last modified time | relevance | path

Searched refs:tarindex (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbase64.c205 int tarindex, state, ch; in b64_pton() local
209 tarindex = 0; in b64_pton()
225 if (tarindex >= targsize) in b64_pton()
227 target[tarindex] = (pos - Base64) << 2; in b64_pton()
233 if (tarindex + 1 >= targsize) in b64_pton()
235 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
236 target[tarindex+1] = ((pos - Base64) & 0x0f) in b64_pton()
239 tarindex++; in b64_pton()
244 if (tarindex + 1 >= targsize) in b64_pton()
246 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
[all …]
/titanic_44/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c217 int tarindex, state, ch; local
221 tarindex = 0;
237 if ((size_t)tarindex >= targsize)
239 target[tarindex] = (pos - Base64) << 2;
245 if ((size_t)tarindex + 1 >= targsize)
247 target[tarindex] |= (pos - Base64) >> 4;
248 target[tarindex+1] = ((pos - Base64) & 0x0f)
251 tarindex++;
256 if ((size_t)tarindex + 1 >= targsize)
258 target[tarindex] |= (pos - Base64) >> 2;
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSDigest.c1203 int tarindex, state, ch; in DNSDigest_Base64ToBin() local
1207 tarindex = 0; in DNSDigest_Base64ToBin()
1223 if ((mDNSu32)tarindex >= targsize) in DNSDigest_Base64ToBin()
1225 target[tarindex] = (mDNSu8)((pos - Base64) << 2); in DNSDigest_Base64ToBin()
1231 if ((mDNSu32)tarindex + 1 >= targsize) in DNSDigest_Base64ToBin()
1233 target[tarindex] |= (pos - Base64) >> 4; in DNSDigest_Base64ToBin()
1234 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4); in DNSDigest_Base64ToBin()
1236 tarindex++; in DNSDigest_Base64ToBin()
1241 if ((mDNSu32)tarindex + 1 >= targsize) in DNSDigest_Base64ToBin()
1243 target[tarindex] |= (pos - Base64) >> 2; in DNSDigest_Base64ToBin()
[all …]