Searched defs:sign (Results 26 - 42 of 42) sorted by relevance

12

/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/src/solaris/native/java/util/
H A DTimeZone_md.c687 char sign, buf[16]; local
696 sign = "+";
699 sign = "-";
702 sign, (int)(offset/3600), (int)((offset%3600)/60));
711 char sign, buf[32]; local
732 sign = '-';
735 sign = '+';
738 sign, (int)(offset/3600), (int)((offset%3600)/60));
/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;
H A Dcmscgats.c635 int sign = 1; local
639 sign = (*Buffer == '-') ? -1 : 1;
701 return sign * dnum;
743 int sign = 1; local
746 sign = -1;
807 it8->dnum *= sign;
819 it8->dnum *= sign;
823 it8 -> inum *= sign;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DAbstractDateTimeDV.java271 //find UTC sign if any
272 int sign = findUTCSign(buffer, start, end);
276 stop = sign < 0 ? end : sign;
280 if (sign > 0) {
281 getTimeZone(buffer, data, sign, end);
299 throw new RuntimeException("CCYY-MM must be followed by '-' sign");
318 // REVISIT: date starts with preceding '-' sign
335 throw new RuntimeException("CCYY must be followed by '-' sign");
344 * Shared code from Date and YearMonth datatypes. Finds if time zone sign i
371 getTimeZone(String buffer, DateTimeData data, int sign, int end) argument
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DSimpleDateFormat.java451 * The minus sign to be used with format and parse.
456 * True when a negative sign follows a number.
1423 // In Arabic, a minus sign for a negative number is put after
1424 // the number. Even in another locale, a minus sign can be
1426 // If both the minus sign and the field-delimiter are '-',
1428 // in the given text is a delimiter or is a minus sign for the
1662 * @param sign 1: positive; -1: negative
1668 private int subParseNumericZone(String text, int start, int sign, int count, argument
1719 calb.set(Calendar.ZONE_OFFSET, minutes * MILLIS_PER_MINUTE * sign)
1977 int sign
[all...]
/openjdk7/hotspot/src/share/vm/opto/
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...]
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 DloopTransform.cpp1561 Node* sign = new (C) RShiftINode(offset, shift); local
1562 register_new_node(sign, pre_ctrl);
1563 offset = new (C) AndINode(offset, sign);
1614 Node* sign = new (C) RShiftINode(plus_one, shift); local
1615 register_new_node(sign, pre_ctrl);
1616 plus_one = new (C) AndINode(plus_one, sign);
/openjdk7/jdk/src/windows/native/java/util/
H A DTimeZone_md.c130 int sign; local
134 sign = -1;
137 sign = 1;
141 ((sign >= 0) ? '+' : '-'),
/openjdk7/jdk/test/java/awt/regtesthelpers/
H A DUtil.java380 private static int sign(int n) { method in class:Util
/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();
H A DX509CertImpl.java125 // when we sign and decode we set this to true
477 public void sign(PrivateKey key, String algorithm) method in class:X509CertImpl
480 sign(key, algorithm, null);
500 public void sign(PrivateKey key, String algorithm, String provider) method in class:X509CertImpl
530 signature = sigEngine.sign();
/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/javax/swing/plaf/basic/
H A DBasicTableUI.java201 // look at the sign of dx and dy only
202 dx = sign(dx);
203 dy = sign(dy);
231 private static int sign(int num) { method in class:BasicTableUI.Actions
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dassembler_x86.cpp236 assert((op1 & 0x02) == 0, "sign-extension bit should not be set");
238 emit_byte(op1 | 0x02); // set sign bit
252 assert((op1 & 0x02) == 0, "sign-extension bit should not be set");
261 assert((op1 & 0x02) == 0, "sign-extension bit should not be set");
263 emit_byte(op1 | 0x02); // set sign bit
277 assert((op1 & 0x02) == 0, "sign-extension bit should not be set");
2807 // doesn't support sign-extension of
5431 // doesn't support sign-extension of
6725 // Used in sign-masking with aligned address.
6736 // Used in sign
9925 char sign = (_ex < 0) ? '-' : '+'; local
9988 bool sign() const { return ((_value >> 7) & 1) != 0; } function in class:Flag_Register
[all...]

Completed in 122 milliseconds

12