Home | History | Annotate | Download | only in mjsunit

Lines Matching full:charcode

38 function charCodeToLower(charCode) {
39 if (A_CODE <= charCode && charCode <= Z_CODE) {
40 return charCode + a_CODE - A_CODE;
42 return charCode;
45 function charCodeToUpper(charCode) {
46 if (a_CODE <= charCode && charCode <= z_CODE) {
47 return charCode - (a_CODE - A_CODE);
49 return charCode;