/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/ |
H A D | ImageFactory.java | 62 public static BufferedImage createCCMImage(int cs, int dataType) argument 65 ColorSpace cSpace = ColorSpace.getInstance(cs); 70 ((cs == ColorSpace.CS_GRAY)? 85 public static BufferedImage createDCMImage(int type, int cs) { argument 86 if (type == BufferedImage.TYPE_INT_RGB && cs == ColorSpace.CS_sRGB) { 94 ColorSpace cSpace = ColorSpace.getInstance(cs); 155 public static void fillCCM(DataBuffer data, SampleModel sm, ColorSpace cs) { argument 156 switch (cs.getType()) { 197 pixel[0] = (i/255.0)*(cs.getMaxValue(0) - 198 cs [all...] |
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | FindOneCharEncoderBugs.java | 70 private static ByteBuffer convert(Charset cs, char c, CharBuffer cb) throws Throwable { argument 72 return cs.newEncoder() 89 private static void testChar(byte[] expected, CharBuffer cb, Charset cs, char c) { argument 91 final ByteBuffer bb = convert(cs, c, cb); 94 cs, cb.isDirect(), (int)c, 98 cs, cb.isDirect(), (int)c); 104 private static void testCharset(Charset cs) throws Throwable { argument 105 if (! cs.canEncode()) 108 final String csn = cs.name(); 129 fail("Empty output?! charset=%s char=\\u%04x", cs, (in [all...] |
H A D | TestEUC_TW.java | 41 static char[] decode(byte[] bb, Charset cs, boolean testDirect, Time t) argument 43 String csn = cs.name(); 44 CharsetDecoder dec = cs.newDecoder(); 80 static CoderResult decodeCR(byte[] bb, Charset cs, boolean testDirect) argument 82 CharsetDecoder dec = cs.newDecoder(); 96 static byte[] encode(char[] cc, Charset cs, boolean testDirect, Time t) argument 100 CharsetEncoder enc = cs.newEncoder(); 101 String csn = cs.name(); 133 static CoderResult encodeCR(char[] cc, Charset cs, boolean testDirect) argument 137 CharsetEncoder enc = cs 194 checkRoundtrip(Charset cs) argument 287 checkMalformed(Charset cs) argument 350 checkUnderOverflow(Charset cs) argument [all...] |
H A D | TestUTF8.java | 74 static char[] decode(Charset cs, byte[] ba, int off, int len) { argument 75 CharsetDecoder cd = cs.newDecoder(); 316 Charset cs = Charset.forName(csn); 334 if (!Arrays.equals(decode(cs, bin, 0, bin.length),
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | Surrogate.java | 26 package sun.nio.cs;
|
/openjdk7/jdk/src/solaris/classes/sun/nio/cs/ext/ |
H A D | CompoundTextSupport.java | 26 package sun.nio.cs.ext; 475 Charset cs = null; 477 cs = Charset.forName(enc); 486 cs = (Charset)cls.newInstance(); 494 return cs.newDecoder(); 522 Charset cs = null; 524 cs = Charset.forName(enc); 533 cs = (Charset)cls.newInstance(); 541 return cs.newEncoder();
|
H A D | COMPOUND_TEXT_Decoder.java | 26 package sun.nio.cs.ext; 95 public COMPOUND_TEXT_Decoder(Charset cs) { argument 96 super(cs, 1.0f, 1.0f);
|
/openjdk7/langtools/test/tools/javac/scope/7017664/ |
H A D | CompoundScopeTest.java | 177 void checkElems(CompoundScope cs, Filter<Symbol> sf) { argument 184 for (Symbol s : sf == null ? cs.getElements() : cs.getElements(sf)) { 199 void checkShadowed(CompoundScope cs, Filter<Symbol> sf) { argument 207 for (Symbol s : sf == null ? cs.getElementsByName(name) : cs.getElementsByName(name, sf)) {
|
/openjdk7/jdk/test/sun/nio/cs/OLD/ |
H A D | TestIBMDB.java | 42 static char[] decode(byte[] bb, Charset cs, boolean testDirect, Time t) argument 44 String csn = cs.name(); 45 CharsetDecoder dec = cs.newDecoder(); 80 static CoderResult decodeCR(byte[] bb, Charset cs, boolean testDirect) argument 82 CharsetDecoder dec = cs.newDecoder(); 103 static byte[] encode(char[] cc, Charset cs, boolean testDirect, Time t) argument 107 CharsetEncoder enc = cs.newEncoder(); 108 String csn = cs.name(); 139 static CoderResult encodeCR(char[] cc, Charset cs, boolean testDirect) argument 143 CharsetEncoder enc = cs 162 printEntry(char c, Charset cs) argument 377 checkMalformed(Charset cs, byte[][] malformed) argument 442 checkUnderOverflow(Charset cs) argument [all...] |
H A D | IBM949_OLD.java | 37 import sun.nio.cs.HistoricallyNamedCharset; 38 import sun.nio.cs.Surrogate; 39 import sun.nio.cs.ext.*; 54 public boolean contains(Charset cs) { argument 55 return (cs instanceof IBM949); 69 * converters co-exist with the sun.nio.cs.{ext} charset coders 112 public Decoder(Charset cs) { argument 113 super(cs); 117 protected Decoder(Charset cs, String singleByteToChar) { argument 118 super(cs); 1515 Encoder(Charset cs) argument 1522 Encoder(Charset cs, String modIdx2a) argument [all...] |
H A D | IBM970_OLD.java | 36 import sun.nio.cs.HistoricallyNamedCharset; 37 import sun.nio.cs.Surrogate; 38 import sun.nio.cs.ext.*; 56 public boolean contains(Charset cs) { argument 57 return (cs instanceof IBM970); 90 public Decoder(Charset cs) { argument 91 super(cs); 1249 public Encoder(Charset cs) { argument 1250 super(cs, 2.0f, 2.0f);
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/ |
H A D | GB18030.java | 29 package sun.nio.cs.ext; 37 import sun.nio.cs.Surrogate; 74 public boolean contains(Charset cs) { argument 75 return ((cs.name().equals("US-ASCII")) 76 || (cs.name().equals("GBK")) 77 || (cs.name().equals("ISO-8859-1")) 78 || (cs.name().equals("ISO-8859-2")) 79 || (cs.name().equals("ISO-8859-3")) 80 || (cs.name().equals("ISO-8859-4")) 81 || (cs 12320 Decoder(Charset cs) argument 12584 Encoder(Charset cs) argument [all...] |
H A D | ISO2022.java | 29 package sun.nio.cs.ext; 37 import sun.nio.cs.Surrogate; 83 protected Decoder(Charset cs) { argument 84 super(cs, 1.0f, 1.0f); 414 protected Encoder(Charset cs) { argument 415 super(cs, 4.0f, 8.0f);
|
/openjdk7/jdk/src/share/classes/java/nio/charset/ |
H A D | Charset.java | 46 import sun.nio.cs.StandardCharsets; 47 import sun.nio.cs.ThreadLocalCoders; 290 new GetPropertyAction("sun.nio.cs.bugLevel", "")); 333 private static void cache(String charsetName, Charset cs) { argument 335 cache1 = new Object[] { charsetName, cs }; 415 Charset cs = cp.charsetForName(charsetName); 416 if (cs != null) 417 return cs; 438 = Class.forName("sun.nio.cs.ext.ExtendedCharsets"); 486 Charset cs; 747 contains(Charset cs) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarFile.java | 567 Enumeration<String> entryNames(CodeSource[] cs) { argument 570 return jv.entryNames(this, cs); 578 for (int i = 0; i < cs.length; i++) { 579 if (cs[i].getCodeSigners() == null) { 703 CodeSource cs = null; 706 cs = jv.getCodeSource(url, this, je); 708 cs = jv.getCodeSource(url, name); 710 return cs;
|
H A D | JarVerifier.java | 519 CodeSource cs = (CodeSource) map.get(signers); 520 if (cs == null) { 521 cs = new VerifierCodeSource(csdomain, url, signers); 522 signerToCodeSource.put(signers, cs); 524 return cs; 543 private CodeSigner[] findMatchingSigners(CodeSource cs) { argument 544 if (cs instanceof VerifierCodeSource) { 545 VerifierCodeSource vcs = (VerifierCodeSource) cs; 547 return ((VerifierCodeSource) cs).getPrivateSigners(); 555 CodeSource[] sources = mapSignersToCodeSources(cs 660 entryNames(JarFile jar, final CodeSource[] cs) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/security/auth/ |
H A D | PolicyFile.java | 891 final CodeSource cs) 899 codesource[0] = canonicalizeCodebase(cs, true); 1158 Certificate[] getSignerCertificates(CodeSource cs) { argument 1160 if ((certs = cs.getCertificates()) == null) 1164 return cs.getCertificates(); 1199 private CodeSource canonicalizeCodebase(CodeSource cs, argument 1201 CodeSource canonCs = cs; 1202 if (cs.getLocation() != null && 1203 cs.getLocation().getProtocol().equalsIgnoreCase("file")) { 1205 String path = cs 890 getPermissions(final Permissions perms, final CodeSource cs) argument 1354 PolicyEntry(CodeSource cs) argument [all...] |
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | c1_CodeStubs_sparc.cpp | 355 CodeSection* cs = __ code_section(); local 357 RelocIterator iter(cs, pc, pc + 1); 361 RelocIterator iter2(cs, pc, pc+1);
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | c1_CodeStubs_x86.cpp | 381 CodeSection* cs = __ code_section(); local 382 RelocIterator iter(cs, (address)_pc_start, (address)(_pc_start + 1));
|
/openjdk7/hotspot/src/share/vm/asm/ |
H A D | assembler.cpp | 57 CodeSection* cs = code->insts(); 58 cs->clear_mark(); // new assembler kills old mark 59 _code_section = cs; 60 _code_begin = cs->start(); 61 _code_limit = cs->limit(); 62 _code_pos = cs->end(); 71 void AbstractAssembler::set_code_section(CodeSection* cs) { argument 72 assert(cs->outer() == code_section()->outer(), "sanity"); 73 assert(cs->is_allocated(), "need to pre-allocate this section"); 74 cs 84 CodeSection* cs = cb->stubs(); local 106 CodeSection* cs = cb->consts(); local 252 CodeSection* cs = cb->code_section(n); local [all...] |
/openjdk7/jdk/test/java/lang/String/ |
H A D | Exceptions.java | 187 int len, Object cs) 191 if (cs instanceof String) 192 new String(b, off, len, (String)cs); 193 else // (cs instanceof Charset) 194 new String(b, off, len, (Charset)cs); 239 Charset cs = Charset.forName("UTF-16BE"); 240 byteArrayOffLengthCharset0(" b, 0, 0," + cs, null, b, 0, 0, cs); 241 byteArrayOffLengthCharset0(" null, 0, 0," + cs, 243 (byte []) null, 0, 0, cs); 185 byteArrayOffLengthCharset0(String s, Class ex, byte [] b, int off, int len, Object cs) argument 261 byteArrayCharset0(String s, Class ex, byte [] b, Object cs) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Name.java | 48 public boolean contentEquals(CharSequence cs) { argument 49 return toString().equals(cs.toString()); 170 /** Copy all bytes of this name to buffer cs, starting at start. 172 public void getBytes(byte cs[], int start) { argument 173 System.arraycopy(getByteArray(), getByteOffset(), cs, start, getByteLength()); 196 /** Get the name from the characters in cs[start..start+len-1]. 198 public abstract Name fromChars(char[] cs, int start, int len); argument 203 char[] cs = s.toCharArray(); 204 return fromChars(cs, 0, cs 210 fromUtf(byte[] cs) argument 217 fromUtf(byte[] cs, int start, int len) argument [all...] |
/openjdk7/jdk/test/java/util/zip/ |
H A D | zip.java | 42 Charset cs = Charset.forName("UTF-8"); field in class:zip 257 cs = Charset.forName(args[++i]); 325 try (ZipOutputStream zos = new ZipOutputStream(out, cs)) { 337 try (ZipInputStream zis = new ZipInputStream(in, cs); 338 ZipOutputStream zos = new ZipOutputStream(out, cs)) 500 ZipInputStream zis = new ZipInputStream(in, cs); 520 try (ZipFile zf = new ZipFile(fname, cs)) { 601 ZipInputStream zis = new ZipInputStream(in, cs); 610 try (ZipFile zf = new ZipFile(fname, cs)) {
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | ConstantPoolGen.java | 98 public ConstantPoolGen(Constant[] cs) { argument 99 if(cs.length > size) { 100 size = cs.length; 104 System.arraycopy(cs, 0, constants, 0, cs.length); 106 if(cs.length > 0) 107 index = cs.length; 174 Constant[] cs = constants; 178 System.arraycopy(cs, 0, constants, 0, index); 694 Constant[] cs [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/ |
H A D | SnmpAdaptorServerMBean.java | 487 * @param cs The community string to be used for the trap. 495 public void snmpV1Trap(InetAddress address, String cs, int generic, int specific, SnmpVarBindList varBindList) argument 583 * @param cs The community string to be used for the trap. 590 public void snmpV2Trap(InetAddress address, String cs, SnmpOid trapOid, SnmpVarBindList varBindList) argument 655 * @param cs The community string to be used for the inform request. 666 public SnmpInformRequest snmpInformRequest(InetAddress address, String cs, SnmpInformHandler cb, argument
|