Lines Matching refs:target
134 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) in b64_ntop() argument
154 target[datalength++] = Base64[output[0]]; in b64_ntop()
155 target[datalength++] = Base64[output[1]]; in b64_ntop()
156 target[datalength++] = Base64[output[2]]; in b64_ntop()
157 target[datalength++] = Base64[output[3]]; in b64_ntop()
173 target[datalength++] = Base64[output[0]]; in b64_ntop()
174 target[datalength++] = Base64[output[1]]; in b64_ntop()
176 target[datalength++] = Pad64; in b64_ntop()
178 target[datalength++] = Base64[output[2]]; in b64_ntop()
179 target[datalength++] = Pad64; in b64_ntop()
183 target[datalength] = '\0'; /* Returned value doesn't count \0. */ in b64_ntop()
197 b64_pton(char const *src, u_char *target, size_t targsize) in b64_pton() argument
219 if (target) { in b64_pton()
222 target[tarindex] = (pos - Base64) << 2; in b64_pton()
227 if (target) { in b64_pton()
230 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
231 target[tarindex+1] = ((pos - Base64) & 0x0f) in b64_pton()
238 if (target) { in b64_pton()
241 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
242 target[tarindex+1] = ((pos - Base64) & 0x03) in b64_pton()
249 if (target) { in b64_pton()
252 target[tarindex] |= (pos - Base64); in b64_pton()
299 if (target && target[tarindex] != 0) in b64_pton()