Searched defs:sign (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
H A DSignedObject.java106 * can be used to sign and serialize data/object for storage outside
160 // now sign the encapsulated object
161 this.sign(signingKey, signingEngine);
238 private void sign(PrivateKey signingKey, Signature signingEngine) method in class:SignedObject
243 this.signature = signingEngine.sign().clone();
H A DSignature.java88 * {@link #sign() sign} methods and the {@link #verify(byte[]) verify}
729 * {@code sign}.
737 public final byte[] sign() throws SignatureException { method in class:Signature
773 public final int sign(byte[] outbuf, int offset, int len) method in class:Signature
/libcore/ojluni/src/main/java/sun/misc/
H A DFpUtils.java50 * to to least significant, sign, exponent, and significand.
53 * [sign|exponent| fractional_significand]
62 * (-1)^sign * 2^(exponent)*(1.fractional_significand)
82 * The 32-bit float format has 1 sign bit, 8 exponent bits, and 23
85 * sign bit, 11 exponent bits, and 52 bits for the significand
91 * (-1)^sign * 2^(E_min)*(0.fractional_significand)
94 * zero bits in the significand; zero can have either sign.
154 * Returns the first floating-point argument with the sign of the
157 * does not require NaN {@code sign} arguments to be treated
163 * @param sign th
170 rawCopySign(double magnitude, double sign) argument
191 rawCopySign(float magnitude, float sign) argument
806 copySign(double magnitude, double sign) argument
824 copySign(float magnitude, float sign) argument
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigInt.java204 int sign() { method in class:BigInt
205 return NativeBN.sign(this.bignum);
H A DNativeBN.java67 public static native int sign(long a); method in class:NativeBN
H A DBigInteger.java62 /** The sign of this. */
63 transient int sign; field in class:BigInteger
85 /** sign field, used for serialization. */
101 BigInteger(int sign, long value) { argument
103 bigInt.putULongInt(value, (sign < 0));
111 * @param sign the sign of the number.
115 BigInteger(int sign, int numberLength, int[] digits) { argument
116 setJavaRepresentation(sign, numberLength, digits);
134 int sign
333 setJavaRepresentation(int sign, int numberLength, int[] digits) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DMath.java135 * same sign as the argument.</ul>
165 * same sign as the argument.</ul>
182 * same sign as the argument.</ul>
213 * same sign as the argument.</ul>
351 * with the same sign as the argument.
354 * same sign as the argument.
376 * zero, its sign is the same as the sign of the first argument.
734 * Returns a {@code double} value with a positive sign, greater
800 // HD 2-12 Overflow iff both arguments have the opposite sign o
1781 copySign(double magnitude, double sign) argument
1804 copySign(float magnitude, float sign) argument
[all...]
H A DStrictMath.java105 * same sign as the argument.</ul>
127 * same sign as the argument.</ul>
140 * same sign as the argument.</ul>
163 * same sign as the argument.</ul>
284 * with the same sign as the argument.
287 * same sign as the argument.
306 * zero, its sign is the same as the sign of the first argument.
373 double sign) {
401 if (sign*
370 floorOrCeil(double a, double negativeBoundary, double positiveBoundary, double sign) argument
1387 copySign(double magnitude, double sign) argument
1403 copySign(float magnitude, float sign) argument
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DSimpleDateFormat.java484 * The minus sign to be used with format and parse.
489 * True when a negative sign follows a number.
1606 // In Arabic, a minus sign for a negative number is put after
1607 // the number. Even in another locale, a minus sign can be
1609 // If both the minus sign and the field-delimiter are '-',
1611 // in the given text is a delimiter or is a minus sign for the
1963 * @param sign 1: positive; -1: negative
1969 private int subParseNumericZone(String text, int start, int sign, int count, argument
2024 calb.set(Calendar.ZONE_OFFSET, minutes * MILLIS_PER_MINUTE * sign)
2273 int sign
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509CRLImpl.java476 public void sign(PrivateKey key, String algorithm) method in class:X509CRLImpl
479 sign(key, algorithm, null);
496 public void sign(PrivateKey key, String algorithm, String provider) method in class:X509CRLImpl
525 signature = sigEngine.sign();
H A DX509CertImpl.java117 // when we sign and decode we set this to true
542 public void sign(PrivateKey key, String algorithm) method in class:X509CertImpl
545 sign(key, algorithm, null);
565 public void sign(PrivateKey key, String algorithm, String provider) method in class:X509CertImpl
595 signature = sigEngine.sign();
/libcore/ojluni/src/main/java/java/time/
H A DLocalDateTime.java1543 * @param sign the sign to determine add or subtract
1546 private LocalDateTime plusWithOverflow(LocalDate newDate, long hours, long minutes, long seconds, long nanos, int sign) { argument
1555 totDays *= sign; // total max*0.4237...
1561 totNanos = totNanos * sign + curNoD; // total 432000000000000

Completed in 253 milliseconds