Lines Matching refs:target
116 src from base - 64 numbers into three 8 bit bytes in the target area.
117 it returns the number of data bytes stored at the target, or -1 on error.
121 ldns_b64_pton(char const *src, uint8_t *target, size_t targsize)
148 if (target) {
151 target[tarindex] = (pos - Base64) << 2;
156 if (target) {
159 target[tarindex] |= (pos - Base64) >> 4;
160 target[tarindex+1] = ((pos - Base64) & 0x0f)
167 if (target) {
170 target[tarindex] |= (pos - Base64) >> 2;
171 target[tarindex+1] = ((pos - Base64) & 0x03)
178 if (target) {
181 target[tarindex] |= (pos - Base64);
230 if (target && target[tarindex] != 0)