HomeSort by relevance Sort by last modified time
    Searched full:inputlength (Results 1 - 25 of 66) sorted by null

1 2 3

  /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;
  /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);
  /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);
SensorHalService.java 282 int inputLength = keyValuePairs.length;
283 if (inputLength % 2 != 0) {
287 SparseIntArray map = new SparseIntArray(inputLength / 2);
  /frameworks/base/keystore/java/android/security/keystore/
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...]
KeyStoreCryptoOperationStreamer.java 37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException;
38 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
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,
  /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;
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidGZIPStreamTest.java 47 int inputLength = inFile.available();
48 zipData = new byte[inputLength];
49 if (inFile.read(zipData) != inputLength)
OldAndroidZipStreamTest.java 46 int inputLength = inFile.available();
47 zipData = new byte[inputLength];
48 if (inFile.read(zipData) != inputLength)
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
GenSec.c 618 UINT32 InputLength;
628 InputLength = 0;
642 &InputLength
646 FileBuffer = (UINT8 *) malloc (InputLength);
659 &InputLength
677 CompressedLength = InputLength;
708 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
721 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer + HeaderLength, &CompressedLength);
737 "the original section size is %d bytes and the compressed section size is %u bytes", (unsigned) InputLength, (unsigned) CompressedLength);
761 CompressionSect2->UncompressedLength = InputLength;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
GenSection.c 415 UINTN InputLength;
428 InputLength = 0;
440 &InputLength
444 FileBuffer = (UINT8 *) malloc (InputLength);
456 &InputLength
474 CompressedLength = InputLength;
493 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
501 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
535 CompressionSect.UncompressedLength = InputLength;
583 INTN InputLength;
    [all...]
  /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/tests/
PDFDeflateWStreamTest.cpp 53 size_t inputLength = src->getLength();
54 if (input == nullptr || inputLength == 0) {
60 flateData.avail_in = SkToUInt(inputLength);
  /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;
  /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());
  /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);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
MalformedInputExceptionTest.java 63 assertEquals("InputLength", initEx.getInputLength(), desrEx
UnmappableCharacterExceptionTest.java 64 assertEquals("InputLength", initEx.getInputLength(), desrEx
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
HanziToPinyin.java 144 final int inputLength = input.length();
153 for (int i = 0; i < inputLength; i++) {
  /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 199 final int inputLength = (otherLocales == null) ? 0 : otherLocales.mList.length;
201 for (int i = 0; i < inputLength; i++) {
208 final int outputLength = inputLength + (topLocaleIndex == -1 ? 1 : 0);
213 for (int i = 0; i < inputLength; i++) {
220 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];

Completed in 718 milliseconds

1 2 3