Home
last modified time | relevance | path

Searched refs:numBytesRead (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Compatibility/
DStreamExtensions.cs59 int numBytesRead; in CopyTo()
60 while ((numBytesRead = source.Read(buffer, 0, buffer.Length)) > 0) { in CopyTo()
61 destination.Write(buffer, 0, numBytesRead); in CopyTo()
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/
DDataPipeConsumerHandleImpl.java67 public void endReadData(int numBytesRead) { in endReadData() argument
68 mCore.endReadData(this, numBytesRead); in endReadData()
DCoreImpl.java319 void endReadData(DataPipeConsumerHandleImpl handle, int numBytesRead) { in endReadData() argument
320 int result = nativeEndReadData(handle.getMojoHandle(), numBytesRead); in endReadData()
462 private static ResultAnd<Integer> newResultAndInteger(int mojoResult, int numBytesRead) { in newResultAndInteger() argument
463 return new ResultAnd<>(mojoResult, numBytesRead); in newResultAndInteger()
497 private native int nativeEndReadData(int mojoHandle, int numBytesRead); in nativeEndReadData() argument
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/
DTensorFlowInferenceInterface.java92 final int numBytesRead = is.read(graphDef); in TensorFlowInferenceInterface() local
93 if (numBytesRead != graphDef.length) { in TensorFlowInferenceInterface()
96 + numBytesRead in TensorFlowInferenceInterface()
142 int numBytesRead; in TensorFlowInferenceInterface() local
144 while ((numBytesRead = is.read(buf, 0, buf.length)) != -1) { in TensorFlowInferenceInterface()
145 baos.write(buf, 0, numBytesRead); in TensorFlowInferenceInterface()
/external/deqp/execserver/
DxsWin32TestProcess.cpp237 DWORD numBytesRead = 0; in run() local
270 if (!GetOverlappedResult(m_handle, &overlapped, &numBytesRead, FALSE)) in run()
294 if (numBytesRead == 0) in run()
297 offset += (deUint64)numBytesRead; in run()
311 m_dstBuf->write((int)numBytesRead, &tmpBuf[0]); in run()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java261 int numBytesRead = 0; in readData() local
263 while (numBytesRead < numBytes) { in readData()
269 numBytesRead++; in readData()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java260 int numBytesRead = 0; in readData() local
262 while (numBytesRead < numBytes) { in readData()
268 numBytesRead++; in readData()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java261 int numBytesRead = 0; in readData() local
263 while (numBytesRead < numBytes) { in readData()
269 numBytesRead++; in readData()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java261 int numBytesRead = 0; in readData() local
263 while (numBytesRead < numBytes) { in readData()
269 numBytesRead++; in readData()
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/
DDataPipe.java331 public void endReadData(int numBytesRead); in endReadData() argument
DInvalidHandle.java197 public void endReadData(int numBytesRead) { in endReadData() argument
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/
DHandleMock.java115 public void endReadData(int numBytesRead) { in endReadData() argument
/external/zstd/programs/
Dfileio.c2819 size_t const numBytesRead = fread(headerBuffer, 1, sizeof(headerBuffer), srcFile); in FIO_analyzeFrames() local
2820 if (numBytesRead < ZSTD_FRAMEHEADERSIZE_MIN(ZSTD_f_zstd1)) { in FIO_analyzeFrames()
2822 && (numBytesRead == 0) in FIO_analyzeFrames()
2840 U64 const frameContentSize = ZSTD_getFrameContentSize(headerBuffer, numBytesRead); in FIO_analyzeFrames()
2847 ERROR_IF(ZSTD_getFrameHeader(&header, headerBuffer, numBytesRead) != 0, in FIO_analyzeFrames()
2851 { size_t const headerSize = ZSTD_frameHeaderSize(headerBuffer, numBytesRead); in FIO_analyzeFrames()
2853 ERROR_IF(fseek(srcFile, ((long)headerSize)-((long)numBytesRead), SEEK_CUR) != 0, in FIO_analyzeFrames()
2889 long const seek = (long)(8 + frameSize - numBytesRead); in FIO_analyzeFrames()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1538 int numBytesRead = input.read(buffer, bufferPosition, length);
1539 if (numBytesRead == C.RESULT_END_OF_INPUT) {
1546 bufferPosition += numBytesRead;
1547 return numBytesRead;