Searched refs:nRead (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DInput.cpp34 size_t nRead = 0;
35 while ((nRead < maxSize) && (mReadLoc.sIndex < mCount))
39 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size);
40 nRead += size;
50 return nRead;
/external/chromium_org/third_party/sqlite/src/src/
H A Dmemjournal.c80 int nRead = iAmt; local
102 int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset));
105 nRead -= iSpace;
107 } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 );
H A Dtest_demovfs.c221 int nRead; /* Return value from read() */ local
239 nRead = read(p->fd, zBuf, iAmt);
241 if( nRead==iAmt ){
243 }else if( nRead>=0 ){
H A Drecover.c1303 unsigned nRead; /* Amount of cell read. */ local
1340 nRead = getVarint(pCell, &nRecordBytes);
1341 assert( iCellOffset+nRead<=pCursor->nPageSize );
1344 nRead += getVarint(pCell + nRead, &iRowid);
1345 assert( iCellOffset+nRead<=pCursor->nPageSize );
1348 pCursor->iRecordOffset = iCellOffset + nRead;
1370 nRecordHeaderRead = getVarint(pCell + nRead, &nRecordHeaderBytes);
1432 unsigned nRead; /* Bytes read from header. */ local
1459 nRead
[all...]
H A Dos_win.c714 DWORD nRead; /* Number of bytes actually read from file */ local
723 if( !ReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
727 if( nRead<(DWORD)amt ){
729 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
H A Dtclsqlite.c219 int nRead = bufSize; /* Number of bytes to read */ local
224 if( (p->iSeek+nRead)>nBlob ){
225 nRead = nBlob-p->iSeek;
227 if( nRead<=0 ){
231 rc = sqlite3_blob_read(p->pBlob, (void *)buf, nRead, p->iSeek);
237 p->iSeek += nRead;
238 return nRead;
H A Dpager.c675 int nRead, nWrite; /* Database pages read/written */ member in struct:Pager
2846 PAGER_INCR(pPager->nRead);
6098 a[9] = pPager->nRead;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifResourceDecoder.java63 int nRead;
65 while ((nRead = is.read(data, 0, data.length)) != -1) {
66 buffer.write(data, 0, nRead);
/external/pdfium/core/src/fxcrt/
H A Dextension.h228 size_t nRead = m_nGrowSize - (size_t)offset; local
229 if (nRead > size) {
230 nRead = size;
232 FXSYS_memcpy32(buffer, (FX_LPBYTE)m_Blocks[(int)nStartBlock] + (size_t)offset, nRead);
233 buffer = ((FX_LPBYTE)buffer) + nRead;
234 size -= nRead;
251 size_t nRead = FX_MIN(size, m_nCurSize - m_nCurPos); local
252 if (!ReadBlock(buffer, (FX_INT32)m_nCurPos, nRead)) {
255 return nRead;
/external/chromium_org/third_party/zlib/contrib/minizip/
H A Dmztools.c249 int nRead; local
251 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
252 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/external/zlib/src/contrib/minizip/
H A Dmztools.c259 int nRead; local
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/external/valgrind/main/auxprogs/
H A Dvalgrind-di-server.c539 SizeT nRead = 0; local
541 if (nRead == len) return nRead;
542 assert(nRead < len);
543 SizeT nNeeded = len - nRead;
545 SSizeT n = read(fd, &buf[nRead], nNeeded);
546 if (n <= 0) return nRead; /* error or EOF */
547 nRead += n;
640 Int nRead = pread(fd, buf, avail, curr_off); local
641 if (nRead <
807 size_t nRead = pread(conn_state[conn_no].file_fd, local
[all...]
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.c515 int nRead = -1; local
547 nRead = yaffs_ReadDataFromFile(obj,buf,pos,nbyte);
548 if(nRead >= 0)
550 h->position = pos + nRead;
559 nRead = 0;
567 return (nRead >= 0) ? nRead : -1;
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
H A DGifDecoder.java263 int nRead;
265 while ((nRead = is.read(data, 0, data.length)) != -1) {
266 buffer.write(data, 0, nRead);
/external/valgrind/main/coregrind/m_debuginfo/
H A Dimage.c155 Int nRead = 0; local
157 if (nRead == len) return nRead;
158 vg_assert(nRead < len);
159 Int nNeeded = len - nRead;
161 Int n = VG_(read)(fd, &buf[nRead], nNeeded);
162 if (n <= 0) return nRead; /* error or EOF */
163 nRead += n;
/external/chromium_org/third_party/sqlite/src/ext/async/
H A Dsqlite3async.c686 sqlite3_int64 nRead; local
691 nRead = MIN(filesize - iOffset, iAmt64);
692 if( nRead>0 ){
693 rc = pBase->pMethods->xRead(pBase, zOut, (int)nRead, iOffset);
694 ASYNC_TRACE(("READ %s %d bytes at %d\n", p->zName, nRead, iOffset));
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c31833 DWORD nRead; /* Number of bytes actually read from file */ local
37105 int nRead, nWrite; /* Database pages read/written */ member in struct:Pager
69216 int nRead = iAmt; local
111543 unsigned nRead; /* Amount of cell read. */ local
111672 unsigned nRead; /* Bytes read from header. */ local
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c34443 DWORD nRead; /* Number of bytes actually read from file */ local
40935 int nRead; /* Database pages read */ member in struct:Pager
64372 int nRead = 0; local
75192 int nRead; /* Bytes to read from disk */ local
75345 int nRead = nBuf - iBuf; local
76428 int nRead = iAmt; local
137946 int nRead; /* Number of bytes to read */ local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c34463 DWORD nRead; /* Number of bytes actually read from file */ local
40955 int nRead; /* Database pages read */ member in struct:Pager
64392 int nRead = 0; local
75212 int nRead; /* Bytes to read from disk */ local
75365 int nRead = nBuf - iBuf; local
76448 int nRead = iAmt; local
137978 int nRead; /* Number of bytes to read */ local
[all...]
/external/owasp/sanitizer/lib/htmlparser-1.3/
H A Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...
H A Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 784 milliseconds