/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Input.cpp | 62 size_t nRead = 0; in read() local 101 ++nRead; in read() 107 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read() 119 maxRead = nRead + size; // Stop reading right before the backslash. in read() 122 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read() 123 nRead += size; in read() 133 return nRead; in read()
|
/external/pdfium/core/fxcrt/ |
D | cfx_memorystream.cpp | 82 size_t nRead = std::min(size, m_nGrowSize - static_cast<size_t>(offset)); in ReadBlock() local 83 memcpy(buffer, m_Blocks[nStartBlock] + offset, nRead); in ReadBlock() 84 buffer = static_cast<uint8_t*>(buffer) + nRead; in ReadBlock() 85 size -= nRead; in ReadBlock() 96 size_t nRead = std::min(size, m_nCurSize - m_nCurPos); in ReadBlock() local 97 if (!ReadBlock(buffer, static_cast<int32_t>(m_nCurPos), nRead)) in ReadBlock() 100 return nRead; in ReadBlock()
|
/external/valgrind/auxprogs/ |
D | valgrind-di-server.c | 560 SizeT nRead = 0; in my_read() local 562 if (nRead == len) return nRead; in my_read() 563 assert(nRead < len); in my_read() 564 SizeT nNeeded = len - nRead; in my_read() 566 SSizeT n = read(fd, &buf[nRead], nNeeded); in my_read() 567 if (n <= 0) return nRead; /* error or EOF */ in my_read() 568 nRead += n; in my_read() 661 Int nRead = pread(fd, buf, avail, curr_off); in calc_gnu_debuglink_crc32() local 662 if (nRead <= 0) { /* EOF or error on the file; neither should happen */ in calc_gnu_debuglink_crc32() 668 assert(nRead == avail); in calc_gnu_debuglink_crc32() [all …]
|
/external/zlib/src/contrib/minizip/ |
D | mztools.c | 259 int nRead; variable 261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { 262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
D | GifResourceDecoder.java | 103 int nRead; in inputStreamToBytes() local 105 while ((nRead = is.read(data)) != -1) { in inputStreamToBytes() 106 buffer.write(data, 0, nRead); in inputStreamToBytes()
|
/external/expat/xmlwf/ |
D | xmlwin32url.cxx | 221 DWORD nRead; in OnDataAvailable() local 222 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead); in OnDataAvailable() 224 totalRead_ += nRead; in OnDataAvailable() 226 nRead, in OnDataAvailable()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | image.c | 220 Int nRead = 0; in my_read() local 222 if (nRead == len) return nRead; in my_read() 223 vg_assert(nRead < len); in my_read() 224 Int nNeeded = len - nRead; in my_read() 226 Int n = VG_(read)(fd, &buf[nRead], nNeeded); in my_read() 227 if (n <= 0) return nRead; /* error or EOF */ in my_read() 228 nRead += n; in my_read()
|
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
D | GifDecoder.java | 320 int nRead; in read() local 322 while ((nRead = is.read(data, 0, data.length)) != -1) { in read() 323 buffer.write(data, 0, nRead); in read()
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Path.inc | 785 DWORD nRead = 0; 786 BOOL ret = ReadFile(h, buf, len, &nRead, NULL); 789 if (!ret || nRead != len)
|
/external/sqlite/dist/ |
D | shell.c | 4383 int nRead, /* Number of bytes to read */ in zipfileReadData() argument 4389 n = fread(aRead, 1, nRead, pFile); in zipfileReadData() 4390 if( (int)n!=nRead ){ in zipfileReadData() 4510 int nRead; in zipfileCsrReadCDS() local 4512 nRead = pCsr->cds.nFile + pCsr->cds.nExtra; in zipfileCsrReadCDS() 4515 rc = zipfileReadData(pCsr->pFile, aRead, nRead, pCsr->iNextOff, pzErr); in zipfileCsrReadCDS() 4874 int nRead; /* Bytes to read from file */ in zipfileReadEOCD() local 4884 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD() 4885 iOff = szFile - nRead; in zipfileReadEOCD() 4887 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD() [all …]
|
D | sqlite3.c | 41390 DWORD nRead; /* Number of bytes actually read from file */ 41426 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){ 41431 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) && 41443 if( nRead<(DWORD)amt ){ 41445 memset(&((char*)pBuf)[nRead], 0, amt-nRead); 48670 int nRead; /* Database pages read */ 51029 PAGER_INCR(pPager->nRead); 54686 a[9] = pPager->nRead; 75463 int nRead = 0; 75469 if( p->bIsReader ) nRead++; [all …]
|
/external/sqlite/dist/orig/ |
D | shell.c | 4377 int nRead, /* Number of bytes to read */ in zipfileReadData() argument 4383 n = fread(aRead, 1, nRead, pFile); in zipfileReadData() 4384 if( (int)n!=nRead ){ in zipfileReadData() 4504 int nRead; in zipfileCsrReadCDS() local 4506 nRead = pCsr->cds.nFile + pCsr->cds.nExtra; in zipfileCsrReadCDS() 4509 rc = zipfileReadData(pCsr->pFile, aRead, nRead, pCsr->iNextOff, pzErr); in zipfileCsrReadCDS() 4868 int nRead; /* Bytes to read from file */ in zipfileReadEOCD() local 4878 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD() 4879 iOff = szFile - nRead; in zipfileReadEOCD() 4881 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD() [all …]
|
D | sqlite3.c | 41390 DWORD nRead; /* Number of bytes actually read from file */ 41426 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){ 41431 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) && 41443 if( nRead<(DWORD)amt ){ 41445 memset(&((char*)pBuf)[nRead], 0, amt-nRead); 48670 int nRead; /* Database pages read */ 51029 PAGER_INCR(pPager->nRead); 54686 a[9] = pPager->nRead; 75463 int nRead = 0; 75469 if( p->bIsReader ) nRead++; [all …]
|