Searched defs:numRead (Results 1 - 25 of 35) sorted by relevance

12

/external/deqp/execserver/
H A DxsPosixFileReader.cpp69 deInt64 numRead = 0; local
73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead);
80 m_buf.write((int)numRead, &tmpBuf[0]);
H A DxsTestDriver.cpp200 int numRead = 0; local
204 numRead = msgType == MESSAGETYPE_PROCESS_LOG_DATA
208 if (numRead <= 0)
211 msgSize += numRead;
H A DxsPosixTestProcess.cpp124 deInt64 numRead = 0; local
128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead);
135 m_buf->write((int)numRead, &tmpBuf[0]);
/external/deqp/executor/tools/
H A DxeExtractSampleLists.cpp139 int numRead = 0; local
147 numRead = (int)in.gcount();
149 if (numRead <= 0)
152 parser.parse(&buf[0], numRead);
H A DxeBatchResultToJUnit.cpp73 int numRead = (int)in.gcount(); local
75 if (numRead > 0)
76 parser.parse(&buf[0], numRead);
78 if (numRead < (int)sizeof(buf))
H A DxeMergeTestLogs.cpp129 int numRead = 0; local
137 numRead = (int)in.gcount();
139 if (numRead <= 0)
142 parser.parse(&buf[0], numRead);
H A DxeExtractShaderPrograms.cpp180 int numRead = 0; local
188 numRead = (int)in.gcount();
190 if (numRead <= 0)
193 parser.parse(&buf[0], numRead);
H A DxeExtractValues.cpp202 int numRead = 0; local
210 numRead = (int)in.gcount();
212 if (numRead <= 0)
215 parser.parse(&buf[0], numRead);
H A DxeBatchResultToXml.cpp118 int numRead = (int)in.gcount(); local
120 if (numRead > 0)
121 parser.parse(&buf[0], numRead);
123 if (numRead < (int)sizeof(buf))
H A DxeCommandLineExecutor.cpp215 int numRead = (int)in.gcount(); local
217 if (numRead > 0)
218 caseListParser.parse(&buf[0], numRead);
220 if (numRead < (int)sizeof(buf))
335 int numRead = 0; local
340 numRead = (int)in.gcount();
342 if (numRead <= 0)
345 parser.parse(&buf[0], numRead);
H A DxeTestLogCompare.cpp183 int numRead = 0; local
188 numRead = (int)in.gcount();
190 if (numRead <= 0)
193 parser.parse(&buf[0], numRead);
/external/deqp/framework/common/
H A DtcuResource.cpp63 int numRead = (int)fread(dst, 1, numBytes, m_file); local
64 TCU_CHECK(numRead == numBytes);
/external/deqp/framework/delibs/destream/
H A DdeFileStream.c34 static deStreamResult fileIOStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
41 *numRead = (deInt32)_numRead;
H A DdeThreadStream.c83 static deStreamResult threadInStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
86 return deInStream_read(&(threadStream->consumerStream), buf, bufSize, numRead);
H A DdeIOStream.h52 typedef deStreamResult (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead);
77 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead);
95 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead);
/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc_i2c.c179 int numRead = 0; local
189 while (numRead < nNbBytesToRead) {
205 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
208 numRead += ret;
220 return numRead;
H A DphDal4Nfc_uart.c299 int numRead = 0; local
330 while (numRead < nNbBytesToRead) {
350 ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
352 ret = apply_errors(pBuffer + numRead, ret);
355 numRead += ret;
368 return numRead;
/external/libnfc-nci/halimpl/pn54x/tml/
H A DphTmlNfc_i2c.c118 ** Returns numRead - number of successfully read bytes
126 int numRead = 0; local
168 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
171 numRead += ret_Read;
193 if(numRead < totalBtyesToRead)
195 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
196 if (ret_Read != totalBtyesToRead - numRead)
203 numRead += ret_Read;
214 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead);
[all...]
/external/deqp/execserver/tools/
H A DxsClient.cpp86 int numRead = 0; local
88 while (numRead < numBytes)
90 int numLeft = numBytes - numRead;
92 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead);
97 numRead += curNumRead;
/external/deqp/executor/
H A DxeTestLogWriter.cpp206 int numRead = de::min(3, numBytes - srcNdx); local
208 deUint8 s1 = (numRead >= 2) ? data[srcNdx+1] : 0;
209 deUint8 s2 = (numRead >= 3) ? data[srcNdx+2] : 0;
212 srcNdx += numRead;
219 if (numRead < 3) d[3] = '=';
220 if (numRead < 2) d[2] = '=';
/external/deqp/framework/delibs/decpp/
H A DdeBlockBuffer.cpp78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); local
80 for (int ndx = 0; ndx < numRead; ndx++)
89 if (ndx+1 < numRead)
91 m_buffer.write(numRead-ndx-1, &tmpBuf[ndx+1]);
H A DdeBlockBuffer.hpp350 int numRead = 0; local
356 return numRead;
358 while (numRead < numElements)
360 int ret = readFromCurrentBlock(numElements-numRead, &elements[numRead], false /* non-blocking */);
365 numRead += ret;
370 return numRead;
383 int numRead = 0; local
384 while (numRead < numElements)
385 numRead
[all...]
/external/deqp/framework/delibs/deutil/
H A DdeFile.c188 deInt64 numRead = read(file->fd, buf, bufSize); local
191 *numReadPtr = numRead;
193 return mapReadWriteResult(numRead);
/external/deqp/framework/qphelper/
H A DqpXmlWriter.c277 int numRead = deMin32(3, numBytes - srcNdx); local
279 deUint8 s1 = (numRead >= 2) ? data[srcNdx+1] : 0;
280 deUint8 s2 = (numRead >= 3) ? data[srcNdx+2] : 0;
283 srcNdx += numRead;
291 if (numRead < 3) d[3] = '=';
292 if (numRead < 2) d[2] = '=';
/external/sonic/
H A Dwave.c103 int numRead; local
108 numRead = fread(bytes, sizeof(char), length, file->soundFile);
109 if(numRead != length) {

Completed in 355 milliseconds

12