Home
last modified time | relevance | path

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

12

/external/ltp/tools/netpipe-2.4/
DTCP.c121 int bytesLeft = len; in readFully() local
125 while (bytesLeft > 0 && in readFully()
126 (bytesRead = read(fd, (void *)buf, bytesLeft)) > 0) { in readFully()
127 bytesLeft -= bytesRead; in readFully()
162 int bytesWritten, bytesLeft; in SendData() local
165 bytesLeft = p->bufflen; in SendData()
168 while (bytesLeft > 0 && in SendData()
169 (bytesWritten = write(p->commfd, q, bytesLeft)) > 0) { in SendData()
170 bytesLeft -= bytesWritten; in SendData()
181 int bytesLeft; in RecvData() local
[all …]
/external/ltp/tools/netpipe-2.4-ipv6/
DTCP.c148 int bytesLeft = len; in readFully() local
152 while (bytesLeft > 0 && in readFully()
153 (bytesRead = read(fd, (void *)buf, bytesLeft)) > 0) { in readFully()
154 bytesLeft -= bytesRead; in readFully()
189 int bytesWritten, bytesLeft; in SendData() local
192 bytesLeft = p->bufflen; in SendData()
195 while (bytesLeft > 0 && in SendData()
196 (bytesWritten = write(p->commfd, q, bytesLeft)) > 0) { in SendData()
197 bytesLeft -= bytesWritten; in SendData()
208 int bytesLeft; in RecvData() local
[all …]
/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.java115 long bytesLeft = oldFileRafis.length() - lastReadOffset; in generateDeltaFriendlyFile() local
116 if (bytesLeft > 0) { in generateDeltaFriendlyFile()
117 oldFileRafis.setRange(lastReadOffset, bytesLeft); in generateDeltaFriendlyFile()
/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/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java538 final int bytesLeft = output.length - outputOffset; in updateInternal() local
539 if (bytesLeft < maximumLen) { in updateInternal()
541 + bytesLeft + " < " + maximumLen); in updateInternal()
567 final int bytesLeft = output.length - outputOffset; in doFinalInternal() local
569 if (bytesLeft >= maximumLen) { in doFinalInternal()
574 if (writtenBytes > bytesLeft) { in doFinalInternal()
576 + bytesLeft); in doFinalInternal()
/external/libcups/cups/
Dtls-sspi.c1125 int bytesLeft; /* Bytes left to write */ in _httpTLSWrite() local
1147 bytesLeft = len; in _httpTLSWrite()
1150 while (bytesLeft) in _httpTLSWrite()
1152 int chunk = min((int)sspi->streamSizes.cbMaximumMessage, bytesLeft); in _httpTLSWrite()
1208 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.c183 unsigned long sizeData, bytesLeft; in GetOverlayInfo() local
198 &sizeData, &bytesLeft, in GetOverlayInfo()
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v1/lib/main/
Dsqlite-jdbc-3.7.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...

12