Lines Matching refs:target
137 b64_ntop(src, srclength, target, targsize) in b64_ntop() argument
140 char *target;
149 assert(target != NULL);
170 target[datalength++] = Base64[output[0]];
171 target[datalength++] = Base64[output[1]];
172 target[datalength++] = Base64[output[2]];
173 target[datalength++] = Base64[output[3]];
194 target[datalength++] = Base64[output[0]];
195 target[datalength++] = Base64[output[1]];
197 target[datalength++] = Pad64;
199 target[datalength++] = Base64[output[2]];
200 target[datalength++] = Pad64;
204 target[datalength] = '\0'; /* Returned value doesn't count \0. */
215 b64_pton(src, target, targsize) in b64_pton() argument
217 u_char *target;
225 assert(target != NULL);
243 if (target) {
246 target[tarindex] = (pos - Base64) << 2;
251 if (target) {
254 target[tarindex] |=
256 target[tarindex+1] = ((pos - Base64) & 0x0f)
263 if (target) {
266 target[tarindex] |=
268 target[tarindex+1] = ((pos - Base64) & 0x03)
275 if (target) {
278 target[tarindex] |= (pos - Base64);
327 if (target && target[tarindex] != 0)