15 references to c_punycodeBase
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (15)
574
for (q = delta, k =
c_punycodeBase
; ; k +=
c_punycodeBase
)
578
Debug.Assert(
c_punycodeBase
!= t, "[IdnMapping.punycode_encode]Expected c_punycodeBase (36) to be != t");
579
output.Append(EncodeDigit(t + (q - t) % (
c_punycodeBase
- t)));
580
q = (q - t) / (
c_punycodeBase
- t);
828
for (w = 1, k =
c_punycodeBase
; ; k +=
c_punycodeBase
)
845
Debug.Assert(
c_punycodeBase
!= t, "[IdnMapping.punycode_decode]Expected t != c_punycodeBase (36)");
846
if (w > c_maxint / (
c_punycodeBase
- t))
848
w *= (
c_punycodeBase
- t);
982
for (k = 0; delta > ((
c_punycodeBase
- c_tmin) * c_tmax) / 2; k +=
c_punycodeBase
)
984
delta /=
c_punycodeBase
- c_tmin;
988
return (int)(k + (
c_punycodeBase
- c_tmin + 1) * delta / (delta + c_skew));
1012
Debug.Assert(d >= 0 && d <
c_punycodeBase
, "[IdnMapping.encode_digit]Expected 0 <= d < punycodeBase");