Searched defs:abs (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DRowFilter.java30 private static final int abs(int x) { method in class:RowFilter
46 badness += abs(difference);
65 badness += abs(difference);
73 int pa = abs(p - a);
74 int pb = abs(p - b);
75 int pc = abs(p - c);
149 badness += abs(difference);
168 badness += abs(difference);
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DExtendedKeySocket.java91 SSLContext getSSLContext(boolean abs) throws Exception { argument
108 if (abs) {
H A DExtendedKeyEngine.java172 public ExtendedKeyEngine(boolean abs) throws Exception { argument
173 sslc = getSSLContext(keyFilename, trustFilename, abs);
180 boolean abs) throws Exception {
194 if (abs) {
179 getSSLContext(String keyFile, String trustFile, boolean abs) argument
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltMath.java200 * The math:abs function returns the absolute value of a number.
205 public static double abs(double num) method in class:ExsltMath
207 return Math.abs(num);
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeHistogram.cpp132 int abs = e->count(); local
133 float rel = abs * 100.0F / tot;
135 tty->print_cr("%10d %7.2f%% %02x %s", abs, rel, e->index(), name_for(e->index()));
136 abs_sum += abs;
174 int abs = e->count(); local
175 float rel = abs * 100.0F / tot;
179 tty->print_cr("%10d %6.3f%% %02x %02x %-19s %s", abs, rel, c1, c2, name_for(c1), name_for(c2));
180 abs_sum += abs;
/openjdk7/hotspot/src/share/vm/libadt/
H A Dport.hpp59 inline long abs( long x ) { return x < 0 ? -x : x; } function
77 inline long abs( long x ) { return x < 0 ? -x : x; } function
/openjdk7/jdk/src/share/classes/java/lang/
H A DMath.java732 public static int abs(int a) { method in class:Math
749 public static long abs(long a) { method in class:Math
768 public static float abs(float a) { method in class:Math
787 public static double abs(double a) { method in class:Math
H A DStrictMath.java432 a = Math.abs(a);
711 public static int abs(int a) { method in class:StrictMath
728 public static long abs(long a) { method in class:StrictMath
747 public static float abs(float a) { method in class:StrictMath
766 public static double abs(double a) { method in class:StrictMath
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmscam02.c71 cmsFloat64Number abs[2]; member in struct:__anon815
/openjdk7/jdk/src/share/classes/java/math/
H A DBigDecimal.java1732 Math.abs((long)this.scale() - divisor.scale()) + 2,
1977 * <li>{@code abs(n) > 999999999}
2022 int mag = Math.abs(n); // magnitude of n
2058 * @return {@code abs(this)}
2060 public BigDecimal abs() { method in class:BigDecimal
2070 * @return {@code abs(this)}, rounded as necessary.
2075 public BigDecimal abs(MathContext mc) { method in class:BigDecimal
2881 return bd.getValueString(bd.signum(), bd.intVal.abs().toString(), bd.scale);
3277 offset = sbHelper.putIntCompact(Math.abs(intCompact));
3281 coeff = intVal.abs()
[all...]
H A DBigInteger.java771 d = (d<0) ? Math.abs(d)+2 : -(d+2);
1420 * {@code abs(this)} and {@code abs(val)}. Returns 0 if
1424 * @return {@code GCD(abs(this), abs(val))}
1428 return this.abs();
1430 return val.abs();
1516 * @return {@code abs(this)}
1518 public BigInteger abs() { method in class:BigInteger
2468 BigInteger w = this.abs();
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dparse1.cpp1303 int abs = _bytecodes_parsed[i]; local
1304 float rel = abs * 100.0F / total;
1310 tty->print_cr("%10d %7.2f%% %6.1f %6.2f %6.1f %6.1f %s", abs, rel, nodes, rnodes, xforms, values, name_for_bc(i));
1311 abs_sum += abs;
H A Dlibrary_call.cpp1461 // public static double Math.abs(double)
1534 Node *abs = _gvn.transform(new (C) AbsDNode(arg)); local
1537 // Check PI/4 : abs(arg)
1538 Node *cmp = _gvn.transform(new (C) CmpDNode(pi4,abs));
1539 // Check: If PI/4 < abs(arg) then go slow
1657 // result = ((1&longy) == 0)?-DPow(abs(x), y):DPow(abs(x), y);
1723 // Calculate DPow(abs(x), y)*(1 & (long)y)
1760 // abs(x)
1762 // abs(
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.hpp2055 void abs (LIR_Opr from, LIR_Opr to, LIR_Opr tmp) { append(new LIR_Op2(lir_abs , from, tmp, to)); } function in class:LIR_List

Completed in 3588 milliseconds