Home
last modified time | relevance | path

Searched refs:remainingBytes (Results 1 – 11 of 11) sorted by relevance

/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DASN1InputStream.java407 int remainingBytes = defIn.getRemaining(); in getBMPCharBuffer() local
408 if (0 != (remainingBytes & 1)) in getBMPCharBuffer()
413 char[] string = new char[remainingBytes / 2]; in getBMPCharBuffer()
417 while (remainingBytes >= 8) in getBMPCharBuffer()
429 remainingBytes -= 8; in getBMPCharBuffer()
431 if (remainingBytes > 0) in getBMPCharBuffer()
433 if (Streams.readFully(defIn, buf, 0, remainingBytes) != remainingBytes) in getBMPCharBuffer()
445 while (bufPos < remainingBytes); in getBMPCharBuffer()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1InputStream.java405 int remainingBytes = defIn.getRemaining(); in getBMPCharBuffer() local
406 if (0 != (remainingBytes & 1)) in getBMPCharBuffer()
411 char[] string = new char[remainingBytes / 2]; in getBMPCharBuffer()
415 while (remainingBytes >= 8) in getBMPCharBuffer()
427 remainingBytes -= 8; in getBMPCharBuffer()
429 if (remainingBytes > 0) in getBMPCharBuffer()
431 if (Streams.readFully(defIn, buf, 0, remainingBytes) != remainingBytes) in getBMPCharBuffer()
443 while (bufPos < remainingBytes); in getBMPCharBuffer()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1InputStream.java410 int remainingBytes = defIn.getRemaining(); in getBMPCharBuffer() local
411 if (0 != (remainingBytes & 1)) in getBMPCharBuffer()
416 char[] string = new char[remainingBytes / 2]; in getBMPCharBuffer()
420 while (remainingBytes >= 8) in getBMPCharBuffer()
432 remainingBytes -= 8; in getBMPCharBuffer()
434 if (remainingBytes > 0) in getBMPCharBuffer()
436 if (Streams.readFully(defIn, buf, 0, remainingBytes) != remainingBytes) in getBMPCharBuffer()
448 while (bufPos < remainingBytes); in getBMPCharBuffer()
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c71 …(EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_U32 *remainingBytes, EAS_I32 *valu…
525 EAS_U32 remainingBytes; in XMF_FindFileContents() local
539 remainingBytes = kInitialRemainingBytes; in XMF_FindFileContents()
542 &remainingBytes, in XMF_FindFileContents()
547 remainingBytes = fileLength + remainingBytes - kInitialRemainingBytes; in XMF_FindFileContents()
550 …if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &remainingBytes, &value)) != EAS_SUCCE… in XMF_FindFileContents()
552 if (value > remainingBytes) in XMF_FindFileContents()
556 remainingBytes -= value; in XMF_FindFileContents()
559 …if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &remainingBytes, &treeStart)) != EAS_S… in XMF_FindFileContents()
564 …if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &remainingBytes, &treeEnd)) != EAS_SUC… in XMF_FindFileContents()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSource.java83 int remainingBytes = endPosition - readPosition; in read() local
84 if (remainingBytes == 0) { in read()
87 readLength = Math.min(readLength, remainingBytes); in read()
/external/libese/libapdu/tests/
Dapdu_test.cpp178 TEST(ResponseApduTest, remainingBytes) { in TEST() argument
179 const std::vector<uint8_t> remainingBytes{0x61, 23}; in TEST() local
180 const ResponseApdu<std::vector<uint8_t>> apdu{remainingBytes}; in TEST()
181 ASSERT_EQ(23, apdu.remainingBytes()); in TEST()
/external/skia/src/codec/
DSkBmpRLECodec.cpp144 const size_t remainingBytes = fBytesBuffered - fCurrRLEByte; in checkForMoreData() local
151 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData()
154 buffer += remainingBytes; in checkForMoreData()
164 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData()
/external/skqp/src/codec/
DSkBmpRLECodec.cpp141 const size_t remainingBytes = fBytesBuffered - fCurrRLEByte; in checkForMoreData() local
148 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData()
151 buffer += remainingBytes; in checkForMoreData()
161 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java512 long remainingBytes = readFromLastBlock == 0 ? 0 in skipRemainderOfLastBlock() local
514 while (remainingBytes > 0) { in skipRemainderOfLastBlock()
519 remainingBytes -= skipped; in skipRemainderOfLastBlock()
/external/libese/libapdu/include/apdu/
Dapdu.h89 int8_t remainingBytes() const { return sw1() == BYTES_AVAILABLE ? sw2() : 0; } in remainingBytes() function
/external/zstd/lib/compress/
Dzstd_opt.c883 U32 currPosInBlock, U32 remainingBytes) { in ZSTD_optLdm_processMatchCandidate() argument
897 ZSTD_opt_getNextMatchAndUpdateSeqStore(optLdm, currPosInBlock, remainingBytes); in ZSTD_optLdm_processMatchCandidate()