Home
last modified time | relevance | path

Searched refs:bytesLeft (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DLimitedInputStream.cs46 private int bytesLeft; field in Google.Protobuf.LimitedInputStream
51 bytesLeft = size; in LimitedInputStream()
86 if (bytesLeft > 0) in Read()
88 int bytesRead = proxied.Read(buffer, offset, Math.Min(bytesLeft, count)); in Read()
89 bytesLeft -= bytesRead; in Read()
/external/sonivox/arm-wt-22k/lib_src/
Deas_pcm.c416 pState->bytesLeft += size; in EAS_PEContinueStream()
417 if (pState->bytesLeft > 0) in EAS_PEContinueStream()
926 pState->bytesLeft = pState->byteCount; in InitPCMStream()
1189 if (!pState->bytesLeft && pState->pCallback && ((pState->flags & PCM_FLAGS_EMPTY) == 0)) in RenderPCMStream()
1224 if (pState->bytesLeft == 0 || pState->state == EAS_STATE_STOPPING) in RenderPCMStream()
1263 if ((pState->bytesLeft == 0) && (pState->loopSamples != 0)) in LinearPCMDecode()
1267 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; in LinearPCMDecode()
1272 if (pState->bytesLeft) in LinearPCMDecode()
1293 pState->bytesLeft--; in LinearPCMDecode()
1312 pState->bytesLeft--; in LinearPCMDecode()
[all …]
Deas_imaadpcm.c121 if ((pState->bytesLeft == 0) && (pState->loopSamples != 0)) in IMADecoderSample()
126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; in IMADecoderSample()
133 if ((pState->blockSize != 0) && (pState->blockCount == 0) && (pState->bytesLeft != 0)) in IMADecoderSample()
168 pState->bytesLeft -= 8; in IMADecoderSample()
173 pState->bytesLeft -= 4; in IMADecoderSample()
180 if (pState->bytesLeft) in IMADecoderSample()
187 pState->bytesLeft--; in IMADecoderSample()
357 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x2380b977, 0x00000009 , pState->bytesLeft); in IMADecoderLocate()
Deas_pcmdata.h91 EAS_I32 bytesLeft; /* count of bytes left in stream */ member
/external/sonivox/arm-wt-22k/misc/
Deas_host.c311 EAS_I32 bytesLeft = n; in EAS_HWReadFile() local
324 for (;bytesLeft > 0;) in EAS_HWReadFile()
328 if (temp > bytesLeft) in EAS_HWReadFile()
329 temp = bytesLeft; in EAS_HWReadFile()
336 bytesLeft -= temp; in EAS_HWReadFile()
340 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) in EAS_HWReadFile()
349 if (bytesLeft) in EAS_HWReadFile()
358 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); in EAS_HWReadFile()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DRandomAccessFileInputStreamTest.java99 int bytesLeft = testData.length; in testRead_WithBuffer() local
102 while (bytesLeft > 0) { in testRead_WithBuffer()
105 bytesLeft -= numRead; in testRead_WithBuffer()
120 int bytesLeft = testData.length; in testRead_WithPartialBuffer() local
123 while (bytesLeft > 0) { in testRead_WithPartialBuffer()
126 bytesLeft -= numRead; in testRead_WithPartialBuffer()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDeltaFriendlyFile.java119 long bytesLeft = oldFileRafis.length() - lastReadOffset; in generateDeltaFriendlyFile() local
120 if (bytesLeft > 0) { in generateDeltaFriendlyFile()
121 oldFileRafis.setRange(lastReadOffset, bytesLeft); in generateDeltaFriendlyFile()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DBsUtil.java91 int bytesLeft = Math.min(length1, length2); in lexicographicalCompare() local
95 while (bytesLeft-- > 0) { in lexicographicalCompare()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c585 EAS_I32 bytesLeft = n; in EAS_HWReadFile() local
598 for (;bytesLeft > 0;) in EAS_HWReadFile()
602 if (temp > bytesLeft) in EAS_HWReadFile()
603 temp = bytesLeft; in EAS_HWReadFile()
611 bytesLeft -= temp; in EAS_HWReadFile()
614 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) in EAS_HWReadFile()
623 if (bytesLeft) in EAS_HWReadFile()
631 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); in EAS_HWReadFile()
DEASLib.c890 EAS_I32 bytesLeft = n; in EAS_HWReadFile() local
903 for (;bytesLeft > 0;) in EAS_HWReadFile()
907 if (temp > bytesLeft) in EAS_HWReadFile()
908 temp = bytesLeft; in EAS_HWReadFile()
916 bytesLeft -= temp; in EAS_HWReadFile()
919 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) in EAS_HWReadFile()
928 if (bytesLeft) in EAS_HWReadFile()
936 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); in EAS_HWReadFile()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java484 int bytesLeft = size;
485 while (bytesLeft > 0) {
486 end = Math.min(begin + bytesLeft, dataBuffer.size());
489 bytesLeft -= (end - begin);
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java563 final int bytesLeft = output.length - outputOffset; in updateInternal() local
564 if (bytesLeft < maximumLen) { in updateInternal()
566 + bytesLeft + " < " + maximumLen); in updateInternal()
592 final int bytesLeft = output.length - outputOffset; in doFinalInternal() local
594 if (bytesLeft >= maximumLen) { in doFinalInternal()
599 if (writtenBytes > bytesLeft) { in doFinalInternal()
601 + bytesLeft); in doFinalInternal()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipher.java570 final int bytesLeft = output.length - outputOffset; in updateInternal() local
571 if (bytesLeft < maximumLen) { in updateInternal()
573 + bytesLeft + " < " + maximumLen); in updateInternal()
599 final int bytesLeft = output.length - outputOffset; in doFinalInternal() local
601 if (bytesLeft >= maximumLen) { in doFinalInternal()
606 if (writtenBytes > bytesLeft) { in doFinalInternal()
608 + bytesLeft); in doFinalInternal()
/external/libcups/cups/
Dtls-sspi.c1126 int bytesLeft; /* Bytes left to write */ in _httpTLSWrite() local
1148 bytesLeft = len; in _httpTLSWrite()
1151 while (bytesLeft) in _httpTLSWrite()
1153 int chunk = min((int)sspi->streamSizes.cbMaximumMessage, bytesLeft); in _httpTLSWrite()
1209 bytesLeft -= chunk; in _httpTLSWrite()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1164 unsigned long bytesLeft; in mDNSPlatformReadTCP() local
1180 bytesLeft = ( DWORD ) ( sock->eptr - sock->bptr ); in mDNSPlatformReadTCP()
1182 if ( bytesLeft ) in mDNSPlatformReadTCP()
1184 unsigned long bytesToCopy = ( bytesLeft < inBufferSize ) ? bytesLeft : inBufferSize; in mDNSPlatformReadTCP()
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c166 unsigned long sizeData, bytesLeft; in GetOverlayInfo() local
181 &sizeData, &bytesLeft, in GetOverlayInfo()
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...