Lines Matching refs:target
133 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) in b64_ntop() argument
153 target[datalength++] = Base64[output[0]]; in b64_ntop()
154 target[datalength++] = Base64[output[1]]; in b64_ntop()
155 target[datalength++] = Base64[output[2]]; in b64_ntop()
156 target[datalength++] = Base64[output[3]]; in b64_ntop()
172 target[datalength++] = Base64[output[0]]; in b64_ntop()
173 target[datalength++] = Base64[output[1]]; in b64_ntop()
175 target[datalength++] = Pad64; in b64_ntop()
177 target[datalength++] = Base64[output[2]]; in b64_ntop()
178 target[datalength++] = Pad64; in b64_ntop()
182 target[datalength] = '\0'; /* Returned value doesn't count \0. */ in b64_ntop()
196 b64_pton(char const *src, u_char *target, size_t targsize) in b64_pton() argument
218 if (target) { in b64_pton()
221 target[tarindex] = (pos - Base64) << 2; in b64_pton()
226 if (target) { in b64_pton()
229 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
230 target[tarindex+1] = ((pos - Base64) & 0x0f) in b64_pton()
237 if (target) { in b64_pton()
240 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
241 target[tarindex+1] = ((pos - Base64) & 0x03) in b64_pton()
248 if (target) { in b64_pton()
251 target[tarindex] |= (pos - Base64); in b64_pton()
298 if (target && target[tarindex] != 0) in b64_pton()