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