Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp43 int nRead = 0; in read() local
44 while ((nRead < maxSize) && (mReadLoc.sIndex < mCount)) in read()
48 memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read()
49 nRead += size; in read()
59 return nRead; in read()
/external/valgrind/auxprogs/
Dvalgrind-di-server.c560 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/
Dmztools.c259 int nRead; variable
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/external/pdfium/core/fxcrt/
Dfx_extension.cpp225 size_t nRead = m_nGrowSize - (size_t)offset; in ReadBlock() local
226 if (nRead > size) { in ReadBlock()
227 nRead = size; in ReadBlock()
229 FXSYS_memcpy(buffer, m_Blocks[(int)nStartBlock] + (size_t)offset, nRead); in ReadBlock()
230 buffer = ((uint8_t*)buffer) + nRead; in ReadBlock()
231 size -= nRead; in ReadBlock()
242 size_t nRead = std::min(size, m_nCurSize - m_nCurPos); in ReadBlock() local
243 if (!ReadBlock(buffer, (int32_t)m_nCurPos, nRead)) { in ReadBlock()
246 return nRead; in ReadBlock()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifResourceDecoder.java103 int nRead; in inputStreamToBytes() local
105 while ((nRead = is.read(data)) != -1) { in inputStreamToBytes()
106 buffer.write(data, 0, nRead); in inputStreamToBytes()
/external/valgrind/coregrind/m_debuginfo/
Dimage.c157 Int nRead = 0; in my_read() local
159 if (nRead == len) return nRead; in my_read()
160 vg_assert(nRead < len); in my_read()
161 Int nNeeded = len - nRead; in my_read()
163 Int n = VG_(read)(fd, &buf[nRead], nNeeded); in my_read()
164 if (n <= 0) return nRead; /* error or EOF */ in my_read()
165 nRead += n; in my_read()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifDecoder.java320 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/pdfium/xfa/fde/
Dcfde_txtedtengine.cpp129 int32_t nRead = pStream->ReadString(lpwstr, nPlateSize, bEos); in SetTextByStream() local
130 bPreIsCR = ReplaceParagEnd(lpwstr, nRead, bPreIsCR); in SetTextByStream()
131 m_pTxtBuf->Insert(nIndex, lpwstr, nRead); in SetTextByStream()
132 nIndex += nRead; in SetTextByStream()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPath.inc785 DWORD nRead = 0;
786 BOOL ret = ReadFile(h, buf, len, &nRead, NULL);
789 if (!ret || nRead != len)
/external/sqlite/dist/orig/
Dshell.c3242 size_t nRead; in readFile() local
3250 nRead = fread(pBuf, nIn, 1, in); in readFile()
3252 if( nRead!=1 ){ in readFile()
Dsqlite3.c40367 DWORD nRead; /* Number of bytes actually read from file */
40403 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
40408 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
40420 if( nRead<(DWORD)amt ){
40422 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
47566 int nRead; /* Database pages read */
49872 PAGER_INCR(pPager->nRead);
53485 a[9] = pPager->nRead;
73812 int nRead = 0;
73818 if( p->bIsReader ) nRead++;
[all …]
/external/sqlite/dist/
Dshell.c3248 size_t nRead; in readFile() local
3256 nRead = fread(pBuf, nIn, 1, in); in readFile()
3258 if( nRead!=1 ){ in readFile()
Dsqlite3.c40367 DWORD nRead; /* Number of bytes actually read from file */
40403 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
40408 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
40420 if( nRead<(DWORD)amt ){
40422 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
47566 int nRead; /* Database pages read */
49872 PAGER_INCR(pPager->nRead);
53485 a[9] = pPager->nRead;
73812 int nRead = 0;
73818 if( p->bIsReader ) nRead++;
[all …]
/external/owasp/sanitizer/lib/htmlparser-1.3/
Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
/external/guice/extensions/struts2/lib/
Dant-1.6.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
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.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...