Searched refs:compStr (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DCNNameParser.java191 private static NameComponent parseComponent(String compStr) argument
195 int len = compStr.length();
204 newStr[j++] = compStr.charAt(i);
206 } else if (compStr.charAt(i) == escapeChar) {
208 throw new InvalidNameException(compStr +
210 } else if (isMeta(compStr.charAt(i+1))) {
213 throw new InvalidNameException(compStr +
216 } else if (compStr.charAt(i) == kindSeparator) {
219 newStr[j++] = compStr.charAt(i);
235 newStr[j++] = compStr
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DTestSJIS0213.java35 private static String compStr = "\u304B\u309A\u304D\u309A\u304F\u309A\u3051\u309A\u3053\u309A\u30AB\u309A\u30AD\u309A\u30AF\u309A\u30B1\u309A\u30B3\u309A\u30BB\u309A\u30C4\u309A\u30C8\u309A\u31F7\u309A\u00E6\u0300\u0254\u0300\u0254\u0301\u028C\u0300\u028C\u0301\u0259\u0300\u0259\u0301\u025A\u0300\u025A\u0301\u02E9\u02E5\u02E5\u02E9"; field in class:TestSJIS0213
89 if (!(Arrays.equals(compStr.getBytes("MS932_0213"), compBytes)) ||
90 !compStr.equals(new String(compBytes, "MS932_0213")))
100 if (!(Arrays.equals(compStr.getBytes("SJIS_0213"), compBytes)) ||
101 !compStr.equals(new String(compBytes, "SJIS_0213")))

Completed in 211 milliseconds