Lines Matching refs:output
145 u_char output[4]; local
157 output[0] = (u_int32_t)input[0] >> 2;
158 output[1] = ((u_int32_t)(input[0] & 0x03) << 4) +
160 output[2] = ((u_int32_t)(input[1] & 0x0f) << 2) +
162 output[3] = input[2] & 0x3f;
163 assert(output[0] < 64);
164 assert(output[1] < 64);
165 assert(output[2] < 64);
166 assert(output[3] < 64);
170 target[datalength++] = Base64[output[0]];
171 target[datalength++] = Base64[output[1]];
172 target[datalength++] = Base64[output[2]];
173 target[datalength++] = Base64[output[3]];
183 output[0] = (u_int32_t)input[0] >> 2;
184 output[1] = ((u_int32_t)(input[0] & 0x03) << 4) +
186 output[2] = ((u_int32_t)(input[1] & 0x0f) << 2) +
188 assert(output[0] < 64);
189 assert(output[1] < 64);
190 assert(output[2] < 64);
194 target[datalength++] = Base64[output[0]];
195 target[datalength++] = Base64[output[1]];
199 target[datalength++] = Base64[output[2]];