Searched refs:chars (Results 1 – 3 of 3) sorted by relevance
244 public static void checkValidChars(char[] chars) in checkValidChars() argument247 if (chars[0] == 0x20) in checkValidChars()251 for (int i = 0; i < chars.length; i++) { in checkValidChars()252 if ((chars[i] & 0xff) != chars[i]) in checkValidChars()255 final byte toTest = (byte) (chars[i] & 0xff); in checkValidChars()
306 char[] chars = new char[bytes.length]; in castBytesToChars() local308 chars[i] = (char) (bytes[i] & 0xff); in castBytesToChars()310 return chars; in castBytesToChars()
490 chars=( argument501 return ''.join(random.choice(chars) for _ in range(size))