Searched refs:sign (Results 76 - 100 of 114) sorted by relevance

12345

/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_impl.c224 int sign; member in struct:FILEFORMAT
252 if (c == formats[i].sign) {
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DGenerationTests.java205 sig.sign(dsc);
445 sig.sign(dsc);
492 sig.sign(dsc);
749 sig.sign(dsc);
818 sig.sign(dsc);
868 sig.sign(dsc);
964 sig.sign(dsc);
983 System.out.println("* Generating sign-spec.xml");
1060 sig.sign(dsc);
/openjdk7/jdk/test/sun/security/pkcs11/KeyStore/
H A DBasic.java205 // sign
208 // setAttribute, pkey, sign
211 testnum = Basic.sign(testnum);
216 testnum = Basic.sign(testnum);
220 // setAttribute, pkey, sign, skey, copy
223 testnum = Basic.sign(testnum);
236 } else if ("sign".equals(test)) {
237 Basic.sign(1);
247 testnum = Basic.sign(testnum);
254 private static int sign(in method in class:Basic
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/
H A DDatatypeConverterImpl.java86 int sign = 1;
97 sign = -1;
105 return r * sign;
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsplugin.c403 cmsFloat64Number floater, sign, mid; local
406 sign = (fix32 < 0 ? -1 : 1);
415 return sign * floater;
/openjdk7/hotspot/src/share/vm/opto/
H A Dstringopts.cpp1104 // char sign = 0;
1107 Node* sign = __ intcon(0); local
1110 // sign = '-';
1122 sign = new (C) PhiNode(merge, TypeInt::INT);
1123 kit.gvn().set_type(sign, TypeInt::INT);
1127 sign->init_req(1, __ intcon('-'));
1130 sign->init_req(2, __ intcon(0));
1136 C->record_for_igvn(sign);
1196 // if (sign != 0) {
1197 // buf [--charPos] = sign;
[all...]
H A Ddivnode.cpp133 // Add rounding to the shift to handle the sign bit
143 // Compute 0 or -1, based on sign bit
144 Node *sign = phase->transform(new (phase->C) RShiftINode(dividend, phase->intcon(N - 1))); local
145 // Mask sign bit to the low sign bits
146 Node *round = phase->transform(new (phase->C) URShiftINode(sign, phase->intcon(N - l)));
191 // Get a 0 or -1 from the sign of the dividend.
386 // Add rounding to the shift to handle the sign bit
396 // Compute 0 or -1, based on sign bit
397 Node *sign local
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmpi.h226 #define MP_SIGN(MP) ((MP)->sign)
237 mp_sign sign; /* sign of this quantity */ member in struct:__anon943
/openjdk7/jdk/src/share/classes/java/math/
H A DBigInteger.java61 * {@code or}, {@code xor}) implicitly perform sign extension on the shorter
73 * representation of their operand. If necessary, the operand is sign-
75 * operations can produce a BigInteger with a different sign from the
78 * are infinitely many "virtual sign bits" preceding each BigInteger.
221 * Translates the sign-magnitude representation of a BigInteger into a
222 * BigInteger. The sign is represented as an integer signum value: -1 for
252 * A constructor for internal use that translates the sign-magnitude
275 * consists of an optional minus or plus sign followed by a
298 // Check for at most one leading sign
299 int sign
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DFormatter.java96 * // parentheses rather than a minus sign. Group separators are
558 * <td> The result will always include a sign
863 * after the sign character, if any, and before the first non-zero digit, until
899 * the zero padding will occur after the sign.
920 * with leading zeros to the field width following any indication of sign.
942 * the field width with leading zeros after the radix indicator or sign (if
966 * before the sign.
975 * <td> Requires the output to include a positive sign for all positive
977 * include a sign.
994 * width following any sign o
[all...]
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMHMACSignatureMethod.java152 byte[] sign(Key key, DOMSignedInfo si, XMLSignContext context) method in class:DOMHMACSignatureMethod
H A DDOMXMLSignature.java318 public void sign(XMLSignContext signContext) method in class:DOMXMLSignature
397 val = ((DOMSignatureMethod) si.getSignatureMethod()).sign
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DSignatureBaseRSA.java143 return this._signatureAlgorithm.sign();
H A DSignatureDSA.java167 byte jcebytes[] = this._signatureAlgorithm.sign();
H A DSignatureECDSA.java256 byte jcebytes[] = this._signatureAlgorithm.sign();
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DX509CRLImpl.java415 public void sign(PrivateKey key, String algorithm) method in class:X509CRLImpl
418 sign(key, algorithm, null);
435 public void sign(PrivateKey key, String algorithm, String provider) method in class:X509CRLImpl
464 signature = sigEngine.sign();
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFloatingDecimal.java97 // the strategy is to shift until we get a non-zero sign bit
412 // discover and delete sign
429 isNegative = false; // NaN has no sign!
472 // discover and delete sign
489 isNegative = false; // NaN has no sign!
1050 return (potentialNaN ? new FloatingDecimal(Double.NaN) // NaN has no sign
1894 * We must isolate the sign, significand, and exponent
1895 * fields. The sign value is straightforward. Since
1900 * After extracting the sign, we normalized the
1917 // Extract significand sign
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DSignature.java89 * {@link #sign() sign} methods and the {@link #verify(byte[]) verify}
543 * <code>sign</code>.
551 public final byte[] sign() throws SignatureException { method in class:Signature
587 public final int sign(byte[] outbuf, int offset, int len) method in class:Signature
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/signature/
H A DXMLSignature.java77 * <li>sign and checkSignatureValue methods are used to sign and validate the
521 * @param signingKey the {@link java.security.PrivateKey} or {@link javax.crypto.SecretKey} that is used to sign.
524 public void sign(Key signingKey) throws XMLSignatureException { method in class:XMLSignature
550 byte jcebytes[] = sa.sign();
588 * @param cert Certificate that contains the public key part of the keypair that was used to sign.
612 * @param pk {@link java.security.PublicKey} part of the keypair or {@link javax.crypto.SecretKey} that was used to sign
656 //Have SignatureAlgorithm sign the input bytes and compare them to the
735 * @param cert Certificate to be included. This should be the certificate of the key that was used to sign.
/openjdk7/jdk/test/com/oracle/security/ucrypto/
H A DTestRSA.java392 out = sig1.sign();
400 byte[] out2 = sig2.sign();
/openjdk7/jdk/test/java/lang/invoke/
H A DInvokeGenericTest.java172 INITIAL_ARG_VAL = ONE_MILLION << 1; // <<1 makes space for sign bit;
176 long sign = -(val & 1); // alternate signs
184 return val ^ sign;
/openjdk7/jdk/test/sun/invoke/util/
H A DValueConversionsTest.java246 // Assuming that x is mostly zeroes, make those zeroes follow bit #62 (just below the sign).
249 long sign = -((x >>> MID_SIGN_BIT) & 1); // all ones or all zeroes
250 long flip = (sign >>> -MID_SIGN_BIT); // apply the sign below the mid-bit
257 // For better coverage of the neighborhood of zero, an internal sign bit is xored downward also.
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/
H A DSignatureAlgorithm.java169 * Proxy method for {@link java.security.Signature#sign()}
172 * @return the result of the {@link java.security.Signature#sign()} method
175 public byte[] sign() throws XMLSignatureException { method in class:SignatureAlgorithm
/openjdk7/jdk/src/share/classes/java/awt/
H A DFont.java1103 int sign = up ? -1 : 1;
1108 trans += sign * (ssinfo[newn] - ssinfo[n]);
1110 sign = -sign;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DHandshakeMessage.java599 signatureBytes = signature.sign();
742 signature = sig.sign();
1012 signatureBytes = sig.sign();
1559 signature = sig.sign();

Completed in 107 milliseconds

12345