Searched refs:cx (Results 1 - 25 of 72) sorted by relevance

123

/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DCachedXPathAPIHolder.java40 CachedXPathAPI cx=(CachedXPathAPI)local.get();
41 if (cx==null) {
42 cx=new CachedXPathAPI();
43 local.set(cx);
48 cx.getXPathContext().reset();
57 CachedXPathAPI cx=(CachedXPathAPI)local.get();
58 if (cx==null) {
59 cx=new CachedXPathAPI();
60 local.set(cx);
63 return cx;
[all...]
/openjdk7/hotspot/test/compiler/7042153/
H A DTest7042153.java41 Class cx = Bar.class;
43 z = (cx == cy);
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dmlib_v_ImageZoom_NN_f.c166 mlib_s32 cx, y0 = -1, dx7 = 7*dx, dx15 = 8*dx + dx7; local
183 cx = x >> MLIB_SHIFT;
184 tt = tsp + 2*cx + cx;
198 cx = x >> MLIB_SHIFT;
199 tt = tsp + 2*cx + cx;
205 cx = x >> MLIB_SHIFT;
206 tt = tsp + 2*cx + cx;
287 mlib_s32 cx, y0 = -1, dx3 = 3*dx, dx7 = 4*dx + dx3; local
[all...]
H A Dmlib_ImageZoom_NN.c627 mlib_s32 cx, y_step = -1; local
640 cx = (x >> (MLIB_SHIFT - 1)) & ~1;
641 tmp0 = tsp[cx];
642 tmp1 = tsp[cx + 1];
651 cx = (x >> (MLIB_SHIFT - 1)) & ~1;
652 tmp0 = tsp[cx];
653 tmp1 = tsp[cx + 1];
678 mlib_s32 cx, y_step = -1; local
694 cx = (x >> (MLIB_SHIFT - 2)) & ~3;
695 tmp0 = tsp[cx];
770 mlib_s32 cx, y_step = -1; local
847 mlib_s32 cx, y_step = -1; local
1022 mlib_s32 cx, y_step = -1, tmp0, tmp1, tmp2, tmp3, x_max; local
1104 mlib_s32 cx, y_step = -1, tmp0, tmp1, tmp2; local
1164 mlib_s32 cx, y_step = -1, tmp0, tmp1, tmp2, tmp3; local
1260 mlib_s32 cx, y_step; local
1295 mlib_s32 cx, y_step; local
1332 mlib_s32 cx, y_step; local
1384 mlib_s32 cx, y_step; local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DRhinoTopLevel.java41 RhinoTopLevel(Context cx, RhinoScriptEngine engine) { argument
45 super(cx, System.getSecurityManager() != null);
58 JavaAdapter.init(cx, this, false);
78 public static Object bindings(Context cx, Scriptable thisObj, Object[] args, argument
92 return cx.getUndefinedValue();
108 public static Object scope(Context cx, Scriptable thisObj, Object[] args, argument
124 return cx.getUndefinedValue();
145 public static Object sync(Context cx, Scriptable thisObj, Object[] args, argument
H A DRhinoScriptEngine.java77 Context cx = super.makeContext();
78 cx.setLanguageVersion(languageVersion);
79 cx.setOptimizationLevel(optimizationLevel);
80 cx.setClassShutter(RhinoClassShutter.getInstance());
81 cx.setWrapFactory(RhinoWrapFactory.getInstance());
82 return cx;
93 final Context cx, final Scriptable scope,
105 return superDoTopCall(callable, cx, scope, thisObj, args);
109 return superDoTopCall(callable, cx, scope, thisObj, args);
114 Context cx, Scriptabl
[all...]
H A DJavaAdapter.java55 static void init(Context cx, Scriptable scope, boolean sealed) argument
74 public Object call(Context cx, Scriptable scope, Scriptable thisObj, argument
76 return construct(cx, scope, args);
79 public Scriptable construct(Context cx, Scriptable scope, Object[] args) argument
99 return cx.toObject(engine.getInterface(args[1], clazz), topLevel);
H A DRhinoWrapFactory.java71 public Scriptable wrapAsJavaObject(Context cx, Scriptable scope, argument
82 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
104 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
145 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
H A DRhinoCompiledScript.java50 Context cx = RhinoScriptEngine.enterContext();
54 Object ret = script.exec(cx, scope);
H A DJSAdapter.java78 public static void init(Context cx, Scriptable scope, boolean sealed) argument
80 JSAdapter obj = new JSAdapter(cx.newObject(scope));
249 public Object call(Context cx, Scriptable scope, Scriptable thisObj, argument
253 return construct(cx, scope, args);
257 return ((Function)tmp).call(cx, scope, tmp, args);
264 public Scriptable construct(Context cx, Scriptable scope, Object[] args) argument
278 return ((Function)tmp).construct(cx, scope, args);
317 Context cx = Context.getCurrentContext();
321 return func.call(cx, scope, thisObj, args);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRGBImageFilter.java198 for (int cx = 0; cx < w; cx++) {
199 pixels[index] = filterRGB(x + cx, y + cy, pixels[index]);
233 for (int cx = 0; cx < w; cx++) {
234 filteredpixels[cx] = model.getRGB((pixels[index] & 0xff));
270 for (int cx = 0; cx <
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DRadialGradientPaint.java168 * @param cx the X coordinate in user space of the center point of the
192 public RadialGradientPaint(float cx, float cy, float radius, argument
195 this(cx, cy,
197 cx, cy,
244 * @param cx the X coordinate in user space of the center point of the
271 public RadialGradientPaint(float cx, float cy, float radius, argument
275 this(cx, cy,
277 cx, cy,
327 * @param cx the X coordinate in user space of the center point of the
358 public RadialGradientPaint(float cx, floa argument
[all...]
/openjdk7/jdk/src/share/demo/applets/BarChart/
H A DBarChart.java198 int cx = Math.max((getSize().width - titleWidth) / 2, 0);
200 g.drawString(title, cx, cy);
212 int cx, cy;
220 cx = Math.max((getSize().width - widthOfItems) / 2, 0);
229 g.drawString(labels[i], cx, cy);
230 cx += maxLabelWidth + 3;
234 g.fillRect(cx + 4, cy - barHeight + 4,
241 g.drawLine(cx + k, cy - barHeight, cx + k, cy);
244 g.fillRect(cx, c
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DOkAsDelegate.java75 ExtendedGSSContext cx = (ExtendedGSSContext)c.x();
76 cx.requestCredDeleg(requestDelegState);
77 cx.requestDelegPolicy(requestDelegPolicyState);
83 if (cx.getCredDelegState() != delegState) {
89 if (cx.getDelegPolicyState() != delegPolicyState) {
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesTileGenerator.java169 int cx = cache.minTouched(cy);
170 if (cx > x1) cx = x1;
172 for (int i = x0; i < cx; i++) {
177 while (cx < x1 && pos < row[1]) {
189 System.out.println("cx = "+cx+", cy = "+cy);
197 int rx0 = cx;
198 cx += runLen;
199 int rx1 = cx;
[all...]
H A DCurve.java32 float ax, ay, bx, by, cx, cy, dx, dy; field in class:Curve
65 cx = 3 * (x2 - x1);
81 cx = 2 * (x2 - x1);
90 return t * (t * (t * ax + bx) + cx) + dx;
97 return t * (t * dax + dbx) + cx;
105 return Helpers.quadraticRoots(dax, dbx, cx, roots, off);
117 final float b = 2 * (cy * dax - day * cx);
118 final float c = cy * dbx - cx * dby;
134 final float c = 2*(dax*cx + day*cy) + dbx*dbx + dby*dby;
135 final float d = dbx*cx
[all...]
H A DStroker.java188 private void drawRoundJoin(float cx, float cy, argument
204 drawBezApproxForArc(cx, cy, omx, omy, mx, my, rev);
233 drawBezApproxForArc(cx, cy, omx, omy, mmx, mmy, rev);
234 drawBezApproxForArc(cx, cy, mmx, mmy, mx, my, rev);
240 private void drawBezApproxForArc(final float cx, final float cy, argument
257 final float x1 = cx + omx;
262 final float x4 = cx + mx;
270 private void drawRoundCap(float cx, float cy, float mx, float my) { argument
277 emitCurveTo(cx+mx, cy+my,
278 cx
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/RhinoScriptEngineProxy/src/com/sun/hotspot/igv/rhino/
H A DRhinoScriptEngine.java69 Object cx = context_enter.invoke(null, (Object[]) null);
71 Object scope = importer.newInstance(cx);
74 cx_evaluateString.invoke(cx, scope, jsHelperText, "jsHelper.js", 1, null);
75 cx_evaluateString.invoke(cx, scope, code, "<cmd>", 1, null);
/openjdk7/jdk/test/sun/nio/cs/
H A DBufferUnderflowEUCTWTest.java59 int cx = isr.read(cc);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollBarButton.java113 int cx = w / 2;
120 g.drawLine(cx, 0, cx, 0);
121 for (int x = cx - 1, y = 1, dx = 1; y <= s - 2; y += 2) {
144 g.drawLine(cx, s, cx, s);
145 for (int x = cx - 1, y = s - 1, dx = 1; y >= 1; y -= 2) {
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dsun_awt_X11_GtkFileDialogPeer.c18 (JNIEnv *env, jclass cx)
20 filenameFilterCallbackMethodID = (*env)->GetMethodID(env, cx,
24 setFileInternalMethodID = (*env)->GetMethodID(env, cx,
28 widgetFieldID = (*env)->GetFieldID(env, cx, "widget", "J");
35 jclass cx; local
179 jclass cx; local
17 Java_sun_awt_X11_GtkFileDialogPeer_initIDs(JNIEnv *env, jclass cx) argument
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder2.java139 double x0, y0, cx, cy, x1, y1;
142 cx = coords[pos+2];
144 x1 = cx + (x1 - cx) * t;
148 x0 = x0 + (cx - x0) * t;
150 cx = x0 + (x1 - x0) * t;
154 coords[pos+4] = cx;
/openjdk7/jdk/src/share/demo/applets/GraphicsTest/
H A DGraphicsTest.java439 int cx, cy, cw, ch;
443 for (color = Color.red, cx = bounds.x, cy = bounds.y,
446 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2),
449 shape.draw(g, cx, cy, cw, ch);
452 for (cx = bounds.x + bounds.width / 2, cy = bounds.y,
455 cx += step, cy += step, cw -= (step * 2), ch -= (step * 2)) {
462 shape.fill(g, cx, cy, cw, ch);
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gif.c84 int cx, cy, cw, ch; /* clamped coordinates */ local
146 cx = FIX_POINT(desc->Left, 0, gif->SWidth);
246 initRect(&dstRect, cx, cy + ofs, cw,
287 cx, cy, cw, ch,
297 int lineOffset = cx * splash->imageFormat.depthBytes;
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11Renderer.c290 long ty1, ty2, tx1, tx2, cx, cy, cxw, cyh, local
317 cx = CLAMP_TO_SHORT(x);
332 leftW = (tx1 - cx) * 2;
338 cx, cy, leftW, topH,
344 cx, cyh - bottomH, leftW, bottomH,
360 cx, ty1, cx, ty2);
697 long ty1, ty2, tx1, tx2, cx, cy, cxw, cyh, local
724 cx = CLAMP_TO_SHORT(x);
739 leftW = (tx1 - cx) *
[all...]

Completed in 61 milliseconds

123