Home
last modified time | relevance | path

Searched refs:punycode_overflow (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java47 public static final int punycode_overflow =3; /* Input needs wider integers to process. */ field in PunycodeReference
189 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in encode()
196 if (++delta == 0) return punycode_overflow; in encode()
265 case punycode_overflow: in getException()
349 if (digit > (maxint - i) / w) return punycode_overflow; in decode()
354 if (w > maxint / (base - t)) return punycode_overflow; in decode()
363 if (i / (out + 1) > maxint - n) return punycode_overflow; in decode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java44 public static final int punycode_overflow =3; /* Input needs wider integers to process. */ field in PunycodeReference
186 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in encode()
193 if (++delta == 0) return punycode_overflow; in encode()
262 case punycode_overflow: in getException()
346 if (digit > (maxint - i) / w) return punycode_overflow; in decode()
351 if (w > maxint / (base - t)) return punycode_overflow; in decode()
360 if (i / (out + 1) > maxint - n) return punycode_overflow; in decode()
/external/icu/icu4c/source/test/intltest/
Dpunyref.cpp179 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode()
186 if (++delta == 0) return punycode_overflow; in punycode_encode()
264 if (digit > (maxint - i) / w) return punycode_overflow; in punycode_decode()
269 if (w > maxint / (base - t)) return punycode_overflow; in punycode_decode()
278 if (i / (out + 1) > maxint - n) return punycode_overflow; in punycode_decode()
Dpunyref.h47 punycode_overflow /* Input needs wider integers to process. */ enumerator
Didnaref.cpp109 case punycode_overflow : /* Input requires wider integers to process. */ in getError()