15 references to punycodeBase
mscorlib (15)
system\globalization\idnmapping.cs (15)
482Contract.Assert(d >= 0 && d < punycodeBase, "[IdnMapping.encode_digit]Expected 0 <= d < punycodeBase"); 522for (k = 0; delta > ((punycodeBase - tmin) * tmax) / 2; k += punycodeBase) 524delta /= punycodeBase - tmin; 528return (int)(k + (punycodeBase - tmin + 1) * delta / (delta + skew)); 732for (q = delta, k = punycodeBase; ; k += punycodeBase) 737Contract.Assert(punycodeBase != t, "[IdnMapping.punycode_encode]Expected punycodeBase (36) to be != t"); 738output.Append(encode_digit(t + (q - t) % (punycodeBase - t))); 739q = (q - t) / (punycodeBase - t); 937for (w = 1, k = punycodeBase; ; k += punycodeBase) 956Contract.Assert(punycodeBase != t, "[IdnMapping.punycode_decode]Expected t != punycodeBase (36)"); 957if (w > maxint / (punycodeBase - t)) 960w *= (punycodeBase - t);