Searched refs:pd (Results 1 - 25 of 121) sorted by relevance

12345

/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DShapeSpanIterator.c106 static jboolean subdivideLine(pathData *pd, int level,
109 static jboolean subdivideQuad(pathData *pd, int level,
113 static jboolean subdivideCubic(pathData *pd, int level,
118 static jboolean appendSegment(pathData *pd,
121 static jboolean initSegmentTable(pathData *pd);
149 #define PDBOXPOINT(pd, x, y) \
151 if (pd->first) { \
152 pd->pathlox = pd->pathhix = x; \
153 pd
308 pathData *pd = (pathData *) JNU_GetLongFieldAsPtr(env, sr, pSpanDataID); local
323 pathData *pd = (pathData *) JNU_GetLongFieldAsPtr(env, sr, pSpanDataID); local
368 pathData *pd; local
382 pathData *pd; local
400 pathData *pd; local
418 pathData *pd; local
469 pathData *pd; local
486 pathData *pd; local
500 pathData *pd; local
521 pathData *pd; local
542 pathData *pd = (pathData *) JNU_GetLongFieldAsPtr(env, sr, pSpanDataID); local
579 pathData *pd; local
675 pathData *pd; local
690 pathData *pd; local
706 pathData *pd; local
724 pathData *pd; local
739 pathData *pd; local
753 pathData *pd; local
767 pathData *pd = GetSpanData(env, sr, STATE_HAVE_RULE, STATE_HAVE_RULE); local
780 pathData *pd = (pathData *) consumer; local
792 pathData *pd = (pathData *) consumer; local
805 pathData *pd = (pathData *) consumer; local
819 pathData *pd = (pathData *) consumer; local
830 pathData *pd = (pathData *) consumer; local
841 pathData *pd = (pathData *) consumer; local
968 appendSegment(pathData *pd, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument
1056 subdivideLine(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument
1077 subdivideQuad(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2) argument
1119 subdivideCubic(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
1212 pathData *pd = (pathData *)private; local
1227 pathData *pd = (pathData *)private; local
1246 pathData *pd = (pathData *)state; local
1402 pathData *pd = (pathData *)private; local
1421 initSegmentTable(pathData *pd) argument
[all...]
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4168833.java58 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 DTest6528714.java39 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(type, name);
40 if (name.equals(pd.getName()))
41 if (!expected.equals(pd.getPropertyType()))
42 throw new Error("expected " + expected + " but " + pd.getPropertyType() + " is resolved");
H A DTest5063390.java65 PropertyDescriptor[] pd = BeanUtils.getPropertyDescriptors(Test5063390.class);
66 if (pd.length != names.length)
67 throw new Error("unexpected count of properties: " + pd.length);
69 for (int i = 0; i < pd.length; i++) {
70 String name = pd[i].getName();
H A DTest4634390.java60 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 DTest4619536.java41 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...]
H A DBeanUtils.java112 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 DTest6660539.java40 for (PropertyDescriptor pd : getPropertyDescriptors()) {
41 pd.setDisplayName(NAME);
50 for (PropertyDescriptor pd : getPropertyDescriptors()) {
51 if (pd.getDisplayName().equals(NAME))
H A DTest6422403.java46 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(type, name);
47 if (name.equals(pd.getName()))
48 if (!expected.equals(pd.getPropertyType()))
49 throw new Error("expected " + expected + " but " + pd.getPropertyType() + " is resolved");
/openjdk7/jdk/test/sun/security/provider/PolicyFile/
H A DComparator.java181 ProtectionDomain pd = new ProtectionDomain(cs, null, null, badP);
182 if (policy.implies(pd, FOO)) {
188 if (policy.implies(pd, BAR)) {
194 if (policy.implies(pd, FOOBAR)) {
205 ProtectionDomain pd = new ProtectionDomain(cs, null, null, p1);
206 if (!policy.implies(pd, FOO)) {
212 pd = new ProtectionDomain(cs, null, null, p1);
213 if (policy.implies(pd, BAR)) {
219 pd = new ProtectionDomain(cs, null, null, p2);
220 if (!policy.implies(pd, BA
[all...]
H A DCombinedPerms.java47 ProtectionDomain pd = new ProtectionDomain(cs, p, null, null);
49 if (pd.implies(new SocketPermission(host, "connect,accept"))) {
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvCopyEdge_Bit.c82 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...]
H A Dmlib_ImageConvClearEdge_Bit.c78 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...]
/openjdk7/jdk/test/java/security/ProtectionDomain/
H A DCheckWhatYouGet.java41 ProtectionDomain pd = new ProtectionDomain(codesource, perms);
44 if (pd.getPermissions() != null) {
50 pd = new ProtectionDomain(codesource, perms);
51 PermissionCollection pc = pd.getPermissions();
H A DNullPerms.java38 ProtectionDomain pd = new ProtectionDomain(cs, null);
39 if (pd.implies(new SecurityPermission("foo"))) {
/openjdk7/jdk/test/java/security/AccessControlContext/
H A DCheckNullPermission.java37 ProtectionDomain pd[] = new ProtectionDomain[1];
40 (new AccessControlContext(pd)).checkPermission(null);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaSecurityProtectionDomainAccess.java32 void put(ProtectionDomain pd, PermissionCollection pc); argument
33 PermissionCollection get(ProtectionDomain pd); argument
/openjdk7/jdk/src/share/classes/java/security/
H A DSecureClassLoader.java202 ProtectionDomain pd = null;
204 pd = pdcache.get(cs);
205 if (pd == null) {
207 pd = new ProtectionDomain(cs, perms, this, null);
208 pdcache.put(cs, pd);
210 debug.println(" getPermissions "+ pd);
215 return pd;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DSysPropsDumper.java51 SysPropsDumper pd = new SysPropsDumper();
52 pd.start(args);
53 pd.stop();
/openjdk7/jdk/test/java/beans/Introspector/6976577/
H A DTest6976577.java45 PropertyDescriptor pd = new PropertyDescriptor("boolean", bt);
46 test(pd.getReadMethod());
47 test(pd.getWriteMethod());
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DDirectoryManager.java60 * @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/test/java/beans/XMLEncoder/
H A DTest4646747.java53 PersistenceDelegate pd = encoder.getPersistenceDelegate(Test4646747.class);
54 if (!(pd instanceof MyPersistenceDelegate))
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DPropertyElementHandler.java225 PropertyDescriptor pd = getProperty(type, name);
227 Method method = pd.getReadMethod();
231 } else if (pd instanceof IndexedPropertyDescriptor) {
232 IndexedPropertyDescriptor ipd = (IndexedPropertyDescriptor) pd;
256 PropertyDescriptor pd = getProperty(type, name);
258 Method method = pd.getWriteMethod();
262 } else if (pd instanceof IndexedPropertyDescriptor) {
263 IndexedPropertyDescriptor ipd = (IndexedPropertyDescriptor) pd;
282 for (PropertyDescriptor pd : Introspector.getBeanInfo(type).getPropertyDescriptors()) {
283 if (name.equals(pd
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DpcDesc.hpp77 // 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 Dawt_PrintDialog.cpp81 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...]

Completed in 136 milliseconds

12345