Home
last modified time | relevance | path

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

/third_party/glib/glib/
Dghostutils.c65 #define PUNYCODE_BASE 36 macro
110 while (delta > ((PUNYCODE_BASE - PUNYCODE_TMIN) * PUNYCODE_TMAX) / 2) in adapt()
112 delta /= PUNYCODE_BASE - PUNYCODE_TMIN; in adapt()
113 k += PUNYCODE_BASE; in adapt()
116 return k + ((PUNYCODE_BASE - PUNYCODE_TMIN + 1) * delta / in adapt()
182 for (k = PUNYCODE_BASE; ; k += PUNYCODE_BASE) in punycode_encode()
192 digit = t + (q - t) % (PUNYCODE_BASE - t); in punycode_encode()
194 q = (q - t) / (PUNYCODE_BASE - t); in punycode_encode()
616 for (k = PUNYCODE_BASE; ; k += PUNYCODE_BASE) in punycode_decode()
621 if (digit >= PUNYCODE_BASE) in punycode_decode()
[all …]