Lines Matching refs:target
168 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { in b64_ntop() argument
192 target[datalength++] = Base64[output[0]]; in b64_ntop()
193 target[datalength++] = Base64[output[1]]; in b64_ntop()
194 target[datalength++] = Base64[output[2]]; in b64_ntop()
195 target[datalength++] = Base64[output[3]]; in b64_ntop()
214 target[datalength++] = Base64[output[0]]; in b64_ntop()
215 target[datalength++] = Base64[output[1]]; in b64_ntop()
217 target[datalength++] = Pad64; in b64_ntop()
219 target[datalength++] = Base64[output[2]]; in b64_ntop()
220 target[datalength++] = Pad64; in b64_ntop()
224 target[datalength] = '\0'; /* Returned value doesn't count \0. */ in b64_ntop()
237 u_char *target, in b64_pton() argument
260 if (target) { in b64_pton()
263 target[tarindex] = (u_char)((pos - Base64) << 2); in b64_pton()
268 if (target) { in b64_pton()
271 target[tarindex] |= (u_char)((pos - Base64) >> 4); in b64_pton()
272 target[tarindex+1] = (u_char)(((pos - Base64) & 0x0f) in b64_pton()
279 if (target) { in b64_pton()
282 target[tarindex] |= (u_char)((pos - Base64) >> 2); in b64_pton()
283 target[tarindex+1] = (u_char)(((pos - Base64) & 0x03) in b64_pton()
290 if (target) { in b64_pton()
293 target[tarindex] |= (u_char)(pos - Base64); in b64_pton()
342 if (target && target[tarindex] != 0) in b64_pton()