Lines Matching refs:target
146 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { in b64_ntop() argument
169 target[datalength++] = Base64[output[0]]; in b64_ntop()
170 target[datalength++] = Base64[output[1]]; in b64_ntop()
171 target[datalength++] = Base64[output[2]]; in b64_ntop()
172 target[datalength++] = Base64[output[3]]; in b64_ntop()
191 target[datalength++] = Base64[output[0]]; in b64_ntop()
192 target[datalength++] = Base64[output[1]]; in b64_ntop()
194 target[datalength++] = Pad64; in b64_ntop()
196 target[datalength++] = Base64[output[2]]; in b64_ntop()
197 target[datalength++] = Pad64; in b64_ntop()
201 target[datalength] = '\0'; /*%< Returned value doesn't count \\0. */ in b64_ntop()
212 b64_pton(src, target, targsize) in b64_pton() argument
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)