Lines Matching defs:target
146 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) {
169 target[datalength++] = Base64[output[0]];
170 target[datalength++] = Base64[output[1]];
171 target[datalength++] = Base64[output[2]];
172 target[datalength++] = Base64[output[3]];
191 target[datalength++] = Base64[output[0]];
192 target[datalength++] = Base64[output[1]];
194 target[datalength++] = Pad64;
196 target[datalength++] = Base64[output[2]];
197 target[datalength++] = Pad64;
201 target[datalength] = '\0'; /*%< Returned value doesn't count \\0. */
207 src from base - 64 numbers into three 8 bit bytes in the target area.
208 it returns the number of data bytes stored at the target, or -1 on error.
212 b64_pton(src, target, targsize)
214 u_char *target;
236 if (target) {
239 target[tarindex] = (pos - Base64) << 2;
244 if (target) {
247 target[tarindex] |= (pos - Base64) >> 4;
248 target[tarindex+1] = ((pos - Base64) & 0x0f)
255 if (target) {
258 target[tarindex] |= (pos - Base64) >> 2;
259 target[tarindex+1] = ((pos - Base64) & 0x03)
266 if (target) {
269 target[tarindex] |= (pos - Base64);
318 if (target && target[tarindex] != 0)