Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/nsd/dist/compat/
H A Db64_pton.c173 int tarindex, state, ch; in b64_pton_do() local
177 tarindex = 0; in b64_pton_do()
197 if ((size_t)tarindex >= targsize) in b64_pton_do()
199 target[tarindex] = ofs << 2; in b64_pton_do()
203 if ((size_t)tarindex + 1 >= targsize) in b64_pton_do()
205 target[tarindex] |= ofs >> 4; in b64_pton_do()
206 target[tarindex+1] = (ofs & 0x0f) in b64_pton_do()
208 tarindex++; in b64_pton_do()
212 if ((size_t)tarindex + 1 >= targsize) in b64_pton_do()
214 target[tarindex] |= ofs >> 2; in b64_pton_do()
[all …]
/netbsd-src/external/bsd/tmux/dist/compat/
H A Dbase64.c195 int tarindex, state, ch; local
200 tarindex = 0;
216 if (tarindex >= targsize)
218 target[tarindex] = (pos - Base64) << 2;
224 if (tarindex >= targsize)
226 target[tarindex] |= (pos - Base64) >> 4;
228 if (tarindex + 1 < targsize)
229 target[tarindex+1] = nextbyte;
233 tarindex++;
238 if (tarindex >= targsize)
[all …]
/netbsd-src/lib/libc/net/
H A Dbase64.c219 size_t tarindex; in b64_pton() local
228 tarindex = 0; in b64_pton()
244 if (tarindex >= targsize) in b64_pton()
246 target[tarindex] = (u_char)(pos - Base64) << 2; in b64_pton()
252 if (tarindex >= targsize) in b64_pton()
254 target[tarindex] |= in b64_pton()
257 if (tarindex + 1 < targsize) in b64_pton()
258 target[tarindex + 1] = nextbyte; in b64_pton()
262 tarindex++; in b64_pton()
267 if (tarindex >= targsize) in b64_pton()
[all …]
/netbsd-src/external/bsd/libbind/dist/isc/
H A Dbase64.c208 int tarindex, state, ch; local
212 tarindex = 0;
228 if ((size_t)tarindex >= targsize)
230 target[tarindex] = (pos - Base64) << 2;
236 if ((size_t)tarindex + 1 >= targsize)
238 target[tarindex] |= (pos - Base64) >> 4;
239 target[tarindex+1] = ((pos - Base64) & 0x0f)
242 tarindex++;
247 if ((size_t)tarindex + 1 >= targsize)
249 target[tarindex] |= (pos - Base64) >> 2;
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dbase64.c199 int tarindex, state, ch; in lutil_b64_pton() local
203 tarindex = 0; in lutil_b64_pton()
219 if ((size_t)tarindex >= targsize) in lutil_b64_pton()
221 target[tarindex] = (pos - Base64) << 2; in lutil_b64_pton()
227 if ((size_t)tarindex + 1 >= targsize) in lutil_b64_pton()
229 target[tarindex] |= (pos - Base64) >> 4; in lutil_b64_pton()
230 target[tarindex+1] = ((pos - Base64) & 0x0f) in lutil_b64_pton()
233 tarindex++; in lutil_b64_pton()
238 if ((size_t)tarindex + 1 >= targsize) in lutil_b64_pton()
240 target[tarindex] |= (pos - Base64) >> 2; in lutil_b64_pton()
[all …]
/netbsd-src/common/lib/libprop/
H A Dprop_data.c464 size_t tarindex; in _prop_data_internalize_decode() local
469 tarindex = 0; in _prop_data_internalize_decode()
492 if (tarindex >= targsize) in _prop_data_internalize_decode()
494 target[tarindex] = in _prop_data_internalize_decode()
502 if (tarindex + 1 >= targsize) in _prop_data_internalize_decode()
504 target[tarindex] |= in _prop_data_internalize_decode()
506 target[tarindex + 1] = in _prop_data_internalize_decode()
510 tarindex++; in _prop_data_internalize_decode()
516 if (tarindex + 1 >= targsize) in _prop_data_internalize_decode()
518 target[tarindex] |= in _prop_data_internalize_decode()
[all …]
H A Dprop_object.c508 size_t tarindex; in _prop_object_internalize_decode_string() local
511 tarindex = 0; in _prop_object_internalize_decode_string()
557 if (tarindex >= targsize) in _prop_object_internalize_decode_string()
559 target[tarindex] = c; in _prop_object_internalize_decode_string()
561 tarindex++; in _prop_object_internalize_decode_string()
566 *sizep = tarindex; in _prop_object_internalize_decode_string()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/
H A Dslapd-totp.c212 int tarindex, state, ch; in totp_b32_pton() local
216 tarindex = 0; in totp_b32_pton()
229 if ((size_t)tarindex >= targsize) in totp_b32_pton()
231 target[tarindex] = (pos - Base32) << 3; in totp_b32_pton()
237 if ((size_t)tarindex + 1 >= targsize) in totp_b32_pton()
239 target[tarindex] |= (pos - Base32) >> 2; in totp_b32_pton()
240 target[tarindex+1] = ((pos - Base32) & 0x3) in totp_b32_pton()
243 tarindex++; in totp_b32_pton()
248 target[tarindex] |= (pos - Base32) << 1; in totp_b32_pton()
254 if ((size_t)tarindex + 1 >= targsize) in totp_b32_pton()
[all …]