Searched refs:norm (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvKernelConvert.c88 mlib_d64 sum_pos, sum_neg, sum, norm, max, f; local
143 norm = (1u << scale);
145 CLAMP_S32(ikernel[i], fkernel[i] * norm);
161 norm = (1u << (scale - scale1));
165 ikernel[i] = (mlib_s32) (fkernel[i] * norm + 0.5);
167 ikernel[i] = (mlib_s32) (fkernel[i] * norm - 0.5);
200 ikernel[i] = (mlib_s32) (fkernel[i] * norm) << scale1;
228 norm = 1.0;
230 norm *= (1 << 30);
234 norm *
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DComponentColorModel.java645 float[] norm = getNormalizedComponents(opixel, null, 0);
646 float[] rgb = colorSpace.toRGB(norm);
907 float[] norm = getNormalizedComponents(inData, null, 0);
909 float[] rgb = colorSpace.toRGB(norm);
1142 float[] norm = getNormalizedComponents(inData, null, 0);
1144 float[] rgb = colorSpace.toRGB(norm);
1265 float norm[] = new float[3];
1266 norm[0] = red * factor;
1267 norm[1] = grn * factor;
1268 norm[
[all...]
H A DDirectColorModel.java315 float norm[] = getNormalizedComponents(components, 0, null, 0);
317 return colorSpace.toRGB(norm);
828 float[] norm = new float[3];
830 norm[0] = red * factor;
831 norm[1] = grn * factor;
832 norm[2] = blu * factor;
833 norm = colorSpace.fromRGB(norm);
839 norm[i] *= factor;
852 red = (int) ((norm[
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DPrinter.java258 ClassType norm = (ClassType) t.tsym.type;
259 if (norm == null) {
261 } else if (norm.interfaces_field.nonEmpty()) {
263 visit(norm.interfaces_field.head, locale));
266 visit(norm.supertype_field, locale));
H A DType.java629 ClassType norm = (ClassType) tsym.type;
630 if (norm == null) {
632 } else if (norm.interfaces_field != null && norm.interfaces_field.nonEmpty()) {
634 norm.interfaces_field.head);
637 norm.supertype_field);
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesRenderingEngine.java139 NormMode norm = (normalize) ?
142 strokeTo(src, at, bs, thin, norm, antialias, consumer);
193 * find the maximum magnitude (norm) of the vector v'
544 NormMode norm = (normalize) ? NormMode.ON_WITH_AA : NormMode.OFF;
548 pi = new NormalizingPathIterator(s.getPathIterator(at), norm);
562 strokeTo(s, at, bs, thin, norm, true, r);
/openjdk7/hotspot/test/compiler/8005956/
H A DPolynomialRoot.java198 final double norm = -2 * Math.sqrt (Q);
200 u[0] = norm * Math.cos (theta / 3) - rc3;
201 u[1] = norm * Math.cos ((theta + 2.0 * Math.PI) / 3) - rc3;
202 u[2] = norm * Math.cos ((theta - 2.0 * Math.PI) / 3) - rc3;
622 final double norm = -2 * Math.sqrt (Q);
623 final double r0 = norm * Math.cos (theta/3) - a3;
624 final double r1 = norm * Math.cos ((theta + 2.0 * Math.PI) / 3) - a3;
625 final double r2 = norm * Math.cos ((theta - 2.0 * Math.PI) / 3) - a3;
/openjdk7/jdk/src/share/classes/sun/dc/
H A DDuctusRenderingEngine.java175 boolean normalize, float norm)
185 float rnd = (0.5f - norm);
220 float newax = (float) Math.floor(ox + rnd) + norm;
221 float neway = (float) Math.floor(oy + rnd) + norm;
174 feedConsumer(PathIterator pi, PathConsumer consumer, boolean normalize, float norm) argument
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCoding.java643 int norm = 5*(diffdel + diffS + diffB) + diffHL;
644 assert(norm != 0 || this.compareTo(that) == 0);
645 return norm;
/openjdk7/jdk/test/java/net/URI/
H A DTest.java224 // norm Normalize
379 Test norm() { method in class:Test
382 op = "norm";
1134 .norm().p("a/d/f").z();
1137 .norm().s("http").h("a").p("/b/d").q("q").f("f").z();
1139 norm().p("b");
1141 .norm().p("./b:c").z();
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmpi.c3429 mp_digit norm; local
3436 MP_CHECKOK( s_mp_norm(&rem, &quot, &norm) );
3437 if (norm)
3438 d <<= norm; local
3460 if (norm)
3461 w >>= norm; local
/openjdk7/hotspot/src/share/vm/opto/
H A DgraphKit.cpp2267 Node* norm = _gvn.transform( new (C) CatchProjNode(catc, CatchProjNode::fall_through_index, CatchProjNode::no_handler_bci) ); local
2284 set_control(norm);

Completed in 104 milliseconds