HomeSort by relevance Sort by last modified time
    Searched defs:nRead (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/base/libs/utils/tests/
TestHelpers.h 54 ssize_t nRead = ::read(receiveFd, buf, 1);
55 return nRead == 1 ? 0 : nRead == 0 ? -EPIPE : -errno;
  /external/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) {
  /frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/
AAC_E_SAMPLES.c 147 int bytesLeft, nRead;
261 nRead = ReadFile2Buf(infile, inBuf,READ_SIZE);
262 bytesLeft = nRead;
  /external/expat/xmlwf/
xmlwin32url.cxx 189 DWORD nRead;
190 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead);
192 totalRead_ += nRead;
194 nRead,
  /frameworks/base/libs/ui/
InputTransport.cpp 165 ssize_t nRead;
167 nRead = ::read(mReceivePipeFd, outSignal, 1);
168 } while (nRead == -1 && errno == EINTR);
170 if (nRead == 1) {
177 if (nRead == 0) { // check for EOF
  /hardware/ti/omap4xxx/test/CameraHal/
camera_test_script.cpp 1059 size_t nRead = 0;
    [all...]
  /frameworks/base/libs/utils/
Looper.cpp 502 ssize_t nRead;
504 nRead = read(mWakeReadPipeFd, buffer, sizeof(buffer));
505 } while ((nRead == -1 && errno == EINTR) || nRead == sizeof(buffer));
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...]
  /external/yaffs2/yaffs2/direct/
yaffsfs.c 515 int nRead = -1;
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;
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
G722DecTest.c 852 int nRead = 0;
859 nRead = fread(pBufferHeader->pBuffer, 1, pBufferHeader->nAllocLen , fIn);
861 if (nRead != 0) {
862 totalRead += nRead;
863 pBufferHeader->nFilledLen = nRead;
867 APP_DPRINT ("%d :: App:: pBuffer->pBuffer = %p pBuffer->nAllocLen = * %ld, nRead = %d, totalread = %d\n",
868 __LINE__, pBufferHeader->pBuffer, pBufferHeader->nAllocLen, nRead, totalRead);
879 if(nRead < pBufferHeader->nAllocLen) {
885 pBufferHeader->nFilledLen = nRead;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
G722EncTest.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
G726DecTest.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
G729DecTest.c     [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 487 int nRead;
501 ReadFile(fIn, pBuf->pBuffer, lBuffUsed, &nRead, NULL);
503 nRead = fread(pBuf->pBuffer,1, lBuffUsed, fIn);
507 PRINT( "Read %d bytes from file\n", nRead);
509 pBuf->nFilledLen = nRead;
510 return nRead;
654 int nRead;
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
JPEGTestEnc.c 811 int nRead;
816 ReadFile(fIn, pBuf->pBuffer, lSize, &nRead, NULL);
818 nRead = fread(pBuf->pBuffer,1, buffSize , fIn);
821 printf ("Buffer Size = %d. Read %d bytes from file. \n", (int) buffSize, (int)nRead);
822 pBuf->nFilledLen = nRead;
834 return nRead;
    [all...]
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 165 ssize_t nRead = read(mDispatchKeyRead, &byteread, 1);
166 if (nRead == 1) {
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
G711DecTest.c     [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/g729_enc/tests/
G729EncTest.c 391 int nRead = 0;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
AmrEncTest.c 323 int nRead;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
WBAmrDecTest.c 227 int nRead=0;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/
WbAmrEncTest.c 307 int nRead;
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
WmaDecTest.c     [all...]
  /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/aac_enc/tests/
AacEncTest.c 527 int nRead = 0;
    [all...]

Completed in 813 milliseconds

1 2