/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
D | Streams.java | 92 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully() local 93 if (numRead < 0) in readFully() 97 totalRead += numRead; in readFully() 113 int numRead; in pipeAll() local 114 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) in pipeAll() 116 outStr.write(bs, 0, numRead); in pipeAll() 133 int numRead; in pipeAllLimited() local 134 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0) in pipeAllLimited() 136 total += numRead; in pipeAllLimited() 141 outStr.write(bs, 0, numRead); in pipeAllLimited()
|
/external/libnfc-nci/halimpl/pn54x/tml/ |
D | phTmlNfc_i2c.c | 126 int numRead = 0; in phTmlNfc_i2c_read() local 168 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 171 numRead += ret_Read; in phTmlNfc_i2c_read() 193 if(numRead < totalBtyesToRead) in phTmlNfc_i2c_read() 195 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 196 if (ret_Read != totalBtyesToRead - numRead) in phTmlNfc_i2c_read() 203 numRead += ret_Read; in phTmlNfc_i2c_read() 214 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 217 numRead += ret_Read; in phTmlNfc_i2c_read() 235 return numRead; in phTmlNfc_i2c_read()
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.hpp | 350 int numRead = 0; in tryRead() local 356 return numRead; in tryRead() 358 while (numRead < numElements) in tryRead() 360 int ret = readFromCurrentBlock(numElements-numRead, &elements[numRead], false /* non-blocking */); in tryRead() 365 numRead += ret; in tryRead() 370 return numRead; in tryRead() 383 int numRead = 0; in read() local 384 while (numRead < numElements) in read() 385 numRead += readFromCurrentBlock(numElements-numRead, &elements[numRead], true /* blocking */); in read()
|
/external/libnfc-nxp/Linux_x86/ |
D | phDal4Nfc_i2c.c | 179 int numRead = 0; in phDal4Nfc_i2c_read() local 189 while (numRead < nNbBytesToRead) { in phDal4Nfc_i2c_read() 205 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead); in phDal4Nfc_i2c_read() 208 numRead += ret; in phDal4Nfc_i2c_read() 220 return numRead; in phDal4Nfc_i2c_read()
|
D | phDal4Nfc_uart.c | 299 int numRead = 0; in phDal4Nfc_uart_read() local 330 while (numRead < nNbBytesToRead) { in phDal4Nfc_uart_read() 350 ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead); in phDal4Nfc_uart_read() 352 ret = apply_errors(pBuffer + numRead, ret); in phDal4Nfc_uart_read() 355 numRead += ret; in phDal4Nfc_uart_read() 368 return numRead; in phDal4Nfc_uart_read()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ANTLRReaderStream.java | 73 int numRead=0; in load() local 82 numRead = r.read(data, p, readChunkSize); in load() 84 p += numRead; in load() 85 } while (numRead!=-1); // while not EOF in load()
|
/external/sonic/ |
D | Main.java | 36 int numRead, numWritten; in runSonic() local 45 numRead = audioStream.read(inBuffer, 0, bufferSize); in runSonic() 46 if(numRead <= 0) { in runSonic() 49 sonic.writeBytesToStream(inBuffer, numRead); in runSonic() 57 } while(numRead > 0); in runSonic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DefiniteLengthInputStream.java | 74 int numRead = _in.read(buf, off, toRead); in read() local 76 if (numRead < 0) in read() 81 if ((_remaining -= numRead) == 0) in read() 86 return numRead; in read()
|
D | ConstructedOctetStream.java | 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); in read() local 46 if (numRead >= 0) in read() 48 totalRead += numRead; in read()
|
D | IndefiniteLengthInputStream.java | 65 int numRead = _in.read(b, off + 2, len - 2); in read() local 67 if (numRead < 0) in read() 85 return numRead + 2; in read()
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
D | TestLogParser.java | 98 final int numRead = m_log.read(m_buffer, 0, Math.min(numAvailable, m_buffer.length)); in parse() local 100 assert numRead > 0; in parse() local 102 m_logRead += numRead; in parse() 105 nativeParse(m_nativePointer, m_instrumentation, m_buffer, numRead); in parse()
|
/external/deqp/framework/qphelper/ |
D | qpXmlWriter.c | 277 int numRead = deMin32(3, numBytes - srcNdx); in qpXmlWriter_writeBase64() local 279 deUint8 s1 = (numRead >= 2) ? data[srcNdx+1] : 0; in qpXmlWriter_writeBase64() 280 deUint8 s2 = (numRead >= 3) ? data[srcNdx+2] : 0; in qpXmlWriter_writeBase64() 283 srcNdx += numRead; in qpXmlWriter_writeBase64() 291 if (numRead < 3) d[3] = '='; in qpXmlWriter_writeBase64() 292 if (numRead < 2) d[2] = '='; in qpXmlWriter_writeBase64()
|
/external/deqp/execserver/ |
D | xsPosixFileReader.cpp | 69 deInt64 numRead = 0; in run() local 73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run() 80 m_buf.write((int)numRead, &tmpBuf[0]); in run()
|
D | xsTestDriver.cpp | 200 int numRead = 0; in pollBuffer() local 204 numRead = msgType == MESSAGETYPE_PROCESS_LOG_DATA in pollBuffer() 208 if (numRead <= 0) in pollBuffer() 211 msgSize += numRead; in pollBuffer()
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 92 int numRead = 0; in readBytes() local 94 while (numRead < numBytes) in readBytes() 96 int numLeft = numBytes - numRead; in readBytes() 98 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead); in readBytes() 103 numRead += curNumRead; in readBytes() 253 deInt64 numRead = 0; in run() local 255 while (deFile_read(m_curFile, &buf[0], (deInt64)sizeof(buf), &numRead) == DE_FILERESULT_SUCCESS) in run() 256 fwrite(&buf[0], 1, (size_t)numRead, stdout); in run() 961 deInt64 numRead = 0; 963 while (deFile_read(out, buf, sizeof(buf)-1, &numRead) == DE_FILERESULT_SUCCESS) [all …]
|
D | xsClient.cpp | 86 int numRead = 0; in readBytes() local 88 while (numRead < numBytes) in readBytes() 90 int numLeft = numBytes - numRead; in readBytes() 92 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead); in readBytes() 97 numRead += curNumRead; in readBytes()
|
/external/deqp/executor/tools/ |
D | xeBatchResultToJUnit.cpp | 73 int numRead = (int)in.gcount(); in parseBatchResult() local 75 if (numRead > 0) in parseBatchResult() 76 parser.parse(&buf[0], numRead); in parseBatchResult() 78 if (numRead < (int)sizeof(buf)) in parseBatchResult()
|
D | xeExtractSampleLists.cpp | 139 int numRead = 0; in processLogFile() local 147 numRead = (int)in.gcount(); in processLogFile() 149 if (numRead <= 0) in processLogFile() 152 parser.parse(&buf[0], numRead); in processLogFile()
|
D | xeCommandLineExecutor.cpp | 215 int numRead = (int)in.gcount(); in readCaseList() local 217 if (numRead > 0) in readCaseList() 218 caseListParser.parse(&buf[0], numRead); in readCaseList() 220 if (numRead < (int)sizeof(buf)) in readCaseList() 335 int numRead = 0; in readLogFile() local 340 numRead = (int)in.gcount(); in readLogFile() 342 if (numRead <= 0) in readLogFile() 345 parser.parse(&buf[0], numRead); in readLogFile()
|
D | xeMergeTestLogs.cpp | 129 int numRead = 0; in readLogFile() local 137 numRead = (int)in.gcount(); in readLogFile() 139 if (numRead <= 0) in readLogFile() 142 parser.parse(&buf[0], numRead); in readLogFile()
|
D | xeExtractShaderPrograms.cpp | 180 int numRead = 0; in extractShaderProgramsFromLogFile() local 188 numRead = (int)in.gcount(); in extractShaderProgramsFromLogFile() 190 if (numRead <= 0) in extractShaderProgramsFromLogFile() 193 parser.parse(&buf[0], numRead); in extractShaderProgramsFromLogFile()
|
/external/deqp/framework/delibs/destream/ |
D | deIOStream.h | 52 …Result (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead); 77 …eStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead); 95 …E deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead) in deIOStream_read() argument 101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead); in deIOStream_read()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRReaderStream.m | 89 int numRead=0; 92 numRead = [retData length]; 93 NSLog( @"read %d chars; p was %d is now %d", n, p1, (p1+numRead) ); 94 p1 += numRead;
|
D | ANTLRFileStream.m | 92 int numRead=0; 95 numRead = [retData length]; 97 NSLog( @"read %d chars; p was %d is now %d", n, p1, (p1+numRead) ); 98 p1 += numRead;
|
/external/deqp/framework/common/ |
D | tcuResource.cpp | 63 int numRead = (int)fread(dst, 1, numBytes, m_file); in read() local 64 TCU_CHECK(numRead == numBytes); in read()
|