/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
Input.cpp | 34 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;
|
/frameworks/native/libs/input/tests/ |
TestHelpers.h | 56 ssize_t nRead = ::read(receiveFd, buf, 1); 57 return nRead == 1 ? 0 : nRead == 0 ? -EPIPE : -errno;
|
/system/core/libutils/tests/ |
TestHelpers.h | 54 ssize_t nRead = ::read(receiveFd, buf, 1); 55 return nRead == 1 ? 0 : nRead == 0 ? -EPIPE : -errno;
|
/external/chromium_org/third_party/sqlite/src/src/ |
memjournal.c | 80 int nRead = iAmt; 102 int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset)); 105 nRead -= iSpace; 107 } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 );
|
test_demovfs.c | 221 int nRead; /* Return value from read() */ 239 nRead = read(p->fd, zBuf, iAmt); 241 if( nRead==iAmt ){ 243 }else if( nRead>=0 ){
|
recover.c | [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifResourceDecoder.java | 63 int nRead; 65 while ((nRead = is.read(data, 0, data.length)) != -1) { 66 buffer.write(data, 0, nRead);
|
/frameworks/base/core/java/com/android/internal/backup/ |
LocalTransport.java | 360 int nRead = mSocketInputStream.read(mFullBackupBuffer, 0, numBytes); 361 if (nRead < 0) { 366 mFullBackupOutputStream.write(mFullBackupBuffer, 0, nRead); 367 numBytes -= nRead; 617 int nRead; 619 nRead = mCurFullRestoreStream.read(mFullRestoreBuffer); 620 if (nRead < 0) { 622 nRead = NO_MORE_DATA; 623 } else if (nRead == 0) { 628 nRead = NO_MORE_DATA [all...] |
/external/pdfium/core/src/fxcrt/ |
extension.h | 228 size_t nRead = m_nGrowSize - (size_t)offset;
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);
252 if (!ReadBlock(buffer, (FX_INT32)m_nCurPos, nRead)) {
255 return nRead;
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 147 int bytesLeft, nRead; 261 nRead = ReadFile2Buf(infile, inBuf,READ_SIZE); 262 bytesLeft = nRead;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/ |
WmaDecTest.c | [all...] |
/external/chromium_org/third_party/zlib/contrib/minizip/ |
mztools.c | 249 int nRead; 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/ |
mztools.c | 259 int nRead; 261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { 262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
|
/external/valgrind/main/auxprogs/ |
valgrind-di-server.c | 539 SizeT nRead = 0; 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); 641 if (nRead <= 0) { /* EOF or error on the file; neither should happen * [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
G729EncTest.c | 391 int nRead = 0; [all...] |
/frameworks/base/core/jni/ |
android_view_InputQueue.cpp | 101 ssize_t nRead; 103 nRead = TEMP_FAILURE_RETRY(read(mDispatchReadFd, &byteread, sizeof(byteread))); 104 if (nRead < 0 && errno != EAGAIN) { 107 } while (nRead > 0);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
LayoutLibTestCallback.java | 108 int nRead; 110 while ((nRead = classInputStream.read(data, 0, data.length)) != -1) { 111 buffer.write(data, 0, nRead);
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.c | 504 int nRead = 0; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/ |
G726DecTest.c | [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/ |
G722EncTest.c | [all...] |
/system/core/libutils/ |
Looper.cpp | 391 ssize_t nRead; 393 nRead = read(mWakeReadPipeFd, buffer, sizeof(buffer)); 394 } while ((nRead == -1 && errno == EINTR) || nRead == sizeof(buffer));
|
/frameworks/base/libs/androidfw/ |
BackupHelpers.cpp | 688 ssize_t nRead = read(fd, buf, toRead); 689 if (nRead < 0) { 694 } else if (nRead == 0) { 704 ssize_t partial = (nRead+512) % 512; 707 memset(buf + nRead, 0, remainder); 708 nRead += remainder; 710 send_tarfile_chunk(writer, buf, nRead); 711 toWrite -= nRead; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
G726EncTest.c | 286 int nRead = 0; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
AacEncTest.c | 527 int nRead = 0; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/ |
G711DecTest.c | [all...] |