Lines Matching defs:cs
125 * @param cs the associated CodeSource, or {@code null} if none
140 CodeSource cs)
142 return defineClass(name, b, off, len, getProtectionDomain(cs));
160 * @param cs the associated CodeSource, or {@code null} if none
172 CodeSource cs)
174 return defineClass(name, b, getProtectionDomain(cs));
198 private ProtectionDomain getProtectionDomain(CodeSource cs) {
199 if (cs == null)
204 pd = pdcache.get(cs);
206 PermissionCollection perms = getPermissions(cs);
207 pd = new ProtectionDomain(cs, perms, this, null);
208 pdcache.put(cs, pd);