Lines Matching refs:target
126 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { in b64_ntop() argument
149 target[datalength++] = Base64[output[0]]; in b64_ntop()
150 target[datalength++] = Base64[output[1]]; in b64_ntop()
151 target[datalength++] = Base64[output[2]]; in b64_ntop()
152 target[datalength++] = Base64[output[3]]; in b64_ntop()
171 target[datalength++] = Base64[output[0]]; in b64_ntop()
172 target[datalength++] = Base64[output[1]]; in b64_ntop()
174 target[datalength++] = Pad64; in b64_ntop()
176 target[datalength++] = Base64[output[2]]; in b64_ntop()
177 target[datalength++] = Pad64; in b64_ntop()
181 target[datalength] = '\0'; /* Returned value doesn't count \0. */ in b64_ntop()
192 b64_pton(const char *src, u_char *target, size_t targsize) in b64_pton() argument
214 if (target) { in b64_pton()
217 target[tarindex] = (pos - Base64) << 2; in b64_pton()
222 if (target) { in b64_pton()
225 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
228 target[tarindex + 1] = nextbyte; in b64_pton()
236 if (target) { in b64_pton()
239 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
242 target[tarindex + 1] = nextbyte; in b64_pton()
250 if (target) { in b64_pton()
253 target[tarindex] |= (pos - Base64); in b64_pton()
302 if (target && (size_t)tarindex < targsize && in b64_pton()
303 target[tarindex] != 0) in b64_pton()