Searched defs:input_length (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/test/sun/net/idn/
H A DPunycodeTest.java67 private int input_length, j; field in class:PunycodeTest
80 input_length = 0;
98 if (input_length == unicode_max_length) fail(too_big, inputS);
100 if (uplus[0] == 'u') case_flags[input_length] = false;
101 else if (uplus[0] == 'U') case_flags[input_length] = true;
104 input[input_length++] = (char)codept;
111 output = Punycode.encode((new StringBuffer()).append(input, 0, input_length), case_flags);
134 input_length = input.length;
140 output = Punycode.decode((new StringBuffer()).append(input, 0, input_length), case_flags);

Completed in 29 milliseconds