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

1 2 3 4 5 6

  /libcore/ojluni/src/main/java/java/nio/charset/
MalformedInputException.java 43 private int inputLength;
48 * @param inputLength the length of the input
50 public MalformedInputException(int inputLength) {
51 this.inputLength = inputLength;
59 return inputLength;
67 return "Input length = " + inputLength;
UnmappableCharacterException.java 43 private int inputLength;
48 * @param inputLength the length of the input
50 public UnmappableCharacterException(int inputLength) {
51 this.inputLength = inputLength;
59 return inputLength;
67 return "Input length = " + inputLength;
  /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,
AndroidKeyStoreECDSASignatureSpi.java 73 public byte[] update(byte[] input, int inputOffset, int inputLength)
75 if (inputLength > 0) {
76 mInputBuffer.write(input, inputOffset, inputLength);
77 mConsumedInputSizeBytes += inputLength;
83 public byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
85 if (inputLength > 0) {
86 mConsumedInputSizeBytes += inputLength;
87 mInputBuffer.write(input, inputOffset, inputLength);
KeyStoreCryptoOperationChunkedStreamer.java 91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException {
92 if (inputLength == 0) {
99 while (inputLength > 0) {
102 if ((mBufferedLength + inputLength) > mMaxChunkSize) {
111 && (inputLength == input.length)) {
118 inputBytesInChunk = inputLength;
125 inputLength -= inputBytesInChunk;
142 if (inputLength > 0) {
165 if (inputLength > 0) {
208 public byte[] doFinal(byte[] input, int inputOffset, int inputLength,
    [all...]
AndroidKeyStoreAuthenticatedAESCipherSpi.java 357 public byte[] update(byte[] input, int inputOffset, int inputLength)
359 byte[] output = mDelegate.update(input, inputOffset, inputLength);
371 public byte[] doFinal(byte[] input, int inputOffset, int inputLength,
373 byte[] output = mDelegate.doFinal(input, inputOffset, inputLength, signature,
  /packages/services/Car/service/src/com/android/car/hal/
BidirectionalSparseIntArray.java 35 int inputLength = keyValuePairs.length;
36 if (inputLength % 2 != 0) {
40 BidirectionalSparseIntArray biMap = new BidirectionalSparseIntArray(inputLength / 2);
  /external/icu/icu4c/source/samples/csdet/
csdet.c 33 int32_t inputLength, match, matchCount = 0;
51 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
56 ucsdet_setText(csd, buffer, inputLength, &status);
  /external/icu/icu4c/source/test/perf/utfperf/
utfperf.cpp 89 int32_t inputLength;
90 UPerfTest::getBuffer(inputLength, status);
127 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()),
148 int32_t inputLength;
178 pInLimit=input+inputLength;
213 if(inputLength!=outputLength) {
214 fprintf(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength);
242 pInLimit=input+inputLength;
  /tools/apksig/src/main/java/com/android/apksig/internal/zip/
ZipUtils.java 289 int inputLength = input.remaining();
295 inputBuf = new byte[inputLength];
300 crc32.update(inputBuf, inputOffset, inputLength);
304 deflater.setInput(inputBuf, inputOffset, inputLength);
311 return new DeflateResult(inputLength, crc32Value, out.toByteArray());
  /external/skia/tests/
PDFDeflateWStreamTest.cpp 53 size_t inputLength = src->getLength();
54 if (input == nullptr || inputLength == 0) {
60 flateData.avail_in = SkToUInt(inputLength);
  /external/skqp/tests/
PDFDeflateWStreamTest.cpp 53 size_t inputLength = src->getLength();
54 if (input == nullptr || inputLength == 0) {
60 flateData.avail_in = SkToUInt(inputLength);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java 308 public int engineGetOutputSize(int inputLength) {
309 return inputLength;
379 public int engineGetOutputSize(int inputLength) {
380 if (inputLength == testInputLength) {
382 } else if (inputLength == maxInternalArrayAllocation) {
385 throw new IllegalStateException("Unexpected value " + inputLength);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
HanziToPinyin.java 144 final int inputLength = input.length();
153 for (int i = 0; i < inputLength; i++) {
  /external/icu/icu4c/source/test/perf/utrie2perf/
utrie2perf.cpp 57 int32_t inputLength;
58 UPerfTest::getBuffer(inputLength, status);
59 if(U_SUCCESS(status) && inputLength>0) {
  /external/skia/src/core/
SkMD5.cpp 39 bool SkMD5::write(const void* buf, size_t inputLength) {
45 if (inputLength >= bufferAvailable) {
54 for (; inputIndex + 63 < inputLength; inputIndex += 64) {
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex);
65 this->byteCount += inputLength;
  /external/skqp/src/core/
SkMD5.cpp 39 bool SkMD5::write(const void* buf, size_t inputLength) {
45 if (inputLength >= bufferAvailable) {
54 for (; inputIndex + 63 < inputLength; inputIndex += 64) {
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex);
65 this->byteCount += inputLength;
  /frameworks/av/media/libmedia/
CharacterEncodingDetector.cpp 174 int32_t inputLength = strlen(s);
189 ucsdet_setText(csd, s, inputLength, &status);
191 const UCharsetMatch* bestSingleMatch = getPreferred(s, inputLength,
202 if (isPrintableAscii(s, inputLength)) {
206 ucsdet_setText(csd, s, inputLength, &status);
  /frameworks/base/core/java/android/os/
LocaleList.java 220 final int inputLength = (otherLocales == null) ? 0 : otherLocales.mList.length;
222 for (int i = 0; i < inputLength; i++) {
229 final int outputLength = inputLength + (topLocaleIndex == -1 ? 1 : 0);
234 for (int i = 0; i < inputLength; i++) {
241 for (int i = topLocaleIndex + 1; i < inputLength; i++) {
  /frameworks/support/compat/src/main/java/androidx/core/os/
LocaleListHelper.java 213 final int inputLength = (otherLocales == null) ? 0 : otherLocales.mList.length;
215 for (int i = 0; i < inputLength; i++) {
222 final int outputLength = inputLength + (topLocaleIndex == -1 ? 1 : 0);
227 for (int i = 0; i < inputLength; i++) {
234 for (int i = topLocaleIndex + 1; i < inputLength; i++) {
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CjkBreakEngine.java 94 int inputLength = endPos - startPos;
95 int[] charPositions = new int[inputLength + 1];
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CjkBreakEngine.java 93 int inputLength = endPos - startPos;
94 int[] charPositions = new int[inputLength + 1];
  /external/icu/icu4c/source/test/perf/unisetperf/
unisetperf.cpp 62 int32_t inputLength;
63 UPerfTest::getBuffer(inputLength, status);
64 if(U_SUCCESS(status) && inputLength>0) {
  /libcore/luni/src/test/java/libcore/java/util/
Base64Test.java 446 int inputLength = inputBuffer.remaining();
450 assertEquals(inputLength, inputBuffer.position());
452 assertEquals(inputLength, inputBuffer.limit());
698 int inputLength = inputBuffer.remaining();
702 assertEquals(inputLength, inputBuffer.position());
704 assertEquals(inputLength, inputBuffer.limit());
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_reduce.java     [all...]

Completed in 1636 milliseconds

1 2 3 4 5 6