/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test4968523.java | 44 private static void test(Class<?> type, PersistenceDelegate pd) { argument 51 encoder1.setPersistenceDelegate(type, pd);
|
/openjdk7/jdk/test/java/lang/ProcessBuilder/ |
H A D | SecurityManagerClinit.java | 47 public boolean implies(ProtectionDomain pd, Permission p) { argument
|
/openjdk7/jdk/test/java/security/Policy/Dynamic/ |
H A D | DynamicPolicy.java | 50 public boolean implies(ProtectionDomain pd, Permission p) { argument 51 return getPermissions(pd).implies(p); 54 public PermissionCollection getPermissions(ProtectionDomain pd) { argument
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaSecurityProtectionDomainAccess.java | 32 void put(ProtectionDomain pd, PermissionCollection pc); argument 33 PermissionCollection get(ProtectionDomain pd); argument
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test4634390.java | 60 for (PropertyDescriptor pd : BeanUtils.getPropertyDescriptors(type)) { 61 PropertyDescriptor pdCopy = create(pd); 66 pdCopy.setBound(pd.isBound()); 68 String name = pd.getName(); 71 if (!compare(pd, pdCopy)) 74 if (!pd.equals(pdCopy)) 77 if (pd.hashCode() != pdCopy.hashCode()) 83 private static PropertyDescriptor create(PropertyDescriptor pd) { argument 85 if (pd instanceof IndexedPropertyDescriptor) { 86 IndexedPropertyDescriptor ipd = (IndexedPropertyDescriptor) pd; [all...] |
H A D | BeanUtils.java | 112 for (PropertyDescriptor pd : pds) { 113 if (pd.getName().equals(name)) { 114 return pd; 145 PropertyDescriptor pd = findPropertyDescriptor(type, name); 146 if (pd != null) { 147 return pd; 161 PropertyDescriptor pd = findPropertyDescriptor(type, name); 162 if (pd instanceof IndexedPropertyDescriptor) { 163 return (IndexedPropertyDescriptor) pd; 165 reportPropertyDescriptor(pd); 172 reportPropertyDescriptor(PropertyDescriptor pd) argument [all...] |
H A D | Test4168833.java | 58 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(type, "prop"); 59 if (pd instanceof IndexedPropertyDescriptor) { 60 error(pd, type.getSimpleName() + ".prop should not be an indexed property"); 62 if (!pd.getPropertyType().equals(Color.class)) { 63 error(pd, type.getSimpleName() + ".prop type should be a Color"); 65 if (null == pd.getReadMethod()) { 66 error(pd, type.getSimpleName() + ".prop should have classic read method"); 68 if (null == pd.getWriteMethod()) { 69 error(pd, type.getSimpleName() + ".prop should have classic write method"); 73 private static void error(PropertyDescriptor pd, Strin argument [all...] |
H A D | Test4619536.java | 41 PropertyDescriptor pd = BeanUtils.findPropertyDescriptor(B.class, "foo"); 42 if (pd instanceof IndexedPropertyDescriptor) { 43 error(pd, "B.foo should not be an indexed property"); 45 if (!pd.getPropertyType().equals(Date.class)) { 46 error(pd, "B.foo should be Date type"); 48 pd = BeanUtils.findPropertyDescriptor(Child.class, "foo"); 49 if (pd instanceof IndexedPropertyDescriptor) { 50 error(pd, "Child.foo should not be an indexed property"); 52 pd = BeanUtils.findPropertyDescriptor(Classic.class, "foo"); 53 if (pd instanceo 94 hasPD(PropertyDescriptor pd) argument 115 error(PropertyDescriptor pd, String message) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/security/auth/ |
H A D | SubjectDomainCombiner.java | 236 ProtectionDomain pd = currentDomains[i]; 238 subjectPd = cachedPDs.getValue(pd); 241 subjectPd = new ProtectionDomain(pd.getCodeSource(), 242 pd.getPermissions(), 243 pd.getClassLoader(), 245 cachedPDs.putValue(pd, subjectPd); 337 ProtectionDomain pd = currentDomains[i]; 338 ProtectionDomain subjectPd = cachedPDs.getValue(pd); 350 PermissionCollection coll = pd.getPermissions(); 365 final java.security.CodeSource finalCs = pd 519 printDomain(final ProtectionDomain pd) argument [all...] |
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | DefaultPersistenceDelegate.java | 174 PropertyDescriptor pd = getPropertyDescriptor(type, property); 175 if (pd == null) { 178 Method method = pd.getReadMethod(); 185 private void doProperty(Class type, PropertyDescriptor pd, Object oldInstance, Object newInstance, Encoder out) throws Exception { argument 186 Method getter = pd.getReadMethod(); 187 Method setter = pd.getWriteMethod(); 197 Object e = (Object[])pd.getValue("enumerationValues"); 406 for (PropertyDescriptor pd : Introspector.getBeanInfo(type).getPropertyDescriptors()) { 407 if (property.equals(pd.getName())) 408 return pd; [all...] |
/openjdk7/jdk/test/sun/security/provider/PolicyFile/ |
H A D | TokenStore.java | 248 private static void checkPerm(PolicyFile p, ProtectionDomain pd) argument 251 Enumeration perms = p.getPermissions(pd).elements();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/ |
H A D | PackageIndexFrameWriter.java | 97 * @param pd PackageDoc 100 protected Content getPackage(PackageDoc pd) { argument 103 if (pd.name().length() > 0) { 104 packageLabel = getPackageLabel(pd.name()); 105 packageLinkContent = getHyperLink(pathString(pd,
|
H A D | SourceToHTMLConverter.java | 106 * @param pd the Package to convert. 109 public static void convertPackage(ConfigurationImpl configuration, PackageDoc pd, argument 111 if (pd == null || outputdir == null) { 114 String classOutputdir = getPackageOutputDir(outputdir, pd); 115 ClassDoc[] cds = pd.allClasses(); 130 * @param pd the Package to generate output for. 133 private static String getPackageOutputDir(String outputDir, PackageDoc pd) { argument 135 DirectoryManager.getDirectoryPath(pd) + File.separator;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | DirectoryManager.java | 60 * @param pd PackageDoc 63 public static String createPathString(PackageDoc pd) { argument 64 if (pd == null) { 67 return getPath(pd.name()); 80 PackageDoc pd = cd.containingPackage(); 81 return (pd == null)? "": getPath(pd.name()); 96 * @param pd the PackageDoc 99 public static String getDirectoryPath(PackageDoc pd) { argument 100 return pd 295 getPathToPackage(PackageDoc pd, String filename) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConvClearEdge_Bit.c | 78 mlib_u8 *pimg = mlib_ImageGetData(img), *pd; local 96 pd = pimg; 105 pd[i*img_stride] = (pd[i*img_stride] & mask) | tmp_color; 114 pd[i*img_stride] = (pd[i*img_stride] & mask) | tmp_color; 124 pd[i*img_stride + j] = color_i; 129 pd[i*img_stride + amount - 1] = (pd[i*img_stride + amount - 1] & mask) | tmp_color; 135 pd [all...] |
H A D | mlib_ImageConvCopyEdge_Bit.c | 82 mlib_u8 *pdst = mlib_ImageGetData(dst), *pd; local 97 pd = pdst; 105 pd[i*img_strided] = (pd[i*img_strided] & ~mask) | (ps[i*img_strides] & mask); 112 pd[i*img_strided] = (pd[i*img_strided] & ~mask) | (ps[i*img_strides] & mask); 120 pd[i*img_strided + j] = ps[i*img_strides + j]; 125 pd[i*img_strided + amount - 1] = (pd[i*img_strided + amount - 1] & ~mask) | 132 pd [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | pcDesc.hpp | 77 // Does pd refer to the same information as pd? 78 bool is_same_info(const PcDesc* pd) { argument 79 return _scope_decode_offset == pd->_scope_decode_offset && 80 _obj_decode_offset == pd->_obj_decode_offset && 81 _flags == pd->_flags;
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_PrintDialog.cpp | 81 PRINTDLG *pd = (PRINTDLG *)lParam; local 82 jobject peer = (jobject)(pd->lCustData); 214 PRINTDLG pd; local 215 memset(&pd, 0, sizeof(PRINTDLG)); 216 pd.lStructSize = sizeof(PRINTDLG); 217 pd.lCustData = (LPARAM)peerGlobalRef; 218 BOOL ret = AwtPrintControl::InitPrintDialog(env, control, pd); 225 pd.Flags = PD_RETURNDEFAULT | PD_RETURNDC; 226 ret = AwtPrintDialog::PrintDlg(&pd); 233 pd [all...] |
/openjdk7/jdk/test/java/lang/annotation/ |
H A D | ParameterAnnotations.java | 59 public boolean implies(ProtectionDomain pd, Permission p) { argument 61 defaultPolicy.implies(pd, p);
|
/openjdk7/jdk/test/java/util/concurrent/Executors/ |
H A D | PrivilegedCallables.java | 73 public PermissionCollection getPermissions(ProtectionDomain pd) { argument 77 public boolean implies(ProtectionDomain pd, Permission p) { argument
|
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | ClassLoader.c | 83 jobject pd) 86 length, pd, NULL); 96 jobject pd, 151 result = JVM_DefineClassWithSource(env, utfName, loader, body, length, pd, utfSource); 172 jobject pd, 216 result = JVM_DefineClassWithSource(env, utfName, loader, body, length, pd, utfSource); 77 Java_java_lang_ClassLoader_defineClass0(JNIEnv *env, jobject loader, jstring name, jbyteArray data, jint offset, jint length, jobject pd) argument 90 Java_java_lang_ClassLoader_defineClass1(JNIEnv *env, jobject loader, jstring name, jbyteArray data, jint offset, jint length, jobject pd, jstring source) argument 166 Java_java_lang_ClassLoader_defineClass2(JNIEnv *env, jobject loader, jstring name, jobject data, jint offset, jint length, jobject pd, jstring source) argument
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | objArrayKlass.cpp | 155 const size_t pd = pointer_delta(p, dst, (size_t)heapOopSize); local 158 assert(pd == (size_t)(int)pd, "length field overflow"); 159 bs->write_ref_array((HeapWord*)dst, pd);
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | Introspector.java | 534 for (Object pd: pds) { 535 if (BeansHelper.getPropertyName(pd).equals(element)) { 536 readMethod = BeansHelper.getReadMethod(pd); 765 static String getPropertyName(Object pd) { argument 767 return (String)getPropertyName.invoke(pd); 781 static Method getReadMethod(Object pd) { argument 783 return (Method)getReadMethod.invoke(pd);
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | perfData.cpp | 582 bool PerfDataList::by_name(void* name, PerfData* pd) { argument 584 if (pd == NULL) 587 return strcmp((const char*)name, pd->name()) == 0;
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | TestAppletLoggerContext.java | 85 public PermissionCollection getPermissions(ProtectionDomain pd) { argument 89 public boolean implies(ProtectionDomain pd, Permission p) { argument
|