Lines Matching defs:out
133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t;
138 delta = out = 0;
146 if (max_out - out < 2) return punycode_big_output;
147 output[out++] = (char)
154 h = b = out;
157 /* number of basic code points, and out is the number of characters */
160 if (b > 0) output[out++] = delimiter;
191 if (out >= max_out) return punycode_big_output;
195 output[out++] = encode_digit(t + (q - t) % (base - t), 0);
199 output[out++] = encode_digit(q, case_flags && case_flags[j]);
209 *output_length = out;
222 punycode_uint n, out, i, max_out, bias,
228 out = i = 0;
240 if (case_flags) case_flags[out] = flagged(input[j]);
242 output[out++] = input[j];
248 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) {
251 /* out is the number of code points in the output array. */
271 bias = adapt(i - oldi, out + 1, oldi == 0);
273 /* i was supposed to wrap around from out+1 to 0, */
276 if (i / (out + 1) > maxint - n) return punycode_overflow;
277 n += i / (out + 1);
278 i %= (out + 1);
284 if (out >= max_out) return punycode_big_output;
287 memmove(case_flags + i + 1, case_flags + i, out - i);
292 memmove(output + i + 1, output + i, (out - i) * sizeof *output);
296 *output_length = out;