/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 334 * java.security.Signature#sign() 340 sig.sign(); 445 byte[] signature = sig.sign(); 449 assertTrue("Sign/Verify does not pass", sig.verify(signature)); 459 byte[] signature = sig.sign(); 463 assertTrue("Sign/Verify does not pass", sig.verify(signature, 0,
|
SignatureTest.java | 159 assertEquals("state", MySignature1.SIGN, s.getState()); 193 assertEquals("state", MySignature1.SIGN, s.getState()); 208 * Class under test for byte[] sign() 213 s.sign(); 221 s.sign(); 227 s.sign(); 228 assertEquals("state", MySignature1.SIGN, s.getState()); 229 assertTrue("sign() failed", s.runEngineSign); 233 * Class under test for sign(byte[], offset, len) 239 s.sign(outbuf, 0, outbuf.length) [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Signature.java | 90 * {@link #sign() sign} methods and the {@link #verify(byte[]) verify} 240 protected final static int SIGN = 2; 608 state = SIGN; 626 state = SIGN; 639 * <code>sign</code>. 647 public final byte[] sign() throws SignatureException { method in class:Signature 648 if (state == SIGN) { 683 public final int sign(byte[] outbuf, int offset, int len) method in class:Signature 692 if (state != SIGN) { [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarDate.java | 464 char sign; local 467 sign = '+'; 470 sign = '-'; 473 sb.append(sign);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 137 int sign = 1; local 149 sign = -1; 153 oval.setRadiusY(Math.abs(x - oval.getCenterY() + sign * raddx)); 156 oval.setRadiusY(Math.abs(y - oval.getCenterY() + sign * raddy)); 160 sign = -1; 164 oval.setRadiusX(Math.abs(y - oval.getCenterX() + sign * raddy)); 167 oval.setRadiusX(Math.abs(x - oval.getCenterX() - sign * raddx));
|
/system/extras/verity/ |
Utils.java | 274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { method in class:Utils 278 return signer.sign();
|
/toolchain/binutils/binutils-2.25/opcodes/ |
hppa-dis.c | 204 /* Print constants with sign. */ 1101 int sign = GET_FIELD (insn, 31, 31); local 1105 if (sign) 1117 int sign = GET_FIELD (insn, 31, 31); local 1121 if (sign)
|
/art/disassembler/ |
disassembler_arm.cc | 352 int32_t imm32 = (imm26 << 6) >> 6; // Sign extend. 573 const char *sign = U ? "+" : "-"; local 575 args << "], #" << sign << (imm8 << 2); 577 args << ", #" << sign << (imm8 << 2) << "]"; 668 const char *sign = U ? "+" : "-"; local 670 args << "], #" << sign << imm8; 672 args << ", #" << sign << imm8 << "]"; 1408 const char* sign = is_signed ? "s" : ""; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
gdtoaimp.h | 476 int k, maxwds, sign, wds; member in struct:Bigint 487 #define Bcopy(x,y) memcpy_D2A(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int)) 489 #define Bcopy(x,y) memcpy(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int)) 590 int *decpt, int *sign, char **rve));
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
vfwprintf.c | 289 wchar_t sign; /* sign prefix (' ', '+', '-', or \0) */ local 298 * A: 'sign' holds this value if present; '\0' otherwise 487 sign = '\0'; 498 if (!sign) 499 sign = ' '; 525 sign = '+'; 617 sign = '\0'; 627 sign = '-'; 726 sign = '-' [all...] |
/build/tools/signapk/src/com/android/signapk/ |
ApkSignerV2.java | 118 * List of signature algorithms with which to sign (see {@code SIGNATURE_...} constants). 141 public static ByteBuffer[] sign( method in class:ApkSignerV2 218 // Sign the digests and wrap the signatures and signer info into an APK Signing Block. 480 signatureBytes = signature.sign(); 482 throw new InvalidKeyException("Failed sign using " + jcaSignatureAlgorithm, e); 485 throw new SignatureException("Failed sign using " + jcaSignatureAlgorithm, e); [all...] |
/cts/tests/tests/content/src/android/content/cts/util/ |
XmlUtils.java | 101 int sign = 1; local 107 sign = -1; 132 return Integer.parseInt(nm.substring(index), base) * sign; [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
CipherTest.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/util/ |
XmlUtils.java | 98 int sign = 1; local 104 sign = -1; 129 return Integer.parseInt(nm.substring(index), base) * sign; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
XmlUtils.java | 99 int sign = 1; local 105 sign = -1; 130 return Integer.parseInt(nm.substring(index), base) * sign; [all...] |
/external/aac/libAACdec/src/ |
aacdec_hcr.cpp | 1439 INT sign; local [all...] |
/external/aac/libSBRenc/src/ |
env_est.cpp | 416 INT sign; local 418 sign = nrgVal > 0 ? 1 : -1; 420 nrgVal *= sign; 435 return panTable[ampRes][maxIndex[ampRes]-1] + sign * panTable[ampRes][panIndex]; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
Dfp.java | 53 * n = sign × mant × (radix)<sup>exp</sup>;</p> 55 * where sign is ±1, mantissa represents a fractional number between 166 /** Sign bit: & for positive, -1 for negative. */ 167 protected byte sign; field in class:Dfp 183 sign = 1; 224 // set the sign 226 sign = -1; 229 sign = 1; 260 sign = 1; 288 sign = (byte) 1 [all...] |
/external/boringssl/src/crypto/ec/ |
p224-64.c | 946 u8 sign, digit; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 505 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 509 m_spec.source = "out0 = sign(in0);"; 815 const deUint32 sign = rnd.getUint32() & 0x1u; local 816 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; 896 const deUint32 sign = rnd.getUint32() & 0x1u; local 897 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 120 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 122 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 221 return (float32Representation.sign() == +1) ? (largestRepresentableValue) : (-largestRepresentableValue); 226 const tcu::Float32 targetRepresentation(tcu::Float32::constructBits(float32Representation.sign(), 583 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 587 m_spec.source = "out0 = sign(in0);"; 893 const deUint32 sign = rnd.getUint32() & 0x1u; local 894 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; 976 const deUint32 sign = rnd.getUint32() & 0x1u; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/118/1/.cp/lib/ |
jarprocessor-ant.jar | |
/external/freetype/src/autofit/ |
afcjk.c | 1420 FT_Int sign = 0; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 619 // fields[0] - sign 650 * offset time fields. The sign is set to fields[0] (-1 or 1), 661 int sign = 1; local 667 sign = -1; 750 fields[0] = sign;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 618 // fields[0] - sign 649 * offset time fields. The sign is set to fields[0] (-1 or 1), 660 int sign = 1; local 666 sign = -1; 749 fields[0] = sign;
|