Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkmread.c117 register int i, nRead = 0; in XkmSkipPadding() local
121 nRead++; in XkmSkipPadding()
123 return nRead; in XkmSkipPadding()
129 int count, nRead = 0; in XkmGetCountedString() local
131 count = XkmGetCARD16(file, &nRead); in XkmGetCountedString()
147 nRead += tmp; in XkmGetCountedString()
153 count = XkbPaddedSize(nRead) - nRead; in XkmGetCountedString()
155 nRead += XkmSkipPadding(file, count); in XkmGetCountedString()
156 return nRead; in XkmGetCountedString()
166 int nRead = 0; in ReadXkmVirtualMods() local
[all …]
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpdump.c449 int nRead = 0; in Download() local
517 nRead = RTMP_Read(rtmp, buffer, bufferSize); in Download()
519 if (nRead > 0) in Download()
521 if (fwrite(buffer, sizeof(unsigned char), nRead, file) != in Download()
522 (size_t) nRead) in Download()
528 size += nRead; in Download()
593 while (!RTMP_ctrlC && nRead > -1 && RTMP_IsConnected(rtmp) && !RTMP_IsTimedout(rtmp)); in Download()
595 if (nRead < 0) in Download()
596 nRead = rtmp->m_read.status; in Download()
616 RTMP_Log(RTMP_LOGDEBUG, "RTMP_Read returned: %d", nRead); in Download()
[all …]
H A Drtmpgw.c339 size_t nRead = 0; in processTCPrequest() local
373 nRead = recv(sockfd, header, 2047, 0); in processTCPrequest()
388 if (strncmp(header, "GET", 3) == 0 && nRead > 4) in processTCPrequest()
590 int nRead = 0; in processTCPrequest() local
594 nRead = RTMP_Read(&rtmp, buffer, PACKET_SIZE); in processTCPrequest()
596 if (nRead > 0) in processTCPrequest()
598 if ((nWritten = send(sockfd, buffer, nRead, 0)) < 0) in processTCPrequest()
605 size += nRead; in processTCPrequest()
634 while (server->state == STREAMING_IN_PROGRESS && nRead > -1 in processTCPrequest()
/OK3568_Linux_fs/external/xserver/hw/xfree86/i2c/
H A Dxf86i2c.c411 I2CByte * WriteBuffer, int nWrite, I2CByte * ReadBuffer, int nRead) in I2CWriteRead() argument
427 if (r && nRead > 0) { in I2CWriteRead()
430 for (; nRead > 0; ReadBuffer++, nRead--) in I2CWriteRead()
431 if (!(r = b->I2CGetByte(d, ReadBuffer, nRead == 1))) in I2CWriteRead()
448 I2CByte * ReadBuffer, int nRead) in xf86I2CWriteRead() argument
452 return b->I2CWriteRead(d, WriteBuffer, nWrite, ReadBuffer, nRead); in xf86I2CWriteRead()
H A Dxf86i2c.h50 I2CByte * ReadBuffer, int nRead);
98 int nRead);
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Drtmp.c1405 int nBytes = 0, nRead; in ReadN() local
1458 nRead = ((n < avail) ? n : avail); in ReadN()
1459 if (nRead > 0) in ReadN()
1461 memcpy(ptr, r->m_sb.sb_start, nRead); in ReadN()
1462 r->m_sb.sb_start += nRead; in ReadN()
1463 r->m_sb.sb_size -= nRead; in ReadN()
1464 nBytes = nRead; in ReadN()
1465 r->m_nBytesIn += nRead; in ReadN()
4983 int nRead = 0, total = 0; in RTMP_Read() local
5015 nRead = Read_1_Packet(r, r->m_read.buf, r->m_read.buflen); in RTMP_Read()
[all …]
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffsfs.c1073 int nRead = 0; in yaffsfs_do_read() local
1138 nRead = 0; in yaffsfs_do_read()
1140 nRead = yaffs_file_rd(obj, buf, pos, nToRead); in yaffsfs_do_read()
1142 if (nRead > 0) { in yaffsfs_do_read()
1143 totalRead += nRead; in yaffsfs_do_read()
1144 pos += nRead; in yaffsfs_do_read()
1145 buf += nRead; in yaffsfs_do_read()
1148 if (nRead == nToRead) in yaffsfs_do_read()
1149 nbyte -= nRead; in yaffsfs_do_read()