HomeSort by relevance Sort by last modified time
    Searched refs:inputOffset (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /frameworks/base/keystore/java/android/security/keystore/
KeyStoreCryptoOperationStreamer.java 37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException;
38 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
KeyStoreCryptoOperationChunkedStreamer.java 91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException {
107 input, inputOffset, inputBytesInChunk);
110 if ((mBufferedLength == 0) && (inputOffset == 0)
120 input, inputOffset, inputBytesInChunk);
124 inputOffset += inputBytesInChunk;
208 public byte[] doFinal(byte[] input, int inputOffset, int inputLength,
213 inputOffset = 0;
217 byte[] output = update(input, inputOffset, inputLength);
AndroidKeyStoreECDSASignatureSpi.java 73 public byte[] update(byte[] input, int inputOffset, int inputLength)
76 mInputBuffer.write(input, inputOffset, inputLength);
83 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
87 mInputBuffer.write(input, inputOffset, inputLength);
AndroidKeyStoreCipherSpiBase.java 320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
338 output = mMainDataStreamer.update(input, inputOffset, inputLen);
372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen);
425 protected final void engineUpdateAAD(byte[] input, int inputOffset, int inputLen) {
448 output = mAdditionalAuthenticationDataStreamer.update(input, inputOffset, inputLen);
470 int inputOffset;
474 inputOffset = src.arrayOffset() + src.position();
479 inputOffset = 0;
483 engineUpdateAAD(input, inputOffset, inputLen)
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
NullCipherSpi.java 79 protected byte[] engineUpdate(byte[] input, int inputOffset,
83 System.arraycopy(input, inputOffset, x, 0, inputLen);
87 protected int engineUpdate(byte[] input, int inputOffset,
91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen);
95 protected byte[] engineDoFinal(byte[] input, int inputOffset,
98 return engineUpdate(input, inputOffset, inputLen);
101 protected int engineDoFinal(byte[] input, int inputOffset,
105 return engineUpdate(input, inputOffset, inputLen,
Cipher.java     [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLSignatureRawRSA.java 50 private int inputOffset;
59 final int oldOffset = inputOffset++;
61 if (inputOffset > inputBuffer.length) {
71 final int oldOffset = inputOffset;
72 inputOffset += len;
74 if (inputOffset > inputBuffer.length) {
106 inputOffset = 0;
124 inputOffset = 0;
140 throw new SignatureException("input length " + inputOffset + " != "
146 NativeCrypto.RSA_private_encrypt(inputOffset, inputBuffer, outputBuffer
    [all...]
OpenSSLCipher.java 131 protected abstract int updateInternal(byte[] input, int inputOffset, int inputLen,
296 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
309 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen);
325 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
328 return updateInternal(input, inputOffset, inputLen, output, outputOffset, maximumLen);
332 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
341 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen);
367 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
378 bytesWritten = updateInternal(input, inputOffset, inputLen, output, outputOffset,
534 protected int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
PlanarYUVLuminanceSource.java 86 int inputOffset = top * dataWidth + left;
90 System.arraycopy(yuvData, inputOffset, matrix, 0, area);
98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width);
99 inputOffset += dataWidth;
114 int inputOffset = top * dataWidth + left;
119 int grey = yuv[inputOffset + x] & 0xff;
122 inputOffset += dataWidth;
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyCipher.java 100 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
105 protected int engineUpdate(byte[] input, int inputOffset, int inputLen,
111 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
117 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen,
  /external/skia/src/effects/
SkColorFilterImageFilter.cpp 63 SkIPoint inputOffset = SkIPoint::Make(0, 0);
64 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
73 inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(),
109 SkIntToScalar(inputOffset.fX - bounds.fLeft),
110 SkIntToScalar(inputOffset.fY - bounds.fTop),
SkDropShadowImageFilter.cpp 67 SkIPoint inputOffset = SkIPoint::Make(0, 0);
68 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
73 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(),
103 canvas->translate(SkIntToScalar(inputOffset.fX - bounds.fLeft),
104 SkIntToScalar(inputOffset.fY - bounds.fTop));
SkAlphaThresholdFilter.cpp 135 SkIPoint inputOffset = SkIPoint::Make(0, 0);
136 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
141 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(),
159 bounds.offset(-inputOffset);
225 SkIPoint srcOffset = { bounds.fLeft - inputOffset.fX, bounds.fTop - inputOffset.fY };
SkTileImageFilter.cpp 45 SkIPoint inputOffset = SkIPoint::Make(0, 0);
46 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
66 srcIRect.offset(-inputOffset);
93 SkIntToScalar(inputOffset.x()), SkIntToScalar(inputOffset.y()),
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java 52 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
54 return super.engineDoFinal(input, inputOffset, inputLen);
58 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
61 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset);
113 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
114 return super.engineUpdate(input, inputOffset, inputLen);
118 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
120 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset);
330 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) {
487 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)
    [all...]
CipherOutputStream1Test.java 271 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
276 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
282 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
286 engineDoFinal(input, inputOffset, inputLen, new byte[10], 0);
294 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseStreamCipher.java 327 int inputOffset,
332 cipher.processBytes(input, inputOffset, inputLen, out, 0);
339 int inputOffset,
352 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset);
365 int inputOffset,
370 byte[] out = engineUpdate(input, inputOffset, inputLen);
384 int inputOffset,
397 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset);
BaseWrapCipher.java 256 int inputOffset,
264 int inputOffset,
275 int inputOffset,
286 int inputOffset,
  /external/skia/src/core/
SkBlurImageFilter.cpp 116 SkIPoint inputOffset = SkIPoint::Make(0, 0);
118 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
123 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY,
152 return input->makeSubset(inputBounds.makeOffset(-inputOffset.x(),
153 -inputOffset.y()));
158 inputBounds.offset(-inputOffset);
159 dstBounds.offset(-inputOffset);
198 return input->makeSubset(inputBounds.makeOffset(-inputOffset.x(),
199 -inputOffset.y()))
    [all...]
SkMatrixImageFilter.cpp 51 SkIPoint inputOffset = SkIPoint::Make(0, 0);
52 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &inputOffset));
64 const SkIRect srcBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(),
  /external/v8/tools/turbolizer/
edge.js 41 var inputOffset = MINIMUM_EDGE_SEPARATION * (index + 1);
43 ? (target.x + target.getTotalNodeWidth() + inputOffset)
44 : (target.x - inputOffset)
  /tools/apksig/src/main/java/com/android/apksig/internal/zip/
ZipUtils.java 288 int inputOffset;
292 inputOffset = input.arrayOffset() + input.position();
296 inputOffset = 0;
300 crc32.update(inputBuf, inputOffset, inputLength);
304 deflater.setInput(inputBuf, inputOffset, inputLength);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
CipherSpi.java 412 int inputOffset,
415 bOut.write(input, inputOffset, inputLen);
437 int inputOffset,
442 bOut.write(input, inputOffset, inputLen);
464 int inputOffset,
470 bOut.write(input, inputOffset, inputLen);
493 int inputOffset,
501 bOut.write(input, inputOffset, inputLen);
  /libcore/luni/src/test/java/libcore/javax/crypto/
MockCipherSpi.java 254 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
259 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
265 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
271 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
MockMacSpi.java 78 protected void engineUpdate(byte[] input, int inputOffset, int inputLen) {

Completed in 781 milliseconds

1 2 3 4 5