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

1234567

/openjdk9/jdk/src/java.desktop/share/native/libawt/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
678 pathData *pd; local
693 pathData *pd; local
709 pathData *pd; local
727 pathData *pd; local
742 pathData *pd; local
756 pathData *pd; local
770 pathData *pd = GetSpanData(env, sr, STATE_HAVE_RULE, STATE_HAVE_RULE); local
783 pathData *pd = (pathData *) consumer; local
795 pathData *pd = (pathData *) consumer; local
808 pathData *pd = (pathData *) consumer; local
822 pathData *pd = (pathData *) consumer; local
833 pathData *pd = (pathData *) consumer; local
844 pathData *pd = (pathData *) consumer; local
971 appendSegment(pathData *pd, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument
1059 subdivideLine(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument
1080 subdivideQuad(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2) argument
1122 subdivideCubic(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
1215 pathData *pd = (pathData *)private; local
1230 pathData *pd = (pathData *)private; local
1249 pathData *pd = (pathData *)state; local
1405 pathData *pd = (pathData *)private; local
1424 initSegmentTable(pathData *pd) argument
[all...]
/openjdk9/jdk/test/java/beans/Introspector/
H A DTest4168833.java55 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(type, "prop");
56 if (pd instanceof IndexedPropertyDescriptor) {
57 error(pd, type.getSimpleName() + ".prop should not be an indexed property");
59 if (!pd.getPropertyType().equals(Color.class)) {
60 error(pd, type.getSimpleName() + ".prop type should be a Color");
62 if (null == pd.getReadMethod()) {
63 error(pd, type.getSimpleName() + ".prop should have classic read method");
65 if (null == pd.getWriteMethod()) {
66 error(pd, type.getSimpleName() + ".prop should have classic write method");
70 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 DTest4683761.java41 for (PropertyDescriptor pd : BeanUtils.getPropertyDescriptors(entry.getClass())) {
42 System.out.println(pd.getName() + " = " + pd.getReadMethod().invoke(entry));
H A DTest8027905.java36 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(Sub.class, "foo");
37 Class<?> type = pd.getPropertyType();
48 if (type != pd.getPropertyType()) {
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 DTest6707231.java73 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(actual, "value");
74 Class<?> getter = pd.getReadMethod().getDeclaringClass();
75 Class<?> setter = pd.getWriteMethod().getDeclaringClass();
/openjdk9/jdk/test/sun/security/provider/PolicyFile/
H A DComparator.java199 ProtectionDomain pd = new ProtectionDomain(cs, null, null, badP);
200 if (policy.implies(pd, FOO)) {
206 if (policy.implies(pd, BAR)) {
212 if (policy.implies(pd, FOOBAR)) {
223 ProtectionDomain pd = new ProtectionDomain(cs, null, null, p1);
224 if (!policy.implies(pd, FOO)) {
230 pd = new ProtectionDomain(cs, null, null, p1);
231 if (policy.implies(pd, BAR)) {
237 pd = new ProtectionDomain(cs, null, null, p2);
238 if (!policy.implies(pd, BA
[all...]
/openjdk9/jdk/test/java/beans/PropertyEditor/
H A DTest7087876.java38 PropertyDescriptor pd = new PropertyDescriptor("value", Bean.class);
39 pd.setPropertyEditorClass(Editor.class);
40 pd.createPropertyEditor(new Bean());
/openjdk9/jdk/src/java.desktop/share/native/libmlib_image/
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...]
/openjdk9/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"))) {
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DTypeEntries.java46 final ProfileData pd; field in class:TypeEntries
51 int v = pd.intptrAt(index);
56 int v = pd.intptrAt(index);
61 int v = pd.intptrAt(index);
68 return methodData.getKlassAtAddress(pd.addressAt(index).andWithMask(typeKlassMask));
87 TypeEntries(MethodDataInterface<K,M> methodData, ProfileData pd, int baseOff) { argument
88 this.pd = pd;
94 return pd.intptrAt(index);
H A DReturnTypeEntry.java39 ReturnTypeEntry(MethodDataInterface<K,M> methodData, ProfileData pd, int baseOff) { argument
40 super(methodData, pd, baseOff);
56 pd.tab(st);
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DJavaSecurityProtectionDomainAccess.java32 void put(ProtectionDomain pd, PermissionCollection pc); argument
33 PermissionCollection get(ProtectionDomain pd); argument
/openjdk9/hotspot/test/runtime/Unsafe/
H A DDefineClass.java44 ProtectionDomain pd = new ProtectionDomain(null, null);
50 unsafe.defineClass(null, klassbuf, 4, klassbuf.length - 4, classloader, pd);
58 unsafe.defineClass(null, klassbuf, -1, klassbuf.length, classloader, pd);
66 unsafe.defineClass(null, klassbuf, 0, -1, classloader, pd);
74 unsafe.defineClass(null, klassbuf, klassbuf.length + 1, klassbuf.length, classloader, pd);
82 unsafe.defineClass(null, klassbuf, 0, klassbuf.length + 1, classloader, pd);
88 Class klass = unsafe.defineClass(null, klassbuf, 0, klassbuf.length, classloader, pd);
90 assertEquals(klass.getProtectionDomain(), pd);
/openjdk9/jdk/test/java/security/AccessControlContext/
H A DCheckNullPermission.java37 ProtectionDomain pd[] = new ProtectionDomain[1];
40 (new AccessControlContext(pd)).checkPermission(null);
/openjdk9/jdk/test/java/beans/Introspector/4058433/
H A DTestBeanProperty.java44 PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(type, "value");
45 if (((B.class == type) || (BLF.class == type)) && pd.isBound()) {
46 BeanUtils.reportPropertyDescriptor(pd);
49 if ((BL.class == type) == !pd.isBound()) {
50 BeanUtils.reportPropertyDescriptor(pd);
53 if ((E.class == type) == !pd.isExpert()) {
54 BeanUtils.reportPropertyDescriptor(pd);
57 if ((H.class == type) == !pd.isHidden()) {
58 BeanUtils.reportPropertyDescriptor(pd);
61 if ((P.class == type) == !pd
100 isEV(PropertyDescriptor pd, Object... expected) argument
[all...]
H A DTestBeanInfoPriority.java254 for (PropertyDescriptor pd: pds) {
255 String name = pd.getName();
258 checkEq("\"value\" isBound", pd.isBound(), true);
259 checkEq("\"value\" isConstrained", pd.isConstrained(), true);
260 checkEq("\"value\" isExpert", pd.isExpert(), true);
261 checkEq("\"value\" isHidden", pd.isHidden(), true);
262 checkEq("\"value\" isPreferred", pd.isPreferred(), true);
263 checkEq("\"value\" required", pd.getValue("required"), true);
264 checkEq("\"value\" visualUpdate", pd.getValue("visualUpdate"), true);
266 checkEq("\"value\" description", pd
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/java/beans/
H A DIntrospector.java158 for (PropertyDescriptor pd: pds) {
159 if (pd.getName().equals(property)) {
160 return pd.getReadMethod();
548 private void addPropertyDescriptor(PropertyDescriptor pd) { argument
549 String propName = pd.getName();
555 if (this.beanClass != pd.getClass0()) {
559 Method read = pd.getReadMethod();
560 Method write = pd.getWriteMethod();
564 if (pd instanceof IndexedPropertyDescriptor) {
565 IndexedPropertyDescriptor ipd = (IndexedPropertyDescriptor) pd;
810 mergePropertyWithIndexedProperty(PropertyDescriptor pd, IndexedPropertyDescriptor ipd) argument
826 mergePropertyDescriptor(IndexedPropertyDescriptor ipd, PropertyDescriptor pd) argument
[all...]

Completed in 196 milliseconds

1234567