Lines Matching refs:target
168 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) {
191 target[datalength++] = Base64[output[0]];
192 target[datalength++] = Base64[output[1]];
193 target[datalength++] = Base64[output[2]];
194 target[datalength++] = Base64[output[3]];
213 target[datalength++] = Base64[output[0]];
214 target[datalength++] = Base64[output[1]];
216 target[datalength++] = Pad64;
218 target[datalength++] = Base64[output[2]];
219 target[datalength++] = Pad64;
223 target[datalength] = '\0'; /* Returned value doesn't count \0. */
229 src from base - 64 numbers into three 8 bit bytes in the target area.
230 it returns the number of data bytes stored at the target, or -1 on error.
236 u_char *target,
259 if (target) {
262 target[tarindex] = (u_char)((pos - Base64) << 2);
267 if (target) {
270 target[tarindex] |= (u_char)((pos - Base64) >> 4);
271 target[tarindex+1] = (u_char)(((pos - Base64) & 0x0f)
278 if (target) {
281 target[tarindex] |= (u_char)((pos - Base64) >> 2);
282 target[tarindex+1] = (u_char)(((pos - Base64) & 0x03)
289 if (target) {
292 target[tarindex] |= (u_char)(pos - Base64);
341 if (target && target[tarindex] != 0)