Lines Matching refs:code
6 // * Redistributions of source code must retain the above copyright
39 result[index++] = 37; // Char code of '%'.
214 result[index++] = 37; // Char code of '%'.
263 // Does the char code correspond to an alpha-numeric char.
329 var code = c.charCodeAt(0);
332 if (code >= 48 && code <= 57) return code - 48;
334 if (code >= 65 && code <= 70) return code - 55;
336 if (code >= 97 && code <= 102) return code - 87;
342 // Convert a character code to 4-digit hex string representation
359 // Converts hex string to char code. Not efficient.